Category Archives: iOS

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 »

InnovationM Secure Webservice Integration Mobile Apps

Secure Web Service integration in Mobile Apps

Web services have gained lot of importance lately. From mobile apps perspective, native apps (Andorid, iOS, Windows Phone, etc.) or HTML5/JS Frameworks like Sencha Touch need to talk to the web services to get the data and push the data. How do we ensure that request sent to web services is from authenticated client? For Continue Reading »

Innovationm Background Support For Applications iOS

Support for applications running in background in iOS

When application in iOS goes in background (Say, Home button is pressed) then application will not run. In iOS, only specific application types are allowed to run in the background. Let us see them in more detail. Application Types Support for Background in iOS There are 7 types of such applications. See the details below:   Continue Reading »