Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
- Subject: Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
- From: Brandon Walkin <email@hidden>
- Date: Tue, 6 Jan 2009 07:58:19 -0500
What you're experiencing could be caused by a number of issues. Mind
posting the code?
On 4-Jan-09, at 9:41 PM, Richard Humiston wrote:
I have a custom NSControl and custom NSCell. I created an IBPlugin
and framework per IB Plugin programming guide, and also used the
clock control example as a guide. My control appears (draws
itself) in the library pane. When I drag the control to a window in
IB, only a rectangle (made up of dots) appears. The inspector sees
the control in the window, displays its settings, etc. I can drag
the rect around the window and the control coordinates change in the
inspector as expected. If I change settings and save the nib file,
the changes are saved and appear when I next open the nib...but only
the rectangle appears. I am not getting any errors, exceptions, etc
in the debugger. I would append code if I knew where the issue was
located. I am suspecting the the controls view is not inserted
properly in the view hierarchy? Has anyone seen this issue. Any
suggestions.
Rich
_______________________________________________
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
_______________________________________________
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