Archive | iOS RSS feed for this section

Creating the bouncy/zoom image effect in the KickStarter iOS app

The KickStarter iOS app is pretty awesome. In particular, I like the bounce/zoom effect they have when you pull down on a UITableView. Turns out, it’s pretty easy to replicate. Since UITableView inherits from UIScrollView, we can simply implement the scrollViewDidScroll delegate method and detect when a scroll happens. From there, we just scale the [...]

Read full story Comments { 0 }

Creating a pull to refresh animation like the popular Vine iOS app

I liked some of the details in Twitter’s Vine iOS app so I set out to make some of them. I thought the pull to refresh animation was pretty cool so I started with that. You can view the code on my github page. This is still a rough proof of concept version. https://github.com/lostincode/UIVinePullToRefresh

Read full story Comments { 0 }

iOS tip: Center UILabel in tableFooterView

If you’re building an app that supports portrait and landscape you will probably run into an issue with keeping things centered after device rotation. Below is a quick example of adding a UILabel to a UITableView’s footer and keeping it centered regardless of device rotation. The trick is to use autoresizingMask which does all the [...]

Read full story Comments { 0 }

SDWebImage fixed width cell images

While looking for a easy solution to load uitableview images remotely, I came across a great library called SDWebImage. It’s very simple to use and provides a lot of flexibility for loading and caching images in your iOS project. As I started to use it, I ran into a issue when loading inconsistant thumbnail image [...]

Read full story Comments { 11 }