• 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: custom view won't update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom view won't update


  • Subject: Re: custom view won't update
  • From: H M <email@hidden>
  • Date: Tue, 11 Sep 2007 17:07:03 +0100

When you say you instantiated it... I assume you mean you dragged an NSView off of the palette and into the nib object window (the one with the "Instances, Classes, etc. " tabs at the top). If so then you created a view that isn't a member of a view hierarchy yet. To "see" this view you would need to programmatically add into a view hierarchy of a window.

negative. by "instantiate" I mean I selected my custom class, then chose "instantiate" from the menu.



I also assume you dragged and dropped an NSView off of the palette and into an instance of NSWindow. This is the one you see working when you resize, etc.

affirmative. I forgot to mention that I also selected this view, then went to the inspector window, selected custom class and set it to my custom class.


This is another instance of your custom view. You could connect the actions of your sliders to this instance by control dragging from the buttons and to this instance.

connect the sliders directly to the view? hmmm... gotta try that...

--
GPG Key ID: 92AD877F7E4E32B9
Fingerprint: 16B0 7DCD 3AB0 0C45 F5FD  581D 92AD 877F 7E4E 32B9


_______________________________________________

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 view won't update
      • From: "Shawn Erickson" <email@hidden>
    • Re: custom view won't update
      • From: H M <email@hidden>
References: 
 >custom view won't update (From: H M <email@hidden>)
 >Re: custom view won't update (From: Shawn Erickson <email@hidden>)
 >Re: custom view won't update (From: H M <email@hidden>)
 >Re: custom view won't update (From: "I. Savant" <email@hidden>)
 >Re: custom view won't update (From: H M <email@hidden>)
 >Re: custom view won't update (From: Shawn Erickson <email@hidden>)
 >Re: custom view won't update (From: H M <email@hidden>)
 >Re: custom view won't update (From: Shawn Erickson <email@hidden>)

  • Prev by Date: DistantObject, NSConnection, NSPortCoder Exception
  • Next by Date: Re: [ANN] RegexKit - An Objective-C Framework for Regular Expressions Using the PCRE Library
  • Previous by thread: Re: custom view won't update
  • Next by thread: Re: custom view won't update
  • Index(es):
    • Date
    • Thread