https://github.com/mtj0928/SlideKit
A library which helps you make presentation slides by SwiftUI
https://github.com/mtj0928/SlideKit
presentation-slides slides swift swiftui
Last synced: 7 months ago
JSON representation
A library which helps you make presentation slides by SwiftUI
- Host: GitHub
- URL: https://github.com/mtj0928/SlideKit
- Owner: mtj0928
- License: mit
- Created: 2022-08-23T06:21:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T15:14:48.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T04:22:38.131Z (almost 2 years ago)
- Topics: presentation-slides, slides, swift, swiftui
- Language: Swift
- Homepage: https://mtj0928.github.io/SlideKit/documentation/slidekit/
- Size: 4.37 MB
- Stars: 188
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SlideKit
SlideKit
SlideKit helps you make presentation slides on SwiftUI.
You can easily make presentation slides and customize the design perfectly because the all components are just SwiftUI's View.

## Requirements
- Swift 6.0+
- iOS 17+, macOS 14+, visionOS 1+, tvOS 17+
## Documents
First, see the [Tutorial for SlideKit](https://mtj0928.github.io/SlideKit/tutorials/meet-slidekit).
You can learn how to use SlideKit and make presentation slides through making the sample presentation slides.
If you want to know more details, refer the [DocC Style Document](https://mtj0928.github.io/SlideKit/documentation/slidekit/)
## Features
- [x] Support all SwiftUI Views🔥
- [x] Provide `HeaderSlide`, it is a template slide which has a title.
- [x] Support `HeaderSlideStyle`, so you can customize the design of the `HeaderSlide`.
- [x] Provide some utility view components
- `Code`: Syntax Highlighted view (Only Swift is supported now.)
- `Item`: Itemization view. `Item` supports nested structures.
- [x] Show the current slide index at bottom right on slide.
- [x] Support two windows, presentation window and presenter window.
- [x] Show scripts on only presenter window (only macOS)
- [x] Provide `@Phase`, so you can divide a one slide step by step.
- [x] Export PDF file
## Simple Example
You can create a presentation by SwiftUI like this.
```swift
@Slide
struct IntroductionSlide: View {
var body: some View {
HeaderSlide("SlideKit") {
Item("SlideKit helps you make presentation slides by SwiftUI")
Item("The followings are provided") {
Item("Views")
Item("Structures")
Item("Utilities")
}
}
}
}
```
And then, this is the result of the code.

## Presentations made with SlideKit
Feel free to add your presentations made by SlideKit to the following list!!
- [After iOSDC](https://github.com/mtj0928/AfteriOSDC): A presentation, which shares the hard points to make presentations slides by SwiftUI. (Japanese)
- [iOSDC23](https://github.com/mtj0928/iOSDC23) A presentation, which shows a dependency injection strategy on SwiftUI. (Japanese)