• 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: Custom layout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom layout


  • Subject: Re: Custom layout
  • From: Danny Swarzman <email@hidden>
  • Date: Sat, 9 Aug 2003 12:31:08 -0700

Apology accepted.

Cristopher Corbell's "Re: accessing view in a nib" is an excellent answer
to the question. Thanks for pointing it out. When I made my original
posting, I didn't know what keywords would get what I wanted.

I had heard that using multiple nibs was useful for reducing load time. It
looks like there may be other rewards.

I hope publiclook will be kind enough to tell us more about the forum from
which this response was quoted. It sure looks like it would be useful.

-Danny Swarzman


>The following exchange took place in this forum. Since no one else
>answered Mr. Swarzman's question in this forum, I will quote a fine
>answer that was given in another forum:
>
>At 19:10 -0700 7/29/03, publiclook wrote:
> >On Tuesday, July 29, 2003, at 07:47 PM, Danny Swarzman wrote:
> >
> >> I would like to create a view that is repeated inseveral different
> >> places
> >> in different drawers. It consists of a bunch of buttons and labels
>that
> >> always appear in the same places relative to each other. Can I create
> >> one
> >> of those once in IB and somehow duplicate it elsewhere. I want to
>avoid
> >> dragging actions and outlets for each of the controls.
> >>
> >> -Danny
> >
> >Yes.
>
><Quote>
>A more useful answer would point out that you can create an NSView in
>a nib file, and just load that nib file to obtain the view whenever
>required. The same view can be set as the contentView of
>windows, or added as a subview of any other view in your application.
>
>Publiclook's answer, however, just indicates a tendency towards being
>an utter tosser. Bonus points are duly awarded for not using a real
>name, and for quoting Danny Swarzman's entire email signature in the
>reply.
><End Quote>
>
>An even more useful answer is to point out that this forum is archived
>at http://cocoa.mamasam.com. The archive includes wonderful tidbits
>like the following from 7 days earlier that lists a step by step
>process for doing what Mr. Swarzman wants:
>
>http://cocoa.mamasam.com/COCOADEV/2003/07/2/69123.php
>
>I should not have answered a question with one word. I should have
>just ignored the question as everybody else did, and then I wouldn't be
>an utter tosser.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Custom layout (From: publiclook <email@hidden>)

  • Prev by Date: Re: Java application packaging questions
  • Next by Date: Re: Java application packaging questions
  • Previous by thread: Re: Custom layout
  • Next by thread: proportionally constrain size of NSView
  • Index(es):
    • Date
    • Thread