Monday, October 11, 2010

Updates to our Git Repos

Many thanks to Ken Edwards for an update he submitted for our Audio Streamer plugin. Ken's iPhone application 3 Down News was the inspiration for our plugin and we are really excited to see that he's incorporating our code into his most recent version of the app. Look for an update from the App Store soon. Also, if you're more of a Grey Cup than a Lombardi Trophy person, Ken's app is a great way to stay up to date on what's happening.

We've also updated the OOZWebView based on some work we've been doing for another client. We've added a UIActivityIndicator to the view so that there is a little spinner when the pages are loading. If you don't like the spinner and would rather have a Network Activity Indicator (the little spinner to the right of the network signal strength indicator) you can easily change the OOZWebView.m file and everywhere we have
[activityIndicator startAnimating];
you can replace that with
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = YES;

and everywhere we have
[activityIndicator stopAnimating];
you can replace that with
UIApplication* app = [UIApplication sharedApplication];
app.networkActivityIndicatorVisible = NO;

Yes, you are leaving an unused UIActivityIndicator item in your code but it's pretty small and probably won't break anything. However, if you want to be sure that you have clean code, you need to remove the references to activityIndicator in the OOZWebView.h and OOZWebView.m also remove the UIActivityIndicator from OOZWebView.xib

No comments:

Post a Comment