This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This code can help you determine how to create a job programmatically. | |
* | |
* Tip: use `runClient.getJob({ jobName });` to retrieve an existing job struct to see what it looks like. | |
* You can also look a the YAML tab in Job Details in the UI. | |
*/ | |
// where the built job container image is stored | |
const IMAGE_URL = "path-to-built-image"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
paste this code into a playground to test it out | |
*/ | |
import Foundation | |
/** | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for family in UIFont.familyNames() { | |
let sName: String = family as String | |
println("family: \(sName)") | |
for name in UIFont.fontNamesForFamilyName(sName) { | |
println("name: \(name as String)") | |
} | |
} |