• 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: Two Newbie Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two Newbie Questions


  • Subject: Re: Two Newbie Questions
  • From: Graham Cox <email@hidden>
  • Date: Thu, 17 Feb 2011 11:00:17 +1100

On 17/02/2011, at 10:53 AM, Bruce Cresanta wrote:

> 	I thought there was a long process to make the control even visible to IB?   I could create a custom view and set the class, but that wouldn't show the button would it?


No, it would show a blank green rectangle (if it's a NSView subclass) or a standard button (if it's a NSButton subclass), but the point is you can set its properties, outlets, and so on, and at runtime it would use your custom class, so would appear as you want it. Just set the class in the 'Class' section of the 'View Identity' tab in the Inspector.

You only need to create an IB plug-in if you want it WYSIWYG in IB, or if it has special settings that you wish to set in IB and not in code.

--Graham_______________________________________________

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: 
 >Two Newbie Questions (From: Bruce Cresanta <email@hidden>)
 >Re: Two Newbie Questions (From: Sherm Pendley <email@hidden>)
 >Re: Two Newbie Questions (From: Bruce Cresanta <email@hidden>)
 >Re: Two Newbie Questions (From: Graham Cox <email@hidden>)
 >Re: Two Newbie Questions (From: Bruce Cresanta <email@hidden>)

  • Prev by Date: Re: Determine if other process is running 32 or 64 bits
  • Next by Date: Re: Determine if other process is running 32 or 64 bits
  • Previous by thread: Re: Two Newbie Questions
  • Next by thread: Re: Two Newbie Questions
  • Index(es):
    • Date
    • Thread