I see @package
a lot in Apple's header files, but for the life of me, I can't find an authoritative source that describes its meaning.
views:
109answers:
1
+10
A:
@package
is a scope declaration for a particular class member. There are four:
@public
: Accessible everywhere.@protected
: Accessible within the class that defines it and inheriting classes.@private
: Accessible within the class that defines it.@package
: In 64-bit, like@public
, but only within the same framework; in 32-bit, identical to@public
.
See this developer doc for more information.
John Feminella
2009-08-28 08:03:46