background preloader

iPhone & iPad

Facebook Twitter

Swift

How to make a Pull-To-Reload TableView just like Tweetie 2. When I started on Twitter, I tried out a few Twitter clients both on Mac and iPhone until I quickly settled on Tweetie. When Loren Brichter made the bold move to sell Tweetie 2 as a seperate app I also purchased it because I am convinced this guy means quality and Tweetie 2 is on the first page of my springboard. One thing that’s cool about Tweetie 2 is the fresh paradigm to refreshing the contents of a table view. Up until now we had been looking for space to mount a reload button on, sometimes having to resort to adding an extra tool bar for just one view so that you can have enough space.

Now if you have a tableview that it sorted reverse chronologically, then you have a natural urge to make new items appear at the top by pulling down the table with extra force. Loren recognized this need and innovated the Pull-To-Reload paradigm. At first I experimented a bit myself and found that if you add a subview to a tableview then this moves together with it.

EGORefreshTableHeaderView.h. iPhone 4 GUI PSD (Retina Display) Thanks for you patience on this one. It took a good deal longer to complete given the sheer size and level of detail the retina display has. It wasn’t a simple scale-up from the last file. It was clear as we created it that Apple has spent a lot of time considering how each element should be translated to such a dense resolution. What were single pixel elements are now two or three pixels thick and effects are exaggerated to become visible. For anyone designing for the retina display (640 x 960) it really is quite a different experience. When you work at 100% everything seems absolutely huge but small details get lost when viewing it on the device. You really need to be mindful of how it looks on the phone since your monitor displays things so differently. The file is huge, both in file size (62.7MB) and dimension (4074 x 2986). Pay whatcha’ like We’ve always just created this file for ourselves and shared it freely.

Download PSD (Retina Display) iOS beta testing on the fly. How much does it cost to develop an iPhone application. UIScrollView + pagingEnabled, scroll half a page? Inedible Software | Blog. Multiple virtual pages in a UIScrollView with just 2 child views. First, something completely different... Last week, Dan Grigsby of Mobile Orchard interviewed me about a post I wrote on Automated user interface testing on the iPhone. He posted the podcast of the interview online earlier this week, so I recommend you go listen if you're interested in the Director's Commentary for that earlier post. Back to this post... This week, I'm presenting the following application: The black region is a UIScrollView with pagingEnabled set to YES. Apple's sample application "PageControl" presents a similar user interface that loads a different UIViewController and UIView for each of the pages in the UIScrollView. Fast display, slow content The approach I will display is optimized for views that can redisplay quickly, once their data is loaded.

Data is therefore loaded and cached in a separate, data-specific class. Moving child views to maintain the illusion The trick in this post is handling an arbitrary array of child pages using just two views. Conclusion.