iOS之字典遍歷enumeratekeysandobjectsusingblock

最近用到字典遍歷,數組遍歷的有關東西用到enumeratekeysandobjectsusingblock 塊枚舉法來遍歷起初不知道回調參數中的stop是幹什麼用的 後來瞭解到他的神奇功效web 先看代碼 NSDictionary *dictM2 = @{@"1":@"one",@"2":@"two",@"3":@"three"}; [dictM2 enumerateKeysAndObje
相關文章
相關標籤/搜索