diff --git a/MaterialTextField.xcodeproj/project.pbxproj b/MaterialTextField.xcodeproj/project.pbxproj index 310e3f7..f39a81f 100644 --- a/MaterialTextField.xcodeproj/project.pbxproj +++ b/MaterialTextField.xcodeproj/project.pbxproj @@ -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 = ""; + }; 82125D251BEEF6010017F72C /* Supporting Files */ = { isa = PBXGroup; children = ( @@ -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; @@ -211,6 +219,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = CE58F7AF1BEBE64C0082924A; diff --git a/MaterialTextField/MFTextField.h b/MaterialTextField/Public/MFTextField.h similarity index 100% rename from MaterialTextField/MFTextField.h rename to MaterialTextField/Public/MFTextField.h diff --git a/MaterialTextField/UIColor+MaterialTextField.h b/MaterialTextField/Public/UIColor+MaterialTextField.h similarity index 100% rename from MaterialTextField/UIColor+MaterialTextField.h rename to MaterialTextField/Public/UIColor+MaterialTextField.h diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..23e2497 --- /dev/null +++ b/Package.swift @@ -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")])