【文件属性】:
文件名称:PassLibrary:Swift套件可在您的iOS应用中打开PKPass
文件大小:23KB
文件格式:ZIP
更新时间:2021-04-06 03:22:07
swift framework react-native examples uikit
PassLibrary
图书馆开放PKPass
安装
迅捷软件包管理器
在您的XCode项目中,选择File> Swift Packages> Add Package Dependency并输入https://github.com/kamaal111/PassLibrary
选择所需的版本
可可豆荚
您想将Pod'PassLibrary','〜> 3.0'添加到您的Podfile中,类似于以下内容:
target 'MyApp' do
pod 'PassLibrary' , '~> 3.0'
end
然后在您的终端中运行Pod安装
pod install
用法
从UIKit ViewController
...
import PassLibrary
func action () {
guard let url = URL ( string : " https://se
【文件预览】:
PassLibrary-master
----.gitignore(735B)
----Sources()
--------PassLibrary()
----.swiftlint.yml(114B)
----.swiftpm()
--------xcode()
----LICENSE(1KB)
----.github()
--------workflows()
----PassLibrary.xcworkspace()
--------xcshareddata()
--------contents.xcworkspacedata(229B)
----README.md(3KB)
----Scripts()
--------Tests()
--------ChangeVersion()
----PassLibrary.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(23KB)
----PassLibrary.podspec(696B)
----Package.swift(583B)
----Tests()
--------LinuxMain.swift(124B)
--------PassLibraryTests()
----Podfile.lock(78B)
----docs()
--------Swift-blue.svg(940B)
--------License-MIT-yellow.svg(950B)
--------iOS-yellowgreen.svg(944B)
----Podfile(131B)