• 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: setState has no effect on an NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setState has no effect on an NSButton


  • Subject: Re: setState has no effect on an NSButton
  • From: Howard Siegel <email@hidden>
  • Date: Mon, 09 May 2011 18:48:07 -0700

>From those symptons, it certainly sounds like there is a missing/crossed
connection in IB for those buttons or you are mising @property/@synthesize
lines for those buttons.

- h

On Mon, May 9, 2011 at 18:19, Martin Batholdy <email@hidden>wrote:

> Hi,
>
> I have a preference window with four NSButtons that are all connected to a
> method and an IBOutlet:
>
> IBOutlet NSButton *buttonA;
> IBOutlet NSButton *buttonB;
> IBOutlet NSButton *buttonC;
> IBOutlet NSButton *buttonD;
> NSUserDefaults *prefs;
>
> <snip>
>
> When I debug this code I see that buttonA and buttonB have an address.
> But buttonC and buttonD seems to have no address (0x0) ...
>
>
> what could possibly be the problem here ...?
>
>
>
_______________________________________________

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

References: 
 >setState has no effect on an NSButton (From: Martin Batholdy <email@hidden>)

  • Prev by Date: setState has no effect on an NSButton
  • Next by Date: Re: setState has no effect on an NSButton
  • Previous by thread: setState has no effect on an NSButton
  • Next by thread: Re: setState has no effect on an NSButton
  • Index(es):
    • Date
    • Thread