Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heckj/timelaneexperiment
quick experiment to show off Timelane and logging from Combine (happens to also be SwiftUI based)
https://github.com/heckj/timelaneexperiment
combine combine-framework swift swiftui swiftui-example
Last synced: 3 months ago
JSON representation
quick experiment to show off Timelane and logging from Combine (happens to also be SwiftUI based)
- Host: GitHub
- URL: https://github.com/heckj/timelaneexperiment
- Owner: heckj
- Created: 2020-02-29T18:58:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-29T19:53:46.000Z (almost 5 years ago)
- Last Synced: 2024-10-10T19:41:15.175Z (4 months ago)
- Topics: combine, combine-framework, swift, swiftui, swiftui-example
- Language: Swift
- Homepage:
- Size: 1.85 MB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TimelaneExperiment
SwiftUI experiment using TimeLane - a tool by Marin Todorov for capturing and logging Combine events using Xcode Instruments.
In order to see the profiling, you will need to install TimeLane in addition to using this repository:
* download from http://timelane.tools
* run application and click on the package icon to install the instrument locally
* Choose Product -> Profile in Xcode to build and invoke Instruments![choose timelane](img/timelane_instrument.png)
The project itself is a simple SwiftUI form that has two combine pipelines:
1. triggers based on user input of a username and retrieves general github User data from the Github API.
2. triggers based on the github API response and retrieves the avatar URL into a UIImage instance.Running and capturing the profile data:
![profile running](img/profile_running.png)
The resulting data looks like:
![event data](img/event_data.png)