Latest 1.2.0
Homepage https://github.com/alexruperez/LaunchScreenSnapshot
License MIT
Platforms ios 8.0
Authors

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, [email protected]

License

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

Latest podspec

{
    "name": "LaunchScreenSnapshot",
    "version": "1.2.0",
    "summary": "Protects sensitive data in your app snapshot.",
    "homepage": "https://github.com/alexruperez/LaunchScreenSnapshot",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Alex Rupu00e9rez": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alexruperez/LaunchScreenSnapshot.git",
        "tag": "1.2.0"
    },
    "social_media_url": "https://twitter.com/alexruperez",
    "screenshots": "https://raw.githubusercontent.com/alexruperez/LaunchScreenSnapshot/master/LaunchScreenSnapshot.png",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LaunchScreenSnapshot/*.{h,swift}"
}

Pin It on Pinterest

Share This