1) Is there a good book for C programmers to be able to read Objective C
code examples? I just want to know the basics for translation.
2) I'm trying to translate some code to C and am scratching my head a few
places. Here are the mysterious lines to me (not the entire function):
before the function:
- (IBAction) Install:(id)sender
inside the function:
NSBundle*myBundle = [NSBundle mainBundle];
NSString*path = [myBundle pathForResource:"theDataFork" ofType:"rsrc"];
NSURL *urlRef = [[NSURL alloc] initFileURLWithPath:path];
I have no idea what the line before the function means.
My guess on the first line inside the function: