📜  客观 c 切换案例文档 - Objective-C 代码示例

📅  最后修改于: 2022-03-11 15:04:44.949000             🧑  作者: Mango

代码示例1
enum {
    kFirstScrollView = 0,
    kSecondScrollView = 1
};

switch (scrollView.tag) {
    case kFirstScrollView: {
      // do stuff
    }
    case kSecondScrollView: {
      // do stuff
    }
}