• 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: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]


  • Subject: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sat, 10 Jan 2009 19:06:21 -0500

On Sat, Jan 10, 2009 at 6:20 PM, Sean McBride <email@hidden> wrote:
> Michael Ash (email@hidden) 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 (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

References: 
 >[commentary] The value of warnings [was: Re: A Data Object in Cocoa] (From: Stuart Malin <email@hidden>)
 >Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa] (From: "I. Savant" <email@hidden>)
 >Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa] (From: Andrew Farmer <email@hidden>)
 >Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa] (From: "Michael Ash" <email@hidden>)
 >Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa] (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • Next by Date: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • Previous by thread: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • Next by thread: Re: [commentary] The value of warnings [was: Re: A Data Object in Cocoa]
  • Index(es):
    • Date
    • Thread