FacebookLikeReaction
FacebookLikeReaction is a customizable view which provides more options to share your reactions on any post like Facebook Reactions.
Install / Use
/learn @11Shraddha/FacebookLikeReactionREADME
FacebookLikeReaction
FacebookLikeReaction is a customizable view which provides more options to share your reactions on any post like Facebook Reactions.

Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
iOS 10.0+
Xcode 10.0+
Swift 4.2+
Installation
FacebookLikeReaction is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'FacebookLikeReaction'
Usage
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Create a UIButton
var btnReaction = UIButton(frame: CGRect(x: 100, y: 300, width: 200, height: 30))
btnReaction.setTitle("Long Press here", for: .normal)
btnReaction.setTitleColor(UIColor.red, for: .normal)
view.addSubview(btnReaction)
var reactionView = ReactionView()
let reactions: [Reaction] = [Reaction(title: "Laugh", imageName: "icn_laugh"),
Reaction(title: "Like", imageName: "icn_like"),
Reaction(title: "Angry", imageName: "icn_angry"),
Reaction(title: "Love", imageName: "icn_love"),
Reaction(title: "Sad", imageName: "icn_sad")]
reactionView.initialize(delegate: self , reactionsArray: reactions, sourceView: self.view, gestureView: btnReaction)
}
}
//MARK: - FacebookLikeReactionDelegate
extension ViewController: FacebookLikeReactionDelegate {
func selectedReaction(reaction: Reaction) {
print("Selected-------\(reaction.title)")
}
}
Author
11Shraddha, shraddhasojitra11@gmail.com
License
FacebookLikeReaction is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
