• 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: Using NSController inside an Interface Builder inspector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSController inside an Interface Builder inspector?


  • Subject: Re: Using NSController inside an Interface Builder inspector?
  • From: Jonathan Wight <email@hidden>
  • Date: Wed, 9 Nov 2005 14:19:50 -0500

On Nov 9, 2005, at 02:42, John C. Randolph wrote:

So I guess what I am trying to say is - has anyone successfully used NSController in an IB Inspector Palette?

I've done it, but as you noticed, IB is little bit uncooperative with bindings. The view I palettized didn't involve text in any way, so I don't really know what to suggest.

How did you link your NSObjectController to the object being inspected? I hooked mine up to the inspector's "object" attribute but then I had to class-dump IBInspector to find what the 'setter' for the attribute was called and provide this little snippet of code in my IBInspector subclasses:


- (void)setInspectedObject:(id)fp8;
{
[self willChangeValueForKey:@"object"];
[super setInspectedObject:fp8];
[self didChangeValueForKey:@"object"];
}

Did you do something similar?

	Jon.
_______________________________________________
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: 
 >Using NSController inside an Interface Builder inspector? (From: Jonathan Wight <email@hidden>)
 >Re: Using NSController inside an Interface Builder inspector? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: AppKit source code should be public when...
  • Next by Date: Re: NSOpenPanel and showing file name's
  • Previous by thread: Re: Using NSController inside an Interface Builder inspector?
  • Next by thread: NSBroswer_NSTableView
  • Index(es):
    • Date
    • Thread