Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7fe668d

Browse files
committedMay 7, 2021
Releasing version 3.6.0.
1 parent 3d18e0c commit 7fe668d

File tree

8 files changed

+105
-75
lines changed

8 files changed

+105
-75
lines changed
 

‎CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
33

44
# Next
55

6+
## [3.6.0](https://github.com/MLSDev/LoadableViews/releases/tag/3.6.0)
7+
68
### Added
79

810
* Support for macOS: loading AppKit.NSView from xib.

‎CustomBundle/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.5.0</string>
18+
<string>3.6.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
<key>NSPrincipalClass</key>

‎Example-Mac/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0</string>
20+
<string>3.6.0</string>
2121
<key>CFBundleVersion</key>
2222
<string>1</string>
2323
<key>LSMinimumSystemVersion</key>

‎Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.5.0</string>
18+
<string>3.6.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

‎Gemfile.lock

Lines changed: 94 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.2)
5-
activesupport (4.2.11.3)
6-
i18n (~> 0.7)
4+
CFPropertyList (3.0.3)
5+
activesupport (5.2.6)
6+
concurrent-ruby (~> 1.0, >= 1.0.2)
7+
i18n (>= 0.7, < 2)
78
minitest (~> 5.1)
8-
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
1010
addressable (2.7.0)
1111
public_suffix (>= 2.0.2, < 5.0)
12-
algoliasearch (1.27.3)
12+
algoliasearch (1.27.5)
1313
httpclient (~> 2.8, >= 2.8.3)
1414
json (>= 1.5.1)
15+
artifactory (3.0.15)
1516
atomos (0.1.3)
16-
aws-eventstream (1.1.0)
17-
aws-partitions (1.353.0)
18-
aws-sdk-core (3.104.3)
17+
aws-eventstream (1.1.1)
18+
aws-partitions (1.452.0)
19+
aws-sdk-core (3.114.0)
1920
aws-eventstream (~> 1, >= 1.0.2)
2021
aws-partitions (~> 1, >= 1.239.0)
2122
aws-sigv4 (~> 1.1)
2223
jmespath (~> 1.0)
23-
aws-sdk-kms (1.36.0)
24-
aws-sdk-core (~> 3, >= 3.99.0)
24+
aws-sdk-kms (1.43.0)
25+
aws-sdk-core (~> 3, >= 3.112.0)
2526
aws-sigv4 (~> 1.1)
26-
aws-sdk-s3 (1.76.0)
27-
aws-sdk-core (~> 3, >= 3.104.1)
27+
aws-sdk-s3 (1.94.1)
28+
aws-sdk-core (~> 3, >= 3.112.0)
2829
aws-sdk-kms (~> 1)
2930
aws-sigv4 (~> 1.1)
30-
aws-sigv4 (1.2.1)
31+
aws-sigv4 (1.2.3)
3132
aws-eventstream (~> 1, >= 1.0.2)
32-
babosa (1.0.3)
33+
babosa (1.0.4)
3334
claide (1.0.3)
34-
cocoapods (1.9.3)
35-
activesupport (>= 4.0.2, < 5)
35+
cocoapods (1.10.1)
36+
addressable (~> 2.6)
3637
claide (>= 1.0.2, < 2.0)
37-
cocoapods-core (= 1.9.3)
38+
cocoapods-core (= 1.10.1)
3839
cocoapods-deintegrate (>= 1.0.3, < 2.0)
39-
cocoapods-downloader (>= 1.2.2, < 2.0)
40+
cocoapods-downloader (>= 1.4.0, < 2.0)
4041
cocoapods-plugins (>= 1.0.0, < 2.0)
4142
cocoapods-search (>= 1.0.0, < 2.0)
42-
cocoapods-stats (>= 1.0.0, < 2.0)
4343
cocoapods-trunk (>= 1.4.0, < 2.0)
4444
cocoapods-try (>= 1.1.0, < 2.0)
4545
colored2 (~> 3.1)
@@ -49,58 +49,66 @@ GEM
4949
molinillo (~> 0.6.6)
5050
nap (~> 1.0)
5151
ruby-macho (~> 1.4)
52-
xcodeproj (>= 1.14.0, < 2.0)
53-
cocoapods-core (1.9.3)
54-
activesupport (>= 4.0.2, < 6)
52+
xcodeproj (>= 1.19.0, < 2.0)
53+
cocoapods-core (1.10.1)
54+
activesupport (> 5.0, < 6)
55+
addressable (~> 2.6)
5556
algoliasearch (~> 1.0)
5657
concurrent-ruby (~> 1.1)
5758
fuzzy_match (~> 2.0.4)
5859
nap (~> 1.0)
5960
netrc (~> 0.11)
61+
public_suffix
6062
typhoeus (~> 1.0)
6163
cocoapods-deintegrate (1.0.4)
6264
cocoapods-downloader (1.4.0)
6365
cocoapods-plugins (1.0.0)
6466
nap
6567
cocoapods-search (1.0.0)
66-
cocoapods-stats (1.1.0)
6768
cocoapods-trunk (1.5.0)
6869
nap (>= 0.8, < 2.0)
6970
netrc (~> 0.11)
7071
cocoapods-try (1.2.0)
7172
colored (1.2)
7273
colored2 (3.1.2)
73-
commander-fastlane (4.4.6)
74-
highline (~> 1.7.2)
75-
concurrent-ruby (1.1.7)
74+
commander (4.6.0)
75+
highline (~> 2.0.0)
76+
concurrent-ruby (1.1.8)
7677
declarative (0.0.20)
77-
declarative-option (0.1.0)
78-
digest-crc (0.6.1)
79-
rake (~> 13.0)
78+
digest-crc (0.6.3)
79+
rake (>= 12.0.0, < 14.0.0)
8080
domain_name (0.5.20190701)
8181
unf (>= 0.0.5, < 1.0.0)
8282
dotenv (2.7.6)
83-
emoji_regex (3.0.0)
83+
emoji_regex (3.2.2)
8484
escape (0.0.4)
85-
ethon (0.12.0)
86-
ffi (>= 1.3.0)
87-
excon (0.76.0)
88-
faraday (1.0.1)
85+
ethon (0.14.0)
86+
ffi (>= 1.15.0)
87+
excon (0.81.0)
88+
faraday (1.4.1)
89+
faraday-excon (~> 1.1)
90+
faraday-net_http (~> 1.0)
91+
faraday-net_http_persistent (~> 1.1)
8992
multipart-post (>= 1.2, < 3)
90-
faraday-cookie_jar (0.0.6)
91-
faraday (>= 0.7.4)
93+
ruby2_keywords (>= 0.0.4)
94+
faraday-cookie_jar (0.0.7)
95+
faraday (>= 0.8.0)
9296
http-cookie (~> 1.0.0)
97+
faraday-excon (1.1.0)
98+
faraday-net_http (1.0.1)
99+
faraday-net_http_persistent (1.1.0)
93100
faraday_middleware (1.0.0)
94101
faraday (~> 1.0)
95-
fastimage (2.2.0)
96-
fastlane (2.155.3)
102+
fastimage (2.2.3)
103+
fastlane (2.182.0)
97104
CFPropertyList (>= 2.3, < 4.0.0)
98105
addressable (>= 2.3, < 3.0.0)
106+
artifactory (~> 3.0)
99107
aws-sdk-s3 (~> 1.0)
100108
babosa (>= 1.0.3, < 2.0.0)
101109
bundler (>= 1.12.0, < 3.0.0)
102110
colored
103-
commander-fastlane (>= 4.4.6, < 5.0.0)
111+
commander (~> 4.6)
104112
dotenv (>= 2.1.1, < 3.0.0)
105113
emoji_regex (>= 0.1, < 4.0)
106114
excon (>= 0.71.0, < 1.0.0)
@@ -111,16 +119,16 @@ GEM
111119
gh_inspector (>= 1.1.2, < 2.0.0)
112120
google-api-client (>= 0.37.0, < 0.39.0)
113121
google-cloud-storage (>= 1.15.0, < 2.0.0)
114-
highline (>= 1.7.2, < 2.0.0)
122+
highline (~> 2.0)
115123
json (< 3.0.0)
116124
jwt (>= 2.1.0, < 3)
117125
mini_magick (>= 4.9.4, < 5.0.0)
118126
multipart-post (~> 2.0.0)
127+
naturally (~> 2.2)
119128
plist (>= 3.1.0, < 4.0.0)
120129
rubyzip (>= 2.0.0, < 3.0.0)
121130
security (= 0.1.3)
122131
simctl (~> 1.6.3)
123-
slack-notifier (>= 2.0.0, < 3.0.0)
124132
terminal-notifier (>= 2.0.0, < 3.0.0)
125133
terminal-table (>= 1.4.5, < 2.0.0)
126134
tty-screen (>= 0.6.3, < 1.0.0)
@@ -129,7 +137,7 @@ GEM
129137
xcodeproj (>= 1.13.0, < 2.0.0)
130138
xcpretty (~> 0.3.0)
131139
xcpretty-travis-formatter (>= 0.0.3)
132-
ffi (1.13.1)
140+
ffi (1.15.0)
133141
fourflusher (2.3.1)
134142
fuzzy_match (2.0.4)
135143
gh_inspector (1.1.3)
@@ -141,104 +149,122 @@ GEM
141149
representable (~> 3.0)
142150
retriable (>= 2.0, < 4.0)
143151
signet (~> 0.12)
144-
google-cloud-core (1.5.0)
152+
google-apis-core (0.3.0)
153+
addressable (~> 2.5, >= 2.5.1)
154+
googleauth (~> 0.14)
155+
httpclient (>= 2.8.1, < 3.0)
156+
mini_mime (~> 1.0)
157+
representable (~> 3.0)
158+
retriable (>= 2.0, < 4.0)
159+
rexml
160+
signet (~> 0.14)
161+
webrick
162+
google-apis-iamcredentials_v1 (0.3.0)
163+
google-apis-core (~> 0.1)
164+
google-apis-storage_v1 (0.3.0)
165+
google-apis-core (~> 0.1)
166+
google-cloud-core (1.6.0)
145167
google-cloud-env (~> 1.0)
146168
google-cloud-errors (~> 1.0)
147-
google-cloud-env (1.3.3)
169+
google-cloud-env (1.5.0)
148170
faraday (>= 0.17.3, < 2.0)
149-
google-cloud-errors (1.0.1)
150-
google-cloud-storage (1.27.0)
171+
google-cloud-errors (1.1.0)
172+
google-cloud-storage (1.31.0)
151173
addressable (~> 2.5)
152174
digest-crc (~> 0.4)
153-
google-api-client (~> 0.33)
175+
google-apis-iamcredentials_v1 (~> 0.1)
176+
google-apis-storage_v1 (~> 0.1)
154177
google-cloud-core (~> 1.2)
155178
googleauth (~> 0.9)
156179
mini_mime (~> 1.0)
157-
googleauth (0.13.1)
180+
googleauth (0.16.2)
158181
faraday (>= 0.17.3, < 2.0)
159182
jwt (>= 1.4, < 3.0)
160183
memoist (~> 0.16)
161184
multi_json (~> 1.11)
162185
os (>= 0.9, < 2.0)
163186
signet (~> 0.14)
164-
highline (1.7.10)
187+
highline (2.0.3)
165188
http-cookie (1.0.3)
166189
domain_name (~> 0.5)
167190
httpclient (2.8.3)
168-
i18n (0.9.5)
191+
i18n (1.8.10)
169192
concurrent-ruby (~> 1.0)
170193
jmespath (1.4.0)
171-
json (2.3.1)
172-
jwt (2.2.1)
194+
json (2.5.1)
195+
jwt (2.2.3)
173196
memoist (0.16.2)
174197
mime-types (3.3.1)
175198
mime-types-data (~> 3.2015)
176-
mime-types-data (3.2020.0512)
177-
mini_magick (4.10.1)
178-
mini_mime (1.0.2)
179-
minitest (5.14.1)
199+
mime-types-data (3.2021.0225)
200+
mini_magick (4.11.0)
201+
mini_mime (1.1.0)
202+
minitest (5.14.4)
180203
molinillo (0.6.6)
181204
multi_json (1.15.0)
182205
multipart-post (2.0.0)
183206
nanaimo (0.3.0)
184207
nap (1.1.0)
185-
naturally (2.2.0)
208+
naturally (2.2.1)
186209
netrc (0.11.0)
187-
octokit (4.18.0)
210+
octokit (4.21.0)
188211
faraday (>= 0.9)
189212
sawyer (~> 0.8.0, >= 0.5.3)
190213
os (1.1.1)
191-
plist (3.5.0)
192-
public_suffix (4.0.5)
193-
rake (13.0.1)
194-
representable (3.0.4)
214+
plist (3.6.0)
215+
public_suffix (4.0.6)
216+
rake (13.0.3)
217+
representable (3.1.1)
195218
declarative (< 0.1.0)
196-
declarative-option (< 0.2.0)
219+
trailblazer-option (>= 0.1.1, < 0.2.0)
197220
uber (< 0.2.0)
198221
retriable (3.1.2)
222+
rexml (3.2.5)
199223
rouge (2.0.7)
200224
ruby-macho (1.4.0)
225+
ruby2_keywords (0.0.4)
201226
rubyzip (2.3.0)
202227
sawyer (0.8.2)
203228
addressable (>= 2.3.5)
204229
faraday (> 0.8, < 2.0)
205230
security (0.1.3)
206-
signet (0.14.0)
231+
signet (0.15.0)
207232
addressable (~> 2.3)
208233
faraday (>= 0.17.3, < 2.0)
209234
jwt (>= 1.5, < 3.0)
210235
multi_json (~> 1.10)
211236
simctl (1.6.8)
212237
CFPropertyList
213238
naturally
214-
slack-notifier (2.3.2)
215239
terminal-notifier (2.0.0)
216240
terminal-table (1.8.0)
217241
unicode-display_width (~> 1.1, >= 1.1.1)
218242
thread_safe (0.3.6)
243+
trailblazer-option (0.1.1)
219244
tty-cursor (0.7.1)
220245
tty-screen (0.8.1)
221246
tty-spinner (0.9.3)
222247
tty-cursor (~> 0.7)
223248
typhoeus (1.4.0)
224249
ethon (>= 0.9.0)
225-
tzinfo (1.2.7)
250+
tzinfo (1.2.9)
226251
thread_safe (~> 0.1)
227252
uber (0.1.0)
228253
unf (0.1.4)
229254
unf_ext
230255
unf_ext (0.0.7.7)
231256
unicode-display_width (1.7.0)
257+
webrick (1.7.0)
232258
word_wrap (1.0.0)
233-
xcodeproj (1.17.1)
259+
xcodeproj (1.19.0)
234260
CFPropertyList (>= 2.3.3, < 4.0)
235261
atomos (~> 0.1.3)
236262
claide (>= 1.0.2, < 2.0)
237263
colored2 (~> 3.1)
238264
nanaimo (~> 0.3.0)
239265
xcpretty (0.3.0)
240266
rouge (~> 2.0.7)
241-
xcpretty-travis-formatter (1.0.0)
267+
xcpretty-travis-formatter (1.0.1)
242268
xcpretty (~> 0.2, >= 0.0.7)
243269

244270
PLATFORMS

‎LoadableViews.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 = "LoadableViews"
3-
s.version = "3.5.0"
3+
s.version = "3.6.0"
44
s.summary = "Easiest way to load view classes into another XIB or storyboard."
55
s.homepage = "https://github.com/MLSDev/LoadableViews"
66
s.screenshots = "https://github.com/MLSDev/LoadableViews/raw/master/wtf_cat_designable.png"

‎README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ IBInspectables automatically render themselves if your view is IBDesignable. Usu
3939
- [x] UICollectionViewCell - `LoadableCollectionViewCell`
4040
- [x] UICollectionReusableView - `LoadableCollectionReusableView`
4141
- [x] UITextField - `LoadableTextField`
42+
- [x] NSView - `LoadableView` using `AppKit`
4243

4344
To use loading from xibs, for example for UICollectionViewCells, drop UIView instead of UICollectionViewCell in InterfaceBuilder, and follow basic setup. Then, on your storyboard, set a class of your cell, and it will be automatically updated.
4445

@@ -66,7 +67,7 @@ Change view container
6667

6768
## Making your custom views loadable
6869

69-
* Adopt `NibLoadableProtocol` on your custom `UIView` subclass.
70+
* Adopt `NibLoadableProtocol` on your custom `UIView` or `NSView` subclass.
7071
* Override `nibName` and `nibContainerView` properties, if necessary.
7172
* Call `setupNib` method in both `init(frame:)` and `init(coder:)` methods.
7273

@@ -80,7 +81,8 @@ Change view container
8081

8182
* iOS 8+
8283
* tvOS 9.0+
83-
* Swift 4.0 / 3.2
84+
* macOS 10.12+
85+
* Swift 5 / 4.0 / 3.2
8486

8587
## Installation
8688

There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.