Skip to content

Instantly share code, notes, and snippets.

View metalik's full-sized avatar

Jacky Wong metalik

  • Touch Innovation Limited
  • Hong Kong
View GitHub Profile
// Created by Ullrich Schäfer on 16/08/14.
// Bitmasks are a bit tricky in swift
// See http://natecook.com/blog/2014/07/swift-options-bitmask-generator/
//enum LogFlag: Int32 {
// case Error = 0b1
// case Warn = 0b10
// case Info = 0b100