GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 支持CocoaPods · Lunaict/ScanQRcode@52bfeca

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • WSLNativeScanTool.podspec
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎WSLNativeScanTool.podspec‎

Copy file name to clipboard
+131Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
#
2+
# Be sure to run `pod spec lint WSLNativeScanTool.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 https://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 |spec|
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+
spec.name = "WSLNativeScanTool"
19+
spec.version = "1.0"
20+
spec.summary = "iOS 封装原生二维码扫描和生成"
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+
spec.description = <<-DESC
28+
功能描述:WSLNativeScanTool是在利用原生API的条件下封装的二维码扫描工具,支持二维码的扫描、识别图中二维码、生成自定义颜色和中心图标的二维码、监测环境亮度、打开闪光灯这些功能;WSLScanView是参照微信封装的一个扫一扫界面,支持线条颜色、大小、动画图片、矩形扫描框样式的自定义;这个示例本身就是仿照微信的扫一扫功能实现的。
29+
DESC
30+
31+
spec.homepage = "https://github.com/wsl2ls/ScanQRcode"
32+
# spec.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
33+
34+
35+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
36+
#
37+
# Licensing your code is important. See https://choosealicense.com for more info.
38+
# CocoaPods will detect a license file if there is a named LICENSE*
39+
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
40+
#
41+
42+
spec.license = "MIT"
43+
# spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
44+
45+
46+
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
47+
#
48+
# Specify the authors of the library, with email addresses. Email addresses
49+
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
50+
# accepts just a name if you'd rather not provide an email address.
51+
#
52+
# Specify a social_media_url where others can refer to, for example a twitter
53+
# profile URL.
54+
#
55+
56+
spec.author = { "wsl" => "[email protected]" }
57+
# Or just: spec.author = "wsl"
58+
# spec.authors = { "wsl" => "[email protected]" }
59+
spec.social_media_url = "https://www.jianshu.com/u/e15d1f644bea"
60+
61+
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62+
#
63+
# If this Pod runs only on iOS or OS X, then specify the platform and
64+
# the deployment target. You can optionally include the target after the platform.
65+
#
66+
67+
# spec.platform = :ios
68+
spec.platform = :ios, "8.0"
69+
70+
# When using multiple platforms
71+
# spec.ios.deployment_target = "5.0"
72+
# spec.osx.deployment_target = "10.7"
73+
# spec.watchos.deployment_target = "2.0"
74+
# spec.tvos.deployment_target = "9.0"
75+
76+
77+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
78+
#
79+
# Specify the location from where the source should be retrieved.
80+
# Supports git, hg, bzr, svn and HTTP.
81+
#
82+
83+
spec.source = { :git => "https://github.com/wsl2ls/ScanQRcode.git", :tag => "v#{spec.version}" }
84+
85+
86+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
87+
#
88+
# CocoaPods is smart about how it includes source code. For source files
89+
# giving a folder will include any swift, h, m, mm, c & cpp files.
90+
# For header files it will include any header in the folder.
91+
# Not including the public_header_files will make all headers public.
92+
#
93+
94+
spec.source_files = "WSLNativeScanTool", "WSLNativeScanTool/**/*.{h,m}"
95+
spec.exclude_files = "Classes/Exclude"
96+
97+
# spec.public_header_files = "Classes/**/*.h"
98+
99+
100+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
101+
#
102+
# A list of resources included with the Pod. These are copied into the
103+
# target bundle with a build phase script. Anything else will be cleaned.
104+
# You can preserve files from being cleaned, please don't preserve
105+
# non-essential files like tests, examples and documentation.
106+
#
107+
108+
# spec.resource = "icon.png"
109+
# spec.resources = "Resources/*.png"
110+
111+
# spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
112+
113+
114+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
115+
#
116+
# Link your library with frameworks, or libraries. Libraries do not include
117+
# the lib prefix of their name.
118+
#
119+
120+
# spec.framework = "SomeFramework"
121+
# spec.frameworks = "SomeFramework", "AnotherFramework"
122+
123+
# spec.library = "iconv"
124+
# spec.libraries = "iconv", "xml2"
125+
126+
spec.requires_arc = true
127+
128+
# spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
129+
# spec.dependency "JSONKit", "~> 1.4"
130+
131+
end

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.