**🌐 LINK → CocoaPods 사이트**
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
1.활성화
self.hero.isEnabled = true
2. heroID, heroModifiers 설정 혹은 프레젠트 스타일만 정해줘도 실행됨
property
heroID
heroModifiers
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
- 활성화
self.hero.isEnabled = true
- heroID, heroModifiers 설정
property
heroID :
heroModifiers : 애니메이션을 정의
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
참고용 이미지
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
- 활성화
self.hero.isEnabled = true
- heroID, heroModifiers 설정
property
heroID :
heroModifiers : 애니메이션을 정의
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
참고용 이미지
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
- 활성화
self.hero.isEnabled = true
- heroID, heroModifiers 설정
property
heroID :
heroModifiers : 애니메이션을 정의
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
참고용 이미지
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
- 활성화
self.hero.isEnabled = true
- heroID, heroModifiers 설정
property
heroID :
heroModifiers : 애니메이션을 정의
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
참고용 이미지
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
https://github.com/HeroTransitions/Hero
업데이트 내용이 있을 수 있기 때문에 자세한 내용은 상단 링크를 한번 살펴보고 사용할 것.
Hero
Hero 는 iOS 뷰 컨트롤러 전환을 빌드하기 위한 라이브러리입니다. UIKit의 성가신 전환 API 위에 선언적 레이어를 제공하여 개발자가 사용자 지정 전환을 쉽게 수행할 수 있도록 합니다.
사용법
- 활성화
self.hero.isEnabled = true
- heroID, heroModifiers 설정
property
heroID :
heroModifiers : 애니메이션을 정의
애니메이션 템플릿종류
- heroModalAnimationType
- heroNavigationAnimationType
- heroTabBarAnimationType
참고용 이미지
Installation
CocoaPods
Add the following entry to your Podfile:
pod 'Hero'
Then run pod install.
Don't forget to import Hero in every file you'd like to use Hero.
Carthage
Add the following entry to your Cartfile:
github "HeroTransitions/Hero"
Then run carthage update.
If this is your first time using Carthage in the project, you'll need to go through some additional steps as explained over at Carthage.
Swift Package Manager
To integrate using Apple's Swift package manager, add the following as a dependency to your Package.swift:
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.3.0"))
and then specify "Hero" as a dependency of the Target in which you wish to use Hero. Here's an example PackageDescription:
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "MyPackage",
products: [
.library(
name: "MyPackage",
targets: ["MyPackage"]),
],
dependencies: [
.package(url: "<https://github.com/HeroTransitions/Hero.git>", .upToNextMajor(from: "1.6.1"))
],
targets: [
.target(
name: "MyPackage",1.6.1
dependencies: ["Hero"])
]
)
'모바일앱 > iOS' 카테고리의 다른 글
error - Command CompileSwiftSources failed with a nonzero exit code (0) | 2022.03.18 |
---|---|
디자인패턴 - MVC MVVM (0) | 2022.03.16 |
View의 계층구조 (0) | 2022.03.14 |
error - Extensions must not contain stored properties (0) | 2022.03.13 |
앱의 다크모드를 바꾸는 여러가지 방법 (0) | 2022.03.09 |
error - cannot find [ ] in scope iphoneSE3공개 (0) | 2022.03.08 |
component와 split 함수 그리고 map함수 (0) | 2022.03.07 |
노치 부분까지 레이아웃 설정하는 방법 (0) | 2022.02.24 |