Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/myfirstswiftlibrary
https://github.com/vkuznet/myfirstswiftlibrary
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vkuznet/myfirstswiftlibrary
- Owner: vkuznet
- License: mit
- Created: 2020-08-31T17:19:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T17:38:39.000Z (over 4 years ago)
- Last Synced: 2024-10-30T06:27:34.990Z (3 months ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### MyFirstSwiftLibrary
This is a demo project how to create swift library. Here are the steps:```
# create a new empty git repository and clone it
git clone https://github.com/vkuznet/MyFirstSwiftLibrary
cd MyFirstSwiftLibrary# initialize your poject as swift library
swift package init --type library# change Package.swift and code (see examples in this repo)
# push changes to git and tag it
git commit -m "First commit" -a
git tag 1.0.0# build library code
swift build# clean-up your build area
swift package clean
```
Now this library is ready to be used, please see
[MyFirstSwiftApp](https://github.com/vkuznet/MyFirstSwiftApp)
how to build your first app and use this library