On Jun 22, 2016, at 10:51 AM, Alastair Houghton wrote: > On 22 Jun 2016, at 16:38, Alex Zavatone <[email protected]> wrote: >>> >>> Is the thing that you’re missing that IBOutlets are nothing special; >>> they’re just a property (the syntax “IBOutlet” is there just to tell Xcode >>> which things to show in the GUI editor). So you can set the property, just >>> the same as you would any other property, from code. Does that help? >> >> I remember reading the docs that IBAction and IBOutlet are mainly >> conventions for the viewer. >> >> What I am saying is that I DO set the property to be the instance of the >> button. >> >> And nothing happens. By that, there is no visual change to the screen. > > You *are* updating the items property on the UIToolbar, right? Rather than > just altering some random IBOutlet and expecting it to magically update the > toolbar somehow?
Alastair, you're getting confused. Why would there be a UIToolbar? This is just a plain old a UIButton. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
