Tuesday, January 31, 2017

Monday, January 30, 2017

How to assign a corner radius and border width in Storyboard

Enable CornerRadius, BorderWidth without writing a single line of code embedding directly into storyboard.


Sunday, January 29, 2017

Creating UIPopover for iPhone - Part 2

In this tutorial we will extend our part 1 tutorial to support UIPopover on iPhone.


Creating UIPopover (The Easy way) - Part 1

This tutorial shows creating UIPopover's easily. In Part 2 we will see how we can adopt above approach to build UIPopover's for iPhone's with very few lines of change.


Self Sizing UITextView like Whatsapp

This Tutorial will describe how to create a self sizing and a scroll enabled UITextView somewhat like Whatsapp Texting. It is in continuation with Part 1 (https://youtu.be/w7Aq-jeejyk) of this series.

Sample Demo at below link:
https://github.com/quantumarun/Demos/tree/master/AdaptiveUITextView


Self Sizing UITextView using Autolayout

This Tutorial show you how to create a self sizing UITextView just by using Autolayout.

Sample Demo at below link:
https://github.com/quantumarun/Demos/tree/master/AdaptiveUITextView


Self Sizing UILabel using Autolayout

This tutorial shows you how to create a self sizing UILabel based on text content using autolayout and Content Hugging and Content Compression Resistance  properties.

Sample Demo at:
https://github.com/quantumarun/Demos/tree/master/AdaptiveUILabel



Swipe Gesture with Left to Right Animation for Text - Part 2

This tutorial is in continuation of https://youtu.be/g4ONKzaEQ2E (Part 1:Adding Swipe Gesture on UIView). Here we will be animating UILabel text change from Left to Right direction when swiped on UIView.

You can download the sample code from:
https://github.com/quantumarun/Demos/tree/master/SwipingView


Add a Swipe Gesture to UIView - Part 1

This demo demonstrate how to add Swipe Gesture on UIView and add a action to it. When UIView is swiped UILabel text is changed with each swipe.

You can download the sample code from:
https://github.com/quantumarun/Demos/tree/master/SwipingView


How to Create a Expandable Cell in UITableView


Demonstration of Expanding and Collapsing of UITableView Cell on click of the cell.

Demo available at:
https://github.com/quantumarun/Demos/tree/master/ExpandTableCellDemo


Creating iOS Settings bundle


How to create Settings Bundle, add Version String and update it automatically when you change version from Targets. Watch the demonstration in the below video.

Demo available at:
https://github.com/quantumarun/Settings-Bundle-Version



Enable iOS Data Protection

How to enable build-in iOS data protection for Core Data SQLite file:
Data protection adds a level of security to files stored on disk by your app in the app’s container. It uses built-in iOS encryption to encrypt files on disk. You should enable Data Protection under Capabilities to enable the same.

Then you can use Data Protection options
  1. NSDataWritingFileProtectionNone (No Protection)
  2. NSFileProtectionComplete(CompleteProtection)
  3. NSDataWritingFileProtectionCompleteUnlessOpen(Protected when Device Locked)
  4.  NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication or NSFileProtectionCompleteUntilFirstUserAuthentication (Protected on first access and device has been booted).

Watch below video demonstrating the same: