• 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 initialization: where?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom View initialization: where?


  • Subject: Re: Custom View initialization: where?
  • From: Graham Cox <email@hidden>
  • Date: Sat, 3 May 2008 12:49:55 +1000


On 3 May 2008, at 12:34 pm, Markus Spoettl wrote:

The view is instantiated correctly because it draws right. When I put the debugger breakpoint in initWithFrame: it doesn't get called. Is there something wrong with this?


No, not that I can see. Maybe you aren't actually running in the debugger for some reason - try NSLogging from inside initWithFrame: instead to see if it's called.



- (id)initWithFrame:(NSRect)frame;


BTW: you don't need to declare methods in @interface that are inherited from the superclass.



G.
_______________________________________________

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 initialization: where?
      • From: Scott Anguish <email@hidden>
    • Re: Custom View initialization: where?
      • From: Andy Lee <email@hidden>
References: 
 >Custom View initialization: where? (From: Markus Spoettl <email@hidden>)
 >Re: Custom View initialization: where? (From: Graham Cox <email@hidden>)
 >Re: Custom View initialization: where? (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Loading a .nib?
  • Next by Date: Re: Loading a .nib?
  • Previous by thread: Re: Custom View initialization: where?
  • Next by thread: Re: Custom View initialization: where?
  • Index(es):
    • Date
    • Thread