Re: setState has no effect on an NSButton
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