摘要:
集合作为属性是要在对象dealloc 方法中释放 集合增加 删除 如果对象不是通过alloc new copy 获取 那么不用去管理 如果是 release 对象 ARC 状态下可以写dealloce方法,但是不能显示写【supper dealloce】 autorelease延迟处理 程序走到自动 阅读全文
摘要:
不可变集合 创建集合 NSSet *set = [NSSet setWithObjects:@5,@6, nil]; NSSet *set1 = [[NSSet alloc]initWithArray:@[@13,@"nihao",@16]]; NSSet *set2 = [NSSet setWit 阅读全文