Re: Imitating Mail's Interface
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