• 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: Creating Custom Views in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating Custom Views in Interface Builder


  • Subject: Re: Creating Custom Views in Interface Builder
  • From: Jeff LaMarche <email@hidden>
  • Date: Fri, 14 Mar 2008 14:51:22 -0400

I wrote an article for MacTech a while back on doing this... it may be a little outdated by now since it was written when Tiger was new, but may still contain some useful info:

http://www.mactech.com/articles/mactech/Vol.21/21.10/Palettes/index.html

On Mar 14, 2008, at 2:46 PM, email@hidden wrote:

Hi Michael!

It seems to me that you should be able to follow the QuickStart for
building an InterfaceBuilder plug-in to create your custom NSView:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/IBPlugInGuide/Plug-inQuickStart/chapter_3_section_1.html#/ /apple_ref/doc/uid/TP40004323-CH9-SW1

I actually suggest reading through the whole document.  It's quite
comprehensive.

Varun

Hello List!

I am trying to create a custom view class using Interface Builder that
I can then instantiate within my code as many times as needed. In
this particular case I have a control that I've created that contains
a progress bar, two text fields, two buttons, and an image view. I
then want to be able to create any number of these components within
my source code and add them to another view dynamically.


I'm guessing that this question has been answered before, but my
searches have been unsuccessful.  If someone could point me in the
right direction, that would be a great help.  Thanks!

Regards,
	Michael

--
OS X 10.5.2
Xcode 3.1
Interface Builder 3.1
_______________________________________________

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



_______________________________________________

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

_______________________________________________

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: Creating Custom Views in Interface Builder
      • From: Ricky Sharp <email@hidden>
References: 
 >Creating Custom Views in Interface Builder (From: Michael Fey <email@hidden>)
 >Re: Creating Custom Views in Interface Builder (From: email@hidden)

  • Prev by Date: Re: Creating Custom Views in Interface Builder
  • Next by Date: Re: What's the trick to eliminating 'halos' on buttons?
  • Previous by thread: Re: Creating Custom Views in Interface Builder
  • Next by thread: Re: Creating Custom Views in Interface Builder
  • Index(es):
    • Date
    • Thread