javascript: OAuth with iOS, PhoneGap, and Chrome Extension
Friday, June 10th, 2011- OAuth inĀ Phonegap, Twitter, and Facebook
- OAuth in Chrome Extension
- OAuth Google Playground
- Google OAuth (with server and javascript flow)
Source: BenODwyer
Creating a “Group” in XCode doesn’t create a real Directory within your app Bundle.
You need to import the directory into your app using the following method:
Create a Directory on your Mac.
Select to Add Existing Files to your project
Select the Directory you want to import
In the pop-up window make sure you select “Copy items into destination group’s folder” and “Create Folder References for any added folders”
Hit “Add”
Your done!
The Directory should appear blue instead of yellow.
Now try your code:
Code
NSString *filePath = [[NSBundle mainBundle] pathForResource:@"w1" ofType:@"geo" inDirectory:@"part1"];