Skip to content

Commit

Permalink
Fix for iOS9
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderMJLee committed Nov 4, 2019
1 parent 178e215 commit 12e7191
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

---

## new
## [1.1.1](https://github.com/kakaopensource/KakaJSON/releases/tag/1.1.1) (2019-11-04)
- Closed issues
- [iOS 9 Crash](https://github.com/kakaopensource/KakaJSON/issues/31)
- Merged pull requests
- [use isUppercase to check if the character is uppercase](https://github.com/kakaopensource/KakaJSON/pull/20)
- [A key should be able to contain dot](https://github.com/kakaopensource/KakaJSON/pull/21)
Expand Down
2 changes: 1 addition & 1 deletion KakaJSON.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "KakaJSON"
s.version = "1.1.0"
s.version = "1.1.1"
s.summary = "Fast conversion between JSON and model in Swift"
s.homepage = "https://github.com/kakaopensource/KakaJSON"
s.license = { :type => "MIT" }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

### CocoaPods
```ruby
pod 'KakaJSON', '~> 1.1.0'
pod 'KakaJSON', '~> 1.1.1'
```

### Carthage
```ruby
github "kakaopensource/KakaJSON" ~> 1.1.0
github "kakaopensource/KakaJSON" ~> 1.1.1
```

### Swift Package Manager
Expand Down
4 changes: 3 additions & 1 deletion Sources/KakaJSON/Metadata/Metadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public struct Metadata {

// name
let name = String(describing: type)
if name == "Swift._SwiftObject" || name == "NSObject" { return nil }
if name == "Swift._SwiftObject"
|| name == "NSObject"
|| name == "_TtCs12_SwiftObject" { return nil }

typeLock.lock()
defer { typeLock.unlock() }
Expand Down

0 comments on commit 12e7191

Please sign in to comment.