Swift: Add attributed string in iOS

 

person shubham sharmaaccess_time December 27, 2019launch Read More

Open Google map

First method: In Android

EDIT: This might not work with Google maps 7,0 hence you could change the URI to : Second option:

Third option:

Fourth option:

 

person shubham sharmaaccess_time August 8, 2019launch Read More

Difference between Singleton vs Static

1) The static class provides better performance than the Singleton pattern because static methods are bonded on compile time. 2) One more difference between Singleton and static is the ability to override. Since static methods in Java cannot be overridden, they lead to inflexibility. On the other hand, you can override methods defined in Singleton class […]

person shubham sharmaaccess_time August 1, 2019launch Read More

iOS Info.plist Usage Description

Check out this developer.apple.com link for the full list of property list key references. Full List: Apple Music:

Bluetooth:

Calendar:

Camera:

Contacts:

FaceID:

Health Share:

Health Update:

Home Kit:

Location:

Location (Always):

Location (When in use):

Microphone:

Motion (Accelerometer):

NFC (Near-field communication):

Photo Library: […]

person shubham sharmaaccess_time July 19, 2019launch Read More

Swift Date format refrence

Characters Example Description Year y 2008 Year, no padding yy 08 Year, two digits (padding with a zero if necessary) yyyy 2008 Year, minimum of four digits (padding with zeros if necessary) Quarter Q 4 The quarter of the year. Use QQ if you want zero padding. QQQ Q4 Quarter including “Q” QQQQ 4th quarter […]

person shubham sharmaaccess_time July 4, 2019launch Read More

iOS Custom Dialog

ViewController Where you need to open dialog

  Dialog ViewController

Download Project

person shubham sharmaaccess_time June 24, 2019launch Read More

iOS Date picker view

 

person shubham sharmaaccess_time June 11, 2019launch Read More

MAC Os / iOS check network is connected or not

 

person shubham sharmaaccess_time May 21, 2019launch Read More

Swift on OS X. How to handle global mouse events?

You are correct about using addGlobalMonitorForEventsMatchingMask:handler: A simple example might look something like this: AppDelegate.swift

  GlobalEventMonitor.swift

 

person shubham sharmaaccess_time April 17, 2019launch Read More

Drag and Drop using swift 4 on mac OS

 

person shubham sharmaaccess_time April 16, 2019launch Read More