Re: Getting rid of warning in Xcode
Re: Getting rid of warning in Xcode
- Subject: Re: Getting rid of warning in Xcode
- From: "b.bum" <email@hidden>
- Date: Sun, 14 Dec 2003 23:14:36 -0800
On Dec 12, 2003, at 9:13 PM, Laurent Daudelin wrote:
You're still getting the warning because the SDK you chose is probably
not
10.3. I've ran into the same problem and the only way around it is to
whether use 'performSelector:withObject:' or change the SDK to 10.3.
The
problem here is that the argument to the 'setHidden:' is a primitive
type,
not an object, so you won't be able to use
'performSelector:withObject:'.
Alternatively, the following line of code is equivalent to [theButton
setHidden: NO]:
objc_msgSend(theButton, @selector(setHidden:), NO);
However, figuring out how to use the SDK support correctly will prove
to be much more valuable/maintainable in the long run.
b.bum
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.