As a Developer, you have many challenges while you are working with many environments and endpoint in the same project. Without environment setup, you have to set the endpoint and certificate every time for a different environment. If we Configure Xcode for the different environment, It takes care of all endpoint, certificate and bundle ids. so the user can test all beta, dev and live app on the same device.

So, let's start with creating Endpoint

Endpoint Configuration

The first thing that...

Read complete blog post

As we all know uploading the iOS App on the App Store is a very long procedure. Some developer gets stuck at the certain point and fails to upload the app. So let's make the procedure very short of uploading the app with Fastlane Tool.

Fastlane provides the easiest way to build and release the mobile apps. It handles the time-consuming task for you, so you don't have to waste your development time.

Through Fastlane you can automate the process of taking the screenshot of the mobile app...

Read complete blog post

What is Auto Layout?

Auto Layout is a constraint-based layout system. It was introduced with Xcode 6 Beta. It allows developer to create an adaptive UI for the apps that responds appropriately to changes in screen size and device orientation.

Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views.

Why Auto Layout?

Today we have lots of variants available of iPhone and iPad in size in market. So, the user...

Read complete blog post

UISlider is a control used to select a single value from a continuous range of values.

Default UISlider view only provides track and thumb with default colour with minimum value to maximum value. You can drag the thumb to start point to end point continuously in the range set.

Default UISlider

enter image description here

If you are using this control in your project, as per the screen design you need to customise the control to make your screen attractive.

Let's Customise the UISlider now

You can customise colour,...

Read complete blog post

iOS 9 introduced a new way of creating Popovers on iPhone. Instead of using the UIPopoverController class we can now use the UIPopoverPresentationController.

Presenting a Popover from a Bar Button Item

We need a content View controller that's displayed inside the Popover and also need to set properties for contentSize, modalPresentationStyle and sourceView.

Action for right BarButtonItem-

 @IBAction func addEntity(_ sender: UIBarButtonItem) {
 let vc: TableViewController =...

Read complete blog post