2011-12-25 共通のint型変数などを他のクラスと共有したい場合 Objective-C int型とかを@property する場合は @property (readwrite) int num; のように(readwrite)で宣言してあげると警告がでない。