摘要:
-(void)drawRect:(CGRect)rect{ CGContextRef ctx=UIGraphicsGetCurrentContext(); CGContextBeginPath(ctx); CGContextAddRect(ctx, CGRectMake... 阅读全文
摘要:
归档只要将某个类实现nscoding协议就可以了eg://NSCoding协议方法-(id)initWithCoder:(NSCoder *)aDecoder{ if (self=[super init]) { self.name= [aDecoder decodeObjectFo... 阅读全文