Skip to content

Swift extension to sanitize user data to be GDPR compliant

License

Notifications You must be signed in to change notification settings

ozetadev/gdpr-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDPR-Swift

Swift extension to sanitize user data to be GDPR compliant.

Examples

let userData = ["name":"david"]
let compliantData = GDPR.sanitizeUserData(userData)
let userData = ["David lives in Chicago"]
let compliantData = GDPR.sanitizeUserData(userData)

Feel free to drop in any pull requests for new features. ;)

Swift Package Manager

Import Package

You can import GDPR as a regular Swift Package Manager package. To do so, use a Package.swift like this:

// swift-tools-version:4.0

import PackageDescription

let package = Package(
    name: "FacebookServerGen5",
    dependencies: [
        .package(url: "https://github.com/ozetadev/gdpr-swift.git",
                 from: "1.0.0")
    ],
    targets: [
        .target(name: "FacebookServerGen5", dependencies: [ "GDPR" ])
    ]
)

About

Swift extension to sanitize user data to be GDPR compliant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages