Skip to content

Commit f1cdf34

Browse files
Merge pull request #7 from AzimoLabs/smp_support
Added SPM support
2 parents bd2a0d2 + cc74d8a commit f1cdf34

6 files changed

Lines changed: 66 additions & 0 deletions

File tree

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// swift-tools-version:5.3
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "SMFloatingLabelTextField",
8+
products: [
9+
// Products define the executables and libraries a package produces, and make them visible to other packages.
10+
.library(
11+
name: "SMFloatingLabelTextField",
12+
targets: ["SMFloatingLabelTextField"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
21+
.target(
22+
name: "SMFloatingLabelTextField",
23+
dependencies: [],
24+
path: "SMFloatingLabelTextField/Classes"),
25+
// .testTarget(
26+
// name: "SMFloatingLabelTextFieldTests",
27+
// dependencies: ["SMFloatingLabelTextField"],
28+
// path: "SMFloatingLabelTextField"),
29+
]
30+
)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
/.build
3+
/Packages
4+
/*.xcodeproj
5+
xcuserdata/
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// Header.h
3+
//
4+
//
5+
// Created by Mateusz Kuznik on 06/04/2021.
6+
//
7+
8+
#ifndef FloatingLabelTextField_h
9+
#define FloatingLabelTextField_h
10+
11+
#import "../SMFloatingLabelTextField.h"
12+
13+
#endif /* FloatingLabelTextField_h */

SMFloatingLabelTextField/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SMFloatingLabelTextField
2+
3+
A description of this package.

0 commit comments

Comments
 (0)