On Sat, Jan 10, 2009 at 6:20 PM, Sean McBride <cwat...@cam.org> wrote: > Michael Ash (michael....@gmail.com) on 2009-01-10 11:46 AM said: > My favourite example is when Cocoa has two methods with the same name > that return different types. Like -(NSRect)frame vs -(CGRect)frame, or - > (id)window vs -(NSWindow*)window, or -(NSUInteger)count vs -(size_t)count.
If both methods don't return the same kind of thing (scalar vs. struct vs. float) then your program might go kablooey. --Kyle Sluder _______________________________________________ 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