tags:

views:

28

answers:

2

Hi,

I'm looking at the sample code for Facebook Connect (http://github.com/facebook/facebook-ios-sdk) and noticed that it is using a FBConnect.bundle file that contains some images.

I have never used a bundle file and am just curious as how to create / edit it.
Is it done through XCode?

Thanks,
Tee

A: 

Yes they can be see Apple's conception docs on Bundles

Mark
+1  A: 

This would be a simple document package and here basically consists of nothing more than naming the directory with a .bundle suffix. FBLoginButton.m shows that its used similarly trivially:

// ...
return [UIImage imageNamed:@"FBConnect.bundle/images/logout.png"];
Georg Fritzsche
Didn't know it's just making a directory with .bundle extension. Was trying "New project" > bundle etc. Thx.
teepusink