toll-free-bridging Questions
5
Solved
I am porting an App from Objective-C to Swift and I need to use the following method:
CFStreamCreatePairWithSocketToHost(alloc: CFAllocator!, host: CFString!, port: UInt32, \
readStream: CMutableP...
Algology asked 4/6, 2014 at 4:26
1
Solved
I'm trying to compile some code on Linux that uses both CoreFoundation and Foundation, but Linux doesn't implement bridging in the same way macOS and iOS do.
Bridging between Objective-C and Swif...
Newbill asked 3/10, 2016 at 18:58
1
Solved
Consider this ARC code:
- (void)main {
NSString *s = [[NSString alloc] initWithString:@"s"];
[NSApp beginSheet:sheet
modalForWindow:window
modalDelegate:self
didEndSelector:@selector(sheet...
Exhalation asked 30/12, 2013 at 15:19
1
Solved
I am trying to understand the correct way of getting an NSString from a CFStringRef in ARC?
Same for going the opposite direction, CFStringRef to NSString in ARC?
What is the correct way to do thi...
Female asked 21/6, 2013 at 3:41
1
© 2022 - 2024 — McMap. All rights reserved.