åè:ãå ¥é Objective-C 2.0ããç¿æ³³ç¤¾ãP.139 ããããã¯ã¾ã£ãâ¦ã æååã®æ¯è¼ããã åã«==æ¼ç®åã§æ¯è¼ãã¦ããã¡ãªãã§ããâ¦ãã¤ã¾ãã NSString *hoge1 = @"piyo"; NSString *hoge2 = @"piyo"; if (hoge1 == hoge2) { // } else { //ä½ã試ãã¦ããã£ã¡ã«å¤å®ãã } ã§ã¯ãã¡ããããåãæååãæ¯è¼ãã¦ãã¤ããã§ãã¯ãããã¦ãã¾ãããããããã©ãçãã解çããã¡ãã NSString *hoge1 = @"piyo"; NSString *hoge2 = @"piyo"; if ([hoge1 isEqualToString:hoge2]) { //ãããããã£ã¡ã«å¤å®ï¼ï¼ } else { // } ãæ£è§£ãçç±ã¯==æ¼ç®åã§ã¯ãã¤ã³ã¿å¤ã®æ¯è¼ã¨ãªãããã¨ã®ãã¨ã§ããããã¡ããé常
{{#tags}}- {{label}}
{{/tags}}