Detecting taps and events on UIWebView – The right way

Recently, I was working on a project which required detection of tap and events on the UIWebView. We wanted to find out the HTML element on which the user taps in the UIWebView and then depending on the element tapped some action was to be performed. After some Googling, I found out the most of the users lay a transparent UIView on top of the UIWebView, re-implement the touch methods of UIResponder class (Ex: -touchesBegan:withEvent:) and then pass the events to the UIWebView. This method is explained in detail here. There are multiple problems with the method.

  1. Copy/Selection stops working on UIWebView
  2. We need to create a sub-class of UIWebView while Apple says we should not sub-class it.
  3. A lot other UIWebView features stop working.

(more…)

Advertisements

August 26, 2009 at 10:25 am 56 comments

Freelancers versus Employees: The Difference

One might think that there is not much difference between a freelancer and an employee because at the end of the day, both complete the tasks assigned to them and get paid for the work they do. However, there are some major differences if we look closely. The differences include from the method of hiring to method of interaction, costs and much more.

(more…)

August 17, 2009 at 9:55 pm Leave a comment

Detecting a shake using iPhone SDK

Accelerometer has added an all new dimension to the iPhone. There is no limit on how we can use the accelerometer API in iPhone SDK. The following are some of the well known simple uses of shake/motion detection

  1. Refresh the current view
  2. Go to next/previous screen
  3. Start editing
  4. Shuffle
  5. and the list goes on

Today lets check out how we can detect a simple shake using the API

(more…)

July 28, 2009 at 6:22 pm 3 comments

Using iPhone SDK MapKit Framework – A tutorial

Recently I was working on an application in which the map was required to be shown with in the application itself. I tried looking for some online resources that could be of some help but did not find any. I was not able to find any good tutorial that explains how can an address be shown on a map with the application. Therefore, I decided to write one and here it is. Hope it will be of some help.

(more…)

June 22, 2009 at 8:15 pm 111 comments

5 mistakes that freelancers make and how to avoid them

Mistakes are something that everyone is bound to make. Its very important that we all learn from our mistakes and move forward. Same mistakes affect us more than the others and therefore its very crucial to make sure that we don’t repeat mistakes that have high impact on our professional lives. Its a highly competitive world out there are sometimes even the smallest of mistakes can cost us a lot. Here are some of the most common mistakes that every freelancer makes at some point or the other.

(more…)

June 5, 2009 at 10:29 pm Leave a comment

5 type of clients you’ll come across as a freelancer

There are infinitely differently people out in the world which makes it obvious that you’ll come across different kinds of clients. Each new client is definitely going to be different than all the previous ones and each experience is also going to be different. Some are going to be good, others bad. Some will know what exactly they need, others will not. Some will be very tech savvy, others not. Some will be very appreciative and encouraging, others not. And the list is never ending.

Below are the 5 very common types of clients that you’ll come across and more about them.

(more…)

May 23, 2009 at 10:43 pm 1 comment

5 disadvantages of working as a freelancer

Its been almost a year since I started working as a full time freelancer. I have done a lot of new and exciting things in this period and this has been the most challenging phase too. Working as a full time freelancer has its own advantages and disadvantages. While I worte about the advantages here, its time I wirte about the flip side too.

(more…)

May 9, 2009 at 10:21 am Leave a comment

Older Posts Newer Posts


TinyTweets

  • RT @sriramk: Legit question on iPhone X - how do you do the bedside no-look fumble/TouchId/turn off alarm clock bit? 1 week ago
  • RT @venkat_s: While everyone is so excited about eclipse, please remember there are other fine IDEs and text editors. 1 month ago
  • RT @dcurtis: “People ask me what my definition of success is, and for me it's where you're truly okay with losing everything you have." —… 1 month ago

Feeds