Fastlane Practise with Android and iOS

Fastlane Fastlane “The easiest way to build and release mobile apps”. fastlane handles the majority of the manual works, which sig including the following features: FREE Build Alpha/Beta/Production binary, ipa for iOS, apk for Android Automatically Sign ipa using Apple Provision File for iOS Automatically Sign apk using Android Keystore for Android Automatically Upload to
Read More »

Create a Production Certificate

While doing iOS Apps, production certificate expiration sounds a scary thing but it won’t affect anything from users’ perspective. Our apps are still live in App Store, users can still download and use them. The only thing will be impacted is our ability to sign apps, in other words, we cannot create new production builds
Read More »

iOS Unit Test Practise with OCMock 2/3

The idea behind Mock: Using a fake object to simulate target object, a method returned value/object. For example, there might be an amount of classes including models, viewControllers and etc. With regular unit tests, we need to instantiate the objects that we are going to tests. If the object have more than 5 properties, writing
Read More »

A comparison between Kotlin and Swift: Collections

Similar to Swift, collection in Kotlin includes: List Set Map 1. List Features of List: May have duplicate element May hold different data types All elements are unordered Similar to array in swift, list can be immutable and mutable. With immutable list, it can’t be added or removed. [gist https://gist.github.com/arkilis/1cdabbd71f64cdde50637179157375b8] In Swift, the mutable and
Read More »

Optional in Swift (Easy Start with examples)

Optional in Swift Swift is designed as a type Safe language. With the introduction of Optional, Swift solved the issue that variable can be nil or not in Objective-C, which makes the code more robust and safe. Optional is like a box, you can put normal type (Int, String, object) into the box, or Optional
Read More »

Selector in Objc/Swift

In this short article you will know: Selector in Objc Selector in Swift Passing value using Selector Selector in Objc: Selector is a concept of Objective-C Runtime, which allows to turn a method’s name (NSString) into a SEL type. Basically you cand find @selectoreverywhere, such as adding a method to a view, NSNotification, etc. [gist
Read More »