Skip to content

Commit 13de3ba

Browse files
authored
Cleanup (#7)
* remove unused files * remove cocoapod version from gemfile * Change target names * Project renaming to match across the board * Remove mac catalyst but add iPad support * Bump version to 2.0 since there might be breaking changes * remove deprecated .swift-version
1 parent 7774710 commit 13de3ba

File tree

13 files changed

+34
-148
lines changed

13 files changed

+34
-148
lines changed

.bundle/config

Lines changed: 0 additions & 2 deletions
This file was deleted.

.swift-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

DownPicker.playground/Contents.swift

Lines changed: 0 additions & 5 deletions
This file was deleted.

DownPicker.playground/contents.xcplayground

Lines changed: 0 additions & 4 deletions
This file was deleted.

DownPicker.xcodeproj/xcshareddata/xcschemes/DownPicker-iOS.xcscheme

Lines changed: 0 additions & 99 deletions
This file was deleted.

DownPickerSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'DownPickerSwift'
3-
s.version = '1.1.2'
3+
s.version = '2.0.0'
44
s.license = { :type => "MIT", :file => "LICENSE" }
55
s.summary = 'DownPickerSwift is an extremely light-weight class library for creating DropDownList / ComboBox controls for iOS.'
66
s.homepage = 'https://github.com/HomebaseAI/DownPickerSwift'

DownPicker.xcodeproj/project.pbxproj renamed to DownPickerSwift.xcodeproj/project.pbxproj

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/* Begin PBXBuildFile section */
1010
3549BB501DA38A2000C63030 /* DownPicker.h in Headers */ = {isa = PBXBuildFile; fileRef = 3549BB181DA3890B00C63030 /* DownPicker.h */; settings = {ATTRIBUTES = (Public, ); }; };
11-
3549BB661DA38ADB00C63030 /* DownPicker.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3549BB211DA389CD00C63030 /* DownPicker.framework */; };
11+
3549BB661DA38ADB00C63030 /* DownPickerSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3549BB211DA389CD00C63030 /* DownPickerSwift.framework */; };
1212
359649031FB18CC000FC7ADC /* DownPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 359649021FB18CBF00FC7ADC /* DownPicker.swift */; };
1313
BD35B4F221DE6F45009F360C /* UIDownPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD35B4F121DE6F45009F360C /* UIDownPicker.swift */; };
1414
/* End PBXBuildFile section */
@@ -39,9 +39,9 @@
3939
/* Begin PBXFileReference section */
4040
3549BB171DA3890B00C63030 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4141
3549BB181DA3890B00C63030 /* DownPicker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DownPicker.h; sourceTree = "<group>"; };
42-
3549BB211DA389CD00C63030 /* DownPicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DownPicker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
42+
3549BB211DA389CD00C63030 /* DownPickerSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DownPickerSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4343
3549BB581DA38A8800C63030 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
44-
3549BB611DA38ADB00C63030 /* DownPickerTests-iOS.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DownPickerTests-iOS.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
44+
3549BB611DA38ADB00C63030 /* DownPickerSwiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DownPickerSwiftTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4545
359649021FB18CBF00FC7ADC /* DownPicker.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DownPicker.swift; sourceTree = "<group>"; };
4646
BD35B4F121DE6F45009F360C /* UIDownPicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UIDownPicker.swift; sourceTree = "<group>"; };
4747
/* End PBXFileReference section */
@@ -58,7 +58,7 @@
5858
isa = PBXFrameworksBuildPhase;
5959
buildActionMask = 2147483647;
6060
files = (
61-
3549BB661DA38ADB00C63030 /* DownPicker.framework in Frameworks */,
61+
3549BB661DA38ADB00C63030 /* DownPickerSwift.framework in Frameworks */,
6262
);
6363
runOnlyForDeploymentPostprocessing = 0;
6464
};
@@ -78,8 +78,8 @@
7878
3549BB061DA387DB00C63030 /* Products */ = {
7979
isa = PBXGroup;
8080
children = (
81-
3549BB211DA389CD00C63030 /* DownPicker.framework */,
82-
3549BB611DA38ADB00C63030 /* DownPickerTests-iOS.xctest */,
81+
3549BB211DA389CD00C63030 /* DownPickerSwift.framework */,
82+
3549BB611DA38ADB00C63030 /* DownPickerSwiftTests.xctest */,
8383
);
8484
name = Products;
8585
sourceTree = "<group>";
@@ -148,9 +148,9 @@
148148
/* End PBXHeadersBuildPhase section */
149149

150150
/* Begin PBXNativeTarget section */
151-
3549BB201DA389CD00C63030 /* DownPicker-iOS */ = {
151+
3549BB201DA389CD00C63030 /* DownPickerSwift */ = {
152152
isa = PBXNativeTarget;
153-
buildConfigurationList = 3549BB261DA389CD00C63030 /* Build configuration list for PBXNativeTarget "DownPicker-iOS" */;
153+
buildConfigurationList = 3549BB261DA389CD00C63030 /* Build configuration list for PBXNativeTarget "DownPickerSwift" */;
154154
buildPhases = (
155155
3549BB1C1DA389CD00C63030 /* Sources */,
156156
3549BB1D1DA389CD00C63030 /* Frameworks */,
@@ -161,14 +161,14 @@
161161
);
162162
dependencies = (
163163
);
164-
name = "DownPicker-iOS";
164+
name = DownPickerSwift;
165165
productName = "DownPicker-iOS";
166-
productReference = 3549BB211DA389CD00C63030 /* DownPicker.framework */;
166+
productReference = 3549BB211DA389CD00C63030 /* DownPickerSwift.framework */;
167167
productType = "com.apple.product-type.framework";
168168
};
169-
3549BB601DA38ADB00C63030 /* DownPickerTests-iOS */ = {
169+
3549BB601DA38ADB00C63030 /* DownPickerSwiftTests */ = {
170170
isa = PBXNativeTarget;
171-
buildConfigurationList = 3549BB691DA38ADB00C63030 /* Build configuration list for PBXNativeTarget "DownPickerTests-iOS" */;
171+
buildConfigurationList = 3549BB691DA38ADB00C63030 /* Build configuration list for PBXNativeTarget "DownPickerSwiftTests" */;
172172
buildPhases = (
173173
3549BB5D1DA38ADB00C63030 /* Sources */,
174174
3549BB5E1DA38ADB00C63030 /* Frameworks */,
@@ -180,9 +180,9 @@
180180
dependencies = (
181181
3549BB681DA38ADB00C63030 /* PBXTargetDependency */,
182182
);
183-
name = "DownPickerTests-iOS";
183+
name = DownPickerSwiftTests;
184184
productName = "DownPickerTests-iOS";
185-
productReference = 3549BB611DA38ADB00C63030 /* DownPickerTests-iOS.xctest */;
185+
productReference = 3549BB611DA38ADB00C63030 /* DownPickerSwiftTests.xctest */;
186186
productType = "com.apple.product-type.bundle.unit-test";
187187
};
188188
/* End PBXNativeTarget section */
@@ -207,7 +207,7 @@
207207
};
208208
};
209209
};
210-
buildConfigurationList = 3549BAFF1DA387DB00C63030 /* Build configuration list for PBXProject "DownPicker" */;
210+
buildConfigurationList = 3549BAFF1DA387DB00C63030 /* Build configuration list for PBXProject "DownPickerSwift" */;
211211
compatibilityVersion = "Xcode 3.2";
212212
developmentRegion = English;
213213
hasScannedForEncodings = 0;
@@ -220,8 +220,8 @@
220220
projectDirPath = "";
221221
projectRoot = "";
222222
targets = (
223-
3549BB201DA389CD00C63030 /* DownPicker-iOS */,
224-
3549BB601DA38ADB00C63030 /* DownPickerTests-iOS */,
223+
3549BB201DA389CD00C63030 /* DownPickerSwift */,
224+
3549BB601DA38ADB00C63030 /* DownPickerSwiftTests */,
225225
);
226226
};
227227
/* End PBXProject section */
@@ -265,7 +265,7 @@
265265
/* Begin PBXTargetDependency section */
266266
3549BB681DA38ADB00C63030 /* PBXTargetDependency */ = {
267267
isa = PBXTargetDependency;
268-
target = 3549BB201DA389CD00C63030 /* DownPicker-iOS */;
268+
target = 3549BB201DA389CD00C63030 /* DownPickerSwift */;
269269
targetProxy = 3549BB671DA38ADB00C63030 /* PBXContainerItemProxy */;
270270
};
271271
/* End PBXTargetDependency section */
@@ -405,12 +405,14 @@
405405
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
406406
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
407407
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
408+
MARKETING_VERSION = 2.0.0;
408409
PRODUCT_BUNDLE_IDENTIFIER = ai.homebase.DownPickerSwift;
409-
PRODUCT_NAME = DownPicker;
410+
PRODUCT_NAME = DownPickerSwift;
410411
SKIP_INSTALL = YES;
412+
SUPPORTS_MACCATALYST = NO;
411413
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
412414
SWIFT_VERSION = 5.0;
413-
TARGETED_DEVICE_FAMILY = 1;
415+
TARGETED_DEVICE_FAMILY = "1,2";
414416
};
415417
name = Debug;
416418
};
@@ -427,11 +429,13 @@
427429
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
428430
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
429431
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
432+
MARKETING_VERSION = 2.0.0;
430433
PRODUCT_BUNDLE_IDENTIFIER = ai.homebase.DownPickerSwift;
431-
PRODUCT_NAME = DownPicker;
434+
PRODUCT_NAME = DownPickerSwift;
432435
SKIP_INSTALL = YES;
436+
SUPPORTS_MACCATALYST = NO;
433437
SWIFT_VERSION = 5.0;
434-
TARGETED_DEVICE_FAMILY = 1;
438+
TARGETED_DEVICE_FAMILY = "1,2";
435439
};
436440
name = Release;
437441
};
@@ -473,7 +477,7 @@
473477
/* End XCBuildConfiguration section */
474478

475479
/* Begin XCConfigurationList section */
476-
3549BAFF1DA387DB00C63030 /* Build configuration list for PBXProject "DownPicker" */ = {
480+
3549BAFF1DA387DB00C63030 /* Build configuration list for PBXProject "DownPickerSwift" */ = {
477481
isa = XCConfigurationList;
478482
buildConfigurations = (
479483
3549BB0B1DA387DB00C63030 /* Debug */,
@@ -482,7 +486,7 @@
482486
defaultConfigurationIsVisible = 0;
483487
defaultConfigurationName = Release;
484488
};
485-
3549BB261DA389CD00C63030 /* Build configuration list for PBXNativeTarget "DownPicker-iOS" */ = {
489+
3549BB261DA389CD00C63030 /* Build configuration list for PBXNativeTarget "DownPickerSwift" */ = {
486490
isa = XCConfigurationList;
487491
buildConfigurations = (
488492
3549BB271DA389CD00C63030 /* Debug */,
@@ -491,7 +495,7 @@
491495
defaultConfigurationIsVisible = 0;
492496
defaultConfigurationName = Release;
493497
};
494-
3549BB691DA38ADB00C63030 /* Build configuration list for PBXNativeTarget "DownPickerTests-iOS" */ = {
498+
3549BB691DA38ADB00C63030 /* Build configuration list for PBXNativeTarget "DownPickerSwiftTests" */ = {
495499
isa = XCConfigurationList;
496500
buildConfigurations = (
497501
3549BB6A1DA38ADB00C63030 /* Debug */,

DownPicker.xcworkspace/contents.xcworkspacedata renamed to DownPickerSwift.xcworkspace/contents.xcworkspacedata

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

0 commit comments

Comments
 (0)