Tuesday, April 11, 2017

Huawei GR 5 night shots (default settings)



Candles

Grand Peak Ella, Sri Lanka reviewed

Location: It is close to the Ella railway station and three attractions in the area (if you are up for hiking). They are the Nine Arch Bridge, Mini Adams Peak, and Ella Rock.

Saturday, April 1, 2017

Making your mobile app respond to voice commands (iOS vs Android)

Making you app to understand voice command was not an easy task before the introduction of Siri (iOS) and Google assistant. Both are now opened for developers. However, as usual Apple's Siri is not fully open to the developers when compared to the capabilities of "Google Assistant".

Monday, October 3, 2016

Distribute builds via Xcode server

Image 01

This is an inbuilt feature of the Xcode server, therefore additional configuration is not required.

Wednesday, February 24, 2016

Saving custom objects in NSUserDefaults - Swift

Following is how I implemented "remember me" feature in a recent app I did in swift. I'm saving the user details in NSUserDefaults upon requesting to remember.

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.