Tuesday, July 11, 2017

Some iOS Interview Questions

1. What are the application states
2. UIViewController Life Cycle in the order. 
3. Whats the minimum number of constraints we need for a UIView
4. Whats the minimum number of constraints we need for a UIButton/UILabel/UIImageView
5. Can we create an app without using a UIViewController

Monday, February 15, 2016

Error - You have selected the Production server, yet your Certificate does not appear to be the Production certificate! Please check to ensure you have the correct certificate!

This is the error got from our .NET team when trying to push messages to iOS device with AdHoc/AppStore profile.

The issue was with the certificate file (.p12). 

When we create certificate (.p12) , Always export like selecting the certificate only. see the attached image

Wednesday, December 16, 2015

Swift - Crash 'Bad Access' with Release mode Xcode 7.1.1

sortInPlace function of array is crashing when running on iOS8 6+ device. 

Its fixed with Xcode 7.2 version

Thursday, February 19, 2015

Malayalam Keyboard for iPhone and iPad


With Varamozhi, you can type in Manglish and you will see text in real Malayalam.

Varamozhi is now a custom Keyboard. Follow instructions in Setup & Usage to enable Keyboard.


Sunday, December 28, 2014

Convert svg file to png file on Mac

To Convert an vector (.svg) file into a png file , we can use command line

Open Terminal application.

switch to the directory (use cd comand) where the svg file contain

qlmanage -t -s 1024 -o . myvectorfile.svg

This will create a png file named myvectorfile.svg.png with 1024*1024 dimension in the same folder.

* tested on Mac OS X 10.10.1