Drag3DRotateCard
Drag card with finger to see its both sides
Install / Use
/learn @jwd-ali/Drag3DRotateCardREADME
<p>
<a href="https://www.linkedin.com/in/jawad-ali-3804ab24/"><img src="https://i.imgur.com/vGjsQPt.png" width="134" height="34"></a>
</br></br>
Requirements
- iOS 10.0+ / Mac OS X 10.9+ / watchOS 2.0+ / tvOS 9.0+
- Xcode 8.0+
Installation
CocoaPods
To integrate Drag3DRotateCard into your Xcode project using CocoaPods, specify it in your Podfile:
use_frameworks!
pod 'Drag3DRotateCard'
Then, run the following command:
$ pod install
Manually
If you prefer not to use a dependency manager, you can integrate Drag3DRotateCard into your project manually.
-
Add sources into your project:
- Drag
Rotate3DImageView.swift
Usage
- Drag
If you are using any dependency manager (pods , carthage , package manager)to integrate Drag3DRotateCard. Import Drag3DRotateCard first:
import Drag3DRotateCard
And for Manuall install you dont need to import anything
You need to simply initiate imageView with two images like this
private var cardImage: Rotate3DImageView! = {
let imageView = Rotate3DImageView(frontImage: "frontCard", backImage: "backCard")
return imageView
}()
For better understanding framework inncludes example project as well
Congratulations! You're done.
Contributing
I’d love to have help on this project. For small changes please open a pull request, for larger changes please open an issue first to discuss what you’d like to see.
License
Drag3DRotateCard is under MIT. See LICENSE file for more info.
Related Skills
healthcheck
350.1kHost security hardening and risk-tolerance configuration for OpenClaw deployments
imsg
350.1kiMessage/SMS CLI for listing chats, history, and sending messages via Messages.app.
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
xurl
350.1kA CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
