Re: Default keyword selector type
Re: Default keyword selector type
- Subject: Re: Default keyword selector type
- From: Michael Hall <email@hidden>
- Date: Sat, 13 Nov 2010 07:50:18 -0600
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Nov 13, 2010, at 6:41 AM, Ken Thomases wrote:
From <http://developer.apple.com/library/mac/#documentation/Cocoa/
Conceptual/ObjectiveC/Articles/ocLanguageSummary.html#//apple_ref/
doc/uid/TP30001163-CH3-TPXREF106>:
∙ The default return and argument type for methods is id, not int
as it is for functions. (However, the modifier unsigned when used
without a following type always means unsigned int.)
Your links busted, redirects to a generic index.
But answers the question. I had seen return type at least sometimes
defaulted but hadn't seen anywhere yet that argument type defaulted.
Thanks,
Mike Hall hallmike at att dot net
http://www195.pair.com/mik3hall
http://www195.pair.com/mik3hall/home.html
http://sourceforge.net/projects/macnative
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iJwEAQECAAYFAkzel7kACgkQUvk/ZSaThTI5RAP/Us01/Fhj09Kp1f/axebLbS9R
RHNIeVyy0YimbuvfucfW2gFY1669iJQzjTnKXRW3vpLZb8Lj+FugpVW5t8xOX/39
xzKm0LbOF4b7LgL7pHBmXDWCV2ks3P6z/k+9yDEM0dcxApBFRNPadyxLhXI51kT9
yW+dg5IXRiWrYh6m9Vw=
=3Y4O
-----END PGP SIGNATURE-----
_______________________________________________
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