Re: Values set in awakeFromInsert have gone missing.
Re: Values set in awakeFromInsert have gone missing.
- Subject: Re: Values set in awakeFromInsert have gone missing.
- From: Mike Zornek <email@hidden>
- Date: Tue, 31 Jul 2007 01:26:19 -0400
On 7/29/07 8:45 PM, "Marcus S. Zarra" <email@hidden> wrote:
> This looks like a threading issue.
I don't think so (at least at this time). I've currently fixed it with
Chris's new init method. Though I'm still not sure why it's so much better.
http://www.cocoabuilder.com/archive/message/cocoa/2007/7/30/186908
> Also, that -init method in your MOs scares me.
It should.
> Can you have a small
> wrapper class that gets constructed ONLY from Applescript and it then
> creates the MO instead of putting the -init method directly in the
> MO?
Nope. AppleScipt has lots of "lovely" assumptions and one is that it can
call init on your class to make a new instance. I spent a good deal of time
@ WWDC asking people what I should do and there seems no way around using
-init.
~ Mike
--
Work: http://ClickableBliss.com
Play: http://MikeZornek.com
_______________________________________________
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