Non-delegate protocols - __unsafe_unretained?


#1

are all the classes that have a delegate property __unsafe_unretained?(referring to chapter 4).

what about non-delegate protocols(as mentioned with MKAnnotation)?


#2

Yes, right now, all Apple classes with a delegate property use unsafe_unretained for backwards compatibility. (They should use weak if we were doing things right.)

A protocol doesn’t really fit into this conversation…