This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
UUID (Universally Unique Identifier): A sequence of 128 bits that can guarantee uniqueness across space and time, defined by [RFC 4122][rfc4122].
GUID (Globally Unique Identifier): Microsoft's implementation of the UUID specification; often used interchangeably with UUID.
UDID _(Unique Device Identifier)): A sequence of 40 hexadecimal characters that uniquely identify an iOS device (the device's Social Security Number, if you will). This value can be retrieved through iTunes, or found using UIDevice -uniqueIdentifier. Derived from hardware details like MAC address.
extension UIVisualEffectView { | |
func fadeInEffect(_ style:UIBlurEffectStyle = .light, withDuration duration: TimeInterval = 1.0) { | |
if #available(iOS 10.0, *) { | |
let animator = UIViewPropertyAnimator(duration: duration, curve: .easeIn) { | |
self.effect = UIBlurEffect(style: style) | |
} | |
animator.startAnimation() | |
}else { |
// | |
// UIControl+dynamicType.swift | |
// | |
// Created by Emiel Lensink | The Mobile Company on 28/06/2017. | |
// Copyright © 2017 The Mobile Company. All rights reserved. | |
// | |
import UIKit | |
extension UILabel { |
Using newer compiler versions and the optimizer gives gas optimizations and additional safety checks for free!
The advantages of versions 0.8.*
over <0.8.0
are:
0.8.0
(can be more gas efficient than some
library based safemath).0.8.2
, leads to cheaper runtime gas.
Especially relevant when the contract has small functions. For