What's New in Core Location

Apple showcased a lot of major changes in WWDC19, with SwiftUI creating a lot of buzz among the developers. But there were also some other changes that are important and will be affecting the user experience right now. One of them is the updates in the Core Location framework.

iOS 13 improves user privacy related to location sharing. If your app needs the location of the user to recommend or display content, you may need to investigate if your app is still running properly.

Starting from iOS 13, users will be getting a new option to share their location just once. They’ve also empowered While in Use permission and changed many other things. Assuming that you have already worked with Core Location before, let's discuss the updates in detail.

Read more


Vinsol Ranked Among The Top iOS & Android App Development Companies In 2019

$200 Billion. That’s the number that mobile app economy is poised to register globally in 2021. From $50 Billion in 2012, various forms of monetization models in the smartphone industry have contributed to an immense surge in the ecosystem of consumers, enigmatic product innovations, and the profession of app development itself.

Read more


Building your first app - Should it be on iOS or Android

Whether you have a great idea to serve the general population or a quirky resolution to a problem that a particular set of audience faces, making a mobile app has become a necessity for a number of businesses.

Smartphones enable us to access unlimited information, make connections, and use the internet on-the-go to work on complex production tasks. Some of us would argue that the global smartphone market is oversaturated, but we believe in facts that prove this otherwise. It is because a lot of unimaginable ways are being invented for ease of doing business and mobile apps have a huge potential in the future to make our lives better.

Read more


Custom Edit Control for UITableViewCell

In one of my recent iOS project I was supposed to replace table view cell default edit control with a custom button to match the designs. I guess everyone knows that its pretty simple to change edit control's color for selected state, we simply need to set cell's tint color.

custom-edit-controls-for-uitableviewcell-01
custom-edit-controls-for-uitableviewcell-02

But there is no way to customise selected or default state of cell edit control with our own custom image because there is no public API to access this control. So, to customise this we have to write our own code. Steps below will guide you to achieve this.

Read more


VSCircularDial - open source iOS component

VSCircularDial is an UIView enhancement which provides you a 360 degree scrollable dial. This component can be dropped into your project and used as it is or can be customized as per your need.

It can be downloaded from github.

Features

1. Easy to use, just like normal UIView.
2. Fully customizable
3. Optimized for different resolutions, including iPhone, iPad and iPhone 4 (Retina Display)
4. Callbacks can be implemented to call specific methods on rotating the view.

Usage

Very similar to UIView. For VSRotatingView, you can initialize with "new" method:

VSRotatingView *rv = [VSRotatingView new];
[view addSubview:rv];

Initial Steps

1. Download and add the complete "VSRotatingView" folder in your project from here.
2. You need to add three frameworks in your project - QuartzCore, AVFoundation and Security.
3. Add #import "VSRotatingView.h" to the top of view controller in which you are going to use the above code and you are ready to go.
4. Function "- (void)viewCirculatedToSegmentIndex:(NSUInteger)index;" can be called in its delegate which can be used to know when view is beeing rotated and which segment is the current selected one.

Customizing this view is a lot simple. Variables could be modified in VSConstants.h to get desired functionality and the main image of dial can be replaced easily with image named "pain-cycle.png". Complete code can be accessed in VSRotatingView.h/.m files and full modification is possible.

Two demo applications are included in the project. Project#1 shows the default functionality of this component. Demo project#2 shows how you can customize this view and show a 360 degree view like the one below:

This component can be used to make various applications like wheel of fortune, etc.