Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Example app

A small iOS app that demonstrates SwipeMenuViewController and lets you tweak SwipeMenuViewOptions live. It is written entirely in code — no storyboards — with a UIWindowScene lifecycle, SF Symbols, and Liquid Glass floating buttons. The Swift-bird button opens the same demo rebuilt on the SwiftUI SwipeMenu (SwiftUIMenuView), whose options are edited in a SwiftUI form (SwiftUIOptionsView).

Both demos share one settings model: the option-building logic in SwipeMenuSettings and its SwiftUI mapping in SwipeMenuSettings+SwiftUI are covered by unit tests in ExampleTests.

The Xcode project is generated from project.yml with XcodeGen, so Example.xcodeproj is not checked in. Generate it before opening the app:

brew install xcodegen        # once, if you don't have it
cd Example
xcodegen generate
open Example.xcodeproj

Re-run xcodegen generate whenever you change project.yml. Adding or removing source files does not require regenerating — the project references the Example/ folder directly.