Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
$14

Application License

1 application Binary restricted distribution
$99

Developer License

5 projects Source and binary distribution 6 months support
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(1 ratings)

UltraCam: Instragram Clone for the iPhone

UltraCam: Instragram Clone for the iPhone
Developed by Mohammad Azam, Released Aug 13, 2012

UltraCam is a clone of Instagram app. It allows the user to take pictures, apply filters to the pictures and then share the pictures on Twitter as an attachment.

Objective-C

Tags: camera , instagram , iphone , uikit

Ultra Cam is an iPhone app very similar to the Instagram that allows user to take pictures and apply different effects on the filters. Ultra Cam uses Core Image libraries provided by iOS 5 SDK to create and apply image filters. Ultra Cam also has the functionality to share the edited images using Twitter. Twitter integration has been performed by using iOS 5 Twitter SDK. The project shows how to implement the following:

  • Taking pictures using UIImagePickerController
  • Applying filters on the pictures using iOS 5 Core Image
  • Tweet the filtered image using iOS 5 Twitter SDK
  • Create image filter previews like the ones presented in Instagram app
  • Highlight the selected filter
  • Save the edited image in the photo library
Back to top

Opening the Project

The main project can be opened by version 4.2 and above of xCode. The UltraCam.xcodeproj is the project file. After installing xCode click on the UltraCam.xcodeproj file and it will automatically open in Xcode. The project will NOT run in the simulator since it uses the iPhone camera. You MUST run the project in an actual device.

Back to top

Structure

The application is divided into multiple folders. The name and purpose of each folder is explained below:

Extensions: This folder contains all the extensions used in the application. For UltraCam project we have only used UIImage+Extensions which is discussed below.

  • UIImage+Extensions.h and UIImage+Extensions.m:

The UIImage+Extensions files are responsible for scaling, cropping and rotating the images.

Model Folder: This folder contains the classes which service as the model for the application.

Filter.h and Filter.m:

These classes are a simple wrapper on CIFilter object. Filter class also expose a property called name which is used to designate a friendly name to the image filter.

Controllers: This folder contains the controllers used in the project.

ViewController.h and ViewController.m

This is the only controller used in the application and it contains code to take the picture, display the filters, apply the filters and finally tweet the image.

Supporting Files:

This folder contains the resources used in the application. These resources include images, icon files etc.

Setting up your Twitter Account:

In order to tweet the images you MUST setup the Twitter account in the settings section of your iPhone.

Back to top

Code Explanation

In this section I would like to highlight some of the main methods in the project.

setupAppearance in ViewController.m:

This method is responsible for setting up the preview filters scroll view control.

loadFiltersForImage in ViewController.m:

This method is responsible for creating different filters for the application. Once, the filters are created they are then added to the filters collection. You can get a list of all the available filters using the following code:

[CIFilter filterNamesInCategory:kCICategoryBuiltIn];

createPreviewForFilters in ViewController.m:

This method takes the filters collection and then apply the filters to the image and then add to the filter scroll view control to display the filters to the user.

applyGesturesToFilterPreviewImageView in ViewController.m:

This method is used to attach the single tap gesture recognizer to the UIView object displayed as a filter view.

applyFilter in ViewController.m:

This method is triggered when the user selects a particular filter. It applies the filter to the image and also highlight the selected filter.

initializeCamera in ViewController.m:

This method initializes the camera and shows the camera view to the user.

View all 1 reviews »

User Reviews

  • David 9 months ago
    I wouldn't call this a clone, more "inspired by..."
    Flag
    Was this helpful? Yes No
Read all 21 comments »

Questions & Comments


Or enter your name and Email
  • Dub 1 week ago
    Does this currently have the functionality to add "clip art" type elements to a photo, where we can supply the clip art elements in the app (as a silly example, adding cartoon cat ears on a photo of a person)? If not, is that something you'd consider adding? Thanks for any insight/info!
  • sanna 6 months ago
    Can i able to view demo for this application Azam?
    • Mohammad Azam Developer 6 months ago
      Unfortunately, there is no demo available for this application.
    • sanna 6 months ago
      Do you provide additional customization service?
    • Mohammad Azam Developer 6 months ago
      I am not sure if I understand your question. The UltraCam download includes all the code and everything you need to get started to build your Instacam like application. The code is well documented so you can add additional filters etc.
    • sanna 6 months ago
      Do i need advance programming knowledge to modify the code or basic where able to modify according to the documents like for filter, logo, additional functions?
    • Mohammad Azam Developer 6 months ago
      That is hard to say! Apple has a very good documentation on how to create filters of different type. Apple even shows you the effects after you apply the filters.
  • Victor 6 months ago
    Hi I am using UltraCam 1.0 and it works on iPhone 4 running iOS 6, but the camera does not run and goes to photo album when I use it on a 3GS running 5.1.1. Any ideas what might be going on?
    • Mohammad Azam Developer 6 months ago
      Hi Victor,

      This is weird it should start the camera. I will try to test it out on 3GS and let you know.
    • Victor 6 months ago
      I am testing the app on older versions of iOS as not everyone updates their iphone to the latest version. Hoping for some backwards compatibility (at least with the camera functionality).
    • Victor License holderApplication License 6 months ago
      I got it to deploy on 3gs running 5.1, but now I'm getting a fatal error when it launches. "dyld_fatal_error"
    • Mohammad Azam Developer 6 months ago
      Check out this link: http://stackoverflow.com/questions/10325529/which-is-the-cause-for-dylddyld-fatal-error-a-incompatible-api-on-ios
You must be logged-in to vote. Log-in to your account or register now.