Xcode Simulato

Xcode Simulator Tips and Tricks

The Xcode simulator is the developer's friend across their iOS development journey. Without it, debugging applications has to always happen on device which is time consuming and a lot of times it doesn't work and you would have to debug why your device, which is connected, is appearing to be not connected to Xcode. In this post I will cover some of my favorite tips…
Shareplay

Swift Tutorial: SharePlay and GroupActivities API Example

With iOS 15.1 you can integrate your app into FaceTime using the new SharePlay technology. Below is the simplest implementation of SharePlay and GroupActivities API that I could write, and it can be customized based on your application’s need. I have added comments in the code to help you understand the code better. Few things to keep in mind: Don’t forget to add GroupActivities entitlement…
Mac Custom Text Shortcuts

Mac Custom Text Shortcuts

Your Mac gives you the ability to create custom text shortcuts to use instead of typing long phrases or frequent sentences by only using few characters. To achieve that, head over to System Preferences, Keyboard, and select the Text tab. System Preferences - Keyboard - Text There you will find a table that contains nothing, you can start adding your custom shortcuts by clicking on…
Mac UPS Settings

Mac UPS Settings

I recently acquired a new Mac mini, and because of the recent storms we've been having and the frequent power outages I decided to purchase a UPS (Uninterruptible Power Supply) to protect my Mac. I did a quick search and landed on this unit* for $65 from APC that I found on Amazon that seems to provide up to 67 minutes of uninterrupted power. APC…
Swift Tutorial: How to Make a Floating Button Programmatically

Swift Tutorial: How to Make a Floating Button Programmatically

Have you seen the compose button in the Gmail or Twitter app on your iPhone and wondered how you can make a button that just floats in your view? Well, in this tutorial I will be showing you how you can create that button programmatically in few simple lines of code. 1- Create the UIButton programmatically in your view controller, give it a title, and…