GCD provides three main types of queues:  1.1 Main queue Main queue runs on the main thread and is a serial queue. This is a common choice to update the UI after completing work in a task on a concurrent queue. To do this, you’ll code one closure inside another. Targeting the main queue… Continue reading iOS Grand Central Dispatch
Tag: iPhone
How to generate **.cer** and **.p12** file for iOS push notification
Every time I created a new app with push notifications, iOS, I'm sure I've got everything right and then something refused to work. So this time I'm writing it down so I can't possibly get it wrong again.  Generally, we need 2 files for push notification: * .cer file * .p12 file Generate cer… Continue reading How to generate **.cer** and **.p12** file for iOS push notification