Swift Use Extension in Swift Extension is a great feature in Swift, which can help us to create helper/utility variables and method, and etc. Use extension to conform protocols It is quite common to Needone 27 Feb 2021 · 1 min read
iOS Property in Swift Unlike other programming languages, there are three types properties in Swift. Stored Properties They are constants or variables of a class, and part of the class instances that used to Needone 25 Feb 2021 · 1 min read
iOS How to check whether a mobile device is muted or not on iPhone/iPad On iOS devices, there are mainly two types of sounds: * Ringtones and reminders: Including system sounds such as phone calls, text messages, notifications (also including key tones, lock sounds, which Needone 23 Feb 2021 · 2 min read
iOS Init vs Convenience init in Swift Initializers, also known as constructors in other programming languages, have two types: Designated init and Convenience init. They are used to initialize properties or customize a variable or object for Needone 15 Feb 2021 · 2 min read
Git Git Merge vs Git Rebase TLDR Both git rebase and git merge are used to synchronise changes between branches. The difference is git rebase will revise the commits but keep a clean organised history, while Needone 13 Jan 2021 · 2 min read
iOS iPhone/iPad Redeem promo code to get free App in 2022 This will happen when developers decides to give out some free apps, which sometimes you will see the promo code like this EAJXJEXL7MJH. As many of you might know how Needone 1 Jan 2021 · 1 min read
iOS Days Gone Widget Dear time master, Thanks for downloading this app. Time travels fast, with days gone app we can put a nice-looking widget on your Home Screen so we would know where Needone 1 Jan 2021 · 1 min read
Swift Keyword Lazy in Swift lazy variables are variables will be computed until accessing. In other words, lazy variables won't have the real value until get called/used. As lazy variables can be re-assigned, so Needone 31 Dec 2020 · 1 min read
Swift Preview in SwiftUI Once you have finished the SwiftUI code, it is always a good idea to preview it before implement any function code. Luckily, such feature is natively supported by SwiftUI - Needone 19 Dec 2020 · 1 min read
iOS Constants in Objective-C Recently I was working on a legacy project written in Objective-C, which reminded me of the early days when working on Objective-C projects. In the code I saw few things Needone 13 Dec 2020 · 1 min read
Android How to enable iMessage on your Android devices for free This article demonstrates how to connect iMessage service to your Android phone/pad so that you can contact your iPhone friends freely from now on. To finish the article will Needone 10 Nov 2020 · 2 min read
iOS How to use Swift Package Manager What is Swift Package? According to Apple's doc: * Swift packages are reusable components of Swift, Objective-C, Objective-C++, C, or C++ code that developers can use in their projects. They bundle Needone 31 Oct 2020 · 2 min read
iOS VIP Architecture in Swift with easy explanation Recently I joined a project where the architecture follows the Clean-Swift VIP Pattern. This article is an overview and some thoughts from a mobile developer’s perspective who have NEVER Needone 25 Oct 2020 · 2 min read
iOS SwiftLint: Writing good quality code in Swift SwiftLint is a programming guide tool which can automatically check the code quality with certain rules such as https://github.com/github/swift-style-guide. The article will cover: * How to install Needone 17 Oct 2020 · 4 min read
iOS What is Bitcode in iOS You may compile and build iOS app using Swift and/or Objective-C every day, and you've probably you heard of Bitcode multiple times. So what exactly is the Bitcode, as Needone 15 Oct 2020 · 1 min read
Android How to auto-sizing text size in Android Most of the time we can display the text as follows: Needone 11 Oct 2020 · 1 min read
iOS iOS14: How to show all your photos on WhatsApp iOS14: How to show all your photos on WhatsApp, instagram, facebook Needone 25 Sep 2020 · 1 min read
Git 6 most useful git commands If you prefer to use commands through git, here are the 6 most useful git commands you can use in the project. Check unmerged branches If we have multiple branches Needone 14 Sep 2020 · 1 min read