Sunday, August 30, 2015

Clean derived data - Xcode

With Xcode 4 came the concept of a workspace that allows multiple projects to be grouped together. Each workspace gets a unique set of symbol indexes, build products, window layouts, etc., otherwise referred to by Xcode as derived data. Since a single project can belong to more than one workspace this derived data is not contained under the individual project directory. This post explains how you could clean derived data.

Thursday, August 20, 2015

Updating to Mantle 2.0

I have been using Mantle for JSON serialisation for quite some time now. I loved it because it appeared to be a clean way to handle JSON objects. However somethings have changed in version 2.0. This is not an attempt to criticise the changes but an attempt to give a heads up before you update.

Monday, April 13, 2015

Convert any URL or webpage to PDF

There are number of services available online for this task. Most of them are free too. But did you know that you can do the same with your Safari browser? I recommend it to be more safe on the privacy side as no third party will see the content you make PDFs out of.

Wednesday, February 25, 2015

Manifest for Apple enterprise distributions

Gone are the days where Xcode generated the manifest for you when you archive for enterprise distribution. So it is more or less a manual process now and below is a sample manifest. Just Create a .plist file (can use Xcode for this) using the following keys and values appropriately.

Sunday, January 18, 2015

Symposium on Language Technology for South Asia 2015 [HIGHLIGHTS]

I know its bit late but anyways...

The symposium was held on 2nd of January 2015 at University of Moratuwa, Sri Lanka. Academics and industry experts participated the event from Universities like University of Colombo and Sri Lanka Institute of Information Technology (SLIIT). The keynote speech was given by Prof. Rohini Paranavitana (emeritus professor, department of Sinhala university of Colombo). This year’s topics were mostly based on languages Sinhala and Tamil with the absence of representatives from other south Asian countries.

Friday, July 25, 2014

Test iPhone apps in iPad?

In this post I’ll be covering few important things I think you should know if you decide to test apps made for iPhone/iPod in an iPad.

Tuesday, July 1, 2014

Be Grateful

be grateful to your
annoying colleague
abusive person
lost opportunities

Saturday, June 14, 2014

Can Tim Cook boast about Apple’s success? - WWDC 2014

Just finished watching WWDC 2014 and thought I might have slightly different opinion than of Tim regarding Apple’s success. Tim boasts about user base of both iOS 7 and Mavericks comparing Android and Windows 8. Can a user base only be an indicator of its success?

Thursday, May 29, 2014

New yahoo mail

Today when I typed in in my browser (that’s what I normally type to log in to my mail) it took me I’m started to think that they are quite serious about marketing other than identifying it as a bug. It is not the only change I saw so far. I have listed some interesting changes they have made below.

Saturday, March 29, 2014

Open URL - Android

The following three lines of code will open a URL in an Android app. I'm guessing you cannot open a local html file using the same method in your browser.

Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse(""));

Wednesday, February 26, 2014

iOS closes the active Wi-Fi connection after 30 minutes

These days I’m involved developing an app (runs on both iPad and iPhone) that relies on Wi-Fi network a lot. I happen to notice that sometimes device looses its connection to the Wi-Fi network. Rest of the team was complaining that they have to keep on going to device settings to re-connect.