Posts

Showing posts from July, 2010

WebServices solution for iPhone - Second Stage

The FileDownloadController class Once I had the FileDownload class, it came to me the problem of using it many times and from many places. I could create as many FileDownload objects as needed, but this will create many variables and lines of code. My solution was to create a controller class ( FileDownloadController ), which I implement with a Singleton Pattern . The concept is: The FileDownloadController class will create and manage all needed FileDownload objects Whenever an object needs to download a file, it should get the FileDownloadController instance and then asks for the download Once the download is complete, or in case of error, a callback will be received by the requesting object In order to maintain certain acceptable performance, because the download process works in the background and consumes resources, there should be a limited number of concurrent downloads, this number is set when the controller is created. In my tests, using an iPhone 3G, an acceptable num...

I used to read my eMail on my iPhone, but not any more...

When I got my iPhone I configure it to sync all my email account, at first, maybe because on the novelty of the device, I used the vibrate notification, but is was too annoying. When I deactivate the alarm, I start checking it too often. After a couple of weeks I definitely delete all mail account from the iPhone. I got to the next conclusions: No email is too important to be notified immediately, if those cases they can still contact me by phone Checking mail took to much time, I can use that time in other activities I rather prefer to read emails in my PC Screen Recently I found this post from HBR: Why I Returned My iPad , is kind the same that happens to me.