• 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: Re: Multiple of copies of custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Multiple of copies of custom view


  • Subject: Re: Re: Multiple of copies of custom view
  • From: "matt jaffa" <email@hidden>
  • Date: Mon, 14 Aug 2006 08:20:25 -0600

Is there any way of doing this without NSNib class, since that is 10.3
and above. This might be great for the original poster but I have the
same situation but I have to support back to 10.2...

Thanks,
Matt

On 8/14/06, John C. Randolph <email@hidden> wrote:

On Aug 14, 2006, at 12:12 AM, Ben Lachman wrote:

> I have a a custom view which I've instantiated and laid out in IB.
> It contains several generic controls as subviews and custom logic.
> I'd like to have an array of these custom laid out views with the
> outlets and actions defined as they are set up in my instance in
> IB.  Is there a good way to access the instance so I can copy it?
> And if so, is this a decent way of going about getting automatic
> layout and setup?  My goal was to not do this in code since it would
> be quite messy.

See the NSNib class.  Very handy when you want to clone the contents
of a nib file many times.

-jcr


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Multiple of copies of custom view
      • From: Mike Abdullah <email@hidden>
References: 
 >Multiple of copies of custom view (From: Ben Lachman <email@hidden>)
 >Re: Multiple of copies of custom view (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: converting a pdf to tiff with multiple channels
  • Next by Date: Re: What exactly happens when I use Core Data's 'Remove' button?
  • Previous by thread: Re: Multiple of copies of custom view
  • Next by thread: Re: Multiple of copies of custom view
  • Index(es):
    • Date
    • Thread