April 26, 2024
Stack v2.0 for iPhone is Complete!

Stack v2.0 for iPhone is Complete!

Posted September 24, 2008 at 5:04pm by iClarified
Stack v2.0 for iPhone has been completed and is almost ready for release. Stack is an application which can detect the dragging of SpringBoard icons and dynamically add items to a Stack with drag & drop.

Steven Troughton-Smith writes the following about his work on Stack v2.0...

Read More


Stack v2.0 for iPhone is Complete! Stack v2.0 for iPhone is Complete! Stack v2.0 for iPhone is Complete!

------
Well, the day has finally arrived; Stack v2.0 has been completed and is almost ready for release.

Stack is one of my oldest, and undoubtedly most successful, iPhone endeavours and is one I'm particularly proud of. I bought an iPod touch the day they were launched back in '07, and as soon as I could I began developing software for it. Looking at the design back then, the Button Bar (or Dock) on the iPod touch looked similar to that in Mac OS X 'Leopard' , and near instantly the idea popped into my head: why not recreate 'Stacks' on iPhone OS?

I played around with it in my head, as I knew it would be pretty simple to pull off visually as all 'Stacks' did was translate an icon in y and rotate it - dead simple to do with CoreAnimation. Pretty soon I had a demo version up and running and it looked great!


Complexity soon set in. I had to create a separate application to manage the settings of Stack (singular, as there currently is only one Stack onscreen at a time ;-) ), and Stack itself originally modified the Button Bar icon list and placed a blank icon behind where the Stack should be. On top of that, Stack had to run on launch as an application displaying above SpringBoard.

Former users might recall that adding items to Stack was a messy, convoluted process involving XML editing and restarting the Stack application. Similarly, the original had reported issues of being unable to install, and I never developed it past iPhone OS 1.1.2, leaving many users stuck.

Then came the iPhone SDK, and iPhone OS 2.0, and it was exalted. But, for Stack, it meant DOOM. iPhone OS 2.0 prevents any application from running above SpringBoard and drawing a UI to the screen, and any such attempts equalled a nasty crash.

For a long time I thought Stack was dead, undoable for 2.0. For a long time, I was wrong =).

Dynamic Library Injection was its saviour. Basically, it means that the Stack code could be *injected* into Springboard, and actually run as part of SpringBoard. Thanks go to Nate True without whom I wouldn't have figured this all out. But wait, there's more! Since I was now part of SpringBoard, I had full access to add everything I had dreamed about adding to Stack v1 but never found a way to. With a bit of ingenuity, I was able to detect the dragging of SpringBoard icons and dynamically add items to Stack with but drag & drop. I was also able to pick up on WinterBoard themes, the #1 requested feature before v2. To seal the deal, I added the ability to drag-remove any item in Stack, replete with the familiar Mac 'poof' animation; a puff of smoke.

Where before Stack was a complex, power-user tool to set up and manage, it is now a user-friendly, drop-dead simple tool. I couldn't be happier with the results, and I'm proud to announce that it will be freely available next week from Ste Packaging in Cydia. A big thanks to all whom have e-mailed me over the past months, and I hope you all enjoy Stack v2!
------
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (8)
You must login or register to add a comment...
Donny
Donny - October 9, 2009 at 4:21pm
I had the same problem... i can't drag any icons into stack. also the phone goes into safe mode when i try to open the apps that are already in stack. need help!!
[Unknown]=<ERROR>
[Unknown]= - August 16, 2009 at 2:56pm
I'can't seem to drag&drop icons into the stack. They just hover over and do not add to the stack. I am using iphone 3g os 3.0.1
D-star
D-star - December 26, 2008 at 12:24am
me
kegen
kegen - November 17, 2008 at 7:55am
Hi there, i have this little problem... It was all great using this application until today i dunno how i gotten an unknown icon among the "Stacks" of icons. It's a plain white icon link to nowhere. It just hang & respring.. & go to safe mode. It doesn't do anything if i dun touch it but it bothers me appearing there. Restalled yet still there... Help!!! Nevertheless, it's a fantastic application! Having loads of fun with it. Regards, K
Lala
Lala - September 25, 2008 at 7:42pm
Awesome! Can't wait either.!!
Andrew
Andrew - September 25, 2008 at 10:07am
Wow!!!!!!!!!!!! and its free, im amazed it looks very cool and i for one will be using this a lot! Andrew
dondesign
dondesign - September 25, 2008 at 5:49am
wow....:)
ketanitem
ketanitem - September 24, 2008 at 8:15pm
Nice, can't wait to try it. Thank you.
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS