Posts

Post not yet marked as solved
15 Replies
6.9k Views
Hi.According to article "Start Developing iOS Apps (Swift) / Implement a Custom Control"https://developer.apple.com/library/archive/referencelibrary/GettingStarted/DevelopiOSAppsSwift/ImplementingACustomControl.html#//apple_ref/doc/uid/TP40015214-CH19-SW1i implemented all the steps in latest XCode environment but stubbed to one issue: when i update any button's property in my created RatingControl it is not affected imediatly on user interface. Only after i click on any button i can see new button's property updated. I even try to force layout update procedurebutton.superview?.superview?.layoutIfNeeded()button.superview?.superview?.setNeedsDisplay()but without succeed.Could someone advice me what do i need for imediatly apply changes on UI.Thanks!
Posted
by Romeo84.
Last updated
.
Post not yet marked as solved
4 Replies
1.9k Views
Hi all. Could you please explain me why can't i observe all properties of an object in VariableView section. For example, let's inspect current view controller object. It has property "view". If i use LLDB and exec e self.view i see current view value. But if i expand self object in VairableView section i see no anything like view property. See my screenshot.https://postimg.cc/hz8h8Sckhttps://i.postimg.cc/Px9Zjxc5/Sample-20190821.jpg
Posted
by Romeo84.
Last updated
.