Skip to content

Commit 6ea9128

Browse files
committed
Updated for Swift 4.1.
1 parent 68ae4e3 commit 6ea9128

File tree

7 files changed

+30
-4
lines changed

7 files changed

+30
-4
lines changed

Example/ObjectDecoder.xcodeproj/project.pbxproj

+3
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227
TargetAttributes = {
228228
607FACCF1AFB9204008FA782 = {
229229
CreatedOnToolsVersion = 6.3.1;
230+
DevelopmentTeam = 5ASXU7W52D;
230231
LastSwiftMigration = 0900;
231232
};
232233
607FACE41AFB9204008FA782 = {
@@ -532,6 +533,7 @@
532533
baseConfigurationReference = F36E9B8DDCBB8F9ECE01DD64 /* Pods-ObjectDecoder_Example.debug.xcconfig */;
533534
buildSettings = {
534535
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
536+
DEVELOPMENT_TEAM = 5ASXU7W52D;
535537
INFOPLIST_FILE = ObjectDecoder/Info.plist;
536538
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
537539
MODULE_NAME = ExampleApp;
@@ -547,6 +549,7 @@
547549
baseConfigurationReference = 5D026FB10EEAE8AB0800FEBB /* Pods-ObjectDecoder_Example.release.xcconfig */;
548550
buildSettings = {
549551
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
552+
DEVELOPMENT_TEAM = 5ASXU7W52D;
550553
INFOPLIST_FILE = ObjectDecoder/Info.plist;
551554
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
552555
MODULE_NAME = ExampleApp;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata

+7
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

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ObjectDecoder.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'ObjectDecoder'
11-
s.version = '0.1.0'
11+
s.version = '0.1.1'
1212
s.summary = 'A Swift Class that decodes basic structures such as Dictionaries and Arrays.'
1313

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

ObjectDecoder/Classes/ObjectDecoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fileprivate struct _ObjectKeyedDecodingContainer<K : CodingKey> : KeyedDecodingC
175175
// MARK: - KeyedDecodingContainerProtocol
176176

177177
public var allKeys: [Key] {
178-
return self.container.keys.flatMap { Key(stringValue: $0) }
178+
return self.container.keys.compactMap { Key(stringValue: $0) }
179179
}
180180

181181
public func contains(_ key: Key) -> Bool {

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To run the example project, clone the repo, and run `pod install` from the Examp
1414

1515
## Requirements
1616

17-
ObjectDecoder is built with Swift 4 and targets iOS 8 and later.
17+
ObjectDecoder is built with Swift 4.1 and targets iOS 8 and later.
1818

1919
## Installation
2020

@@ -27,7 +27,7 @@ pod 'ObjectDecoder'
2727

2828
## Author
2929

30-
30+
Lucas Best, [email protected]
3131

3232
## License
3333

0 commit comments

Comments
 (0)