chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

iOS App: MyNBN — Code and Publish to AppStore in 2 weeks!

Want to find out the NBN availability of your address? MyNBN is an app provides you a shortcut to check the NBN coverage in Australia. Simple search Search by typing in your address and your answer is one tap away. If you are checking the NBN availability of your current addre……

Static Library,Dynamic Library and Framework in iOS

What you can get from this article: What are Static Library and Dynamic Library not just in iOS How do they work (in general) Some concepts about library Reduce coupling: if you want to create a copy of "public code", you have to reduce unnecessary coupling of it. Reduce th……

Introduction on Numpy

安装 numpy pip3 install numpy 12 pip3 install numpy  Some basic examples: import numpy as np # Create rank 1 array #[1,2,3] a = np.array([1, 2, 3]) # Create rank 2 array……

Flask Command Line

Happy New Year! Hope everything becomes better in 2018! From the version 0.11.0, Flask began to support shell command. Something you probably you already saw when you are using other web project, such as Django: ./manage.py shell 1……

How to place a location on Google Map

Here are few steps on how to add Google Map to your Kotlin/Android project, in this post, there are two things: Show marker on Google Map Get current location (Latitude & Longitude) Show marker on Google Map Step 1: Add dependencies in build.gradle: compil……

Using Gradle 3.0 to create your debug APK from command line

With the new Gradle 3.0 coming out, I recently found out there is no apk file generated when running gradlew from command line. After investigating a little bit, one of the possible solution is in the build.gradle file under the app directory. [gist https://gist.github.com/arki……

Why Kotlin doesn’t have static

As you may observe while programming with Kotlin (1.1.60), there is no static members or methods. Instead you can use the companion object to work it around. [gist https://gist.github.com/arkilis/e1ff8d09c630c88193c45f63a8e074e2/] The reason behind this is: https://discuss.kotl……

How to use RxAndroid with kotlin

This article is more for iOS developers who wants to put their hands on the Android Development, or for those who just want to enter the Android development world. There are no hard points in the article. In the tutorial, you are about to know: Install how to install dependenc……

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 test……

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……