Ios
iOS Push notification client written in Golang
Sending push notification to iOS device is easy and simple using to APNs Provider API. We can create golang notification client which is only needed dozens of lines and it can send notification as a test.
Triangle UIButton
Changing shape of UIButton to triangle is need to use UIBezierPath not frame. UIBezierPath can draw a figure with concat some points. By Configuring three points and connect it, we can writing triangle. Sample code is here.
Sample code class TriangleButton: UIButton { private let bezierPath = UIBezierPath() override init(frame: CGRect) { super.init(frame: frame) setup() } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setup() } private func setup() { bezierPath.move(to: CGPoint(x: bounds.
Enum and multi section tableView
We need to create multi section tableview quite often. Using Enum
make it easier.
Digest Authentication with APIKit
implementation of Digest Authentication with APIKit.
Detect Webview loading state using RxSwift
Easy way to get state of webiew loading using RxSwift.
Change API host using Bundle
We can change the API Host depending on develop and release environment using bundle.