Skip to content

Commit

Permalink
Merge branch 'msmollin-add-spm' of https://github.com/msmollin/SZText…
Browse files Browse the repository at this point in the history
…View into add-spm
  • Loading branch information
glaszig committed Apr 22, 2024
2 parents e04ad36 + 6a12d00 commit 5713c42
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 3 deletions.
21 changes: 21 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "SZTextView",
products: [
.library(
name: "SZTextView",
targets: ["SZTextView"]),
],
targets: [
.target(
name: "SZTextView",
path: "SZTextView",
exclude: ["Info.plist"],
sources: ["Sources"],
publicHeadersPath: "Sources")
]
)
2 changes: 1 addition & 1 deletion SZTextView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Pod::Spec.new do |s|
s.author = { 'glaszig' => '[email protected]' }
s.source = { :git => 'https://github.com/glaszig/SZTextView.git', :tag => s.version.to_s }
s.platform = :ios, '9.0'
s.source_files = 'Classes/SZTextView.{h,m}'
s.source_files = 'SZTextView/Sources/SZTextView.{h,m}'
s.requires_arc = true
end
5 changes: 3 additions & 2 deletions SZTextView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
5B65306F1AFB933B009D7775 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5B6530761AFB933B009D7775 /* SZTextViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SZTextViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
5B65307D1AFB933B009D7775 /* SZTextViewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SZTextViewTests.m; sourceTree = "<group>"; };
5B6530871AFB938A009D7775 /* SZTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SZTextView.h; path = Classes/SZTextView.h; sourceTree = SOURCE_ROOT; };
5B6530881AFB938A009D7775 /* SZTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SZTextView.m; path = Classes/SZTextView.m; sourceTree = SOURCE_ROOT; };
5B6530871AFB938A009D7775 /* SZTextView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SZTextView.h; path = SZTextView/Sources/SZTextView.h; sourceTree = SOURCE_ROOT; };
5B6530881AFB938A009D7775 /* SZTextView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SZTextView.m; path = SZTextView/Sources/SZTextView.m; sourceTree = SOURCE_ROOT; };
5B65308B1AFB9441009D7775 /* SZTextViewTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SZTextViewTests-Info.plist"; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand Down Expand Up @@ -176,6 +176,7 @@
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
Base,
);
Expand Down
9 changes: 9 additions & 0 deletions SZTextView/SZTextView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#import <Foundation/Foundation.h>

//! Project version number for GZIP.
FOUNDATION_EXPORT double SZTextViewVersionNumber;

//! Project version string for GZIP.
FOUNDATION_EXPORT const unsigned char SZTextViewVersionString[];

#import <SZTextView/SZTextView.h>
File renamed without changes.
File renamed without changes.

0 comments on commit 5713c42

Please sign in to comment.