Saturday, July 16, 2011

What you need to get started with iOS development

iOS is one of the leading and arguably the most advanced mobile platform in the world. Apple has invested a lot in it and continues to reap benefits out of it.

When Apple first opened the gates for the developers, it just took off. And after these many years, Apple can certainly boast of a bulging and ever accruing app store.

So how does one get started to be part of this Apple juggernaut ? 

Well, if you have decided to get on with iOS development for iPhone/iPod/iPad apps, you should be ready to spend some cash just to write a cool Hello World app !  as most of the things from Apple are proprietary and there are no freebies.

So here is what all you need:

1. Mac OS and intel based PC : Many would say that there are ways to develop iOS apps on windows machine but I won't suggest you to do that because the whole process is really painstaking and there are chances that you might not achieve what you had thought of at the outset. 

The development IDE and all the softwares needed for the development and the testing require an intel based mac machine and there is no running away from this fact. So rather than writing code on some windows machine using a sdk like DragonFly and then uploading the code to get the build, its better to get your hands on an intel based Mac machine. You can buy a macbook or a mac computer depending on your budget and plans. The Mac Mini starts from $699.

If budget is really a constraint, you can opt for refurbished machines available on the mac store or find a second hand machine from eBay. This can certainly bring down the cost.


2. Apple iOS Developer Program : To get access to the tools and also to code, test and deploy your apps to the app store you would need to register for Apple's iOS developer program which costs you $99 a year. Once you are a registered with the program, you can download the latest iOS sdk required to develop iOS apps for iPhone, iPod Touch and iPad. The IDE provided by Apple is Xcode. One can download the sdk with Xcode only so you should be ready to download around 5 GB of data before even getting started.

The documentation from Apple is good to start with and there are plethora of tutorials available on the web.

3. iOS device : Although, Xcode comes with all the simulators, you would need to test the app on real devices before submitting it to the app store. The device needed depends on the  type of the application being developed and thus you would need to have access to an iPhone or an iPod Touch or an iPad or all three of them. 

The developer program allows you to perform ad hoc testing on selected devices ( Max 100) to understand how the application performs in a real environment.


Once you are done with your testing and satisfied with the results, you can submit the app to the app store for approval and if everything goes right, your app would be up and running on the Apple app store.

That's it. I hope this throws some light on getting started with iOS development.

Please do leave a comment if you see a wrong piece of information or if you feel that I have missed out on something crucial.

Happy coding !


A twitchy dilemma

A ten year old boy serves tea on all floors of our office building. He works all day and gets paid Rs 2000 per month for  his efforts. Today we talked to him at length only to find out that he doesn't want to work (which is quite natural considering his tender age). He has a brother (younger or elder I don't know) and his parents in his family.

The boy has joined a new school now which would engage him from 12 - 5 P.M. everyday and would continue with his job from 5 P.M - 11 P.M.

We asked him to quit his job and concentrate on his studies and playing. We agreed to help him out by giving him his salary amount as well without having to work. This would help him to take care of his expenses and also would keep him away from the work which he doesn't like.

I somehow could not convince myself that this was the right way to go about it. I have a feeling  that his move of ours might jolt his personal life and his relationship with his parents, brother and everyone associated to him. This philanthropy of ours might help him to get free time but would it necessarily be a good change in his life? We debated over this at length at our office and couldn't reach a conclusion.

Now I sought opinion of all the readers for a deeper analysis of this problem and the possible solutions. May be you can suggest a better way of going about this or even not going about this.

What all can be done? 


Thursday, July 14, 2011

Mumbai blasts 2011 - We need 100 % result just like the Delhi University

Once again the city of dreams and ambition has been jolted and as expected, the following day of the blast has been full of blame game. BJP and Congress are giving stray dogs a complex with their fights and our 'great' congress leader Digvijay might be busy trying to find a RSS angle to the blasts. Rahul Gandhi feels that all these attacks form only 1 % (thank god that it is not more) of the total attacks planned against India. I swear many of us would have been dead had it been 2 or 3 %. And at the end of the day, normal services resume.

Mumbaikars have no option but to get back to their routine (which media calls Mumbai's spirit) and the victims are helpless and so are we as tomorrow it could be us and one day it will surely be us. Politician bashing is the first thing that comes to our mind and in a way it helps us get over the trauma. But no words could ever console the victims and their families. Time is the only healer for them.

The thing that troubles me the most is what were our intelligence and security doing? These blast spots were no wasteland or city outskirts. These places are the buzzing ones and have always been on the terror radar. Home minister says that there was no clear cut intelligence available. Was he hoping that terrorists would publish a full page ad in a national newspaper with exact date,time and venue? Dear PC, for god's sake don't give us that sh#t.

I don't want to compare India to the US or the  U.K. but we can't give up on this as if these attacks are like earth quakes and tsunami which are almost impossible to control. We blabber about diversity, man power and intelligence and yet we are the ones who are targeted again and again. 

Please be proactive and take actions to make ourselves capable of achieving the 100% that congress joker Rahul Gandhi (who must be aware of the pain of losing the dear ones more than most of us) has talked about.

PM says that we won't spare the perpetrators. I m sure they would be arrested after 20 yrs and then would be convicted for lifetime after another 20 yrs of court trial.

For India's sake dear PM, hang Kasab and Afzal Guru so that we can feel that you have done at least something apart from heading the most corrupt and shameless govt. of our times.

Let us also become more aware and vigilant and fight our own battle because even god wants us to help ourselves first and only then He would help






Sunday, July 10, 2011

develop cross platform mobile apps

iOS, BlackBerry, Android, etc - where is it going to end? 

The world of mobile apps is witnessing an exponential growth and all the major players are in the race to the lead the pack.

Android and iOS seem to be the run away leaders at the moment but the developers are finding it harder day by day to cope up with technological advancements made by these platforms......It is already a challenge to master these technologies individually and to master them all is a totally different ball game.

That brings us to a point where we start to ponder over certain ways of overcoming this issue and the simple(to think) yet difficult (to implement) answer to it is : cross platform mobile apps.

With the advent of HTML 5 and powerful javascript and more and more powerful mobile devices, a new breed of platforms have arrived which allow creation of cross platform apps which means code once using standard web technologies and deploy on various platforms. 

The idea has gathered a lot of momentum in the last couple of years and some really good work has been done by the experts. The APIs are comprehensive and fast and usually cater for most of the functionalities and considering the amount of investment that is being made in terms of money and effort, it could be said that it is just the beginning.

The most buzzing ones according to me are:


Apart from the above platforms, Infosys has come up with a unique platform of its own by the name of Flypp which is a solution for operators and developers both. Infy hasn't opened it for everyone and that's why I wasn't able to go through it.

PhoneGap is my personal favorite because it is free and lightweight.

Hope this helps the developers who believe in hitting every mobile platform.


Saturday, July 2, 2011

Three years of almost everything....

I haven't posted on my blog for past three years and I feel I have done quite well in still remembering the password and the email id to log on to blogger.

A lot has happened over these three years and to be honest, it has been a topsy-turvy journey.

From allegedly 'absconding' from my first job, to starting a new venture and then dissolving it, from cricket to tennis and from girlfriend to my soul-mate (fortunately the same girl), every transition has been intriguing and far away from what I had expected.

But now I feel there is this new awakening within me and its time that I began sharing my experiences with others as they might prevent people from making the mistakes that I made and also motivate or inspire them to do the good things that I have done.......

Really happy to be back........

I will write about technology specially mobile and web apps, some really good personal experiences and would also share my literary work created during the obscurity phase.

Friday, August 29, 2008

The Time Has Come


Not long ago, the president of Indian Olympics Association, Mr. Suresh Kalmadi had told the press not to expect any medals from the India’s Olympic contingent and now when the euphoria is over, we have three to boast of. India- a nation of more than a billion, India - a nation of three Olympic medals. It’s so heartening and yet so poignant that even after 61 years of our independence all we get is a piece of gold and two bronze honors. Considering our track record, Beijing 2008 was the best Olympics for the motherland but is it apposite to credit these medals to India Inc? I dare say no. All we got were three individual medals, one because of impeccable training and planning and two because of sheer fighting spirit of those two athletes who punched their way to glory, fame and national reverence. Just three podium finishes have given us joy of a lifetime and India has marked its presence in sporting fraternity big time. But, is it because of our transparent sports policies? Or is it because the authorities gave athletes best possible exposure? Or is it because Mr. Kalmadi slogged really hard to ensure that these athletes were well trained? I leave it up to you to decide over this. Personally I feel that if IOA or any other authority tries to take credit for this, I would be snubbed.

I dare say that the Kings of Beijing are kings on their own and its time to concede that. None of the major players of Indian thought process i.e. the media , the authorities and the politicians cared for them even a fortnight before the Olympics and it was no exaggeration when the golden boy Abhinav Bindra said that he would be forgotten in two weeks. The statement reflects the agony and the mindset of a true Indian sportsman (not a cricketer….Yuvraj-Dhoni-Deepika were in news for more than three months!) who even after achieving the impossible feels that he would be forgotten in less than a fortnight.

It is an eye opener. Our system has always valued money and politics over the exuberance of the sportsmanship and the one game that we have mastered and are assured of gold medal if included in Olympics is the blame game. We have been so bashful that it would be really tough for us to feel ashamed of ourselves. Some things must be free from politics and sports are one such fraternity. How can individual interests and aspirations surpass a nation’s aspirations and success? Being a literate person, it’s really obscure to accept the fact that a talent hub such as India gets medals in single digits. Something somewhere is drastically wrong and I think the time has come that we begin to ram ourselves and the authorities to make amends. Let’s take up the challenge, let’s do the impossible. I know many issues will arise when we will try, but we have some of the brightest minds in the country. Rope in the corporate biggies; rope in the IITians and the management gurus from IIM. After all some will choose ‘country winning the gold fest’ over investing time and energy in disastrous soaps and channels or selling oils and toothpastes.
The idea is to turn this spark into a new torch, a torch that would cast away the darkness that had engulfed the Indian sports long back and has had shown no signs of fading away. But now we have a glimpse of hope and let’s work in a wholly professional and non political way to give this current system a jolt and shake off all the discrepancies. Lets Rock On !

Are We There Yet?

Whenever I a meet an aspirant (could be any Indian), I usually find him/her engrossed in a very intriguing dilemma. The question that I am usually asked is “Am I going to succeed”? And the obvious answer that I come up with is “It’s up to you”. I have always been an admirer of talent and creativity and I firmly believe that an individual is at his productive best when he does something which he really loves to do. This is not a myth but a fact which has been proven time and again over the years. The parameters for success may vary from an individual to individual but still there is one aspect common to everyone’s success and that is love for the job and may be that’s why an individual called Harsha Bhogle thought cricket talk was far more fulfilling than creating ads even though he post graduated from a top notch business school. I see two reasons behind his unprecedented success, one he really loves to do what he does and second he was and is fearless. The love factor is obvious but I found Harsha fearless because he dared to choose a field which was in no way related to his academic background and that’s the essence of the story, “Do what you really love to do and be fearless”.
Sometimes I get engrossed into deep thoughts when I see young assiduous Indians being apprehensive about their future. Planning and thought process are important but just thinking won’t help. There is an adage that hard work pays dividends but I dare say that mere hard work is not enough, hard work in right direction coupled with timeliness pays dividends. The world is fast paced and no matter at what speed you run, you will always have a notion that you are lagging behind and in such circumstances a directionless run would lead you absolutely no where. It’s really simple, if you want to be a goldsmith, you will have to be patient and persevering. Using the techniques of a blacksmith just won’t fetch you the desired result no matter how hard you work. Thus it’s obvious that it’s really important that you realize your potential and work in the right direction to harness it in a true sense. Doing what you really love to do will increase your productivity and it will suffice for any other shortcomings. In this era of cut throat competition, you are the one cutting your own throat, making decisions out of fear, doing things that you really do not want yourself to be doing. At times you are helpless and this fact drives you away from your passion. But always remind yourself that this has to be temporary, be optimistic, be spontaneous, be smart to finally bail yourself out of the situation and the most important thing is to never give up. If Lance Armstrong can fight cancer to win Tour de France, one of the most coveted cycling races, then why can’t you? It’s much more psychological then physiological. It’s all in the mind and the mind is within you and thus everything is in you. Just discover yourself to rediscover your life.
Coming down to current scenario, I think a good part of our youth is getting mislead, it would be wrong to point out a single source of such misleading forces but it’s possible to say that they are prevailing and they are prevailing big time. Take a bout, spend time with yourself and find out what you really want from life, do you actually want to spend time listening to pseudo journalists and mass communicators who have become as threatening as the threats they blabber about, or do you want to be creative and give something to the nation which has tremendous talent and a lot to offer. Get your life back. Fight hard against all the odds.
Pondering over the present situation, I feel that every Indian involved in constructive work must ask himself/herself, are we there yet?