- Proposal: SE-NNNN
- Authors: Marc Rasi, Chris Lattner
- Review Manager: TBD
- Status: Awaiting implementation
Swift-evolution thread: https://forums.swift.org/t/pitch-compile-time-constant-expressions-for-swift/12879
Swift-evolution thread: https://forums.swift.org/t/pitch-compile-time-constant-expressions-for-swift/12879
File > New > Project...
Create a Package.swift
file in your root project directory, add dependencies, then run swift package fetch
on the command line in the same directory. We’re not going to run swift build
because it will just complain.
// | |
// NSData.swift | |
// Pods | |
// | |
// Created by Tanner Nelson on 9/15/15. | |
// | |
// | |
import Foundation |
// | |
// MARK: Font utilities | |
// | |
enum FontFamily : String { | |
case HelveticaNeue = "Helvetica Neue" | |
case MontSerrat = "Montserrat" | |
} | |
enum FontWeight { |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)