• 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: Getting rid of warning in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Getting rid of warning in Xcode (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Get Info and Additional Compiler Flags bug
  • Next by Date: Re: Xcode Yawn
  • Previous by thread: Re: Getting rid of warning in Xcode
  • Next by thread: Makefile
  • Index(es):
    • Date
    • Thread