Skip to content

Instantly share code, notes, and snippets.

@AnalogJ
Created May 15, 2012 22:29
Show Gist options
  • Save AnalogJ/2705630 to your computer and use it in GitHub Desktop.
Save AnalogJ/2705630 to your computer and use it in GitHub Desktop.
Things I'd Like to Open Source Soon (iOS)

Having worked with iOS almost exclusively the past year, there's a few things that I commonly reuse that may be of use to you. If any of this is of interest to you, let me know. I'm trying to prioritize what I'll release first.

  • BBRefreshWebView - A pattern for applying pull-to-refresh functionality to a UIWebView. The goal here is to make it feel as native as possible. Inspired by the Facebook app for iOS.

  • Backlight - Backlight aims to make location tracking more battery-efficient by triggering location tracking only while the user is moving. If an idle period is detected, accurate location tracking is disabled and only re-started if the user moves a significant distance.

  • BBAutoLoadCellView - A way to implement infinite scroll in table views. If the user scrolls to the bottom (or top), a refresh event is triggered and a UIActivityIndicator is displayed.

  • BBChatTableView - iMessage-style chat interface. This is something that I've re-implemented time and time again, there's some tedious aspects that can be encapsulated.

  • Drawers - My implementation of the path-like sliding navigation drawers. There has to be a few implementations by now. If they're shitty, let me know.

  • BBCrossFadeSwitch - A navigation switch that can be used to cross-fade between two views. You can see an example of this in Shimmy (App Store).

Looking forward to hearing if any of this is interesting to you in the comments!

Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment