explaingit

huri000/swiftentrykit

6,759SwiftAudience · developerComplexity · 2/5Setup · easy

TLDR

A Swift library for iOS that lets you show banners, toast messages, and pop-ups over your app with a few lines of code, with full control over animation, position, styling, and dismiss behavior.

Mindmap

mindmap
  root((SwiftEntryKit))
    What It Does
      In-app banners
      Popups and alerts
      Toast messages
    Styling Options
      Colors and gradients
      Blur backgrounds
      Rounded corners
    Behavior
      Priority queue
      Swipe to dismiss
      Rubber-band physics
    Integration
      CocoaPods
      Carthage
      Obj-C compatible
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Add a top-of-screen success or error banner to your iOS app without building custom UIView animations from scratch.

USE CASE 2

Show a rating prompt or form sheet over your app with configurable swipe-to-dismiss rubber-band physics.

USE CASE 3

Display queued notifications with priority levels so urgent alerts replace lower-priority ones already visible.

Tech stack

SwiftiOSCocoaPodsCarthage

Getting it running

Difficulty · easy Time to first run · 30min

Add via CocoaPods or Carthage, requires iOS 9 or later and Xcode 9 or later.

In plain English

SwiftEntryKit is a Swift library for iOS that makes it easy to display notifications, alerts, banners, and pop-ups inside your app. Rather than building these interface elements from scratch, you use the library to show what it calls "entries" over your existing screens with minimal setup code. Entries appear inside a separate window that sits above your app's normal interface. This means the user can still interact with the underlying app while a banner is displayed, rather than being blocked by a modal screen. The library comes with built-in presets for common patterns like toast messages, floating notifications, rating prompts, and form sheets, each of which can be colored and styled to match your app. Positioning and animation are both configurable. An entry can appear at the top, center, or bottom of the screen, slide in from the side, or fade in. Background styles include solid colors, gradients, blurs, and dimming effects. You can add rounded corners, drop shadows, and borders. Users can dismiss entries with a swipe, and you can configure rubber-banding physics so the entry stretches slightly when the user pulls against it. For cases where multiple entries might appear at once, the library has a priority and queue system. Each entry has a priority level, and a new entry can either wait in a queue behind the current one, replace it immediately, or be blocked by a higher-priority item. You can also hook into lifecycle events to know when an entry appears or disappears. The library supports Swift 5 and requires iOS 9 or later and Xcode 9 or later. It can be added to a project through CocoaPods, Carthage, or Accio. It also has Objective-C interoperability, so it can be called from older code that mixes languages. The example project included in the repository has a live playground screen for testing different configurations. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Using SwiftEntryKit, show me how to display a green success toast at the bottom of the screen that auto-dismisses after 2 seconds.
Prompt 2
How do I use SwiftEntryKit's priority queue so an urgent error banner replaces a lower-priority notification already on screen?
Prompt 3
Write Swift code using SwiftEntryKit to display a centered popup with a blurred background and rounded corners.
Prompt 4
Help me hook into SwiftEntryKit's lifecycle events so I can track when a notification appears and disappears in my iOS app.
Open on GitHub → Explain another repo

← huri000 on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.