Skip to content

Commit d756a77

Browse files
committed
1.0 Release
1 parent 2bb1ef2 commit d756a77

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

Framework/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>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.9.14</string>
18+
<string>1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,17 @@ Installation
106106
### CocoaPods
107107

108108
1. Update cocoapods to the latest version.
109-
1. Add `pod "YYWebImage"` to your Podfile.
110-
2. Run `pod install` or `pod update`.
111-
3. Import \<YYWebImage/YYWebImage.h\>
112-
109+
2. Add `pod 'YYWebImage'` to your Podfile.
110+
3. Run `pod install` or `pod update`.
111+
4. Import \<YYWebImage/YYWebImage.h\>.
112+
5. Notice: it doesn't include WebP subspec by default, if you want to support WebP format, you may add `pod 'YYImage/WebP'` to your Podfile.
113113

114114
### Carthage
115115

116116
1. Add `github "ibireme/YYWebImage"` to your Cartfile.
117117
2. Run `carthage update --platform ios` and add the framework to your project.
118-
3. Import \<YYWebImage/YYWebImage.h\>
119-
4. Notice: carthage framework doesn't include webp component, if you want to support webp, use cocoapods or install manually.
118+
3. Import \<YYWebImage/YYWebImage.h\>.
119+
4. Notice: carthage framework doesn't include webp component, if you want to support WebP format, use CocoaPods or install manually.
120120

121121
### Manually
122122

@@ -132,8 +132,8 @@ Installation
132132
* MobileCoreServices
133133
* sqlite3
134134
* libz
135-
4. Add `Vendor/WebP.framework`(static library) to your Xcode project if you want to support WebP.
136-
5. Import `YYWebImage.h`.
135+
4. Import `YYWebImage.h`.
136+
5. Notice: if you want to support WebP format, you may add `Vendor/WebP.framework`(static library) to your Xcode project.
137137

138138

139139
Documentation
@@ -144,7 +144,7 @@ You can also install documentation locally using [appledoc](https://github.com/t
144144

145145
Requirements
146146
==============
147-
This library requires a deployment target of iOS 6.0 or greater.
147+
This library requires `iOS 6.0+` and `Xcode 7.0+`.
148148

149149

150150
License
@@ -256,17 +256,17 @@ YYWebImage 是一个异步图片加载框架 ([YYKit](https://github.com/ibireme
256256
### CocoaPods
257257

258258
1. 将 cocoapods 更新至最新版本.
259-
1. 在 Podfile 中添加 `pod "YYWebImage"`
260-
2. 执行 `pod install``pod update`
261-
3. 导入 \<YYWebImage/YYWebImage.h\>
262-
259+
2. 在 Podfile 中添加 `pod 'YYWebImage'`
260+
3. 执行 `pod install``pod update`
261+
4. 导入 \<YYWebImage/YYWebImage.h\>
262+
5. 注意:pod 配置并没有包含 WebP 组件, 如果你需要支持 WebP,可以在 Podfile 中添加 `pod 'YYImage/WebP'`
263263

264264
### Carthage
265265

266266
1. 在 Cartfile 中添加 `github "ibireme/YYWebImage"`
267267
2. 执行 `carthage update --platform ios` 并将生成的 framework 添加到你的工程。
268268
3. 导入 \<YYWebImage/YYWebImage.h\>
269-
4. 注意: carthage framework 并没有包含 webp 组件。如果你需要支持 webp,可以用 cocoapods 安装,或者手动安装。
269+
4. 注意: carthage framework 并没有包含 webp 组件。如果你需要支持 WebP,可以用 CocoaPods 安装,或者手动安装。
270270

271271
### 手动安装
272272

@@ -282,8 +282,8 @@ YYWebImage 是一个异步图片加载框架 ([YYKit](https://github.com/ibireme
282282
* MobileCoreServices
283283
* sqlite3
284284
* libz
285-
4. 如果你需要支持 WebP,可以将 `Vendor/WebP.framework`(静态库) 加入你的工程
286-
5. 导入 `YYWebImage.h`
285+
4. 导入 `YYWebImage.h`
286+
5. 注意:如果你需要支持 WebP,可以将 `Vendor/WebP.framework`(静态库) 加入你的工程
287287

288288

289289
文档
@@ -293,7 +293,7 @@ YYWebImage 是一个异步图片加载框架 ([YYKit](https://github.com/ibireme
293293

294294
系统要求
295295
==============
296-
该项目最低支持 iOS 6.0。
296+
该项目最低支持 `iOS 6.0``Xcode 7.0`
297297

298298

299299
许可证

YYWebImage.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = 'YYWebImage'
33
s.summary = 'Asynchronous image loading framework.'
4-
s.version = '0.9.14'
4+
s.version = '1.0'
55
s.license = { :type => 'MIT', :file => 'LICENSE' }
66
s.authors = { 'ibireme' => '[email protected]' }
77
s.social_media_url = 'http://blog.ibireme.com'

YYWebImage/YYWebImageManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,12 @@ typedef void (^YYWebImageCompletionBlock)(UIImage * _Nullable image,
232232
/**
233233
The username used by NSURLCredential, default is nil.
234234
*/
235-
@property (nullable, nonatomic) NSString *username;
235+
@property (nullable, nonatomic, copy) NSString *username;
236236

237237
/**
238238
The password used by NSURLCredential, default is nil.
239239
*/
240-
@property (nullable, nonatomic) NSString *password;
240+
@property (nullable, nonatomic, copy) NSString *password;
241241

242242
/**
243243
The image HTTP request header. Default is "Accept:image/webp,image/\*;q=0.8".

0 commit comments

Comments
 (0)