Skip to content

Commit

Permalink
removed extra pods, setup example and podspecs.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJai committed Apr 28, 2020
1 parent 347dfa1 commit b8416d0
Show file tree
Hide file tree
Showing 152 changed files with 430 additions and 14,633 deletions.
207 changes: 14 additions & 193 deletions Example/LocalAuthenticator.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
LastUpgradeVersion = "1140"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -40,8 +40,16 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "LocalAuthenticator_Example.app"
BlueprintName = "LocalAuthenticator_Example"
ReferencedContainer = "container:LocalAuthenticator.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
Expand All @@ -54,23 +62,11 @@
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
BuildableName = "LocalAuthenticator_Example.app"
BlueprintName = "LocalAuthenticator_Example"
ReferencedContainer = "container:LocalAuthenticator.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
language = ""
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand All @@ -87,8 +83,6 @@
ReferencedContainer = "container:LocalAuthenticator.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
27 changes: 21 additions & 6 deletions Example/LocalAuthenticator/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="vXZ-lx-hvc">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
Expand All @@ -20,11 +18,28 @@
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="nOJ-pK-Lz7">
<rect key="frame" x="112.5" y="258.5" width="150" height="150"/>
<constraints>
<constraint firstAttribute="width" constant="150" id="3nD-xi-2SI"/>
<constraint firstAttribute="height" constant="150" id="iFW-Fv-WZY"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" red="0.058823529409999999" green="0.45882352939999999" blue="0.74117647060000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="nOJ-pK-Lz7" firstAttribute="centerY" secondItem="kh9-bI-dsS" secondAttribute="centerY" id="bSV-fQ-LCs"/>
<constraint firstItem="nOJ-pK-Lz7" firstAttribute="centerX" secondItem="kh9-bI-dsS" secondAttribute="centerX" id="tm8-sV-czO"/>
</constraints>
</view>
<connections>
<outlet property="authenticatorType" destination="nOJ-pK-Lz7" id="QjA-2G-x5c"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="140" y="133.5832083958021"/>
</scene>
</scenes>
</document>
6 changes: 6 additions & 0 deletions Example/LocalAuthenticator/Images.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "faceID.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "faceID@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "faceID@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "touchIdIcon.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "touchIdIcon@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "touchIdIcon@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion Example/LocalAuthenticator/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@

import UIKit

// Step1: Don't forget to import POD
import LocalAuthenticator

class ViewController: UIViewController {

@IBOutlet weak var authenticatorType: UIImageView!

override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
if LocalAuthenticator.localAuthenticationConfigured() {
let deviceType = !LocalAuthenticator.faceIDAvailable() ? "Face" : "Touch"
authenticatorType.image = UIImage(named: "\(deviceType.lowercased())IdIcon")
}
}

override func didReceiveMemoryWarning() {
Expand Down
6 changes: 0 additions & 6 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@ use_frameworks!
target 'LocalAuthenticator_Example' do
pod 'LocalAuthenticator', :path => '../'

target 'LocalAuthenticator_Tests' do
inherit! :search_paths

pod 'Quick', '~> 1.2.0'
pod 'Nimble', '~> 7.0'
end
end
15 changes: 2 additions & 13 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
PODS:
- LocalAuthenticator (0.1.0)
- Nimble (7.3.4)
- Quick (1.2.0)

DEPENDENCIES:
- LocalAuthenticator (from `../`)
- Nimble (~> 7.0)
- Quick (~> 1.2.0)

SPEC REPOS:
trunk:
- Nimble
- Quick

EXTERNAL SOURCES:
LocalAuthenticator:
:path: "../"

SPEC CHECKSUMS:
LocalAuthenticator: 8b50bbf1f01a23b7b570fde2c742038538894079
Nimble: 051e3d8912d40138fa5591c78594f95fb172af37
Quick: 58d203b1c5e27fff7229c4c1ae445ad7069a7a08
LocalAuthenticator: d6c739d280751c5e08d9f8ecbf971ab734fccfcc

PODFILE CHECKSUM: 9874857fb156b3149accc4cbedc797b66c6bdf31
PODFILE CHECKSUM: 3022c13114b304163729e03ac8e420327c0b50ec

COCOAPODS: 1.8.4
13 changes: 10 additions & 3 deletions Example/Pods/Local Podspecs/LocalAuthenticator.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 2 additions & 13 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b8416d0

Please sign in to comment.