Skip to content

Similar to `import SwiftUI`, this allows you to `import SwiftUIPlus` to get access to all frameworks you commonly use.

License

Notifications You must be signed in to change notification settings

FlineDev/Essentials

Repository files navigation

Essentials Logo

Essentials

This framework mainly consists of the files SwiftUIPlus.swift and FoundationPlus.swift which contain just a collection of @_exported import statements of frameworks I use in every new app.

Usage

Just add https://github.com/FlineDev/Essentials.git as a Swift package, referencing the main branch and let Xcode load all commonly used dependencies.

Package Mapping in Xcode

Then, simply import SwiftUIPlus or FoundationPlus in your app or test targets Swift files and you no longer need to import Foundation, SwiftUI, SwiftData, OSLog, and a couple of other frameworks to eliminate the need for repeated imports. This serves a very similar purpose like the import SwiftUI or import Foundation Apple adds to every new Swift(UI) file by default, which is why I named the targets SwiftUIPlus and FoundationPlus, respectively.

You are free to reference this framework as-is in your app, but note that I tend to use the latest Swift tools version at all times and that I might be adding or replacing frameworks over time without notice. So you might prefer to fork it and adjust it to your needs instead. That's mostly why I made this public.

License

This library itself is released under the MIT License. See LICENSE for details.

For the licenses of the imported libraries, see their own LICENSE files.

Showcase

I created this library for my following Indie apps (rate them with 5 stars to support me!):

App Icon App Name & Description Supported Platforms
TranslateKit: App Localizer
Simple drag & drop translation of String Catalog files with support for multiple translation services & smart correctness checks.
Mac
Pleydia Organizer: Movie & Series Renamer
Simple, fast, and smart media management for your Movie, TV Show and Anime collection.
Mac
FreemiumKit: In-App Purchases
Simple In-App Purchases and Subscriptions for Apple Platforms: Automation, Paywalls, A/B Testing, Live Notifications, PPP, and more.
iPhone, iPad, Mac, Vision
FreelanceKit: Time Tracking
Simple & affordable time tracking with a native experience for all  devices. iCloud sync & CSV export included.
iPhone, iPad, Mac, Vision
CrossCraft: Custom Crosswords
Create themed & personalized crosswords. Solve them yourself or share them to challenge others.
iPhone, iPad, Mac, Vision
FocusBeats: Pomodoro + Music
Deep Focus with proven Pomodoro method & select Apple Music playlists & themes. Automatically pauses music during breaks.
iPhone, iPad, Mac, Vision
Guided Guest Mode
Showcase Apple Vision Pro effortlessly to friends & family. Customizable, easy-to-use guides for everyone!
Vision
Posters: Discover Movies at Home
Auto-updating & interactive posters for your home with trailers, showtimes, and links to streaming services.
Vision

About

Similar to `import SwiftUI`, this allows you to `import SwiftUIPlus` to get access to all frameworks you commonly use.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages