copywithzone Questions

8

Solved

I feel like I'm banging my head against the wall here (and I'm ready to do that, frankly). I'm trying to set a background to the view. Background I need to set is an image and I'm using this code ...
Swinge asked 28/5, 2012 at 11:50

4

Solved

I am trying to clear up a few things in my head about implementing copyWithZone:, can anyone comment on the following ... // 001: Crime is a subclass of NSObject. - (id)copyWithZone:(NSZone *)zone...
Brundisium asked 28/3, 2012 at 12:7

1

Solved

I read others few topics about it, but still I'm lost. I want to create 2 kind of objects, one immutable with only "readonly" properties, and one mutable with only "readwrite" properties. Lets ca...
Wapiti asked 12/8, 2013 at 16:37

2

Solved

Recently turning to iOS after having worked with Cocoa, I was startled to get a SIGABRT with the following error: “-[UIDeviceRGBColor copyWithZone:]: unrecognized selector sent to instance…” I had ...
Darksome asked 18/3, 2012 at 16:9

2

Solved

When implementing this method of NSCopying in a class to enable copy, what is the zone param use ? If I set a new object, I do not need to alloc it with allocWithZone as an alloc is just enough... ...
Lamm asked 8/1, 2011 at 0:24
1

© 2022 - 2024 — McMap. All rights reserved.