Profile cover photo
Profile photo
Karunakar Bandikatla
137 followers
137 followers
About
Karunakar's posts

Post has attachment
Swift 3 Getting Age from DOB
If we have a functionality like user enters his/her DOB date and we need to calculate age or we are getting DOB string from service response and we need to calculate user’s age, Welcome to this post and see how to calculate age based on DOB. In this post I ...

Post has attachment
Checking whether a view is a subview of another view
Instead of taking all the subviews of a view into an array and looping through to check whether a view is a subview or not, We can use isDescendant method of UIView class too quickly and simply check that condition.            open func isDescendant(of view...

Post has attachment
CoreData Entity Attributes Type Checking before Data insertion
We all know that below are the different Attribute types we can use while adding Attributes for a core data Entity. Undefined Integer 16 Integer 32 Integer 64 Decimal Double Float String Boolean Date Binary Data Transformable Incase we need to add records t...

Post has attachment
Swift 3.0 Object’s class checking isKindOfClass
We frequently need this type checking when getting response from the server. Where we need to check the type of objects based on which we need to parse the response. In this post let’s see how can we check this using Swift 3.0. In Objective-C/ Swift, It’s N...

Post has attachment
Swift 3.0 Sorting Dictionary based on values
In my  Objective C Sorting NSDictionary based on Values  tutorial, I have explained Dictionary sorting based on values using Objective C. In this tutorial let's see the same functionality using Swift 3.0.       let isAscending = false    let dict = [       ...

Post has attachment
Swift 3 Adding all-day event to Device Calendar
If you have your contact’s Birthday date added while creating contact, Your iOS device Calendar shows you the Birthday reminder as all-day event as shown below. In the same way, From our iOS app also we can add all-day events to the device calendar. In this...

Post has attachment
Objective C Sorting NSDictionary based on Values
We often need to sort the key value pairs based on the value and have the keys to  run the show. In this post let’s discuss Dictionary sorting based on values.        NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:                          ...

Post has attachment
Swift 3 UITableView Pagination
We can use UIRefreshControl for ‘Pull To Refresh’ functionality on a tableview. But, What if we have kind of pagination like we need to display only specific page records like, If you are in first page and per page only 10 records, we need to display only t...

Post has attachment
Swift 3 UITableView editing and row actions
In this post let’s see how to add Delete/Update buttons on row actions on UITableView rows. Add below table view delegates along with your remaining tableview delegate methods.        func tableView(_ tableView: UITableView,                                 ...

Post has attachment
AutoLayouts Tutorial 1 (View Proportional Size Using Multiplier)
It is the common use case in iOS UI developer’s daily life to make views proportionate to the screens to make them look good and fit in all the devices starting from 4S to 7Plus. In this tutorial let’s see how can we make an simple UIView that should be of ...
Wait while more posts are being loaded