摘要:
来自stackoverflow解释的挺有意思的 Imagine our object is a dog, and that the dog wants to run away (be deallocated). Strong pointers are like a leash on the dog. 阅读全文
摘要:
实现效果: 原来效果: 实现对应的思路有: 1.首先你要拥有这样的一个控件CSTabBar,继承自tabbar,这样才能做到重构(废话) 2.你要在使用CSTabBar使用kvc来实现 [self setValue:newTab forKey:@"tabBar"]; newTab是自己设定的对应的t 阅读全文