Skip to content

Instantly share code, notes, and snippets.

View EricADockery's full-sized avatar
🦕

Eric Arlan Dockery EricADockery

🦕
  • Versailles, KY
View GitHub Profile
@EricADockery
EricADockery / enum.swift
Last active February 10, 2018 15:45
Zebra Printer gist
enum CommonPrintingFormat: String {
case start = “! 0 200 200 150 1”
case end = “\nFORM\nPRINT “
}
@EricADockery
EricADockery / SectionTitleEnumExample.swift
Created February 7, 2018 22:36
Example to creating multiple titles for headers in section given different layout options
enum SectionTitle: String {
case a = "a"
case b = "b"
case c = "c"
case d = "d"
init?(section: Int, hasB: Bool = false, hasD: Bool = false) {
if hasD {
switch section {
case 0: self = .a
case 1: self = .b
@EricADockery
EricADockery / Fastfile
Created July 25, 2017 16:42
Parallel iOS Testing using Bluepill
lane :bluepill do
scan(scheme: “myApp”, build_for_testing: true)
sh “bash ./bluepill.sh“
end