by simple example.

If you are new to unit tests in Xcode, then this post will help you get started and by the end, you can able to write a unit test for a sample signup screen.

To test an app, one needs to write three different kinds of test code.

  1. Unit Test — Test the single function without any external dependency. e.g. to test the given email is valid or not.
  2. Integration Test — Test the single function with dependency. e.g., to test that the value from the server response is handled for nil case too.
  3. UI Test — Automate the user…


Local Notification by UNNotificationTrigger

Push Notification will help to boost the App Engagement, App Retention Rates and Higher Click-Through Rate. It also helps in Encouraging to continue Abandoned Activity e.g., if the user exits from the checkout. Also we can engage user specific activities.

This post will take you on a deep dive into Local Push Notifications.

In the first part of this post, you’ll start by the easiest form of notifications — Local Notifications. It doesn’t require a server and it is a quick way to reach users by delivering messages and content.

In this tutorial, we are going to build a simple…


Avoid Memory leaks and app crashes

Memory Management is the programming discipline of managing the object’s life cycles and release them when it is not needed. Managing object memory is a key for the app performance i.e., if an app doesn’t free unneeded objects, its performance will be compromised.

You’ll level up your Memory Management skills with the following topics:

  • ARC — explained in a short description.
  • How ARC is working.? with an example.
  • What is a Strong Reference Cycle.?
  • Break the cycle by weak and unowned reference with an example.
  • Choosing weak and unowned reference to break the cycle.
  • Strong Reference Cycles in Closures.

ARC — Automatic Reference Counting

  • ARC…


access to on-screen additional functionality

Context Menu will modernise the application’s user experience.

The objective of this tutorial is to make an understanding of the methods and properties to implement the ContextMenu with a simple demo app. It includes configuring the actions, adding the submenus, and custom previews.

In the release of iOS13, a new API is introduced that allows the developer to present a list of interactive menus with rich previews in the apps. One such API is UIContextMenuInteraction.

Context Menus can be triggered either by long press or by 3D Touch (if the device supports).


for instant navigation

Quick actions are the most convenient way to do useful or any app-specific actions from the Home screen.

In this post, I explained about the quick actions and not about widgets.

Quick Actions are available on all devices running iOS 13 or later.

A list of available Quick Actions are displayed on a long-press or force touch(if available) on the app icon.

The list position depends on the app’s position on the Home screen.

Each Quick Action has a title, subTitle (optional)and image icon (optional)

Every app can provide a maximum of four quick actions. If it exceeds four, then…

Karthikeyan T

iOS Developer (Objective C & Swift)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store