On Nov 8, 2009, at 3:03 AM, Ken Tozier wrote: > "Control reaches end of non-void function" > > I Googled for "Objective-C accessors and @synchrinized" which seemed to > indicate that the following was the correct way to handle it > > - (id) someMethod > { > @synchronized(self) > { > return [somevalue autoreleae]; > } > } > > But I get the above error whenever I try to do it that way. Here's one of the > actual methods with and without the @synchronized directive
http://lists.apple.com/archives/Xcode-users/2009/Aug/msg00230.html More info can be found using google: http://www.google.com/search?hl=en&q=site%3Alists.apple.com+%40synchronized+Control+reaches+end+of+non-void+function&aq=f&oq=&aqi=
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com