Smart Watch in Real Life

Couple of years back I visited New York with my brother. Our plan was to see as much New York as possible in one day. We walked for almost 5-6 hours straight and visited tons of awesome places. It was a lot of fun, except that I missed almost 10-15 calls including notifications. Even though my phone was on full volume and vibration I was not able to detect anything in the crowded city. This was a concern to me since anyone of those calls could have been an emergency call. All of those missed notifications could easily had been avoided if only I was wearing my Smart Watch. The vibration on your wrist is more identifiable than a ping in the pants. 

I planned the whole New York trip which included all the places I wanted to visit and the routes that I will take. The only problem was that when going to a new attraction I had to consult/listen to my phone for directions. One way to avoid this was to wear headphones and listening to directions but that felt like a dorky idea. The Taptic engine in the Apple Watch is capable of providing Haptic feedback which can be extremely useful in the above scenario. Think about it! You are making all the correct turns without even consulting your phone. People will think you are a freaking genius!

Of course if you don't make any wrong turns you will never end up in a new location

Now, lets talk about Grocery shopping! Unlike many people I like to write down the items I need from the grocery store. I mean I write down on paper, you know paper that is made from trees. At this point you might be wondering why the hell would I not use my phone instead. There are few reasons. First, I hate when I have the grocery list on the phone opened and the phone keep locking itself. Of course I can go to settings extend the time of the lock screen but then after I have done grocery shopping I will have to remember to turn it back to the default settings. Another issue is that sometimes I have to lift items that require both hands. This means I have to first put the phone in my pocket, pick the item and put it in the shopping cart and then again take out the phone out of my pocket to shop for the next item in the list. The Smart Watch will eliminate this constant juggling and our hands will be completely free to pick up those heavy boxes of baby diapers. 

The only point of doing groceries is to prepare for the party. I don't usually go to that many parties mainly because I am not invited but if you are the host of the party a Smart Watch would be a God send. Consider hooking your phone on the dock which is connected to your surround sound system. Now, with smart watch you can launch your music app on your phone and play Norah Jones in your party.

Throwing a party requires fitness. That is why every morning I wake up and perform a 7 Minute Workout. There are tons of iPhone apps that can be used to perform the 7 Minute Workout but using an iPhone for workout is such a painful and broken experience. You constantly have to consult your phone when to change the workout and your focus is lost. I use my Pebble Watch for my morning workout which provides a seamless experience. The watch vibration to change the workout keeps me focuses with my workout progress.

These are of course just few real life uses of smart watch technology. I am really excited about the smart watch future and with Apple Watch just around the corner things will just get more interesting. 

CloudKit Dashboard Bug

I have been playing around with CloudKit API in iOS 8 and found a really weird and annoying little bug. If you select your target and then create a new custom container and then launch the CloudKit Dashboard by clicking the "CloudKit Dashboard" button, then instead of launching your new container it launches one of your random containers. 

This bug of course exists if you have multiple containers and most probably you will since there is no way to delete your custom containers. So before banging your head against the glass table make sure you have the correct container selected in the web user interface of the CloudKit Dashboard.

I am happy to announce that I have joined as a Senior Mobile Developer. For those who are not aware is the world largest online blinds retailer and are owned by Home Depot. 

It is an exciting new opportunity and a new chapter in my life! 

Another Non-Indie Developer App Store Story

During last week I saw a number of Indie developers posting their sales numbers and indicating that achieving success on the App Store is getting tougher each day. I thought this would be a great time to share my personal experiences, which will hopefully help other indie developers in the community.

First, let me make one thing clear that I am *NOT* an indie developer. I worked on all of my apps during my spare time as a hobby and because of the passion I have for iOS development. Although I published my first app on the app store in 2010 I will only cover the year 2013 since it is more relevant.

In October 2012 I started working on my first non-game app (I have 9 apps on the app store) called "Vegetable Tree - Gardening Guide". The app aimed at gardeners and helped them keep track of their vegetable garden. It had over 50 (now it has over 70) vegetables with the sowing, growing and harvesting instructions. Vegetable Tree also allowed the gardeners to add vegetables to their garden and track their harvesting time. The app also allowed the gardeners to take picture/text notes and share them on Twitter and Facebook.

Vegetable Tree was released in November 2012 in the App Store. I quickly realized that it was not such a good idea to release a gardening app in the month of November. The sales during the course of November and December 2012 were depressing but I knew that it was because my app is a seasonal app. It was like releasing a valentine app in the month of August! No one would buy it since they don't need it.     

I continue working on the user interface few hours a week and making it more compatible with a gardening app (Green Color as the Primary Color). In March 2013 I saw a spike in the downloads/sales. I logged into the App Annie account and was delighted to find out that Vegetable Tree was featured in the App Store "Life Style" category.


During the course of 2013 I experimented with the pricing of the Vegetable Tree app. Vegetable Tree was initially introduced with the price of $1.99. I bumped up the price to $2.99 and saw no decrease in the downloads. I bumped it again to $3.99 and witnessed no difference in downloads. Finally, I bumped the price to $4.99! At this price point I started to see decrease in the downloads/sales. I reverted the price to $3.99 which is the current price of the app.

The formula I used for pricing Vegetable Tree was very simple. The narrower the niche the higher the price. Also 95% of my customers are females who are willing to pay high price for quality products.

I never got an email or a review from a customer saying that the price was too high. Actually on the contrary I received emails from customers requesting new features and paying for them.  


I started with free marketing by distributing the app promo codes. Later during the Spring and Summer months I contacted different gardening blogs and advertised on their website.

Skippy Vegetable Garden  

I was also lucky enough to be featured on the BGGarden website.  Bren is such a sweet!!

Overall in marketing I spend around $120 on different blogs and websites. I spent more money in 2014 on marketing but did not see the expect results.  


Apart from marketing expense I spend small amount on images and icons. I already knew the value of a great icon so I hired a professional and got an amazing Vegetable Tree app icon. 

The cost of the above icon was $200. Apart from the icon I spend around $60-$70 on the vegetable and pests images.


I concentrated on the important features instead of amount of features. The Plant Now feature in Vegetable Tree is a unique feature which instructs the user what they can plant in their area right at the moment. Apart from the features the Vegetable Tree looked much more polished than all of its competitors. 


I believe this is the part you are most interested in. Here are the details for year 2013. 

Vegetable Tree - Gardening Guide: 

Downloads: 1480

Revenue: $3500.42

This includes all the downloads at many different price points including free downloads using promo codes. 

The total revenue of all of my apps (9 apps) on the app store was $3629.94. As you can see that Vegetable Tree was the huge chunk of the total revenue. 

Some might see this as a disappointing figure but keep in mind I did this app as a hobby on the side, during early mornings, late nights and weekends. One of the biggest mistake I made is not to offer in app purchase. I should have given a portion of the vegetable catalog for free and charge through in app purchase for the rest. I guess we all will learn from our mistakes.  

Bottom Line: 

In the end I had a great time developing Vegetable Tree app. My fortune was in the form of emails that I received from my customers. Vegetable Tree has consistently received high ratings (4.5/5.0) on the App Store and is considered the best vegetable gardening app. 

Download Vegetable Tree from the App Store


The Swift Divide

Unless you have been living under a pile of VB6 code, you probably should already know that Apple released a new language called Swift. Swift is a product of inspiration of several programming languages and clearly reflects Apple's future direction.

Developer's have already jumped on the early versions of Swift's bandwagon to create their next generation applications. It would be interesting to see how many people jump from Objective-C to Swift and how fast. 

In my recent tweet I posted about my fears of the possible hate relationship between Swift and Objective-C developers. Much like the VB.NET and C# community with the hate flowing towards VB.NET developers.

Unfortunately, this question cannot be answered at this time and only time will tell that how the followers of these two languages will be united under one supreme power, the love for software development. 


iBeacons are indoor proximity systems powered by low powered Bluetooth. Apple introduced iBeacons with the iOS 7 framework, so essentially any device running iOS 7 can serve as an iBeacon. iBeacons can provide improved user interaction in many different industries including retail, fashion, entertainment, home automation etc.  


Consider a scenario where you prepare a shopping list of items at your home and as soon as you walk into the store your shopping list turns into a map indicating where to find the items. Even better it will automatically downloads coupons associated with the items in your shopping list.            


At present if you walk into a museum and wants to find anything about a particular exhibit then you have to put on those 80's headphones. With iBeacons technology you can simply walk up to the exhibit and your smart phone will reflect all the information about the exhibit. This provides a more seamless and pleasant experience for the users.

Unforgettable Items:

People always forget their valuables at their home or in their car. With iBeacons you can get notified whenever you walk away from your valuable. A great example would be your beloved Pet. You can make your pet wear an iBeacon and then whenever is left behind you will get a notification.  

OK! I am sold where do I get one? 

Before spending money on the iBeacon device which ranges from ($30 - $100) you can test out iBeacon using your Mac. Yes! your Mac can serve as an iBeacon device. For a Mac to act as an iBeacon make sure your Mac supports Bluetooth 4.0 technology. If you are unsure about your Mac compatibility with Bluetooth 4.0 then download the Mactracker app and see your Mac specifications.  

Once, you are 100% sure that your Mac can serve as an iBeacon you can use the MactsAsBeacon open source project to host your Mac as an iBeacon device. I have explained all these steps in my screencast Introduction to iBeacon

After you have tested the beacons you might be itching to get the real stuff. There are lots of companies that provide iBeacons but two of the popular ones are Estimote and Particle by KS Technologies. Apple is also working secretly on their own iBeacon device which might be an integral part of the home automation.  

I am really excited about iBeacons technology and I believe this industry is going to provide huge benefits to consumers as well as organizations.  

You are NOT Pardoned from Learning Objective-C!

Apple introduced a brand new language, Swift at the WWDC 2014 conference. Swift is a modern programming language which get its inspiration from Go, Ruby, Java and C# language. There is a lot of talk about completely ignoring Objective-C language and starting with Swift language. Although I can understand the excitement I disagree with the idea of completely dismissing Objective-C language at this time. 

Objective-C Open Source Base: 

Objective-C language has been utilized in lot of open source projects which are utilized in many iOS applications. Since, Swift is compatible with Objective-C you can always mix and match Objective-C code with Swift code. But if you want to extend and customize the open source implementation you must have Objective-C knowledge. 

Glaciers Move Slow: 

I live in Houston, TX where we still use horses and cows for our primary means of transportation. The last iOS project I updated was running iOS 4.0, and it was last year. This is just to show that large enterprise companies move extremely slow. Unless you are working on a green field application you are looking at at least 2-3 years before Swift makes a dent in the Houston market. 

Language is Easy, API is Hard: 

If you are familiar with one language you can quickly jump on to another language. Although Objective-C language has a learning curve but the real issue is learning the massive API accompanying the iOS framework. If you are an Objective-C developer then at most you will need a weekend to get familiar with the Swift programming language. 

In the end if you are in a high tech area like San Francisco, New York, Seattle etc then you will certainly benefit from utilizing Swift language in your latest project. If you are located at tech arctic circle then you will be maintaining a lot of Objective-C code before you will finally make a jump into the Swift language.

Turning Childhood Memories into Games

People have always asked me how I came up with an idea of an app! Almost always the answer is "My Childhood Memories". I played a lot of different kind of games when I was growing up in Pakistan and those games which were played physically are a true inspiration for making the next iOS games. If you are from South Asia you might be familiar with few of these street games: 

  1. Pitho Garam
  2. Kho Kho 
  3. Barf Pani 
  4. King King

The game I am working on right now is inspired from Pitho Garam. Pitho Garam is played by a team of two. Each team can have 5-6 members. The purpose of the game is to hit the tennis ball and collapse the rock tower and then make the tower again before any member of your team is hit with the tennis ball by other team member. The image below shows the game in action. 


Although the game I am building has slightly different concepts but it has been inspired from Pitho Garam game. I find it quite interesting that how easily these memories of our childhood can be carved into the modern iOS games. So, the next time you are looking for an idea try to take a journey back into your childhood and the games you played in the street.

I hope no one has patented the gameplay of Pitho Garam :) 

I am making a Documentary!

I always dreamed of ordering pizza from Pizza Hut while in Italy or eat delicious Taco Bell while in Mexico! Well my dream has come true because I will be visiting Cozumel, Mexico in the near future to make a documentary about effects of salt in sea water. 

My experience will be limited due to the confined walls of the hotel room where I will spend most of my time playing Atari games. The good news is that our team already have sponsors for this documentary and have raised over 10,000 YEN. That is freaking LOT OF MONEY!!!

Due to our big budget I have already preordered a nice looking and affordable paper shredder which I will be taking to Cozumel, Mexico. Following a wise advice that only bring absolute necessary things! 

The documentary will be over 15 hours long (take that Lords of the Rings) and will be available only on VHS tape. If you don't want to watch the complete 15 hours director's cut (for some lame reason) then you can watch the 4 hour trailer. 

PS: I just overheard some Hollywood directors talking about creating a documentary on worst documentaries and I think they mentioned our name! That is so freaking awesome! 

This is all for now! Stay tuned! 

Hex App

When I am designing my iOS applications I always get my inspirations from other beautiful applications. Apart from the slick animations and transition effects I am intrigued by the color combinations and shades used by these beautiful apps.

My process of extracting the hexadecimal color codes from these apps is as follows: 

  1.  Take a screenshot of the app screen using iPhone 
  2.  Email the screenshot to myself 
  3.  Open the screenshot in any photo editing app (Pixalmator
  4.  Use the dropper tool to find the hexadecimal color of the portions of the screenshot 

As, you can see this becomes a long, tiring process. It would be great if I can do everything using my iPhone? This necessity led the way towards the creation of "Hex App".

Hex App is an iPhone app which loads the app screenshots and allows the user to find the hexadecimal color code by just tapping on the color on the screen. This instantly eliminates all the unnecessary steps and increases productivity. 

Phreak Show

I was fortunate enough to be a guest on iPhreaks Show. For those not familiar with iPhreaks, it is a leading podcast for iOS development. I talked about my experience on the App Store and how I created an app that was featured by Apple on the app store. 

You can listen to the episode using the following link: 

The App Store with AzamSharp

How to Kill a Flappy Bird?


Unless you have been living under a rock, you must have heard of Flappy Bird! Flappy Bird is a really simple retro style game developed by Dong Nguyen which took over the App Store by surprise. Flappy Bird reached the prestigious number 1 spot on both the Apple App Store as well as Google Play Store pulling in $50,000 a day. 

This story took a twist when the developer, Dong Nguyen, announced that he will remove the game from all the stores in 22 hours. The developer explained that he has gotten too much fame in too little time and it is going out of control. Further investigation revealed that he was getting a lot of death threats from the users of the game because of the insane difficulty of the game. 

Initially, the 22 hour take down notice was perceived as a marketing stunt but Dong kept his promise and took down the game. 

With Flappy Bird not being available on the App Store or Google Play, interested buyers went to Ebay to purchase iOS/Android devices which have Flappy Bird installed. The price of the Flappy Bird game which comes with an iPhone ranges from $90,000 - $100,000. According to latest reports Ebay has pulled down several of those listings.

Apart from the preinstalled Flappy Bird devices, many different Flappy Bird clones cropped up after its death to cash in on its success.  

"In the end it was not the green pipes that killed the Flappy Bird neither was it the fall to the ground but it was the people who killed it."











Daily5 iPhone App is Now Open Source


Daily5 is designed to focus on daily accomplishments! The one of a kind beautiful interface allows you to add at most five tasks for a given day. Why only five? Well, life is short and we want you to enjoy it life rather then thinking about incomplete chores.





- One of a kind user interface which is attracted by the laws of gravity
- Plan for five days ahead
- Travel through time for up to 5 days in the past


- Double tap to toggle between complete and incomplete state
- Delete the text of the task to remove it


Wearables is an exciting new technology that will be the main focus of lot of a lot of tech companies in the near future. Google has already entered this market with the prototypes of Google Glass, Samsung rushed out Galaxy Gear, Pebble has already released consumer version of their smart watch and Apple might release iWatch sometime later this year. 

For me personally I see a huge potential in Google Glass technology. Ability to seamlessly consume information without looking at your wrist or juggling phone in your pocket is extremely intriguing. One of many great practical use is to retrieve information based on the user's geographical location. This means if I am standing in front of the Colosseum in Rome I will get all the details about the Colosseum right there in my Google Glass.

This image is taken from

This image is taken from

Google glass can be extremely handy when you are shopping. Just by scanning the bar code glass can figure out if you are getting the best deal or a better price is available at a different store or location. 

Heck even TSA members can wear glass and perform a face recognition and pull up data on the person. Not only this will speed up the process but will also work to make our airports much safer.

Of course, not everything is rainbows and unicorns in Google glass world. There are also downsides, driving is one of them. Although I live in Texas I am against talking on the while driving. I also admit that I do this all the time but this does not make it right. I do believe that more and more people will be driving while using their Google glass which will be extremely dangerous. Although the Google glass owners argue that it does not obstruct the driving view but keep in mind it only takes a less than a second distraction to cause an accident. 

The other concern revolves around socializing. It always breaks my heart to see young people sitting in a cafe with their mobile devices pulled out and ignoring each other. Google glass is going to amplify this problem since it will give an illusion that a person is actually looking and listening to you while in reality he/she was just reading the messages on his/her Facebook wall.  

Overall, I am excited about the possibilities and I am looking forward to the wearable devices and how they help us in our daily routine tasks.

Speak Up!

I have been in software development industry for quite some time now and one thing that has always amazed me is the lack of South Asian speakers in the tech industry. The south asian community forms the backbone of the Silicon Valley but during conferences it perceives itself as a spineless community.

When I attended Apple Tech Talks couple of years back I was quite amazed to see that 95% of the attendees were white. During the conference I felt like a himalayan snow leopard, rare and going extinct. Some might argue that south asian do not like to spend money on these things. That argument will fail quickly since most of these conferences are open to public at no cost. 

Take a look at the CocoaConf speakers. Take a look at 360iDev speakers. See the pattern! Not even a single south asian speaker... none.. nada.. ZERO. This reminds me of a RubyConf a while back which got cancelled due to all white speaker list. I contacted RubyConf organizers and told them the reason you don't have any non white speaker is because none of those people ever applied.

Some people might have a wrong idea that even if they apply they will not get selected but I disagree with them completely. Couple of years back I applied for 360iDev and I was selected and it was one of the best conference I ever attended. I have been speaking at Houston Tech Fest for almost 5 years now. I have given sessions at .NET user groups and iPhone user groups multiple times. 

Presently, I applied for mdevcon 2014 in Amsterdam. Due to the quantity and quality of sessions my chances of being selected are very low but it is still better than not applying at all.

My message to all the south asians is to stop being a 9-5 person and wake up and try to change the world. Don't give excuses of not having enough time. I have wife and two kids and I still find time to work on my side projects, create screencasts, play cricket, swim etc. Stop living in a cave and come out and explore. Let your voice be heard.. Speak up!!  



On Rating Dialogs

There has been a lot of ongoing discussion on the subject of rating dialogs in the apps. I believe John Grubber started this discussion in one of his post, later followed by Marco's post and others. This is an interesting discussion since it affects both sides of the equation, the consumer as well as the developer.

If ratings dialogs are handled irresponsibly then it creates a poor user experience. Consider the app which pops up ratings alert on every launch. These apps if lucky are placed in "Do not launch" folder or deleted at worst. The developer side of the story is quite different. In order to survive in the app store developer's needs to obtain reviews from customers. App store algorithm is based on placing the highly rated app on the top while the unrated apps gets lost in the crowd.

Although most of the developers might think that there is no workaround to this issue but they would be wrong. The key to the solution of this problem is "How you ask". As mentioned earlier most of the apps show the ratings alert prompt on every app launch with only two options "Yes" and "No". We need a third option "Never ask me again". This simple option will instantly improve the user experience. If you are thinking that you just lost that review then you are wrong. If the customer has not rated your app several times when you hijacked the app then it is more than likely that they are not going to rate the app ever. 

In my app "Vegetable Tree - Gardening Guide" I did not implement a rating dialog. Instead I allowed the user's to contact me directly using the "Contact Us" option. This created a relationship between myself and my customer. After fulfilling their request I requested them to review the app and they did. If you visit iTunes page for Vegetable Tree you will notice that most of the reviews are because of excellent customer service or as I call it personal attention. 

You might argue that I was able to give personal attention because my app has less users but that is not the case. In peak months I received 20-30 emails per week and I replied to every single of them. If your app is becoming huge then maybe you should invest in hiring representative who will answer the emails. 

One other option was to simply put the ratings option buried in the settings screen. This will result in a much cleaner experience for the user allowing them to rate the app when they desire. 

I do not think that Apple should ban these ratings dialog as the developer's paycheck is directly tied to the user's response. But I do believe that Apple should provide some API's where the ratings should be performed in a more fluent fashion from right within the app thus persisting the user experiencing.