• 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: Imitating Mail's Interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Imitating Mail's Interface


  • Subject: Re: Imitating Mail's Interface
  • From: Dave Batton <email@hidden>
  • Date: Sun, 3 Sep 2006 21:26:58 +0200

Drarok,


So the hierarchy would be:
NSSplitView [
	leftCustomView []
	rightCustomView []
]

Then call addSubView on the leftCustomView in awakeFromNib to add your views that /really/ contain the components?

Yes, exactly. That's what I've done, and it's working great for me. It's been much easier (possible actually) to work with the objects in Interface Builder this way.


Keep in mind that I'm new at this Cocoa stuff, and have been known to go down the wrong road every now and again. But so far this seems to have been a good decision.

I'd be happy to stick what I did into an example database for you to see. I could use some feedback on my implementation choices and coding style.


-- Dave Batton Mere Mortal Software http://www.Mere-Mortal-Software.com/


_______________________________________________ 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: 
 >Re: Imitating Mail's Interface (From: Dave Batton <email@hidden>)
 >Re: Imitating Mail's Interface (From: email@hidden)

  • Prev by Date: Re: Cocoa newbie needs direction
  • Next by Date: Re: Subclassing NSTextFieldCell
  • Previous by thread: Re: Imitating Mail's Interface
  • Next by thread: Table view tooltips crashes when using NSString with attachment characters?
  • Index(es):
    • Date
    • Thread