- Joined
- Oct 7, 2009
- Messages
- 14
- Reaction score
- 0
- Points
- 1
- Location
- Singapore
It seems I can do:
============================
@interface MyClass:NSObject
{
}
NSString* Message;
@end
============================
and
============================
@interface MyClass:NSObject
{
NSString* Message;
}
@end
============================
and Both will work.
My question is...that being the case, what is the point of that "{}" ? What could be placed inside that cannot be place outside it ?
Thanks
============================
@interface MyClass:NSObject
{
}
NSString* Message;
@end
============================
and
============================
@interface MyClass:NSObject
{
NSString* Message;
}
@end
============================
and Both will work.
My question is...that being the case, what is the point of that "{}" ? What could be placed inside that cannot be place outside it ?
Thanks