• BLOG
  • ARCHIVE
  • Detect When Application Goes to Background or Become Active From Background.

    Apr 15, 2021

    This is Android equivalent to iOS applicationDidBecomeActive or applicationDidEnterBackground. However the same implementation in Android is much more complicated. Here is how you can do this properly.

    ...more
  • Stylish Framework

    Feb 6, 2020

    In Kinetic Commerce, we use Stylish to able to switch different styles for UILabel, UIView, UITextView, etc. It makes switch different styles use different font, color, very easy. All you need to do is create a style sheet and use the styles you created inside style sheet when you setup a view.

    ...more
  • Download Old Version of Xcode

    Sep 22, 2019

    Old version of Xcode can be downloaded at Apple Developer Downloads Page

    ...more
  • Swift Optional Protocol Methods

    Sep 22, 2019

    There are two ways to create optional protocol methods. One is with @objc tab, the other one uses the swift extension to provide a default method if not implemented.

    ...more
  • Attributed String For TextView (Spannable String)

    Sep 10, 2019

    If you want to include different font and colour text into one TextView, which is the attributed text in iOS, you will have to use SpannableString in Android. This note

    ...more
  • Get Current Device Language For iOS

    Sep 3, 2019

    If you want to know what current device language is for iOS, you can use NSLocale.preferredLanguages.first. This will give you the most preferred language user setup in system. Which is also the system language. This will gives you a string identifier. Here is a list of string identifier for iOS.

    ...more
  • Android Localization Export

    Aug 15, 2019

    So implementing android localization is easy. First make sure everything (text) needs to be translated is in the xml file. Then we use the following tool to convert the xml file into xliff translation files.

    ...more
  • Install or Use Specific Version of Cocoapods

    Aug 2, 2019

    Sometimes you will need to use a specific version of Cocoapods, usually when you want to downgrade a cocoa pods. Here is what you need to do.

    ...more
  • Android Multiple Firebase Apps For One Project

    Jul 28, 2019
    ...more
  • Download GraphQL Schema

    Jul 17, 2019

    You can manually download the schema JSON file by sending an introspection query to the server. It uses the apollo-cli package. Offical Repository . If you don’t have that, install using the command below.

    ...more
NEXT