Skip to content

Commit d4e20a2

Browse files
author
yuzheng.tz
committed
更新readme
1 parent 6f7390b commit d4e20a2

3 files changed

Lines changed: 24 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Enhance the TZImagePickerController library, supports to preview photos with UII
88
#### CocoaPods
99
> pod 'TZImagePreviewController'
1010
11-
#### Carthage
12-
> github "banchichen/TZImagePreviewController"
11+
<!--#### Carthage-->
12+
<!--> github "banchichen/TZImagePreviewController"-->
1313

1414
#### 手动安装
1515
> 将TZImagePickerController文件夹拽入项目中,导入头文件:#import "TZImagePreviewController.h"
@@ -33,9 +33,9 @@ TZImagePreviewController *previewVc = [[TZImagePreviewController alloc] initWith
3333
```
3434
3535
## 三. Requirements 要求
36-
iOS 8 or later. Requires ARC
37-
iOS8及以上系统可使用. ARC环境.
36+
iOS 8 or later. Requires ARC
37+
iOS8及以上系统可使用. ARC环境.
3838
3939
## 四. More 更多
40-
There is Demo inside, Please refer to Demo for usage.
41-
内有Demo,请参考Demo进行使用。
40+
There is Demo inside, Please refer to Demo for usage.
41+
内有Demo,请参考Demo进行使用。

TZImagePreviewController.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Pod::Spec.new do |s|
77
s.author = { "banchichen" => "tanzhenios@foxmail.com" }
88
s.platform = :ios
99
s.ios.deployment_target = "8.0"
10-
s.source = { :git => "https://github.com/banchichen/TZImagePreviewController", :tag => "0.1.0" }
10+
s.source = { :git => "https://github.com/banchichen/TZImagePreviewController.git", :tag => "0.1.0" }
1111
s.requires_arc = true
1212
s.source_files = "TZImagePreviewController/TZImagePreviewController/*.{h,m}"
1313
s.frameworks = "Photos"
14+
s.dependency 'TZImagePickerController', '>=3.0.1'
1415
end

TZImagePreviewController.xcodeproj/project.pbxproj

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/* Begin PBXBuildFile section */
1010
6C94B21B132413E6D0951A54 /* libPods-TZImagePreviewController.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1418F5154E510D4AF8F71F75 /* libPods-TZImagePreviewController.a */; };
11+
9024661C2134394100C45621 /* TZImagePreviewController.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 9024661A2134394100C45621 /* TZImagePreviewController.podspec */; };
12+
9024661D2134394100C45621 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 9024661B2134394100C45621 /* README.md */; };
1113
90F383A8212EBB2200D92DD1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 90F383A7212EBB2200D92DD1 /* AppDelegate.m */; };
1214
90F383AB212EBB2200D92DD1 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 90F383AA212EBB2200D92DD1 /* ViewController.m */; };
1315
90F383B0212EBB2300D92DD1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 90F383AF212EBB2300D92DD1 /* Assets.xcassets */; };
@@ -21,6 +23,8 @@
2123
/* Begin PBXFileReference section */
2224
1418F5154E510D4AF8F71F75 /* libPods-TZImagePreviewController.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-TZImagePreviewController.a"; sourceTree = BUILT_PRODUCTS_DIR; };
2325
4FD7270A23BD359688957D14 /* Pods-TZImagePreviewController.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-TZImagePreviewController.release.xcconfig"; path = "Pods/Target Support Files/Pods-TZImagePreviewController/Pods-TZImagePreviewController.release.xcconfig"; sourceTree = "<group>"; };
26+
9024661A2134394100C45621 /* TZImagePreviewController.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TZImagePreviewController.podspec; sourceTree = SOURCE_ROOT; };
27+
9024661B2134394100C45621 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
2428
90F383A3212EBB2200D92DD1 /* TZImagePreviewController.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TZImagePreviewController.app; sourceTree = BUILT_PRODUCTS_DIR; };
2529
90F383A6212EBB2200D92DD1 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
2630
90F383A7212EBB2200D92DD1 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
@@ -91,6 +95,8 @@
9195
90F383B1212EBB2300D92DD1 /* LaunchScreen.storyboard */,
9296
90F383B4212EBB2300D92DD1 /* Info.plist */,
9397
90F383B5212EBB2300D92DD1 /* main.m */,
98+
9024661B2134394100C45621 /* README.md */,
99+
9024661A2134394100C45621 /* TZImagePreviewController.podspec */,
94100
);
95101
path = TZImagePreviewController;
96102
sourceTree = "<group>";
@@ -175,6 +181,8 @@
175181
files = (
176182
90F383CB212EBCC500D92DD1 /* Main.storyboard in Resources */,
177183
90F383B3212EBB2300D92DD1 /* LaunchScreen.storyboard in Resources */,
184+
9024661D2134394100C45621 /* README.md in Resources */,
185+
9024661C2134394100C45621 /* TZImagePreviewController.podspec in Resources */,
178186
90F383B0212EBB2300D92DD1 /* Assets.xcassets in Resources */,
179187
);
180188
runOnlyForDeploymentPostprocessing = 0;
@@ -389,7 +397,10 @@
389397
DEVELOPMENT_TEAM = T86X98NCU2;
390398
INFOPLIST_FILE = TZImagePreviewController/Info.plist;
391399
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
392-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
400+
LD_RUNPATH_SEARCH_PATHS = (
401+
"$(inherited)",
402+
"@executable_path/Frameworks",
403+
);
393404
PRODUCT_BUNDLE_IDENTIFIER = tanzhen.TZImagePreviewController.www;
394405
PRODUCT_NAME = "$(TARGET_NAME)";
395406
TARGETED_DEVICE_FAMILY = "1,2";
@@ -405,7 +416,10 @@
405416
DEVELOPMENT_TEAM = T86X98NCU2;
406417
INFOPLIST_FILE = TZImagePreviewController/Info.plist;
407418
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
408-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
419+
LD_RUNPATH_SEARCH_PATHS = (
420+
"$(inherited)",
421+
"@executable_path/Frameworks",
422+
);
409423
PRODUCT_BUNDLE_IDENTIFIER = tanzhen.TZImagePreviewController.www;
410424
PRODUCT_NAME = "$(TARGET_NAME)";
411425
TARGETED_DEVICE_FAMILY = "1,2";

0 commit comments

Comments
 (0)