• BLOG
  • ARCHIVE
  • iOS Settings Bundle

    Dec 14, 2016

    This blog talks about the basic of iOS Settings Bundle. If your app only needs to include basic setting options, you can use the iOS Settings Bundle to include all the setting options into the native iOS settings app. It has been used heavily in my Hourglass app for all the setting options, and it works pretty well.

    ...more
  • Basic of Core Data Framework

    Nov 8, 2016

    This blog talks about the basic of core data. Mainly focused on how to use core data to save your object into the database. It will cover some problem I met when I was using core data. More advanced usage will be covered in future posts.

    ...more
  • Protobuf Swift

    Nov 7, 2016

    Protobuf-Swift is a swift framework for protobuf. it contains a swift framework and a compiler you can use on macOS and Linux.

    ...more
  • How to Setup and Write Blog Using Org and Hexo

    Nov 4, 2016

    Hexo is a simple and powerful blog framework. Here, we want to connect Hexo with emacs org mode. The result is you can create a new post in emacs, write in org, insert images like normal and deploy it to github pages.

    ...more
  • Pass Type As Parameter

    Nov 4, 2016

    In short, add <T> after the function name, pass in a parameter with type T.Type, and when you need to use that parameter, usually you call the name of the parameter, but instead, you use the type T

    ...more
  • iOS Location Service

    Nov 2, 2016

    This post talks about the basic for ios location service. How to setup the CLLocationManager to get user's current location? For Xcode 8.1, Swift 3.0

    ...more
  • Config ScrollView With Autolayout in Interface Builder

    Oct 21, 2016

    Here is how to setup AutoLayout along with UIScrollView

    ...more
  • Spacemacs Config - How I Organize Tasks And Notes

    Oct 19, 2016

    I love write down things I leaned. So I need to find a way to organize my notes and search though them easily. After trying all different kinds of tools, I found out that Org Emacs mode suit me the best. It can insert code blocks easily. Stores as plain text files. I also have used vim for years. With evil mode, I can still use the vim keybindings. For task management, I love manage my everyday tasks. I also tried lots of gtd tools for this as well and org agenda is the most powerful tool for task management as well.

    ...more
  • SSH Key

    Jun 13, 2016

    Here everything related ssh keys.

    ...more
PREV