Skip to content

irrlphnt/powerpoint-generator-swift

Repository files navigation

PowerPoint Generator - Swift Edition

A native Swift application for generating PowerPoint presentations on Apple devices, with on-device image generation using Apple Intelligence.

Features

  • Native Performance: Built with Swift for optimal performance on Apple devices
  • On-Device Image Generation: Uses Apple Intelligence for free, private image generation
  • Modern UI: SwiftUI interface that adapts to iPhone, iPad, and Mac
  • Vocabulary Decks: Generate language learning presentations from CSV files
  • PowerPoint Export: Create standard .pptx files compatible with Microsoft PowerPoint

Requirements

  • macOS 14.0+ (Sequoia) or iOS 17.0+ / iPadOS 17.0+
  • Xcode 15.0+
  • Apple Intelligence support (A17 Pro chip or M-series) for on-device image generation
  • For older devices, falls back to cloud-based image generation services

Project Structure

powerpoint-generator-swift/
├── Sources/
│   └── PowerPointGenerator/
│       ├── Models/
│       ├── Services/
│       ├── Builders/
│       └── UI/
├── Tests/
└── Package.swift

Installation

  1. Clone the repository
  2. Open in Xcode: open PowerPointGenerator.xcodeproj
  3. Build and run

Usage

Command Line

swift run PowerPointGenerator vocab vocabulary.csv "My Deck" --output deck.pptx

SwiftUI App

Launch the app and use the intuitive interface to create presentations.

Architecture

  • Models: Data structures for vocabulary words, presentations, etc.
  • Services: Image generation, CSV parsing, PowerPoint creation
  • Builders: High-level builders for creating presentations
  • UI: SwiftUI views and view models

Apple Intelligence Integration

The app uses Apple Intelligence APIs for on-device image generation:

  • Privacy-focused: All processing happens on-device
  • Free: No API costs
  • Fast: Optimized for Apple Silicon
  • Requires: iOS 18+ / macOS Sequoia+ with compatible hardware

License

[Your License Here]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages