Category Archives: iOS

Contacts Framework Vs AddressBook Swift 3.0

Contacts Framework Contacts Framework came up  with iOS 9.0 . This framework provide Swift and Objective-C API to access the user’s contact information. AddressBook Framework AddressBook Framework was used in iOS 8 and earlier for access user’s contact information . Through this blog you will get to understand working with Contacts and AddressBook Framework.  So before accessing the Continue Reading »

Play with Audio in Swift 3.0

Audio recording and playing is not a tough task in iOS but it takes time to understand and implement. There is a framework called AVFoundation which will help you to record sound. Steps To Record Sound: 1.  Import Framework AVFoundation:  To record and play audio first you need to import a framework AVFoundation. This framework will Continue Reading »

Apple Pay Integration in Swift 3.0

Almost half of today’s smartphone users will be using their phones and mobile wallets as their preferred method for payments and what preferred the most is security, privacy and reliability. Thus one of the largest mobile phones manufacturing company Apple inc. provides us such a wallet service which became far most popular since 2015 known Continue Reading »

Tailor: Clean and Organized Code

  I found this quote by James O. Coplien on Japanese workplace organization methodology called 5S Clean your workplace on daily basis completely or set cleaning frequency. Use cleaning as inspection. Prevent machinery and equipment deterioration. Keep workplace safe and easy to work. Keep workplace clean and pleasing to work in. Just like our organization, the codebase Continue Reading »

Alamofire

Alamofire: Alamofire is a HTTP networking based library for iOS and macOS. It is used to handle HTTP request and response. It is the wrapper class of URLSession. Before Alamofire: You need to prepare all request by yourself Task handling is complicated Multipart request and File downloading & uploading is complicated Image caching needs to done Continue Reading »

Keychain Handling in iOS

  What is Keychain Keychain is Apple’s way to manage password in the the device. Whether its Mac or iOS Device they use the same Keychain system tool back inside. It stores all your passwords for applications, sensitive information relating to website’s credentials and credit card/ debit card numbers. The main objective of existence is to secure Continue Reading »

LinkedIn Integration in Swift 3.0

  Social media is everywhere and integrating any social media platform upgrades your application in every way. LinkedIn is one such platform widely used & client-demanding both at the same time. Integrating Sign in from LinkedIn into your app is not a difficult process. Just follow the simple steps so that you can have an Continue Reading »

Multiple Targets in iOS

  So, Why do you need Multiple Targets ? I’m giving you an assumption. You have a project where you are interacting with Database using REST APIs. Needless to say, you will have a Login Screen, or Registration Screen or say you have Forgot Password Screen. Then, you must be having two databases Development_Db (for Development Continue Reading »

Error Handling in Swift 3.0

Error Handling: Error is an issue or unexpected condition that may cause a program to not function properly. Error can be compile time or runtime. Error Handling is a process of identifying, catching and recovering  the error conditions. Here we are trying to handle server side error which occurred while sending request or receiving response. These errors maybe Continue Reading »

Push Notification Handling in Swift 3.0

Notifications: There are two types of notifications: Local Notification Remote Notification (Push Notification) Local notifications are scheduled and sent by an app and delivered on the same device without involvement of internet. Remote Notification (Push Notification): Push notifications are sent by remote server to the APNs and then it pushes the notification to the specific device. Continue Reading »

Application Data Caching in iOS

Cache is a prominent term which you’ve heard very often in Computing world. Alike, we have cache memory in our iPhones. As per the Wikipedia, description of cache is “Cache Memory is a fast and relatively small memory that is completely handled by the hardware, that stores the most recently used  main memory (RAM). The Continue Reading »

InnovationM Image Handling in iOS

Image Handling in iOS

When we use images in our application then we face different type of scenarios while handling the image. Before we go into the scenarios / situations of image handling in Application, let us understand the concept of UIImage and UIImageView. Concept of UIImage and UIImageView (container) UIImage – Bitmap with different formats Ex png and jpeg. Recommended Continue Reading »

Performance Analysis through Instruments tool for iOS App

  Instruments Tool Instruments is a powerful and flexible performance-analysis and testing tool. It is a  part of the Xcode tool set. Instruments tool is designed to help you profile your iOS applications in order to increase their performance and better utilization of resources. We will see How to  find hot-spots in code using Time Continue Reading »

View Controller Life Cycle in iOS

UIViewController– A view controller manages a set of views and makes your app’s user interface. It coordinates with model objects and other controller objects. Basically, it plays a combine role for both view objects and controller objects. Each view controller shows it’s own views to display the app content. The views are automatically loaded when Continue Reading »

InnovationM Lazy Loading and Memory Management of Images in UITableView in iOS

Lazy Loading and Memory Management of Images in UITableView in iOS

Introduction to Lazy Loading What is lazy loading? A little introduction of lazy loading is  it is a design pattern to defer the initialization of an object until the point at which it is needed. In simple words create objects when it is needed. Problems to Tackle Before talking about lazy loading of images, I want Continue Reading »

InnovationM iPhone Only To Universal App

Convert iPhone application to Universal application (iPhone and iPad Both)

iOS Application can be developed for iPhone or iPad or Both (iPhone and iPad). Application that is developed for both is called Universal application. If you have developed application for iPhone only then it will run on iPad but will not run on full screen of iPad. To make this application cover the whole screen you Continue Reading »

iOS – Best Architecture, Design and Coding Practices

iOS – Best Architecture, Design and Coding Practices

We have identified some of the best practices that we need to follow while working on architecture, design and development of iOS applications. We will keep on adding more and more to it. Stay tuned… Best Coding Practices Image files naming convention There are four types of devices that we need to support while developing Continue Reading »