On Oct 15, 2011, at 11:42 PM, Quincey Morris wrote:
> Use '(__bridge_transfer NSString *)'. You're transferring ownership via 'axb'
> to ownership via 'myString', if that makes any sense.
>
> ARC uses horribly ambiguous terminology here:
This is one of the reasons we added the CFBridgingRetain
On Oct 15, 2011, at 23:16 , Gerriet M. Denkmann wrote:
> Formerly I had:
>
> CFStringEncoding encoding = ...
> CFStringRef axa = CFStringGetNameOfEncoding ( encoding );
> NSString *encodingName = (NSString *)axa;
> NSDictionary *d = [ [ NSDictionary alloc ] initWithObjectsAndKeys:
>
I am converting a project to Arc.
Formerly I had:
CFStringEncoding encoding = ...
CFStringRef axa = CFStringGetNameOfEncoding ( encoding );
NSString *encodingName = (NSString *)axa;
NSDictionary *d = [ [ NSDictionary alloc ] initWithObjectsAndKeys:
encodingName, kEncodingN