> Also, while unambiguous, it’s a very low-level description of what’s 
> happening, that doesn’t much help the user reading the documentation of a CF 
> function to answer the “which one do I use?” question unless s/he’s already 
> experienced with how to map what it says in that docs onto the use of 
> ADDREF/TAKEREF.

I wonder if, instead of talking about retained/unretained, we should talk about 
whether the call “created" or “retrieved" the object it’s returning. If it 
created it, the object is +1; if it retrieved it, the object is +0.

-- 
Brent Royal-Gordon
Architechies

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to