Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zackshapiro/SwiftUIAirtableDemo
A demo of how you can integrate SwiftUI and Airtable in your app
https://github.com/zackshapiro/SwiftUIAirtableDemo
Last synced: 3 months ago
JSON representation
A demo of how you can integrate SwiftUI and Airtable in your app
- Host: GitHub
- URL: https://github.com/zackshapiro/SwiftUIAirtableDemo
- Owner: zackshapiro
- License: mit
- Created: 2020-05-06T17:55:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-11T14:16:12.000Z (almost 5 years ago)
- Last Synced: 2024-08-03T17:21:12.967Z (7 months ago)
- Language: Swift
- Size: 43 KB
- Stars: 146
- Watchers: 9
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- fucking-open-source-ios-apps - SwiftUIAirtableDemo
README
# SwiftUI Airtable Demo
This is a small, functional example app that demonstrates how you can use Airtable as a lightweight backend. I wouldn't recommend using Airtable to store fast-moving data but as a means of storing strings, images, positions of views, and general data that won't get updated very often, Airtable could be a potential option for you.
Created by [Zack Shapiro](https://twitter.com/zackshapiro)
---
## Demo
Check out the [video demo](https://share.getcloudapp.com/bLue5z98) of this app.
---
### Our Airtable setup:


### App Rendering:


---
## Running the app
1. Clone the repo and open the `.xcworkspace` file (You shouldn't need to run `pod install`).
2. Create your own Airtables and mimick the same column types and data as I have in the screenshots above.
3. **Important**: Visit https://airtable.com/api, choose your Base, and get the link to your base and API key. Plug those into `apiKey` and `apiBaseUrl` in [`AirtableService.swift`](https://github.com/zackshapiro/SwiftUIAirtableDemo/blob/master/SwiftUIAirtableDemo/Services/AirtableService.swift#L14).
4. Build and run the app.## Requirements
Built using:
- Xcode 11.4.1
- Cocoapods
- [SwiftAirtable](https://github.com/nicolasnascimento/SwiftAirtable)
- SwiftUI
- Airtable
- [Build a Server-Driven UI Using UI Components in SwiftUI](https://medium.com/better-programming/build-a-server-driven-ui-using-ui-components-in-swiftui-466ecca97290) on [Better Programming](https://medium.com/better-programming)## Contributing
Feel free to contribute. Leave an Issue if there is one.
## License
[MIT](https://github.com/zackshapiro/SwiftUIAirtableDemo/blob/master/LICENSE)