Memory leak is the case in which you have given up access to the object which is not able to be deinited due to a strong circular reference it gets involved. Closure is something usual which We use a lot in Swift, however sometimes careless in using and end up with memory leak
Youtube iOS app is a high-rating video streaming app. It is absolutely 5 stars. For me with the experience I have gained in the iOs mobile app development, I have to say that the youtube iOS app is kinda a role model in the industry. Sometimes I wish I could reveal what is under the hood to learn more about its secret, and this is the post about it.
I look over Swift NIO, and I see it kind of potential. Written on the top of POSIX socket. Simple, lightweight. Some parts of its core are written in C or reuse C library. It even reuses the NGNIX's HTTP parser in its core. I have found out that this parser is used widely in some well-known software and open sources. Some instances are NodeJs's parser, IBM-Swift's Kitura-net,...
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...
There are a ton of programming languages in our world. If you're a developer, I think you may know a few. C#, JAVA, C++ or whatever I used to develop programs in C#. I used to learn JAVA. I learned C from the beginning to understand what is programming. I've been working on Objective-C, Swift … Continue reading Programming language interoperability
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...
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
As an iOS developer, I'm pretty sure that most of you have ever sometimes heard about Swizzling. I gonna talk about this. Not gonna say all things about Swizzling, definition, what, why, blah blah,... Just share the main ideas, some uses in practice from my experience. In Swift/Objective-C, the language provides some tools to work … Continue reading Method Swizzling and some applications