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.
- Copy/Selection stops working on UIWebView
- We need to create a sub-class of UIWebView while Apple says we should not sub-class it.
- A lot other UIWebView features stop working.
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.
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
- Refresh the current view
- Go to next/previous screen
- Start editing
- and the list goes on
Today lets check out how we can detect a simple shake using the API
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.
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.
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.
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.