10 Great New Features of Mac OSX Lion

Yesterday Apple released a major version of OSX, which is “Lion” with over 250 new features. The Mac OS Lion installation method is really interesting. They says it like this

“To upgrade your Mac to OS X Lion, you don’t need to drive to a store, bring home a box, and install a bunch of discs. All you do is click the Mac App Store icon, buy Lion for $29.99, and your Mac does the rest. “

That means all you have to do is, Open the Mac App Store from your Dock to buy and download it. Then follow the onscreen instructions to install Lion.

These are the most interesting new features of OSX Lion from over 250 new features

1) Launch Pad

Launchpad is similar to you browse your iPhone’s Apps by simply listing them in a grid. The Launchpad can also be enhanced by adding directories so you can find anything you need in just a few clicks. This is how it looks like

2) Full Screen Apps

Again, just like you view your Apps on the iPad or iPhone (or any other tablet or smartphone for that matter), Full Screen view of an App really makes it stand out more for great functionality. Just like iPhoto 11, you know that how simple is that.

3) Mision Control

Mission Control makes sure you can always find and retrieve the stuff you were working on by categorizing your Apps and all the instances it’s running. its looks like this

4) Auto Save

It’s time to stop worrying about saving your work. Because now your Mac automatically saves what you’re working on so you don’t have to. It’s not just an improvement for OS X, it’s an improvement for anyone who’s ever lost hours of hard work after forgetting to press Command-S.

5) Versions

Versions is a new feature that charts the history of your documents, taking snapshots in time, and displaying them side by side with the latest versions in an easily browsable timeline. You can review the past iterations of your compositions, restore a previous version, or copy and paste from old versions to new ones.

6) Mac AppStore
The best way to discover apps for your Mac is now on your Mac. Just like the App Store on iPad, the Mac App Store lets you browse and download thousands of free and paid apps that you can start using right away on all your Mac computers authorized for personal use. New apps install in one step right to Launchpad, and the Mac App Store keeps track of your apps and tells you when updates are available.

7) Resume

Nothing fancy, but very useful. Just like you’re used to when you hibernate and wake up your MacBook by closing and then opening it again, this now works after shutting it down as well.

8 ) Multi-Touch Gestures

Multi-Touch gestures transform the way you interact with your Mac, making all you do more intuitive and direct. Now an even richer Multi-Touch experience comes to OS X Lion. Enjoy more fluid and realistic gesture responses, including rubber-band scrolling, page and image zoom, and full-screen swiping.

9) AirDrop
One of Lion’s niftiest new features is AirDrop, which allows quick and easy file transfers between WiFi-equipped Macs. Opening the AirDrop panel in the Finder makes your machine discoverable to other machines with AirDrop open, and swapping files is as simple as dragging and confirming. Although it uses WiFi, you don’t need a router to use it — the WiFi chips in most newer Macs are able to rapidly switch back and forth between AirDrop and a standard network connection. Apple hasn’t said what the oldest machine with AirDrop support is, but we get the feeling even machines that are several years old will be able to use the feature.

10) Lion Server
OS X Server isn’t new at all, but instead of having to buy it separately, Lion has it built-in to make it more mainstream and available for the masses.


Install Mac OS X Lion 10.7 on PC Hackintosh

My last post is about how to install mac OS Leopard (10.5.6) on a PC,  which is what I have done and still using.
BUT, Today I saw an interesting article on blog How to install  the latest OSX version,  Mac OS X Lion 10.7 on a PC. 🙂 🙂  Its really interesting, because Apple has only release the Developer Version of OSX Lion.

But, its really interesting to give a try. Since I haven’t tested this yet, I’m not going to put step by step guide here.  BUT, I thought it’s better to share it with you. So, Go to bellow link, there is complete step by step procedure to install OS X LION on your normal PC or Laptop.

Give a try 🙂 🙂

This is the site : http://geeknizer.com/install-mac-os-lion-10-7-on-pc-hackintosh/

OS X Lion

iOS 5 SDK Beta & Xcode 4 Now Available

Download iOS 5 and iOS 5 SDK Beta

iOS 5, the latest version of the world’s most advanced operating system, includes over 200 new user features, and an updated SDK with over 1,500 new APIs and powerful new development tools.

Take advantage of an array of new features that will delight your users, including iCloud Storage, Notification Center, Newsstand, iMessage, Twitter integration, Game Center, and more.

iOS 5 and iOS 5 SDK beta are now available to iOS Developer Program members from the iOS Dev Center. Download these new releases and start designing your apps for iOS 5 today.


Xcode 4 Now Available

Xcode 4 is now available to all Mac and iOS Developer Program members. Xcode 4 has a streamlined new interface that integrates UI design, coding, testing, and debugging, all within a single window. The embedded Apple LLVM compiler underlines coding mistakes as you type, and is even smart enough to fix the problems for you automatically. Learn more about Xcode 4.

Source : http://developer.apple.com/

Xcode 4 Preview

Install Mac OS X on a PC (Dual Boot with Windows 7 or Vista)

Is it possible to install Mac OS X on a PC ??? YES 🙂 do not want to buy a Mac for huge a price . . .

Thanks to some great set of tools created by some brilliant hackers, now it’s possible to install Mac OS X on normal PC s.

NOTE:  Here I am posting what I have done and succeed for me. But this is kind of an experimental thing. So, for some people things might not work the right way. So, before do this, if you want, its better to keep your backups. Then go ahead and try out this tutorial with your own risk ! .

Before we start, just take a look @ the OSX86 Project.   Here you can find all the information about what we are going to and other important information.


1. Download OSx86 10.5.x

Download OSx86 10.5.7 0r OSx86 10.5.6 from your favorite Torrent site. Burn the downloaded “.ISO” file to DVD using any CD/DVD burning tool as a Bootable DVD (I prefer 10.5.6, because it’s work for me)

 2. Create a Partition for Mac
Go to Select “command-line” and type . . .
DISKPART> list disk                     // displays the available HDD
DISKPART> select disk n            // select the disk which has windows installation, [where n = the disk number]
DISKPART> list partition           // list partitions on the selected disk [you can see available patitions in your hard disk]
DISKPART> create partition primary size=15000 id=af       // create a partition as primary with size of 15,000 MB (15 GB)
DISKPART> list partition           // then you can see newly created partition is also here
DISKPART> select partition n   // where n is the newly created partition to install MAC OS
DISKPART> active                      //sets partition active
minimum partition size should be more than 8GB
3. Reboot the machine and insert prepared bootable DVD
press any key to boot from DVD
4. Starting Installation
If your system support for the macOS X installation, it should boot from the DVD and it will show the Apple LOGO.
Then be patient to boot from the DVD. BUT, if your system freezes for more than 20 minutes with that Apple LOGO, Reboot and try the following.
Note: You can see count down timer is starting when starting to boot from DVD, before its over,  press F8 key and you will be able to have some more option’s. Now type -v and press enter. This will enable you to see any errors if they occur. In case your screen freezes for more than 10 – 15 minutes 😦   google to find out a solution for your problem.
5. Configuring the Installation
After boot, you will see a Graphical interface. Here you can see a Top Menu Bar, from the menu Click Utilities > Disk Utility.Then, select the destination drive where you want to install Mac OSX which is the partition we have created earlier in step 2.Then click on ERASEon right hand side menu paneThen, for the format option select “MAC OSX Journaled Extended” and click Erase. So, the disk will be erased and mounted.

Then, Close the disk utility and agree to the terms and conditions

Then select the partition which you erased recently.

6. Customize the Install

The most important part.  Here you have to choose the components/patches which support your hardware. So, its better to refer again http://wiki.osx86project.org/wiki/index.php/Main.  Here you can find the sample hardware examples and compatibilities. If you want, you can use If you have doubts Insanelymac.com also.

Tip:   For most of the INTEL based systems Default selected Kernel works very smoothly(do not want to change the Kernel) & for AMD system try Voodoo kernel.  Dont add extra Drivers (.KEXTS) which might cause conflicts. It’s better to select only the important thins such as sound drivers, Graphics drivers, USB patches . . . others keep leave.

That means, if You have NVIDIA geforce VGA on your laptop, you should select exactly compatible Driver from the “Graphics” section, DO NOT select all. (if you select all, it might give problems)

After you selected all the relevant patches press Ok.

7. Checking the disk and Installation of System files

Now we are almost done

Now your DVD will be checking for consistency (if you want, just skip it, its not be a problem)

Then, installation begins.  It will take more than 20 minutes, according to your machine. After the installation is over, machine will Reboot. Remove the DVD after it has rebooted.

You should be able to automatically boot into OS X at this time.

When you want to boot in to Windows, when the machine boot, press any key, you will see options for selecting the boot disk (if you have windows 7, there will have a partition called System Reseved) that is the partition you should select to boot in to windows.

If you have problems boot in to windows, please try the following step.

8. Setting the Boot Loader

To boot in to Windows 7 or Vista, put in your windows 7 or Vista disk, and boot from it. When installation starts, it will ask for “Start up Recovery”. Do it. Then you can boot in to windows. Then do go to CMD and type

DISKPART> list disk                   // displays the available HDD
DISKPART> select disk n           // select the disk which has windows installation
DISKPART> list partition          // list partitions on the selected disk
DISKPART> select partition n  // select the partition number where windows was previously installed.
DISKPART> active                       //sets partition active


Now your vista /windows 7 should boot, If it doesn’t try this:

Boot with installation disk into windows setup, choose recovery again, and select automated recovery of boot area. Windows should fix the boot automatically, then click Fix and reboot button.

9. Add MAC OS in to the Boot menu

Boot into windows and download EasyBCD (google it).

Open it, click “Add/Remove entries” navigate to “Mac”.

Select Type in the dropdown to “Generic x86 Pc” and give some name in the text box below. This name will appear in your boot screen. Click “SAVE”


Yeahhh 🙂 🙂 🙂 that’s it, enjoy MAC . . .

Mac OS X interface

User Interactions and Showing Alerts

Hi, its coool no ??? yeah 🙂

This time we’re going to write a more cool app, which tacks user inputs and giving alerts according to those inputs. The application will have two TextFields for entering user name and Address as well as a button to submit those inputs. When the user taps the button, we are going to showing an alert view with entered information.

Before we going to codes, its better to get idea about “Model-View-Controller” paradigm.

The Model-View- Controller Paradigm
The Cocoa Touch designers were used a concept called Model-View- Controller (or MVC), which is a conceptual way of dividing a GUI-based application in to three modules.

  • Model: The classes that hold your application’s data
  • View: Made up of the windows, controls, and other elements that the user can see and interact with
  • Controller: Binds the model and view together and is the application logic that decides how to handle the user’s inputs

you will create your view components using Interface Builder (sometimes you will also modify your interface from code) or you might subclass existing views and controls.

Your model will be created by crafting Objective-C classes designed to hold your applica-tion’s data or by building a data model using Core Data(which is a data persisting method in Cocoa Touch). But We won’t be creating any model objects in this application because we have no need to store or preserve data.

Your controller component is set of classes that you create and that are specific to your application. Controllers can be completely custom classes (NSObject sub-classes). But more often, they will be subclasses of one of several existing generic controller classes from the UIKit framework such as UIViewController. We will using controller classes for this application.

So, its all about MVC, lets start

1.  Create a new project, by selecting ” View Based Application”.

2.  Name the project as ” submitName “. (If you have any trouble creating your project, refer my last post)

we’re going to design a view (or user interface) for our application using Interface Builder, as we did in the previous application. Before we do that, we’re going to look at and make some changes to the source code files that were created for us.

You can see in th Group & Files pane, there are four files in classes Group two implementation classes (.m) and two header files (.h). The application we are creating here has only one view, and the controller class that is responsible for managing that one view is called “submitNameViewController”.

Group & Files Pane










Click  submitNameViewController.h in the Groups & Files pane, and take a look at the contents of the file

#import <UIKit/UIKit.h>

@interface submitNameViewController : UIViewController {



Not much is there, 🙂 This is a subclass of UIViewController, which is one of the generic controller classes in Cocoa Touch. It is part of the UIKit and gives us a bunch of functionality for us.

We’ll create two TextFields and Button in Interface Builder. Since we’re also going to be writing code, there must be some way for our code to interact with the elements we create in Interface Builder, right? yeah 🙂

Our controller class can refer to objects in the nib (Interface Builder files also call as nib/xib files) by using a special kind of instance variable called an outlet. Outlet is a pointer that points to an object within the nib. For example, suppose you created a text label in Interface Builder and wanted to change the label’s text from within your code. By declaring an outlet and connecting that outlet to the label object, you could use the outlet within your code to change the text displayed by the label. This is how an outlet is declare in the header file or interface.

@property (nonatomic, retain) IBOutlet UIButton *myButton;

On the other hand interface objects in our nib file can be set up to trigger special methods in our controller class. These special methods are known as action methods. For example, you can tell Interface Builder that when the user tap on a button, a specific action method within your code should be called.This is how an action method declare also in the header file or interface.

Tip:  Action method must have a return type of IBAction, which is the same as declaring a return type of void.

– (IBAction)doSomething:(id)sender;  // Action method have one argument,and it’s typically defined as id and name it as sender

– (IBAction)doSomething;  // Anyway, we can just ignore the sender

Yeah, 🙂 here we are going to do the same, lets add Actions and Outlets to the View Controller

add the following code to submitNameViewController.h:


#import <UIKit/UIKit.h>
@interface submitNameViewController : UIViewController <UIAlertViewDelegate> {

UITextField *nameTextField;
UITextField *addressTextField;
UIButton *submitButton;

@property(nonatomic,retain) IBOutlet UITextField *nameTextField;
@property(nonatomic,retain) IBOutlet UITextField *addressTextField;
@property(nonatomic,retain) IBOutlet UIButton *submitButton;

-(IBAction) submitName;



😦 😦 confuse ????? no, we just declare two Text Fields and a Button, then the Action method.

NOTE: @property(nonatomic,retain) IBOutlet UITextField *nameTextField;  – – -> this is a shorter version of using accessors and mutators (getters/setters) methods in ObjectiveC. It’s define how the accessors and mutators will be created by the compiler.

Don’t warry about <UIAlertViewDelegate> in simple words, ts is just for saying to the compiler, that we are going to use Alerts in our app.

Then we are going to create our implementation file (which is actually the source code). So, just look at your submitNameViewController.m file. You can see, all the necessary methods are given for you by the template. Then we will add our Action method somewhere in the code.

#import “submitNameViewController.h”

@implementation submitNameViewController
@synthesize nameTextField;
@synthesize addressTextField;
@synthesize submitButton;

– (void)didReceiveMemoryWarning {
// Releases the view if it doesn’t have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren’t in use.

– (void)viewDidUnload {

// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;

– (void)dealloc {
[nameTextField release];
[addressTextField release];
[submitButton release];
[super dealloc];

-(IBAction) submitName
NSString *name=nameTextField.text;
NSString *address=addressTextField.text;
NSString *message=[[NSString alloc] initWithFormat:@”Hi, %@ your address is %@ “, name, address];

UIAlertView *alert=[[UIAlertView alloc] initWithTitle:@”Thank you for your details” message:message delegate:nil   cancelButtonTitle:@”Great!” otherButtonTitles:nil];

[alert show];
[alert release];
[message release];



Note: your method can put anywhere in the code befor @end notation. Since Objective C does not support Garbage Collection, within the – (void)dealloc method we have to release all the allocated outlets by us.

That’s all we have to do in the codes, Then we have to design our interface, So Open submitNameViewController.xib  and add two TextFields and a Round Rect Button from the Library.

It’s easy no ??? 🙂 🙂

Then we have to connect those components to the outlets that we were declared in our header file, lets do it.

Connecting Outlets
Hold down the control key; click the File’s Owner icon in the main nib window; and keep the mouse button down. Drag away from the File’s Owner icon toward the View window. A blue guideline should appear. Keep dragging until your cursor is over to one of your TextField, and release the finger, then you can see gray color menu, then select appropriate outlet name. Do it for all three components.

Conecting outlets

The last thing we have to do is specifying the actions, that means connecting the Action method to the button. Same thing have to do, this time Select your button from the view, then hold down the control key  and drag to the File’s Owner icon in the main nib window, and select your Action method.

That’s all 🙂 🙂 🙂 we are done. Save your work and then Build and Run .















Let’s say “Hello Wolrd” from iPhone

Are You Ready?

if you’ve got your iPhone SDK installed, scroll the page. If not, get to it! Got it? Good. Then let’s go!  . . .

Here I am going to use “Xcode” and it’s designing partner “Interface Builder”, to create a simple interface, which is desplaying “HelloWorld” on iPhone screen. 🙂

We’ll look at what’s involved in creating an iPhone application project in Xcode, Using Interface Builder to design our application’s user interface, and then run our application on the iPhone simulator.

So, lets start our journey to the iWorld

There are various methods to create an iPhone application. But, here I’m trying to use simplest method, using Interface Builder and other related tools which comes together with Xcode.

Setting Up Your Project in Xcode
By now, you should have Xcode and the iPhone SDK installed on your machine. Launch Xcode, which is located in /Developer/Applications (better to create a shortcut on to your dock :)). If this is your first time using Xcode, don’t worry; I’ll walk you through the process of creating a new project.

When you first launch Xcode, you’ll be presented with a welcome screen like this

Create a new project by selecting New Project… from the File menu, or by pressing ⇧⌘N, which will bring up the New Project

create a new project

In the project pain, there are two main sections: iPhone OS and Mac OS X. And you can see that there are various project templates that can be used as a starting point for your iPhone applications. The icon labeled View-based Application is the simplest template and the one we’ll be using for this simple application.

Click the View-based Application icon and then click the button labeled Choose. Then you’ll be asked to save your new project using
the standard save sheet. Type Hello World for the project name, and save it wherever you want it stored.

project template

save the project

The Xcode Project Window

After you dismiss the save sheet, Xcode will create and then open your project, and a new project window will appear that looks like this

project window

Just play a while and get famelier with Xcode interface 🙂

Yeah, it’s really easy to use. So, lets I am explaining some of the important files in the Groups and File pane in your project.

  • Classes: Header files(.h) are the place where declaring the public variables and methods, (.m) file or implementation file is the source code file, it contains all the methods implementations and much more . . . (we’ll look @ those in the future)
  • main.m: This is where your application’s main() method is. You normally won’t need to edit or change this file.
  • Resources: Contains noncode files that will be included as part of your application, such as your application’s icon image and other images, sound files, movie files, text files,
  • Hello_WorldViewController.xib: This file contains information used by the program Interface Builder. This is very power full mechanism which allows you to create the interface with lot of ease.
  • MainWindow.xib:This is your application’s main Interface Builder (or “nib”) file. In a simple application, no need to touch this file.
  • Hello_World-Info.plist: This is a property list that contains information about our application.

In your project window’s Groups & Files list, expand the Resources group, and then double- click the file Hello_WorldViewController.xib. This will open that file in Interface Builder. If this is your first time using Interface Builder, a window grouping similar to that shown in following figure.

Adding a Label to the View

The rightmost window shown in the following figure is the library, this is where you will find all the stock Cocoa Touch objects that Interface Builder supports. Dragging an item from the library to a nib file window will add an instance of that class to your application.

So, then Drag a Label from the library (as shown in the figure) into the View  window. Double-click the label you just created, and type
the text Hello, World.

Ho hooooooo 🙂 🙂 thats it. Select File ➤ Save, and go back to Xcode so we can build and run our application. In Xcode, select Build and Run (or press ⌘R). Xcode will compile our application and launch it in the iPhone simulator, as shown in the last figure.

interface builder

Run the app on simulator

So, its really easy no ?????? 🙂 🙂 without single line of code, we are able to say “Hello World” . . .

But, in the next post we will see about getting input from the user of an iPhone and taking actions based on that input. So till then bye byeeee  🙂 🙂

Welcome to THE iWorld

So, Do you love iPhone? and do you want to develop iPhone, iPad and iPod touch apps?

This is a learning portal to help you get started to creating your own iPhone, iPod touch and iPad applications.

Arguably, this is the most interesting mobile platform to date, especially now that Apple has provided a set of elegant, well-documented tools for developing iPhone applications.

And with the recent release of version 4 of the iPhone software development kit (SDK), things have only gotten better.
Tip: iOS 5.0, world’s most advanced mobile platform is also on the way right now 🙂 🙂

What you need before you can begin ???

Before you can begin writing software for iPhone, you’ll need a few things.

  • Intel-based Macintosh running Leopard (OS X 10.5.6 or later)   😦 😦 😦
  • Any Macintosh computer iMAC , macBooks , mac mini . . .   😦 😦 😦

Don’t worry if you haven’t a mac. There is a method to install macOS on a PC, called Hackintosh. it is tricky 😦 😦 and cannot be 100% guaranteed. BUT if you have enough fever , you can do it. So, I”ll put some links for the guys, only who have fever. (I also had that fever, so still I’m also a Hackintosh user)

There are thousands of links on the web about “How to install Mac OS on PC”

If you want, I’ll put a post about how I was install lovely macOS on my laptop

So . . . anyway lets continue,

  • You’ll also need to sign up to become a registered iPhone developer. Apple requires this step before you’re allowed to download the iPhone SDK with Xcode (development paradigm).

To sign up, navigate to http://developer.apple.com/iphone/, which will bring you to the iOS Developer page. Somewhere on the page is a link to the latest and greatest iPhone SDK or Xcode .Click the link, and you’ll be prompted for your Apple ID. Use your Apple ID to log in. If you don’t have an Apple ID, click the Create Apple ID button, create one, and then log in.
Then you can get downloaded all the necessary things . . .

( Tip: If you are a Hackintosh user, you want be able to install the latest version, so just google for Xcode 3.1.4 with SDK which is compatible with your macOS version Tiger 10.4, Leopard 10.5 or Snow Leopard 10.6 )

Sooooo . . . thats all we want.
And, One thing to say. here we are going to use Objective-C 2.0 as the programing language. Don’t worry it’s really cool to work with macOS, Xcode , iphone simulator . . .

I know, this is too much of words 😦 😦
But, from the next time we’ll having more fun playing with codes, mac and iPhone

So, get ready for the journey. Hope you will be ready to start the journey to THE iWorld . . .

see you next time, bye byeeeeeeeeeee 🙂 🙂