update README
Mini library to test a Lib which install from Cocoapods and SPM.
POD_SPM_lib is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'POD_SPM_lib', :git => 'https://github.com/IbrahimHosseini/POD_SPM_lib.git', :branch => 'master'
https://github.com/IbrahimHosseini/POD_SPM_lib.git
OR
Update dependencies in Package.swift
dependencies
Package.swift
dependencies: [ .package(url: "https://github.com/IbrahimHosseini/POD_SPM_lib.git", .upToNextMajor(from: "1.0.0")) ]
import UIKit import POD_SPM_lib class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let unixTime = DateTime(timestamp: 1_342_543_543) print("Time-> ", unixTime.getTime(), "Date-> ", unixTime.getDate()) } }
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
POD_SPM_lib
Mini library to test a Lib which install from Cocoapods and SPM.
Installation
Cocoapods
POD_SPM_lib is available through CocoaPods. To install it, simply add the following line to your Podfile:
Swift Package Manager
https://github.com/IbrahimHosseini/POD_SPM_lib.git
OR
Update
dependencies
inPackage.swift
Usage