• 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: *Still* Crashing Cross Development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *Still* Crashing Cross Development


  • Subject: Re: *Still* Crashing Cross Development
  • From: "Marcus S. Zarra" <email@hidden>
  • Date: Fri, 17 Feb 2006 16:00:58 -0700

This has been hashed over many times, feel free to search for it. As I recall, Wil Shipley of Delicious Monster even had a contest running last year around this same discussion.

That issue is besides the point of the OP's question. Calling [super init] and then if (self) {} will not throw the error he is getting. I think another responder is on the right track with the actual issue the OP is having.

Marcus S. Zarra
Business Software for Mac OS X
http://www.zarrastudios.com

On Feb 17, 2006, at 3:42 PM, Sherm Pendley wrote:

On Feb 17, 2006, at 4:44 PM, Marcus S. Zarra wrote:

Assigned it to self will not solve anything as the super does that for you already.

How do you imagine it might be able to do that?

Self is not an instance variable, it's an argument. For super to be able to assign to its caller's self, it would have to know how many arguments were passed to its caller. It would also need to know for certain that the caller was a subclass' -init, not some other method or function.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >*Still* Crashing Cross Development (From: Robert Clair <email@hidden>)
 >Re: *Still* Crashing Cross Development (From: Sherm Pendley <email@hidden>)
 >Re: *Still* Crashing Cross Development (From: "Marcus S. Zarra" <email@hidden>)
 >Re: *Still* Crashing Cross Development (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: *Still* Crashing Cross Development
  • Next by Date: Re: running code when all notifications have been processed?
  • Previous by thread: Re: *Still* Crashing Cross Development
  • Next by thread: Re: *Still* Crashing Cross Development
  • Index(es):
    • Date
    • Thread