Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning iPad Application Development
This is the forum to discuss the Wrox book Beginning iPad Application Development by Wei-Meng Lee; ISBN: 9780470641651
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 5th, 2011, 08:23 PM
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default Resource folder

This is probably a stupid question. But I am willing to accept the humiliation, if I could just figure this out...

Is the Resource Folder created when a new Ipad app project is created?
After searching all existing folders and seeking input from Help files, I created it myself and all seems to be working fine...but the text in the book seems to be referring to a 'Resource Folder' that is right in front of my face...so making one manually in the project directory seems incorrect...can somebody set me straight on this....Much Thanks
,Jack
Reply With Quote
  #2 (permalink)  
Old April 6th, 2011, 07:54 AM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Are you asking about the Resource folder in the Groups & Files section of Xcode? If so, then the answer depends on what version of Xcode you are using. Xcode 4 by default has a different way of organizing the groups and does not include a "Resources" folder (and in fact no longer has a "Groups & Files" section, though the Project Navigator is basically the same thing). All versions of Xcode up until 3.2.6 do create a Resources folder. The folders in the Project Navigator (which are "groups" i.e. from the context menu New Group or New Group from Selection) are purely organizational and have no effect on how the program compiles or runs. You will find no evidence of them in the projects actual directory.
In Xcode up until 3.2.6, five default Groups were always created - Classes, Other Sources, Resources, Frameworks and Products. In Xcode 4 four default Groups are created - One named after the project with a Supporting Files subfolder, Frameworks and Products. So if you are using Xcode 4 no Resources folder is created.

Bob
Reply With Quote
The Following User Says Thank You to thepianoguy For This Useful Post:
tekstuf (April 6th, 2011)
  #3 (permalink)  
Old April 6th, 2011, 01:40 PM
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi Bob,

Thanks for that...I truly appreciate it...the iPad Development book must be referencing a version earlier than 4.0..which is why I was confused about the Resource folder...

So, just to clarify...in 4.0 is the recommended way to add an image, to simply select the Add File option from the standard menu option?

,Much Thanks
Jack
Reply With Quote
  #4 (permalink)  
Old April 6th, 2011, 02:03 PM
Friend of Wrox
Points: 1,671, Level: 16
Points: 1,671, Level: 16 Points: 1,671, Level: 16 Points: 1,671, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

You can add an image by using the Add Files to… option from the context menu, or just drag and drop the image into the Project Navigator. Both methods will bring up the same dialog.
I believe that the book was published about a year ago, so it is a couple of Xcode and SDK versions behind.

Bob
Reply With Quote
The Following User Says Thank You to thepianoguy For This Useful Post:
tekstuf (April 6th, 2011)
  #5 (permalink)  
Old April 6th, 2011, 02:44 PM
Registered User
 
Join Date: Apr 2011
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Default

OK, great...Thanks Bob.

Good luck with your own development.
,Jack
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get current location of folder or drive on right click on folder or drive Babusingh C# 2008 aka C# 3.0 1 January 20th, 2010 04:17 AM
Reading Text file from Resource folder balesh.mind ASP.NET 3.5 Basics 1 November 14th, 2008 05:54 AM
App_Code folder shared on only 1 folder? rpeters83 ASP.NET 2.0 Professional 1 September 1st, 2006 10:53 PM
Making a folder virtual folder on button click in CsharpHelp C# 0 October 26th, 2005 05:57 AM
The resource cannot be found. ltdanp21 Dreamweaver (all versions) 2 July 21st, 2004 02:04 AM



All times are GMT -4. The time now is 11:48 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.