Skip to content

Commit f1f482d

Browse files
committed
完成pod 文件
1 parent 0fb3a4c commit f1f482d

File tree

2 files changed

+135
-0
lines changed

2 files changed

+135
-0
lines changed

DLHitTest.podspec

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
#
2+
# Be sure to run `pod spec lint DLHitTest.podspec' to ensure this is a
3+
# valid spec and to remove all comments including this before submitting the spec.
4+
#
5+
# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
6+
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7+
#
8+
9+
Pod::Spec.new do |s|
10+
11+
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
12+
#
13+
# These will help people to find your library, and whilst it
14+
# can feel like a chore to fill in it's definitely to your advantage. The
15+
# summary should be tweet-length, and the description more in depth.
16+
#
17+
18+
s.name = "DLHitTest"
19+
s.version = "0.0.1"
20+
s.summary = "A short description of DLHitTest."
21+
22+
# This description is used to generate tags and improve search results.
23+
# * Think: What does it do? Why did you write it? What is the focus?
24+
# * Try to keep it short, snappy and to the point.
25+
# * Write the description between the DESC delimiters below.
26+
# * Finally, don't worry about the indent, CocoaPods strips it!
27+
s.description = "Just for Test"
28+
s.homepage = "http://blog.dalong.com"
29+
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
30+
31+
32+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
33+
#
34+
# Licensing your code is important. See http://choosealicense.com for more info.
35+
# CocoaPods will detect a license file if there is a named LICENSE*
36+
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
37+
#
38+
39+
# s.license = "MIT"
40+
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
41+
42+
43+
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
44+
#
45+
# Specify the authors of the library, with email addresses. Email addresses
46+
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
47+
# accepts just a name if you'd rather not provide an email address.
48+
#
49+
# Specify a social_media_url where others can refer to, for example a twitter
50+
# profile URL.
51+
#
52+
53+
s.author = { "Dalong" => "[email protected]" }
54+
# Or just: s.author = "Dalong"
55+
# s.authors = { "Dalong" => "[email protected]" }
56+
# s.social_media_url = "http://twitter.com/Dalong"
57+
58+
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
59+
#
60+
# If this Pod runs only on iOS or OS X, then specify the platform and
61+
# the deployment target. You can optionally include the target after the platform.
62+
#
63+
64+
# s.platform = :ios
65+
s.platform = :ios, "8.0"
66+
67+
# When using multiple platforms
68+
# s.ios.deployment_target = "5.0"
69+
# s.osx.deployment_target = "10.7"
70+
# s.watchos.deployment_target = "2.0"
71+
# s.tvos.deployment_target = "9.0"
72+
73+
74+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
75+
#
76+
# Specify the location from where the source should be retrieved.
77+
# Supports git, hg, bzr, svn and HTTP.
78+
#
79+
80+
s.source = { :git => "https://github.com/slemon/HitTestViewUsage.git", :tag => "0.0.1" }
81+
82+
83+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
84+
#
85+
# CocoaPods is smart about how it includes source code. For source files
86+
# giving a folder will include any swift, h, m, mm, c & cpp files.
87+
# For header files it will include any header in the folder.
88+
# Not including the public_header_files will make all headers public.
89+
#
90+
91+
s.source_files = "HitTest", "HitTest/**/*.{h,m}"
92+
# s.exclude_files = "HitTest/Exclude"
93+
94+
# s.public_header_files = "Classes/**/*.h"
95+
96+
97+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
98+
#
99+
# A list of resources included with the Pod. These are copied into the
100+
# target bundle with a build phase script. Anything else will be cleaned.
101+
# You can preserve files from being cleaned, please don't preserve
102+
# non-essential files like tests, examples and documentation.
103+
#
104+
105+
# s.resource = "icon.png"
106+
# s.resources = "Resources/*.png"
107+
108+
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
109+
110+
111+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
112+
#
113+
# Link your library with frameworks, or libraries. Libraries do not include
114+
# the lib prefix of their name.
115+
#
116+
117+
# s.framework = "SomeFramework"
118+
# s.frameworks = "SomeFramework", "AnotherFramework"
119+
120+
# s.library = "iconv"
121+
# s.libraries = "iconv", "xml2"
122+
123+
124+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
125+
#
126+
# If your library depends on compiler flags you can set them in the xcconfig hash
127+
# where they will only apply to your library. If you depend on other Podspecs
128+
# you can include multiple dependencies to ensure it works.
129+
130+
# s.requires_arc = true
131+
132+
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
133+
# s.dependency "JSONKit", "~> 1.4"
134+
135+
end

0 commit comments

Comments
 (0)