• 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
Custom NSControl is not visible when dropped on a window from IB3.1 Library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom NSControl is not visible when dropped on a window from IB3.1 Library


  • Subject: Custom NSControl is not visible when dropped on a window from IB3.1 Library
  • From: Richard Humiston <email@hidden>
  • Date: Sun, 4 Jan 2009 21:41:36 -0500

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


  • Follow-Ups:
    • Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
      • From: Jonathan Hess <email@hidden>
    • Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
      • From: Brandon Walkin <email@hidden>
  • Prev by Date: [MEET] CocoaHeads Frankfurt, TONIGHT 8PM
  • Next by Date: Overlay controls a la iTunes and QuickTime
  • Previous by thread: [MEET] CocoaHeads Frankfurt, TONIGHT 8PM
  • Next by thread: Re: Custom NSControl is not visible when dropped on a window from IB3.1 Library
  • Index(es):
    • Date
    • Thread