- Proposal: SE-TBD
- Author(s): Dave DeLong
- Review manager: TBD
- Status: TBD
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
#!/bin/sh | |
set -e | |
NINJA_RELEASE_ASSERT_DIR="${HOME}/Documents/workspaces/xcode/github/apple/build/Ninja-ReleaseAssert" | |
SOURCE_ROOT="${HOME}/Documents/workspaces/xcode/github/apple" | |
echo "Updating sources (except SwiftPM)" | |
${SOURCE_ROOT}/swift/utils/update-checkout --skip-repository swiftpm | |
echo "Done updating sources" |
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
import Cocoa | |
// Missing isWord | |
func isWord(string: String) -> Bool { | |
if let _ = Int(string) { return false } | |
let range = NSSpellChecker.shared().checkSpelling(of: string, startingAt: 0) | |
return range.location == NSNotFound | |
} | |
/*: |