Skip to content

Commit a0044cc

Browse files
Added license and podspec file
1 parent 5c50e1f commit a0044cc

File tree

2 files changed

+167
-0
lines changed

2 files changed

+167
-0
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) 2024 softsuave-tech-matrix
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

adaptive_card_layout.podspec

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
1+
#
2+
# Be sure to run `pod spec lint adaptive_card_layout.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://guides.cocoapods.org/syntax/podspec.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 = "adaptive_card_layout"
19+
spec.version = "1.0.0"
20+
spec.summary = "CardView is a versatile SwiftUI component for displaying a collection of views in a card-like format."
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+
- Display views in a grid or horizontal scrolling layout.
29+
- Optional scaling effect for views based on their position .
30+
- Can display views in carousel format with optional scaling
31+
- Customizable view dimensions and spacing .
32+
- Accepts an array of content views
33+
DESC
34+
35+
spec.homepage = "https://github.com/softsuave-tech-matrix/adaptive_card_layout"
36+
# spec.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
37+
38+
39+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
40+
#
41+
# Licensing your code is important. See https://choosealicense.com for more info.
42+
# CocoaPods will detect a license file if there is a named LICENSE*
43+
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
44+
#
45+
46+
spec.license = { :type => 'MIT', :file => 'LICENSE' }
47+
48+
49+
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
50+
#
51+
# Specify the authors of the library, with email addresses. Email addresses
52+
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
53+
# accepts just a name if you'd rather not provide an email address.
54+
#
55+
# Specify a social_media_url where others can refer to, for example a twitter
56+
# profile URL.
57+
#
58+
59+
spec.author = { "softsuave-tech-matrix" => "techmatrix@softsuave.com" }
60+
# Or just: spec.author = "softsuave-tech-matrix"
61+
# spec.authors = { "softsuave-tech-matrix" => "techmatrix@softsuave.com" }
62+
# spec.social_media_url = "https://twitter.com/softsuave-tech-matrix"
63+
64+
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
65+
#
66+
# If this Pod runs only on iOS or OS X, then specify the platform and
67+
# the deployment target. You can optionally include the target after the platform.
68+
#
69+
70+
# spec.platform = :ios
71+
# spec.platform = :ios, "5.0"
72+
73+
# When using multiple platforms
74+
# spec.ios.deployment_target = "5.0"
75+
# spec.osx.deployment_target = "10.7"
76+
# spec.watchos.deployment_target = "2.0"
77+
# spec.tvos.deployment_target = "9.0"
78+
# spec.visionos.deployment_target = "1.0"
79+
80+
81+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
82+
#
83+
# Specify the location from where the source should be retrieved.
84+
# Supports git, hg, bzr, svn and HTTP.
85+
#
86+
87+
spec.source = { :git => "https://github.com/softsuave-tech-matrix/adaptive_card_layout.git", :tag => "1.0.0" }
88+
spec.ios.deployment_target = '15.0'
89+
spec.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6']
90+
91+
92+
93+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
94+
#
95+
# CocoaPods is smart about how it includes source code. For source files
96+
# giving a folder will include any swift, h, m, mm, c & cpp files.
97+
# For header files it will include any header in the folder.
98+
# Not including the public_header_files will make all headers public.
99+
#
100+
101+
spec.source_files = 'Sources/**/*.{swift}'
102+
# spec.exclude_files = "Classes/Exclude"
103+
104+
# spec.public_header_files = "Classes/**/*.h"
105+
106+
107+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
108+
#
109+
# A list of resources included with the Pod. These are copied into the
110+
# target bundle with a build phase script. Anything else will be cleaned.
111+
# You can preserve files from being cleaned, please don't preserve
112+
# non-essential files like tests, examples and documentation.
113+
#
114+
115+
# spec.resource = "icon.png"
116+
# spec.resources = "Resources/*.png"
117+
118+
# spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
119+
120+
121+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
122+
#
123+
# Link your library with frameworks, or libraries. Libraries do not include
124+
# the lib prefix of their name.
125+
#
126+
127+
spec.frameworks = 'SwiftUI'
128+
# spec.frameworks = "SomeFramework", "AnotherFramework"
129+
130+
# spec.library = "iconv"
131+
# spec.libraries = "iconv", "xml2"
132+
133+
134+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
135+
#
136+
# If your library depends on compiler flags you can set them in the xcconfig hash
137+
# where they will only apply to your library. If you depend on other Podspecs
138+
# you can include multiple dependencies to ensure it works.
139+
140+
# spec.requires_arc = true
141+
142+
# spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
143+
# spec.dependency "JSONKit", "~> 1.4"
144+
145+
end

0 commit comments

Comments
 (0)