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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-01-2010, 02:17 PM   #1 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,028
Default Graphical asset managment for Universal app using retina display on iPhone

Hey All,

I've been reading the docs regarding making use of the retinal display and it seems kind of awkward and cumbersome (creating high rez copies of your assets with a suffix in the filename). I'm hoping there is a cleaner way of doing that for my set up.
The app I'm working on is a Universal app; for example lets just consider one asset: MyPic.png which is 512x512. When displaying on the iPad I want this asset to appear 512x512 and when on the iPhone I want it to appear as 256x256, but using the retinal display (so the asset used would be 512x512). So, it seems all I really should need is this one 512x512 asset. Is there anyway to have this set up at such without having to make duplicate versions of files?

It seems like it should be straightforward:

If its displaying on iPad draw asset as is
If iphone draw as 256x256 but utilizing retinal display (so using same asset).

Note: This is a new app so I'm not worried about supporting pre-retinal display iPhones.

Thanks in advance.

Last edited by scotopia; 09-01-2010 at 02:17 PM. Reason: retinal,assets,universal
scotopia is offline   Reply With Quote
Old 09-02-2010, 11:08 AM   #3 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,558
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

I think the simplest way is just going to be to use the iPhone's built in mechanisms for managing which images to use for the retina display and so forth.

I stumbled across an article here: 2010 August | Sparrow | Hatch your App! (scroll down to the part about "creating the graphics") in which the mentioned framework provides a script that will automatically create all of the variations for the graphics and put the @2x suffix on the filename and so forth. It may be worth downloading those utilities even if you dont find the framework useful.
smithdale87 is offline   Reply With Quote
Old 09-02-2010, 11:34 AM   #4 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,028
Default

Thanks for the reply smithdale.

I guess I just don't see the need to create duplicate files in my bundle when they are unnecessary; all I want to do is use the exact same assets for the iPad and iPhone(retina) versions.
scotopia is offline   Reply With Quote
Old 03-08-2011, 11:58 AM   #5 (permalink)
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,028
Default

I've been away from the development scene for a while; has anything changed as far as asset management protocols / standard techniques since I originally asked this question? Thanks!
scotopia is offline   Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 256
21 members and 235 guests
14DEV, @sandris, ADY, ArtieFufkin10, bookesp, ckgni, dacapo, Dani77, DarkAn, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, prchn4christ, Rudy, ryantcb, Speed, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,767
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:46 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0