• 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: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?


  • Subject: Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 14 Aug 2011 10:53:28 -0700

If you're targeting Mac OS X 10.6 or later, you can set arbitrary properties on your objects in Interface Builder that will be set via KVC at nib load time.

These are called "User Defined Runtime Attributes" and are specified in the Identity Inspector right under the place where you can set an object's custom class.  It's a mini-plist editor, so you can specify not just a key path and a value, but the type of the value; the value can even be a localized string from your nib's string table.

  -- Chris

_______________________________________________

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: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
      • From: Sean McBride <email@hidden>
    • Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
      • From: Vince <email@hidden>
References: 
 >How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed? (From: Samuel Wenschen <email@hidden>)

  • Prev by Date: Re: Cocoa-dev Digest, Vol 8, Issue 619
  • Next by Date: Re: File Copy With Progress?
  • Previous by thread: Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
  • Next by thread: Re: How does Apple want us to deal with custom elements in Xcode 4, with IBPlugins having been killed?
  • Index(es):
    • Date
    • Thread