DrawBubbleShapesView — Drawing message bubbles with tails (like iMessage) and creating custom shapes with ease in your iOS app using Swift.
- 📦 Simple and lightweight custom UIView subclass
- 💬 Supports message-style chat bubbles with tails
- 🖌️ Easily draw your own shapes programmatically
- 🎯 Built with Swift for iOS
To install it using CocoaPods, add the following line to your Podfile:
pod 'Draw-Custom-Shape-View'Then run:
pod installimport Draw_Custom_Shape_Viewlet bubbleView = ChatBubbleView(frame: CGRect(x: 50, y: 100, width: 200, height: 80))
bubbleView.tailPosition = .left // or .right
bubbleView.fillColor = .systemBlue
self.view.addSubview(bubbleView)💡 You can also subclass and create your own shapes by overriding the draw method.
- iOS 11.0+
- Swift 5.0+
Paresh Mangukiya
📧 Email: pkmangukiya@gmail.com
🐙 GitHub: github.com/pkmangukiya
🔗 LinkedIn: pareshmangukiya
Pull requests are welcome!
Feel free to open issues for suggestions, improvements, or bug reports.