Skip to content
Protects sensitive data in your app snapshot.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example Swift 4.0 update. Sep 4, 2017
ExampleUITests Initial Commit May 19, 2017
LaunchScreenSnapshot.xcodeproj Swift 4.2 update. Nov 15, 2018
LaunchScreenSnapshot.xcworkspace
LaunchScreenSnapshot Swift 4.2 update. Nov 15, 2018
LaunchScreenSnapshotTests
.gitignore Initial Commit May 19, 2017
.swift-version
.travis.yml
CHANGELOG.md Release 1.2.0 Swift 4.2 compatible. Thanks [mofneko](https://github.c… Nov 15, 2018
LICENSE
LaunchScreenSnapshot.gif Initial Commit May 19, 2017
LaunchScreenSnapshot.png Initial Commit May 19, 2017
LaunchScreenSnapshot.podspec Release 1.2.0 Swift 4.2 compatible. Thanks [mofneko](https://github.c… Nov 15, 2018
Package.swift
README.md Release 1.0.2 with QA1838 Note Fix. May 25, 2017
_config.yml Initial Commit May 19, 2017

README.md

LaunchScreenSnapshot

Twitter Version License Platform Carthage compatible Swift Package Manager Compatible Build Status Code Coverage codebeat badge

LaunchScreenSnapshot protects sensitive data in your app snapshot.

LaunchScreenSnapshot

Installation

LaunchScreenSnapshot is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'LaunchScreenSnapshot'

Or you can install it with Carthage:

github "alexruperez/LaunchScreenSnapshot"

Or install it with Swift Package Manager:

dependencies: [
    .Package(url: "https://github.com/alexruperez/LaunchScreenSnapshot.git")
]

Usage

Protect your app snapshot:

LaunchScreenSnapshot.protect()

Unprotect your app snapshot:

LaunchScreenSnapshot.unprotect()

Advanced usage

Shared instance:

let launchScreenSnapshot = LaunchScreenSnapshot.shared

Custom built:

let launchScreenSnapshot = LaunchScreenSnapshot(application: UIApplication, notificationCenter: NotificationCenter, bundle: Bundle)

Provided parameters:

let restoreAnimationOptions = LaunchScreenSnapshot.Animation(duration: TimeInterval, delay: TimeInterval, dampingRatio: CGFloat, velocity: CGFloat, options: UIViewAnimationOptions)
launchScreenSnapshot.protect(with: UIView?, trigger: LaunchScreenSnapshot.Trigger, animation: restoreAnimationOptions, force: Bool)

Etc.

  • Contributions are very welcome.
  • Attribution is appreciated (let's spread the word!), but not mandatory.

Authors

alexruperez, contact@alexruperez.com

License

LaunchScreenSnapshot is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.