Recently, I have begun sharing stories on Medium. If you like mine, you can check out them here -> https://medium.com/@haikieu
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
Visual Studio Code is free, simple and lightweight editor. It's available on Window, Mac and Linux. In this post, I will help you guys config Visual Studio Code to compile Swift for Raspberry Pi.
In order to develop a complex Raspberry Pi project. The best way to go is getting XCode handshaking with Rasberry Pi. That is amazing for guys who use a MAC. We're able take advantage of XCode, make development more productivity, convenient and more fun.
Hello guys, In this post, I will talk through on installing Swift environment for programming on Raspberry Pi. The Swift version will be set up is Swift 4.1.1. Do you feel excited? Read the full story here.
Do you think about writing a program in Swift on Raspberry. Why not? Let's make it fun. I have spent the weekend to try out. My target was set up the environment for Swift programming on my Raspberry Pi 3B+.
Last month, I wrote a post about How to setup SwiftNIO for iOS and tvOS. Basically, I manually create all the targets in a new project, set up everything from scratch. It takes time and I wonder there is a better way? I go back to the start point, try to compile the original Swift-NIO project, finally I see how it works.
Since the first Swift release in 2014, It seems like Swift is a super rock star which takes over the stage. As advertising, Swift is more modern, elegant and even faster. Well, they talk it up a lot. More and more companies have decided to migrate to Swift. Many many senior developers have moved away from Objective-C. Fresh iOS developers are told to learn Swift rather than Objective-C. However, Objective-C won't be dying. It will last long for many reasons. Let's go through the following reasons which I recap in this post
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,...
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