DoctorG / myLauncher

myLauncher 2.0 is an Objective-C iPhone and iPad Launcher based on the work done by rigoneri

Home Page:http://groups.google.com/group/mylauncher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

myLauncher 2.0.5 (20/05/11)

myLauncher is a lightweight open source Objective-C library that allows you to add an iPhone like launcher into your iPhone or iPad app. This library was founded by rigoneri (see section below) and later taken on by Jarada.

myLauncher Demo Video

Community

If you would like to ask questions about myLauncher, post your question to myLauncher's google group:

Google Group - http://groups.google.com/group/mylauncher

There is also an issue section on GitHub.

Adding myLauncher to your iPhone App

These steps assume you understand the basics of iOS application development. Follow the following steps in order to add myLauncher into your project:

  1. Clone the myLauncher repository: 'git clone git://github.com/Jarada/mylauncher.git'

  2. Locate the MyLauncher folder under '../myLauncher/myLauncher/Classes/'

    • Copy the MyLauncher folder into your project folder.
    • Import all the files within that folder into your Xcode project.
  3. Locate the RootViewController files under '../myLauncher/myLauncher/'

    • Copy RootViewController.h and RootViewController.m into your project folder
    • Import both files into your Xcode project.
  4. In your application delegate header file make the following changes (AppDelegate.h):

    • Import the RootViewController header file:

      import "RootViewController.h"

  5. In your application delegate implementation file make the following changes (AppDelegate.m):

    • Inside applicationDidFinishLaunching modify your UINavigationController to initialize with RootViewController:

      navigationController = [[UINavigationController alloc] initWithRootViewController:[[[RootViewController alloc] init] autorelease]];

  6. In your prefix file make the following changes (AppName_Prefix.pch):

    • Outside the ifdef define the shortcut for color:

      define COLOR(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]

  7. In your RootViewController (RootViewController.m):

    • Import your view controllers before the @implementation block, for example:

      import "ItemViewController.h"

    • In the loadView method add your ItemViewController into appControllers:

      [appControllers setObject:[ItemViewController class] forKey:@"ItemViewController"];

    • Adjust the rest of this method to fill in the appropriate icons and settings

  8. IMPORTANT: You will need to make the necessary changes inside the application delegate and RootViewController in order to have the correct icons and in order to load the correct view controllers.

Apps using myLauncher

Let me know if you use myLauncher 2 in your app so I can add it to a list here.

Rigoneri

The founder of myLauncher. Follow Rigoneri on twitter @rigoneri and checkout his apps at rigoneri.com.

Jarada

Taking on the control of myLauncher. Follow Jarada on twitter @codestrikeapps; website to follow.

About

myLauncher 2.0 is an Objective-C iPhone and iPad Launcher based on the work done by rigoneri

http://groups.google.com/group/mylauncher

License:Other


Languages

Language:Objective-C 100.0%