Tuesday, August 16, 2011

[iOS Development] How to Create Hello World Application for iOS using Xcode





I’ve recently taken it upon myself to get into iOS development. I use iOS on a daily basis on my iPhone and got an interest to start developing for the devices as well.

Starting Point
  • Basic knowledge of  C and hopefully some Object Oriented programming, iOS SDK uses Objective-C, which is a superset of the C language.
  • iOS development is done using 2 main programs, Xcode and the Interface Builder (there is also the iOS simulator, which is used to test your apps at first).
  • All development toolkit which run solely on Intel based Macs. So unfortunately if you’re a PC and not a Mac you’re a bit stuck.
Development Environment
Firstly let’s have a look at those programs you’ll be using to develop for iOS, starting with Xcode.Open  the xcode application (easiest way to do so is to use spotlight and type xcode and run the application from there, or you can find xcode in /Developer/Applications/).

Step -1 :
Opening splash screen for Xcode which gives you the option to start a new project or open an existing project.Select “Create a new Xcode project”, click that and you’re brought to below figure.

Step -2 :
 Next you can able to see different projects you can create. For this "Hello World" example select the “View based application” and save it in a directory you’re happy with (I’ve set up a developer directory for all of my projects to go into).
Step - 3 :
Once you’ve chosen a name for your project the next screen you’re brought to workspace of Xcode.
iRamTestAppViewController.xib” is the Interface Builder file that Xcode created for you when you selected a ‘View-based application’; the XIB file contains your view, and ‘iRamTestAppViewController.m’ is your view controller, but that’s not important for now.Double clicking “iRamTestAppViewController.xib” will open your xib file in Interface Builder.


Step - 4 :
Drag a label from the library to your view.By default Interface Builder will add a View to your XIB which will display when your XIB file is opened. 
To the left of your view in Interface Builder, there is a window called “Library”, the library contains objects for controls and views you can use in your interface. For this tutorial we just need a label, so find the ‘Label’ object in the library, then click and drag it onto your view.

Step - 5 :
To Customize the labelChange the text on the label to “Hello World’ by double clicking the label and typing “Hello World” and hitting return. While the label object is still selected, use the Attributes Inspector (to the right) to change some of the appearance attributes of the label, in this  example I changed the font size to 58, and added a shadow with a 1 pixel horizontal and vertical offset. 

Step - 6 :
Now you set to go .In Xcode click the ‘Build & Run’ button at the top of the Project Window, this will build your app bundle and run the app in the iPhone simulator.


From this Tutorial, you can able to create simple application for iOS using XCode. Coming week will walkthrough about Objective -c, Cocaco Touch Frameworks and UI designs.


















Sunday, July 24, 2011

Mac OSX Lion - In-depth Review and Final Thoughts

Finally the new Big Cat "Lion" in Apple OSX family came out from the cage and roars loudly with new features to take OSX into next level.Apple bridged a gap between what’s been called mobile OS, (or in their case, iOS), and desktop OS, further turning what it means to own a computer with killer desktop experience.

Installation                  

Install Mac OSX Lion is so easy now , just go to Mac App Store and you can search "OSX Lion" then download the entire OS by just like an app from App Store.

Starting with Scrolling Gestures

When your computer starts for the first time after having had Lion fully installed, you’ll be able to see the  window shows the demo about  the  entire scrolling gestures.
Swipes between pages in PDF,Word 

                        
Swipes between Full Screen Apps
Mission Control , swipes up Three or Four Fingers to see many desktops 
App Expose to switch between apps by swipes down Three or Four Fingers
                              
Like iOS , you can see the page flow of installed Mac Apps by spread with thumb and  Three or Four Fingers.

Multiple Desktops

In OSX Lion now you can able to create multiple desktops and each one of them with their own desktop wallpaper, open windows, docked apps, and open apps.

Dashboard

You can access dashboard  by three-finger-swiping all the way to the left, or by clicking it in Mission Control. If  Widget production is going to increase, Widgets will have to be placed in the Mac App Store.
LaunchPad
When you see the Launchpad, you will  instantly understand why this version of Mac OS is being called a bridge between Apple’s desktop operating system and mobile Apple’s iOS, as seen on iPhone, iPad, and iPod Touch.

Just like in iOS, you’re also able to take one app and place it atop another to create a folder with the two inside, this folder then up for additional apps in the future.
Misson Control
Mission Control is accessible by you by clicking the Mission Control icon in your dock, or by swiping three fingers upward on your trackpad.Another use you might consider for Mission Control and your multiple desktops is giving each member of your family a different desktop to work with.
Another great use of  this Mission Control is make you WANT to use a lot of windows at once. which makes the best use of the operating system’s abilities.

Finder

“All My Files” is an File Explorer by being a separation of every single file you have on your computer in one place, separated by filetype and the Show All” button for each category, this being a viable option for me to separate videos.

AirDrop
AirDrop, an extremely simple system in which you can connect peer to peer with people running AirDrop on computers near you.Apple mentioned t this functionality works out to about 30 feet, this being the range of MacBooks can see one another. This system is not connected via Wi-fi, again, it’s peer to peer, meaning you don’t need the internet at all to make it work, just two Apple computers.

Spotlight

Spotlight desktop search to  find anything and everything and this new iteration in Lion shows not only results on your computer aslo searches the webpages, music, web searches searches, and more. Mouse-over any result to see a preview. 
Very simple and a very handy  option for opening apps, browsing the web, and finding old emails.

Safari

Safari in Lion gets the new Scoop with Full screen and use a three finger to back and forth, or forward and backward.Instead of clicking the back button or the forward button, you have only to swipe with two fingers to the right or to the left.You can  also able to pinch to zoom or double-tap to zoom.

Mail, Contacts & Calendars 

iCal and iChat                                                                                                                                                                                  iCal get the  giant boost once the iCloud is active and running, and iChat being promoted by the in-browser connection to your accounts is a massive potential plus.

 Mail
Major UI change in Mail app with new search feature.








Contacts
Lot of change has happened to the functionality, again, of Address Book, but it looks a whole lot more enticing.



Final Thoughts
  • OSX Lion eyes on the notion that Mac OS X Lion would be like iOS for desktop
  • Full Screen App takes the ease of productivity.
  • Trackpad Touch Gestures makes your day to day activities easier.
  • App Store makes u get lot more Lion Featured Full Screen Apps.
  • OSX Lion is worth to update for new desktop experience                       

Friday, July 15, 2011

Get Ready for OS X Lion


It's July, and OS X Lion is almost here! Lets run down a preparation list of recommended tasks so you can be ready once it's available from Mac App Store.

Necessary for Lion Update

Apple has provided a concise rundown of how to update to Lion on Day 1 here. The requirements are the same for all mac (MacbookPro,MacbookAir,iMac,MacMini). To proceed with a retail installation, you absolutely need the following.


  • Intel Core 2 or above, 64 bit CPU
  • A computer running the latest version of Mac OS X Snow Leopard (10.6.8)
  • iTunes Account + $29.99
  • Internet Access to download 4 GB Lion Install App through iTunes
  • 4 GB hard drive space available in /Applications
Recommended Best Practices

When performing any full operating system upgrade, unexpected things can occur. To avoid data loss, these best practices should be adhered to. This upgrade should be a breeze, but if things do go wrong, you can always go back to your working Snow Leopard installation.

  • Buy a Second Hard Drive
  • Clone your Snow Leopard Hard Drive
  • Back Up Your Data

Stay tuned for our full OS X Lion retail installation guide- coming Day 1! .If you like follow this blog just update in RSS Feed

Sunday, July 3, 2011

Top 5 - Biographical Books About Steve Jobs

Apple CEO Steve Jobs is the idol of many young enthusiasts and entrepreneurs. Steve Jobs is a very creative person and intends to change the world with Apple’s technological products. If you’re a Steve Jobs fan and want to know more about him, you can read any or all of the following five books which are related to Steve Jobs’ biography.

1. iSteve

iSteveWalter Isaacson, the author of  “iSteve: The Book of Jobs” , has been working on Steve’s biography since 2009 and has interviewed Jobs, members of his family, colleagues at Apple and competitors. This is the first book which has been authorized by Steve Jobs himself. This book will be available on March 6, 2012. But it’s available for pre-order on Amazon for $16.50. The original price for the paperback version is $30.00. So, if you pre-order the book now, you’ll be saving quite a few bucks.

2. Inside Steve’s Brain

Inside Steve's BrainThis book has got a lot of interesting stories that give you background into some of the most important innovations and inventions of the last 20 years. You learn about the creative, business, product development, and marketing side of Apple. You also learn about why and how they keep things so secret and you learn about why their team is so good at creating world-changing products.
This book not only describes Steve as a perfectionist, charming, charismatic executive but also a man who’s known as an elitist, manipulator, and sociopath, all in search of a dream: providing easy-to-use technology for individuals. The author, Leander Kahney, starts by telling how Steve joined Apple again and saved it from bankruptcy. “Inside Steve’s Brain” is available for a discountedprice of $9.27 on Amazon. This is a short time offer, with the original price tag of $23.95.

3. iCon Steve Jobs: The Greatest Second Act in the History of Business

iCon Steve JobsJeffrey Young & William Simons are the authors of “iCon Steve Jobs”. This book tells how Jobs took over a project to develop Macintosh and was facing clashes from board members which led his departure from the company. Later, he founded NeXT. This company was a near-disaster. Steve Jobs then bought Pixar, an animation company which tied up with Disney and was a creative powerhouse which gave smashing films like Toy Story & Finding Nemo. At this time, Apple was having a rough time and so NeXT was the ticket that led Steve back to Apple.

4. The Second Coming of Steve Jobs

The Second Coming of Steve Jobs“The Second Coming of Steve Jobs” is an unauthorized biography chronicling the life of Steve Jobs by Vanity Fair magazine writer Alan Deutschman. The book covers his period at NeXT, an unexpected success at Pixar and his comeback to Apple followed by the introduction of iMac. Alan tells how Steve discovered the deep sources of his character and motivation; what makes him exceptional as well as what makes him real; where he got his unusual ideas about leadership, management and the creative process; how he had been changed by his years of wealth and celebrity and by his years of struggle and failure.
The new Hardcover edition of “The Second Coming of Steve Jobs” starts from $6.99 on Amazon. The Kindle edition of The Second Coming of Steve Jobs is available to buy from $11.99.

5. The Little Kingdom: The Private Story of Apple Computer

The Little KingdomThis book was written in 1984 by Michael Moritz. Moritz has covered theearly history of Apple in interesting and entertaining fashion. “The Little Kingdom” explains the origins and quirks of Apple’s first decade, giving some clue as to how the company turned out the way it did. If you read any of the later books, they all cite Moritz heavily to get the history of Apple clear.
You can buy “The Little Kingdom” starting at $12.99 on Amazon.
Happy Reading! - I pick iCon Steve as one the my favorite book about Steve. How about you.....




Friday, July 1, 2011

iPhone 5 Design - Mockups

Many rumors started to spreading about  iphone 5 and some of the design analyst take this momentum to come up with futuristic  iphone 5 design . The concept comes from  heavily inspired by, surprisingly, the 6th-gen iPod nano and look good enough to believe.
Design -1
The concept iPhone 5’s body consists of a single Magnesium-alloy based casing which holds the electronics that is itself sandwiched between two pieces of glass. The glass on the front packs a 4” 1100-by-730 pixel display which is of the same pixel density as the current Retina Displays on iPhone 4/iPod touch 4G.








Design -2

iphone 5 concept
iphone 5 concept
iphone 5 concept
iphone 5 concept
iphone 5 concept



iphone 5 concept
Design -3 
 Wow, Eye catching color combination

Steve Jobs only knows what design will customers love , lets wait and see this September will be a major design change or not.


Monday, June 27, 2011

Rumors : iPhone 4S and iPhone 5 Coming Out In September

Every year Apple launches new iphone hardware with top notch industry design and upgrade the hardware specs to stay in the race with Android Powered devices. This year apple also updating  the hardware specs from single core (A4)  to dual core processor (A5).But many analysts  predicts that apple may unveil two iPhone models, an iPhone 4S and an iPhone 5.

This may be the speculation spreading around from many sources that we can expecttwo iPhones, both an iPhone 5 and a lower cost iPhone 4S, are now expected to be launched this fall, presumably alongside iOS 5.

Here are the rumors about the two new iPhone models

iPhone 4S :
  • Lower end model aimed at prepaid and emerging markets
  • Priced around $349 or lower (past reports suggest as low as $200)
  • Unlocked
  • No-contract required
  • Pre-paid voice and data plans
  • Hardware based on existing iPhone 4
iPhone 5: 
  • Upper end model with contract subsidy, powerful CPU, and the latest features
  • Dual-core A5 CPU borrowed from iPad 2
  • Potentially larger 4″ screen
  • 8MP camera
If this comes true, then Apple will Outplays the Smartphone war against Android Domination.
Where there’s smoke there’s fire, a new iPhone (or two) is definitely coming.

Saturday, June 25, 2011

iOS 5 Beta 2 - Features and Changes

iOS 5.0 beta 2 was released yesterday and there have been a few new features spotted. Most of these are extremely minor changes, however there is one major feature that was turned on in the below


New Notification Lock-Screen Look

Not so much new, however it is a minor change. When your phone receives a notification it will display the most recent one as a bubble. Then, when the notification has been there for a minute or so, it turns into the bars like the previous beta.

WiFi syncing
This feature was a major one featured at WWDC ’11. Really, it works as expected with no errors. I restored my iphone last night and set it to WiFi sync; this morning, all my content was on it. It was truly amazing and is definitely the way of the future.


Crisper Font in Messages 
Messages application it has a new font looks a lot crisper. You can see a picture of that below.
iCloud icon changed
In iOS 5beta 1, the icon for iCloud in settings was originally purple. Not anymore, the purple icon has been replaced by the brushed aluminum one, and it looks a lot better.
This beta 2 update doesn't  have change log like we seen in beta 1....