Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Swift [SDK-3428] #139

Merged
merged 12 commits into from Jun 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -130,4 +130,4 @@ workflows:
matrix:
parameters:
platform: ["ios", "macos", "tvos"]
xcode: ["13.0.0", "12.5.1"]
xcode: ["13.0.0"]
23 changes: 23 additions & 0 deletions .swiftlint.yml
@@ -0,0 +1,23 @@
opt_in_rules: # some rules are only opt-in
- empty_count
# Find all the available rules by running:
# swiftlint rules
included: # paths to include during linting. `--path` is ignored if present.
- SimpleKeychain
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
# configurable rules can be customized from this configuration file
# rules that have both warning and error levels, can set just the warning level
# implicitly
line_length: 500
# they can set both implicitly with an array
type_body_length:
- 300 # warning
- 400 # error
type_name:
min_length: 3 # only warning
identifier_name:
min_length: # only min_length
warning: 3 # only error
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle, junit)
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@
![Coverage Status](https://img.shields.io/codecov/c/github/auth0/SimpleKeychain/master.svg?style=flat)
![License](https://img.shields.io/github/license/Auth0/SimpleKeychain.svg?style=flat)

Easily store your user's credentials in the Keychain. Supports sharing credentials with an **Access Group** and integrating **Touch ID / Face ID** with a reusable `LAContext` instance.
Easily store your user's credentials in the Keychain. Supports sharing credentials with an **Access Group** and integrating **Touch ID / Face ID** through a `LAContext` instance.

> ⚠️ This library is currently in **First Availability**. We do not recommend using this library in production yet. As we move towards General Availability, please be aware that releases may contain breaking changes.

Expand Down
10 changes: 4 additions & 6 deletions SimpleKeychain.podspec
@@ -1,10 +1,10 @@
Pod::Spec.new do |s|
s.name = "SimpleKeychain"
s.version = '0.12.5'
s.summary = "A wrapper to make it really easy to deal with iOS Keychain and store your user's credentials securely."
s.summary = "A simple Keychain wrapper for iOS, macOS, tvOS, and watchOS"
s.description = <<-DESC
A simple way to store items in iOS Keychain, without the hassle of dealing with iOS Keychain API directly.
It has support for the new AccessControl for Keychain items added in iOS 8.
Easily store your user's credentials in the Keychain.
Supports sharing credentials with an Access Group and integrating Touch ID / Face ID through a LAContext instance.
DESC
s.homepage = "https://github.com/auth0/SimpleKeychain"
s.license = 'MIT'
Expand All @@ -16,8 +16,6 @@ Pod::Spec.new do |s|
s.osx.deployment_target = '10.15'
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '6.2'
s.requires_arc = true

s.source_files = 'SimpleKeychain/*.{h,m}'
s.exclude_files = 'SimpleKeychain/include/*'
s.source_files = 'SimpleKeychain/*.swift'
end
227 changes: 174 additions & 53 deletions SimpleKeychain.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

334 changes: 0 additions & 334 deletions SimpleKeychain/A0SimpleKeychain.h

This file was deleted.