• 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: NIB Files + Views. Is it a good practice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NIB Files + Views. Is it a good practice?


  • Subject: Re: NIB Files + Views. Is it a good practice?
  • From: Damian Terentyev <email@hidden>
  • Date: Sun, 22 Oct 2006 16:45:09 +0400

Hi!
If you don't need additional functionality, you may just drag a custom view to your nib file, than select it, place any controls on it, and connect it to your controller.
If you want two similar views, you may duplicate the first and connect it to your controller.
I believe it is a good practise.
What is your problem?


Yours,
Damian/Three-eyed Fish

On Oct 22, 2006, at 16:18, Fabio Mancinelli wrote:

Wain wrote:
Hi,
It sounds like you haven't noticed the 'Custom View' item on the 'Cocoa-Containers' palette, it's a basic NSView instance.
Wain

Well actually I have noticed it and I use it.
Here it is a screenshot of my application: http://img221.imageshack.us/img221/600/picture1eg8.png


What it does is very straightforward... By clicking on the buttons it replaces the content of the CustomView with View1 or View2.

My question focused on how to create View1 and View2 instances.

What CustomView has to do with them?

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


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
References: 
 >NIB Files + Views. Is it a good practice? (From: Fabio Mancinelli <email@hidden>)
 >Re: NIB Files + Views. Is it a good practice? (From: Wain <email@hidden>)
 >Re: NIB Files + Views. Is it a good practice? (From: Fabio Mancinelli <email@hidden>)

  • Prev by Date: Re: NIB Files + Views. Is it a good practice?
  • Next by Date: Re: NSCell subclass with custom binding
  • Previous by thread: Re: NIB Files + Views. Is it a good practice?
  • Next by thread: Re: NIB Files + Views. Is it a good practice?
  • Index(es):
    • Date
    • Thread