Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-26-2008, 07:55 AM   #5 (permalink)
eduz
Registered Member
 
Join Date: Sep 2008
Location: Brasilia/DF - Brazil
Posts: 55
Default

Hey RickMaddy, thanks for the tip!!! Helped a lot.

Here is another tip: How to maintain two Default.png files, one for the full version and another for the Lite version in the same project:

- Create a Default.png file for the full version and a DefaultLite.png file for the Lite version. Add both to the Resources folder in your xcode project.
- Right click on your lite app Target, click Add, New Build Phase, New Run Script Build Phase.
- Paste this code in the script field:
Code:
mv ${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/DefaultLite.png ${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/Default.png
- Move the "Run Script" phase you just created right after to "Copy Bundle Resources"

That's it, everytime you build the project with the Lite app target it will copy the DefaultLite.png and rename it to Default.png in your build dir.
__________________
Want to download documents directly from Safari and save them for offline reading? SaveMyDocs
Send emails with emoji that can be seen by any HTML email client EmojiEmail
eduz is offline   Reply With Quote
 

» Advertisements
» Online Users: 634
19 members and 615 guests
aijo, alphy, apatsufas, armmzz, brianmethod, ckgni, claudia99, Dani77, devangvyas, Domele, drewrico, ghost, handmachine, hiddendemo, JamesCahall, Oral B, rrlemoine, SoulRed12, spiderguy84
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,786
Threads: 89,205
Posts: 380,600
Top Poster: BrianSlick (7,129)
Welcome to our newest member, lilianprice
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:15 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.