> 
> When I changed the property from "start" to "stArt" then all became fine. 
> Obviously "start" is a word one should not use with NSOperations (no idea 
> why).
> 


Because start is a defined method on NSOperation which starts the operation, 
it's in the documentation, go take a look. It takes no parameters and returns 
void, but since the return type isn't part of the signature of a method, 
overriding it with start which takes no parameters and returns an integer is 
allowed, so no error. However when the NSOperation was started, by calling its 
start method, it returned your number, which was ignored and didn't do anything 
because you'd overridden the start method. 




_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to