Top "Nscopying" questions

NSCopying is a protocol that provides a way to make a copy of an object.

How do copy and mutableCopy apply to NSArray and NSMutableArray?

What is the difference between copy and mutableCopy when used on either an NSArray or an NSMutableArray? This is my …

cocoa cocoa-touch nsmutablearray nsarray nscopying
Implementing NSCopying

I've read the NSCopying docs but I am still very unsure about how to implement what is required. My class …

iphone ios objective-c nscopying
UIView as dictionary key?

I want to have a NSDictionary that maps from UIViews to something else. However, since UIViews do not implement the …

iphone objective-c uiview nsdictionary nscopying
Warning : "Sending 'NSObject *' to parameter of incompatible type 'id<NSCopying>'

I am struck in this warning for many hours... Am getting The code is, -(NSMutableDictionary*)iOSDiction { NSMutableDictionary *tmpDic = [[NSMutableDictionary …

ios objective-c ios7 nsdictionary nscopying