Thursday, February 11, 2010

DevTip: Improving responsiveness of tab-based view controllers

I recently noticed a behavior difference between two different apps I had developed which both used UITabBarControllers. In one app, pressing each tab would immediately display the associated view controller’s views. In the other app, the first time a different tab was pressed, there would be a noticeable delay before the view controller’s view was displayed. After one time pressing each tab, however, then the response time was immediate for each tab.

When it comes to view controllers created from NIB files, the iPhone conserves memory by automatically loading and unloading them when necessary. So, when your app first launches, even if your view controllers are assigned to IBOutlet variables, their underlying views have not yet been created unless there is an immediate need for them.

In the case of my two different apps, in the one that had all its tabs being immediately responsive, it turns out I was doing some preliminary access to the view controllers views in my applicationDidFinishLaunching: method. Simply accessing the underlying view of the view controller will cause it to be loaded from it’s NIB file.

The benefit of doing this is each view controller will be initially loaded into memory when the app launches. This in turn will give better responsiveness to the view controllers being displayed when you initially press a tab.

The drawback is a slightly longer startup time for the app and you are now using more memory. Also, there is no guarantee that each of the view controllers will remain in memory. The iPhone OS may decide to unload one or more of them if memory conditions warrant it. But, if you have fairly complex views in a view controller and want to increase the likelihood the view will be immediately ready for display when a tab is pressed, using this technique will help.

Monday, January 18, 2010

Stormy Productions will participate in Indie+Relief on January 20th

ir_500.rdoESnTVsrpS.jpg

A group of Mac and iPhone developers will all be donating all proceeds made on January 20th, 2010 to Haiti. You can read more about the endeavor at this link. I am happy to announce Stormy Productions will be participating in this fundraiser.

All proceeds from any of our apps (Artificial Life, Time Bomb, Piggy, or The Gavel) purchased on iTunes on January 20th will be donated to Partners in Health.

In addition to our iPhone apps, all proceeds from any purchase of a RadioKit SDK license made on January 20th will also be donated to Partners in Health.

If you aren’t interested in any iPhone apps or a RadioKit SDK license, please consider a direct donation to Partners in Health. They have been doing great work in Haiti for over 20 years and are strongly involved in the relief effort currently underway.


Thursday, January 14, 2010

Stormy Productions - a progress report

As of January, 2010, Stormy Productions has successfully developed over 65 iPhone apps. 45 of them are published under the Stormy Productions company name in iTunes. The remaining 20+ apps have been published under other company’s iTunes accounts.

In addition to these 65 apps, 80 other iPhone radio apps are licensing a portion of the radio client software developed by Stormy Productions.

Apps developed and published by Stormy Productions

mzl.tkfncbzi.e5xvYuCoQmKt.jpgAll Hits Wired 96.3
mzl.cpwjxyvl.100x100-75.V7eZ4h7JuKBY.jpgArtificial Life
293751886.0SwPIHOPivFk.jpgClassical Philippines Radio
mzl.enlpguqs.YRMTP8pTGvP2.jpgEstereosom
mzl.czmtfdcq.100x100-75.kuamAMt6edjv.jpg1Faith FM
mzl.tcffxpwo.100x100-75.nRXXa7mSPhM4.jpgFM 94/9 / San Diego/ KBZT
mzl.haidmloo.100x100-75.BDGIMeXVW8yr.jpgGay Dance Radio, GayInternetRadioLive.com (G.I.R.L.)
mzl.umnifwcd.100x100-75.ZvTBlElVwFY8.jpgGay-D-O Dance Internet Radio from www.gay-d-o.com
mzl.fuutppkp.100x100-75.ttF9VBDkLMyi.jpgHardRadio.com The Heavy Metal Supersite
mzl.kepwyiys.100x100-75.peBSk0WasNe3.jpgHeart FM Woodstock
mzl.wiooxvrs.100x100-75.5JtNhonncb0S.jpgHOT 107.9 WJFX
mzl.nsamjxwy.100x100-75.bv6aCxqOGLo4.jpgiRadioSuite powered by Big R Radio
mzl.ruqsmnyb.100x100-75.4NKvv4CMbqmY.jpg106.3 Joe FM WVBB
mzl.jvcsuwpk.D1RwE3SNJpw1.jpgKDRP 99.9fm and online at kdrplive.org
mzl.xtngyzzk.100x100-75.uTq0Qpbh4wBd.jpgKUJO 99 - kujo99.com
mzl.vatiflyw.100x100-75.26WXL3Zb5O3I.jpgKUT 90.5 Music, News, & NPR from Austin, Texas
mzl.riuqntaz.100x100-75.QquAxolHEtP6.jpgKZSC Santa Cruz - Non-Commercial Radio That Rocks!
mzl.vqgewnbc.100x100-75.ycQ9CU61gUwj.jpgMega Radio 97.1 FM KRTO
mzl.uliwlnam.100x100-75.FWUFnbNn29Sb.jpg102.9 MGK / Philadelphia's Classic Rock / WMGK
mzl.sgllqhuh.100x100-75.yx2Tm6PbUnyC.jpgMilwaukee's 102.9 The Hog (WHQG)
mzl.glchlhrj.100x100-75.RsYxlRx0ETD0.jpgNashville Rock Radio 102.9 The Buzz(WBUZ) - Everything That Rocks
mzl.spnwxgfk.100x100-75.uL6UytUCVIVY.jpgPhiladelphia’s 93.3 WMMR Rocks
mzl.aokdyipz.100x100-75.PbNo4ziXw0f7.jpgPiggy- The Pig Alarm Clock
294813449.brcDTzRAJnY4.jpgRadio Paradise
297603281.i0Kavy3jMwpj.jpgRadio 92.9 WBOS
mzl.jiyclvcw.EeVOEa7BKj92.jpgRegina's Rock Station 104.9 The Wolf
mzl.vmbtnxhr.100x100-75.HAhbHjvIxkPJ.jpgThe Coast 95.3/95.9 KOZT
mzl.aivokvsw.100x100-75.DuwWxKFzimes.jpgThe Gavel
mzl.ekdpbpqi.100x100-75.A2kSagGCwXXN.jpgThe Gavel Lite
mzl.ewimrrdl.100x100-75.4GJxC9LTKaK7.jpgThe Rock 106.9, WCCC
mzl.amjvmvlp.F2CF15opqitt.jpg"The Source" 620 CKRM
mzl.milhnhhv.100x100-75.mRJQD4Zmei0t.jpgThe Zephyr / 96.7 FM / WZPH
mzl.tohzuhlu.100x100-75.O8Dls2KL9lfp.jpgTime Bomb
mzl.totyjtmc.100x100-75.oX1iyDzxA0vQ.jpgTunemark Radio
mzl.qyykydqc.100x100-75.j2WmAjore9o1.jpg94.7 WCSX Detroit's Classic Rock Station
mzl.bezcevgn.100x100-75.uV6QR1jUrGMX.jpg96.5 WKLH Milwaukee
mzl.dswcwuko.100x100-75.gxzWjBDe6rr1.jpgWPRT /  Nashville’s Hit Music / 102.5 The Party
297614181.4Hp9s4aai1iY.jpgWRAT 95.9
296371212.9BlwXHq9aktM.jpg101 WRIF Radio
290959864.MV5zMpiE18eC.jpgWRNI Radio
mzl.hwazsyru.100x100-75.rY44Omiujg8g.jpg89.7 WTMD Radio For Music People
mzl.gjujyyjh.100x100-75.PVu0Wq2tU2fM.jpgWWJB - AM 1450 - The Voice of Hernando County
mzl.oxfmcrxo.100x100-75.8vNrMUY2RTqm.jpgX92.9 - Calgary's New Rock Alternative
mzl.rltugabw.100x100-75.z1H0aOWDXY9y.jpgZ104.5 The Edge, Tulsa's Rock Alternative


Apps developed by Stormy Productions published under other company iTunes accounts:


GLAD WORKS

.977 Music / The Internet’s #1 Online Radio Network / 977Music.com
B96 We r Hip Hop
Hawaiian Rainbow - Hawaiian Music Radio
MIX FM 106.3 / SÃO PAULO / BRASIL


WGBH Radio

A Celtic Sojourn on WGBH Radio
All-Classical WGBH Radio


Public Radio International

PRI Program Stream


JAZZ.FM91 - Ontario, Canada

JAZZ.FM91


bgApps

Text 2 Wallpaper


Jacobs Media

Oldies 101.9 / WKLU / The Greatest Hits of the 60’s & 70’s
US 93.3 / Real Country Variety / WBTU
Air 1 Radio The Positive Alternative
K-LOVE Positive & Encouraging
am1500 / KSTP-AM/ 1500 AM Minneapolis/St. Paul
FM107.1/ WFMP 107.1 / St. Paul / Minneapolis
KS95 / KSTP FM / 94.5
Y-Rock on XPN
WXPN 88.5 / XPN
K-WAVE / KWVE 107.9 / The Wave Of Living Water
Pulse 87.7 FM / New York’s NEW Dance Music Leader!
The House FM / Praise 88.7 / Christian Radio


Listener Interactive

Public Radio App - This was a joint development project with Cadile Systems


.

All content copyright © 2009  Brian Stormont, unless otherwise noted.   All rights reserved.