LoginSignup
16
16

More than 5 years have passed since last update.

列挙型 enum

Last updated at Posted at 2014-05-26

要素の方を指定して、Enumの方を定義できる。


typedef NS_ENUM(NSInteger, EnumType) {
    EnumTypeA,
    EnumTypeB,
    EnumTypeC,    
};

16
16
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
16