forked from wuwen1030/XTSafeCollection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXTSafeCollection.podspec
38 lines (32 loc) · 1.61 KB
/
XTSafeCollection.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Be sure to run `pod spec lint XTSafeCollection.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#
Pod::Spec.new do |s|
s.name = "XTSafeCollection"
s.version = "1.0.3"
s.summary = "An elegant solution to common crashes of NSArray, NSMutableArray and NSMutableDictionary."
s.description = <<-DESC
In Cocoa development, we often meet crashes like the follow:
1. `[NSArray objectAtIndex:]` when index exceeds array bounds.
2. `[NSMutableArray addObject]` when we attempt to add an nil Object.
...
XTSafeCollection provide a way to avoid these crashes. Just add the `XTSafeCollection.h`, `XTSafeCollection.m` to you project,
You event don't need to modify you codes, call the methods as what they are.
versions:
1.0.0
1.0.1
1.0.2
1.0.3
DESC
s.homepage = "https://github.com/wuwen1030/XTSafeCollection"
s.license = { :type => "MIT" }
s.author = { "xiabin" => "xiabin@tuniu.com" }
s.platform = :ios
s.source = { :git => "https://github.com/wuwen1030/XTSafeCollection.git", :tag => "1.0.3" }
s.source_files = "XTSafeCollection/XTSafeCollection/*.{h,m}"
s.requires_arc = false
end