Skip to content

Commit 92384b9

Browse files
author
Karthikeya Udupa KM
authored
Merge pull request #48 from insanoid/release/v1.1.0
Release/v1.1.0
2 parents da923e1 + c7eb6ac commit 92384b9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
[![Build
66
Status](https://travis-ci.org/insanoid/SwiftyJSONAccelerator.svg?branch=master)](https://travis-ci.org/insanoid/SwiftyJSONAccelerator) [![codecov](https://codecov.io/gh/insanoid/SwiftyJSONAccelerator/branch/master/graph/badge.svg)](https://codecov.io/gh/insanoid/SwiftyJSONAccelerator)
77

8+
**Version v1.1.0 Released!**
9+
10+
- Now generates the correct option `struct` and `class` based on what was selected.
11+
812
**Version v1.0.0 Released!**
913

1014
- Now generates **Swift 3** and the software itself is upgraded to Swift 3.
@@ -13,8 +17,9 @@ Status](https://travis-ci.org/insanoid/SwiftyJSONAccelerator.svg?branch=master)]
1317
- Project upgraded with SwiftLint, Travis, CocoaPods etc.
1418

1519
## Download/Installing
20+
1621
- Download the repo, install pods and run the project!
17-
- [Download the .app(v1.0.0)](https://github.com/insanoid/SwiftyJSONAccelerator/releases/download/v1.0.0/SwiftyJSONAccelerator.zip)
22+
- [Download the .app(v1.1.0)](https://github.com/insanoid/SwiftyJSONAccelerator/releases/download/v1.1.0/SwiftyJSONAccelerator.zip).0/SwiftyJSONAccelerator.zip)
1823

1924
A swift model generator like the Objective-C [JSONAccelerator](http://nerdery.com/json-accelerator). Formats and generates models for the given JSON and also breaks them into files making it easy to manage and share between several models.
2025

SwiftyJSONAccelerator/Support/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0.0</string>
20+
<string>1.1.0</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>6</string>
24+
<string>7</string>
2525
<key>LSMinimumSystemVersion</key>
2626
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2727
<key>NSHumanReadableCopyright</key>

SwiftyJSONAccelerator/UI/SJEditorViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class SJEditorViewController: NSViewController, NSTextViewDelegate {
123123
if object != nil {
124124

125125
let nsCodingState = self.enableNSCodingSupportCheckbox.state == 1 && (modelTypeSelectorSegment.selectedSegment == 1)
126-
let constructType = self.modelTypeSelectorSegment.selectedSegment == 0 ? ConstructType.ClassType : ConstructType.StructType
126+
let constructType = self.modelTypeSelectorSegment.selectedSegment == 0 ? ConstructType.StructType : ConstructType.ClassType
127127
let libraryType = self.librarySelector.indexOfSelectedItem == 0 ? JSONMappingLibrary.SwiftyJSON : JSONMappingLibrary.ObjectMapper
128128
let configuration = ModelGenerationConfiguration.init(
129129
filePath: filePath!.appending("/"),
@@ -160,7 +160,7 @@ class SJEditorViewController: NSViewController, NSTextViewDelegate {
160160
let notification = NSUserNotification()
161161
notification.title = "SwiftyJSONAccelerator"
162162
if completionState && fileCount > 0 {
163-
notification.subtitle = "Completed - \(fileCount) Generated."
163+
notification.subtitle = "Completed - \(fileCount) Files Generated"
164164
} else {
165165
notification.subtitle = "No files were generated, cannot model arrays inside arrays."
166166
}

0 commit comments

Comments
 (0)