• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OK - I must be missing something simple here.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OK - I must be missing something simple here.


  • Subject: Re: OK - I must be missing something simple here.
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 22 Jun 2016 16:51:11 +0100

On 22 Jun 2016, at 16:38, Alex Zavatone <email@hidden> 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?

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: OK - I must be missing something simple here.
      • From: Alex Zavatone <email@hidden>
References: 
 >OK - I must be missing something simple here. (From: Alex Zavatone <email@hidden>)
 >Re: OK - I must be missing something simple here. (From: Alastair Houghton <email@hidden>)
 >Re: OK - I must be missing something simple here. (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: OK - I must be missing something simple here.
  • Next by Date: unicode fraction symbol in a NSTextView
  • Previous by thread: Re: OK - I must be missing something simple here.
  • Next by thread: Re: OK - I must be missing something simple here.
  • Index(es):
    • Date
    • Thread