Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zepojo/UPCarouselFlowLayout
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: team-aliens/UPCarouselFlowLayout
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on Jun 18, 2022

  1. Add Pakge.swift

    kimdaehee0824 committed Jun 18, 2022
    Copy the full SHA
    54d4a6b View commit details
  2. update README.md

    kimdaehee0824 committed Jun 18, 2022
    Copy the full SHA
    9dd7658 View commit details
Showing with 68 additions and 19 deletions.
  1. +7 −0 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
  2. +22 −0 Package.swift
  3. +15 −0 README.md
  4. +24 −19 UPCarouselFlowLayoutDemo/Assets.xcassets/AppIcon.appiconset/Contents.json
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "UPCarouselFlowLayout",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "UPCarouselFlowLayout",
targets: ["UPCarouselFlowLayout"])
],
targets: [
.target(name: "UPCarouselFlowLayout",
path: "UPCarouselFlowLayout")
],
swiftLanguageVersions: [
.v5
]
)

15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -28,6 +28,21 @@ Users can simply add to their Cartfile:
github "ink-spot/UPCarouselFlowLayout"
```

**Package.swift**

```swift
let package = Package(
name: "MyPackage",
dependencies: [
.package(url: "https://github.com/DSM-FLOW/UPCarouselFlowLayout.git", .upToNextMajor(from: "1.1.3"))
],
targets: [
.target(name: "MyTarget", dependencies: ["UPCarouselFlowLayout"])
]
)
```


### Manual

Simply copy the folder `UPCarouselFlowLayout` to your project and import it in XCode.
Original file line number Diff line number Diff line change
@@ -2,47 +2,52 @@
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
"scale" : "2x",
"size" : "60x60"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ios-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}