Skip to content

Commit 076b163

Browse files
authored
Merge pull request #57 from Vkt0r/swift5-carthage
Update the Example project to Swift 5
2 parents a9aff52 + b918e4e commit 076b163

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

AccordionSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'AccordionSwift'
11-
s.version = '2.0.2'
11+
s.version = '2.0.3'
1212
s.summary = 'An Accordion Menu using an UITableView in Swift.'
1313

1414
# This description is used to generate tags and improve search results.

AccordionSwift.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
};
328328
A36D6D2B20EEC7FB00224B9B = {
329329
CreatedOnToolsVersion = 9.4.1;
330-
LastSwiftMigration = 1010;
330+
LastSwiftMigration = 1110;
331331
};
332332
A36D6D3E20EEC7FE00224B9B = {
333333
CreatedOnToolsVersion = 9.4.1;
@@ -703,7 +703,7 @@
703703
PRODUCT_BUNDLE_IDENTIFIER = com.private.Example;
704704
PRODUCT_NAME = "$(TARGET_NAME)";
705705
PROVISIONING_PROFILE_SPECIFIER = "";
706-
SWIFT_VERSION = 4.2;
706+
SWIFT_VERSION = 5.0;
707707
TARGETED_DEVICE_FAMILY = "1,2";
708708
};
709709
name = Debug;
@@ -723,7 +723,7 @@
723723
PRODUCT_BUNDLE_IDENTIFIER = com.private.Example;
724724
PRODUCT_NAME = "$(TARGET_NAME)";
725725
PROVISIONING_PROFILE_SPECIFIER = "";
726-
SWIFT_VERSION = 4.2;
726+
SWIFT_VERSION = 5.0;
727727
TARGETED_DEVICE_FAMILY = "1,2";
728728
};
729729
name = Release;

AccordionSwift.xcodeproj/xcshareddata/xcschemes/AccordionSwift.xcscheme

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "A36D6CFB20EC1F8600224B9B"
34+
BuildableName = "AccordionSwift.framework"
35+
BlueprintName = "AccordionSwift"
36+
ReferencedContainer = "container:AccordionSwift.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -39,17 +48,6 @@
3948
</BuildableReference>
4049
</TestableReference>
4150
</Testables>
42-
<MacroExpansion>
43-
<BuildableReference
44-
BuildableIdentifier = "primary"
45-
BlueprintIdentifier = "A36D6CFB20EC1F8600224B9B"
46-
BuildableName = "AccordionSwift.framework"
47-
BlueprintName = "AccordionSwift"
48-
ReferencedContainer = "container:AccordionSwift.xcodeproj">
49-
</BuildableReference>
50-
</MacroExpansion>
51-
<AdditionalOptions>
52-
</AdditionalOptions>
5351
</TestAction>
5452
<LaunchAction
5553
buildConfiguration = "Debug"
@@ -70,8 +68,6 @@
7068
ReferencedContainer = "container:AccordionSwift.xcodeproj">
7169
</BuildableReference>
7270
</MacroExpansion>
73-
<AdditionalOptions>
74-
</AdditionalOptions>
7571
</LaunchAction>
7672
<ProfileAction
7773
buildConfiguration = "Release"

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ Then, run the following command:
6464
$ pod install
6565
```
6666

67+
### Carthage
68+
69+
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate AccordionSwift into your Xcode project using Carthage, specify it in your `Cartfile`:
70+
71+
```ogdl
72+
github "Vkt0r/AccordionSwift" ~> 2.0.0
73+
```
74+
6775
## Usage ✨
6876
After importing the framework, the library can be used in a `UITableViewController` or a `UIViewController` and offers full customization of the cells and data source:
6977

@@ -137,8 +145,6 @@ For a more detailed guide please see the [Example](https://github.com/Vkt0r/Acco
137145

138146
## TODO
139147

140-
- [ ] Add Carthage support.
141-
- [ ] Add support to define the height of the cell in the configuration.
142148
- [ ] Add unit tests for the library.
143149
- [ ] Add CircleCI integration.
144150

0 commit comments

Comments
 (0)