diff --git a/ContributorUI.podspec b/ContributorUI.podspec new file mode 100644 index 0000000..eddefad --- /dev/null +++ b/ContributorUI.podspec @@ -0,0 +1,20 @@ +Pod::Spec.new do |spec| + spec.name = 'ContributorUI' + spec.version = '1.0.1' + spec.license = { :type => 'MIT', :file => 'LICENSE' } + spec.homepage = 'https://github.com/dscyrescotti/ContributorUI' + spec.authors = { 'Dscyre Scotti' => 'dscyrescotti@gmail.com' } + spec.summary = 'A UI library for iOS and macOS applications to showcase all contributors of public or private repositories.' + spec.source = { :git => 'https://github.com/dscyrescotti/ContributorUI.git', :tag => 'v1.0.1' } + spec.swift_versions = ['5.7'] + + spec.ios.deployment_target = '16.0' + spec.macos.deployment_target = '13.0' + + spec.source_files = 'Sources/ContributorUI/**/*.swift' + spec.resource = 'Sources/ContributorUI/Resources/*' + + spec.framework = 'SwiftUI', 'Combine', 'Foundation' + + spec.dependency 'Kingfisher', '~> 7.6.2' +end \ No newline at end of file diff --git a/README.md b/README.md index 7933369..e84f05a 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,14 @@ ContributorList(owner: ,repo: ) Add it as a dependency within your Package.swift. ``` dependencies: [ - .package(url: "https://github.com/dscyrescotti/ContributorUI.git", from: "1.0.0") + .package(url: "https://github.com/dscyrescotti/ContributorUI.git", from: "1.0.1") ] ``` +### 🎁 Using CocoaPods +Add it inside your Podfile. +``` +pod 'ContributorUI', '~> 1.0.1' +``` ## 🔎 Exploration @@ -93,13 +98,17 @@ Afterwards, Xcode will open the project and then you can hit ⌘+R to run the pr **ContributorUI** is inspried by [contrib.rocks](https://contrib.rocks/) and is developed to praise the contributors of the project in iOS and macOS applications with a minimal setup. ## ✍️ Author -Scotti | [@dscyrescotti](https://twitter.com/dscyrescotti) +Dscyre Scotti | [@dscyrescotti](https://twitter.com/dscyrescotti)

  + + + diff --git a/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift b/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift index 7ff7fb1..2aac8d9 100644 --- a/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift +++ b/Sources/ContributorUI/Components/ContributorCard/ContributorCard.swift @@ -85,8 +85,8 @@ public struct ContributorCard: View { ForEach(0..