Re: Subclassing a view class from an external framework

2009-10-17 Thread Jeff Johnson
Hi Kevin. This occurs with both IB 3.2.1 on 10.6 and IB 3.1.2 on 10.5. In the IB info window I get these warnings: 1) The 'delegate' outlet of 'AHTSessionWindow' is connected to 'File's Owner' but 'delegate' is no longer defined on AHTWindow. 2) The 'window' outlet of 'File's Owner' is

Re: Subclassing a view class from an external framework

2009-10-17 Thread Jeff Johnson
After further experimentation, I've found the problem. Interface Builder doesn't find private header files in a framework. When I changed the header file from private to public, Interface Builder found it. rdar://problem/7312530 Interface Builder doesn't find private headers in framework

Re: Subclassing a view class from an external framework

2009-10-17 Thread Kyle Sluder
On Sat, Oct 17, 2009 at 11:30 AM, Jeff Johnson publicpost...@lapcatsoftware.com wrote: After further experimentation, I've found the problem. Interface Builder doesn't find private header files in a framework. When I changed the header file from private to public, Interface Builder found it.

Re: Subclassing a view class from an external framework

2009-10-17 Thread Kyle Sluder
Wow, reading comprehension failure on my part. Apologies for the noise. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: Subclassing a view class from an external framework

2009-10-15 Thread Kevin Cathey
Although Interface Builder 3 is supposed to automatically sync with header files in your project, it seems to have trouble with headers in frameworks. Which version of Interface Builder were you seeing this on? IB 3.2.x will parse the headers for all frameworks you've linked against in your

Re: Subclassing a view class from an external framework

2009-10-15 Thread Mark Gallegly
Turns out the issue I was having was caused by the fact that I did not have the headers in the framework bundle, once I figured out how to add the header files to the framework - which was not easy to figure out - and did the 'reload all class files' menu item in IB for each xib the problem went

Subclassing a view class from an external framework

2009-10-13 Thread Mark Gallegly
I have an NSView subclass defined in a framework called FrameworkView. The FrameworkView class has a property like so: @property (nonatomic, retain) IBOutlet NSView* someView; This framework has the necessary code in it to work as an Interface Builder plugin, and everything seems to work fine in

Re: Subclassing a view class from an external framework

2009-10-13 Thread Jeff Johnson
Hi Mark. I had the same problem with NSWindow subclasses. Although Interface Builder 3 is supposed to automatically sync with header files in your project, it seems to have trouble with headers in frameworks. What I did was select Read Class Files... in the File menu of Interface Builder

Subclassing a view class from an external framework

2009-10-13 Thread Mark Gallegly
I have an NSView subclass defined in a framework called FrameworkView. The FrameworkView class has a property like so: @property (nonatomic, retain) IBOutlet NSView* someView; This framework has the necessary code in it to work as an Interface Builder plugin, and everything seems to work fine in

Re: Subclassing a view class from an external framework

2009-10-13 Thread Bryan Matteson
The 'someView' outlet of 'MyFrameworkViewSubclass' is connected to 'Custom View' but 'someView' is no longer defined on MyFrameworkViewSubclass. I have encountered this situation before while working with KTUIKit and a Window Controller subclass. I used the workaround detailed in the