Skip to content

mtj0928/SlideKit

Repository files navigation

SlideKit

logo

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.

Slides

Requirements

  • Xcode 15+
  • Swift 5.9

Documents

First, see the Tutorial for 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

Features

  • Support all SwiftUI Views🔥
  • Provide HeaderSlide, it is a template slide which has a title.
  • Support HeaderSlideStyle, so you can customize the design of the HeaderSlide.
  • Provide some utility view components
    • Code: Syntax Highlighted view (Only Swift is supported now.)
    • Item: Itemization view. Item supports nested structures.
  • Show the current slide index at bottom right on slide.
  • Support two windows, presentation window and presenter window.
  • Show scripts on only presenter window (only macOS)
  • Provide @Phase, so you can divide a one slide step by step.
  • Export PDF file (only macOS 13+)

Simple Example

You can create a presentation by SwiftUI like this.

@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.
IntroductionSlide

Presentations made with SlideKit

If you make presentations slide with SlideKit, add it to the following litst!!

  • After iOSDC: A presentation, which shares the hard points to make presentations slides by SwiftUI. (Japanese)
  • iOSDC23 A presentation, which shows a dependency injection strategy on SwiftUI. (Japanese)