Advanced Permission Management for iOS Applications

Mobile applications ask permissions to access user’s information or user’s phone features. These permissions can be accessing camera, microphone, location, phone contact list, calendars, photos, reminders etc.

You should define your permission asking strategy wisely. You can prefer either asking permission right before using this-exact feature or you can show information why you really need these permissions and direct your users to your application’s settings page or both. If a user will not continue using your app without giving permissions, it’s nice to show information why you need it and what your application offers the user by using these features, then direct users your application settings page.Read More »

Advertisements

Build Your Own Framework

Coding is like playing with legos. There are so many cases that you can -and probably you should- use same lego piece for different structures, multiple times.

“If the code appears more than once, it probably belongs in a framework.” WWDC14

Apple introduced Cocoa Touch Frameworks in 2014 – the same year as iOS8 is launched . If you haven’t watched yet, I strongly recommend you to watch Building Modern Frameworks session.

Frameworks are best way to reuse your code and share with multiple projects. For instance, @Apple Health app has its own framework – HealthKit – and other developers can use HealthKit.framework by linking it with their projects.Read More »