-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
34 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
Copyright (c) 2021 dshalaby <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
/* | ||
* Copyright (c) 2021. Papyrus Electronics, Inc d/b/a TapTrack. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* you may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ To run the example project, clone the repo, and run `pod install` from the Examp | |
|
||
## Requirements | ||
|
||
Swift 5 | ||
iOS 12 or later | ||
|
||
## Installation | ||
|
||
SwiftTLV is available through [CocoaPods](https://cocoapods.org). To install | ||
|
@@ -26,4 +29,4 @@ dshalaby, [email protected] | |
|
||
## License | ||
|
||
SwiftTLV is available under the MIT license. See the LICENSE file for more info. | ||
SwiftTLV is available under the Apache license. See the LICENSE file for more info. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ | |
|
||
Pod::Spec.new do |s| | ||
s.name = 'SwiftTLV' | ||
s.version = '0.1.0' | ||
s.summary = 'A short description of SwiftTLV.' | ||
s.version = '1.0.0' | ||
s.summary = 'Swift library for working with Tag-Length-Value (TLV) encoded data' | ||
|
||
# This description is used to generate tags and improve search results. | ||
# * Think: What does it do? Why did you write it? What is the focus? | ||
|
@@ -18,25 +18,17 @@ Pod::Spec.new do |s| | |
# * Finally, don't worry about the indent, CocoaPods strips it! | ||
|
||
s.description = <<-DESC | ||
TODO: Add long description of the pod here. | ||
Tag-Length-Value (TLV) encoded data is a useful format for encoding multi-field data into byte (UInt8) arrays. This library provides tools for working with TLV data both in byte array and struct forms (including methods to convert between forms). This library supports both single byte and dual byte tags as well as single byte and dual byte tags. | ||
DESC | ||
|
||
s.homepage = 'https://github.com/dshalaby/SwiftTLV' | ||
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' | ||
s.license = { :type => 'MIT', :file => 'LICENSE' } | ||
s.homepage = 'https://github.com/TapTrack/SwiftTLV' | ||
s.license = { :type => 'Apache', :file => 'LICENSE' } | ||
s.author = { 'dshalaby' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/dshalaby/SwiftTLV.git', :tag => s.version.to_s } | ||
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>' | ||
s.source = { :git => 'https://github.com/TapTrack/SwiftTLV.git', :tag => s.version.to_s } | ||
s.social_media_url = 'https://twitter.com/TapTrack' | ||
|
||
s.ios.deployment_target = '9.0' | ||
s.ios.deployment_target = '12.0' | ||
s.swift_versions = "5.0" | ||
|
||
s.source_files = 'SwiftTLV/Classes/**/*' | ||
|
||
# s.resource_bundles = { | ||
# 'SwiftTLV' => ['SwiftTLV/Assets/*.png'] | ||
# } | ||
|
||
# s.public_header_files = 'Pod/Classes/**/*.h' | ||
# s.frameworks = 'UIKit', 'MapKit' | ||
# s.dependency 'AFNetworking', '~> 2.3' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters