A simple, handy UIDevice category that makes checking system version in iOS apps easy.
SSCheckBoxView is a check box UI control for iOS apps. It provides standard check box functionality with two states (checked and unchecked) and 5 different visual styles.
Here are some instructions on how to use it in your iOS apps:
Add SSCheckBoxView to your project
We all sometimes do something with photos in our apps. And apps that deal with photos in some way, whether it be editing, stylishing or sharing them, are becoming more and more popular every day.
In one of my apps I was recently working on, I needed a simple UI to crop a picture into a square shape. So I wrote SSPhotoCropperViewController. It’s a custom view controller that provides a simple, configurable and easy-to-use UI for cropping and scaling photos in iPhone & iPod Touch apps.
Add SSPhotoCropperViewController to Your Project
Google Analytics is a full-featured, enterprise-class web analytics service from Google for tracking web and mobile application usage statistics. It’s a good idea to track how your customers use your app. There are many benefits of knowing how your app is actually being used. You can optimize some parts of your application, make decisions on adding, dropping or improving a feature or make modifications in UI to improve the usability of your app. You don’t want to work on a feature that nobody actually uses, right?
Imagine you have the following problem: You want to load a url in a UIWebView. But the resource at that url requires authentication, and if the user is not authenticated the web page responds with a “403 Not Authenticated” without showing any other instructions on how to login or where to go next etc. Ideally you’d want to redirect the user to a page where she can log in and continue to browse the url. The problem is UIWebView does not provide any properties or methods for inspecting HTTP status codes. One workaround is to intercept the UIWebView request loading process and check whether the user is authenticated or not by loading the same url using an NSURLConnection and inspecting the response, then you can behave accordingly.
EmailableCell is a UITableViewCell subclass for making cells containing email addresses copyable and it enables users to send email to that addresses using the iPhone’s default Mail application.
This code snippet shows how to create an EmailableCell instance in “- (UITableViewCell *) tableView:cellForRowAtIndexPath:” UITableViewDelegate method: