https://github.com/pyk/helloswift
My first time writing code in swift
https://github.com/pyk/helloswift
Last synced: about 1 year ago
JSON representation
My first time writing code in swift
- Host: GitHub
- URL: https://github.com/pyk/helloswift
- Owner: pyk
- Created: 2018-05-02T20:56:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T21:51:29.000Z (about 8 years ago)
- Last Synced: 2025-02-07T17:23:29.928Z (over 1 year ago)
- Language: Swift
- Homepage: https://forums.swift.org/c/swift-users
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello Swift!
My first time writing code in swift.
My swift:
% swift --version
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
## Tutorial
Initialize new swift package:
swift package init --type executable
To build the package:
swift build
To run the test:
swift test
To run the executable:
swift run Hello
There is a blog about using third-party
module [here](https://evgenii.com/blog/distributing-your-library-with-swift-package-manager/).
The documentation about Swift package is available [here](https://github.com/apple/swift-package-manager/tree/master/Documentation).