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

Support for Swift Package Manager #31

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions MaterialTextField.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
485C089923573E370023A279 /* Public */ = {
isa = PBXGroup;
children = (
CE58F7D31BEBE77E0082924A /* MFTextField.h */,
CE58F7D51BEBE77E0082924A /* UIColor+MaterialTextField.h */,
);
path = Public;
sourceTree = "<group>";
};
82125D251BEEF6010017F72C /* Supporting Files */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -110,16 +119,15 @@
isa = PBXGroup;
children = (
CE58F7BC1BEBE64C0082924A /* MaterialTextField.h */,
CE58F7D31BEBE77E0082924A /* MFTextField.h */,
CE58F7D41BEBE77E0082924A /* MFTextField.m */,
CE58F7D51BEBE77E0082924A /* UIColor+MaterialTextField.h */,
CE58F7D61BEBE77E0082924A /* UIColor+MaterialTextField.m */,
485C089923573E370023A279 /* Public */,
82125D271BEF36E20017F72C /* UIFont+MaterialTextField.h */,
82125D281BEF36E20017F72C /* UIFont+MaterialTextField.m */,
CE58F7D71BEBE77E0082924A /* UIImage+MFTint.h */,
CE58F7D81BEBE77E0082924A /* UIImage+MFTint.m */,
CE58F7D91BEBE77E0082924A /* UITextField+MFClearButton.h */,
CE58F7DA1BEBE77E0082924A /* UITextField+MFClearButton.m */,
CE58F7D41BEBE77E0082924A /* MFTextField.m */,
CE58F7D61BEBE77E0082924A /* UIColor+MaterialTextField.m */,
82125D251BEEF6010017F72C /* Supporting Files */,
);
path = MaterialTextField;
Expand Down Expand Up @@ -211,6 +219,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = CE58F7AF1BEBE64C0082924A;
Expand Down
File renamed without changes.
37 changes: 37 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// swift-tools-version:5.0
//
// Package.swift
//
// Copyright © 2019 KROMTECH ALLIANCE CORP. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//

import PackageDescription

let package = Package(name: "MaterialTextField",
platforms: [.iOS(.v10)],
products: [.library(name: "MaterialTextField",
type: .dynamic,
targets: ["MaterialTextField"])],
targets: [.target(name: "MaterialTextField",
path: "MaterialTextField",
exclude: [],
sources: nil,
publicHeadersPath: "Public")])