Monday, November 28, 2011

How to convert PDF files to ePub files to read on your iPad with iBooks

This tutorial will guide you through the process of converting PDF files so that they can be read in iBooks, the iPad application.


Update: you can now read PDF files directly in iBooks, without having to convert them to .epub or any other format. See this tutorial for a quick overview of how to add PDF files to iBooks to read on your iPad, iPhone or iPod Touch.
This tutorial will remain up just in case someone wants to create an .epub of their PDF.
iBooks uses an ebook format called ePub. Using a free converter application (and ebook manager) called calibre you can quickly convert PDF (and other file formats) to .epub files, which you can then transfer to your iPad for reading in iBooks. This tutorial will take you step by step through the entire process.

Monday, November 21, 2011

How to Create an Iphone App Layout in Photoshop


Step 1:Setting up the Workspace

Okay! First step is to set up the workspace.Open Photoshop (For your help, I`m using Adobe Photoshop CS5) and create a new canvas of 1300×950 px.
setting up the workspace How to Create an Iphone App Layout in Photoshop
The layout will be 840px wide.Now, draw 2 vertical guides at 230px and 1070px to delimit the layout,like in the image.

Tuesday, November 15, 2011

UINavigationController Customization Tutorial


Creating a UINavigationController programmatically

Creating a UINavigationController programmatically is trivial. Assuming that you’ve already created a class called RootViewController that subclasses UIViewController, you would use something like this, typically in your AppDelegate file:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

// rootViewController can't be an instance of UITabBarController
// remember to include RootViewController in your class!
RootViewController * rootViewController = [[RootViewController alloc] initWithNibName:@"RootViewController" bundle:nil];

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController];

[self.window addSubview:navigationController.view];

// Don't bother releasing navigationController as it needs to be around all the time

   [self.window makeKeyAndVisible];

   return YES;
}

Wednesday, November 9, 2011

Xcode 4 : Select and Edit All Variables in Scope


The Jump Bar is the navigation area at the top of the source editor pane, which is highlighted in red in the figure below:


Xcode 4 : Select and Edit All Variables in Scope


Xcode offers a nice way to highlight all references of a variable within the current scope. First, make sure you have the setting shown below enabled within the Text Editing tab in the Xcode Preferences:

Get Started Guide for iOS using Phonegap


  • 1. Requirements

    • Intel-based computer with Mac OS X Snow Leopard (10.6)
    Necessary for Installing on Device:
    • An Apple iOS device (iPhone, iPad, iPod Touch)
    • iOS developer certification
  • 2. Install SDK + PhoneGap

    Download and install Xcode from Apple Developer Portal (Membership required)

    Download the latest copy of PhoneGap and extract its contents. Navigate to the iOS directory and run the installer until completion.
  • Thursday, November 3, 2011

    Read some interesting data from your iDevice with iOS 4.3



    Ever tried to read some interesting data like the Serial Number, IMEI, Phone Number… from your iPhone (or an other iDevice) ? Some data is easy to access, some other uses not supported API calls. I have written a simple App which can read the above mentioned data. You can download it here (click)