Need job

Looking for job in Europe. Please contact thru LinkedIn profile.

Friday, August 23, 2013

UITableView custom Separator Insets workaround

Hello everybody.
Here is a workaround when you try to set custom separator insets thru IB in Xcode Version 5.0 (5A11365j).
If you try, you will get:
Exception while running ibtool: *** -[NSKeyedArchiver encodeValueOfObjCType:at:]: this archiver cannot encode structs

Fix with coding:

UIEdgeInsets edges;
edges.left = 0;
tableTripPoints.separatorInset = edges;

Thursday, August 15, 2013

How to change "Placeholder" text colour for UITextField

You need to assign colour for key path "_placeholderLabel.textColor" in User defined runtime attributes.
Its simple and "no coding".


Wednesday, August 14, 2013

Make view controller transparent

You need to place a view controller in to "Container view".
Its new iOS 6 control.
Then you just need to change an alpha to desired value.
Thats it!