WatchOS app is an extension, it doesn't stand alone. It basically needs a host app. The WatchOS project usually is a sub-project which eventually its product will be attached to the main app. But XCode doesn’t give us an option to keep the extension out for Release Build. I’m going to write a tutorial to handle this situation.
In Swift, both "if" and "guard" keywords can handle unwrapping optional type. "if" keyword is enough to handle, why is "guard" available?
The post basically looks over some projects listed in awesome ios. I do not dive deep into each project to figure out what it does with method swizzling technique. Some of them use method swizzling for writing unit tests, some use swizzling for its core logic business, etc. Data persistence Firebase Firebase is Google's mobile platform that … Continue reading Projects which use method swizzling technique
Eventually, I have had my answer about using method swizzling in Swift/Objective-C. One of my teammates in AT&T who went to WWDC 2018 with a list of the desired questions to ask Apple engineers, he took notes some answers. These are 2 questions on Swizzling which were brought up...
I'm pretty sure that all of us have known that UI manipulation has to be done on Main-Thread. I/O tasks, Networking tasks, Making Service API requests, etc should be done on Background. This is true but be careful...
Hello everybody, When I wrote this post on Jun 22, 2018, Swift was 4 years old. In a few weeks earlier, Swift 4.2 was presented in WWDC 2018 and planned to ship with XCode 10 later on. At the very first time, I was an Objective-C developer. I felt good with Objective-C. It was King, … Continue reading Swift 4 years look back
I believe that Swizzling is the most argumentative technique which I have used in Objective-C/Swift. Apple makes it available to use. Apple also releases some documents about Swizzling, it doesn't set a standard for using the Swizzling technique. Hence the application could have some potential risk to pass the app review. I'm not a fan … Continue reading Fear of Swizzling