• 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: Remove custom views from NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove custom views from NSOutlineView


  • Subject: Re: Remove custom views from NSOutlineView
  • From: "Danny Price" <email@hidden>
  • Date: Mon, 3 Dec 2007 13:40:06 +0000

OK I think I know what's going wrong. I'm using NSViewController to handle
each view in my custom table, but I was using the init() constructor rather
than the initWithBundle...() constructor as described in the documentation.
I was calling init and then calling setView:, passing in an outlet to the
view in the nib. Now that I'm calling initWithBundle...() it seems to work
alright.

The problem is this implementation assumes each view is in a seperate NIB
with the FileOwner to the NSViewController and the single view outlet set. I
really want to contain all my views in a single NIB. Is there any way to do
this? I've got about 20 views and I don't want 20+ NIBs! No doubt I'm
missing something here.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: ImageKit + GC = nogo? (or better... how :D)
  • Next by Date: Re: cut strech new Bitmap
  • Previous by thread: Remove custom views from NSOutlineView
  • Next by thread: Agent library without UI elements
  • Index(es):
    • Date
    • Thread