HamsterUIKit alternatives and similar libraries
Based on the "UI" category.
Alternatively, view HamsterUIKit alternatives based on common mentions on social networks and blogs.
-
Lottie
An iOS library to natively render After Effects vector animations -
DZNEmptyDataSet
A drop-in UITableView/UICollectionView superclass category for showing empty datasets whenever the view has no content to display -
IQKeyboardManager
Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. -
SVProgressHUD
A clean and lightweight progress HUD for your iOS and tvOS app. -
iCarousel
A simple, highly customisable, data-driven 3D carousel for iOS and Mac OS -
IGListKit
A data-driven UICollectionView framework for building fast and flexible lists. -
AsyncDisplayKit
Smooth asynchronous user interfaces for iOS apps. -
animated-tab-bar
:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion -
TTTAttributedLabel
A drop-in replacement for UILabel that supports attributes, data detectors, links, and more -
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
FSCalendar
A fully customizable iOS calendar library, compatible with Objective-C and Swift -
folding-cell
:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion -
NVActivityIndicatorView
A collection of awesome loading animations -
LTMorphingLabel
[EXPERIMENTAL] Graceful morphing effects for UILabel written in Swift. -
MGSwipeTableCell
An easy to use UITableViewCell subclass that allows to display swippable buttons with a variety of transitions. -
SWTableViewCell
An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application) -
ViewAnimator
ViewAnimator brings your UI to life with just one line -
SwiftMessages
A very flexible message bar for iOS written in Swift. -
XLForm
XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C. -
JVFloatLabeledTextField
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
TPKeyboardAvoiding
A drop-in universal solution for moving text fields out of the way of the keyboard in iOS -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
SVPullToRefresh
Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code. -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
AMScrollingNavbar
Scrollable UINavigationBar that follows the scrolling of a UIScrollView -
Macaw
Powerful and easy-to-use vector graphics Swift library with SVG support -
Koloda
KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS. -
SWRevealViewController
A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right ! -
expanding-collection
:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SCLAlertView-Swift
Beautiful animated Alert View. Written in Swift -
ViewDeck
An implementation of the sliding menu found in various iOS apps. -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
TextFieldEffects
Custom UITextFields effects inspired by Codrops, built using Swift -
Alerts & Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
Material Components
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
TSMessages
💌 Easy to use and customizable messages/notifications for iOS à la Tweetbot -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of HamsterUIKit or a related project?
README
HamsterUIKit
A simple and elegant UIKit(Chart) for iOS, written in Swift.
:bar_chart: Curve and bar Charts.
:bulb: Protocols are designed based on UIKit(UITableView).
:keycap_ten: Draw a complex but elegant graph in 10 minutes.
Protocols
Initialize and reload
UITableView | HamsCurveChart | HamsBarChart |
---|---|---|
init(frame: CGRect) | same | same |
init?(coder aDecoder: NSCoder) | same | same |
reloadData | same | same |
DataSource
UITableView | HamsCurveChart | HamsBarChart |
---|---|---|
numberOfSections(in tableView: UITableView) -> Int | numberOfCharts(in curveChart: HamsCurveChart) -> Int | numberOfCharts(in barChart: HamsBarChart) -> Int |
tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell | curveChart(_ curveChart: HamsCurveChart, pointForChart indexPath: HamsIndexPath) -> HamsCurveChartPoint | barChart(_ barChart: HamsBarChart, barForChart indexPath: HamsIndexPath) -> HamsBarChartRect |
tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int | curveChart(_ curveChart: HamsCurveChart, numberOfValuesInChart chart: Int) -> Int | barChart(_ barChart: HamsBarChart, numberOfValuesInChart chart: Int) -> Int |
Delegate
HamsCurveChart | HamsBarChart |
---|---|
curveChart(_ curveChart: HamsCurveChart, configureForCharts chart: Int) | barChart(_ barChart: HamsBarChart, configureForCharts chart: Int) |
Installation
Carthage
github "Howardw3/HamsterUIKit"
CocoaPods
- Add to your Podfile:
use_frameworks! pod 'HamsterUIKit'
- Type in terminal:
pod install
- Import the framework
import HamsterUIKit
Manually
git clone https://github.com/Haneke/HanekeSwift.git
- Copy and paste the above command in your terminal, it will clone the repo into your disk.
- Drag
HamsterUIKit.xcodeproj
to your project in the Project Navigator. - Select your project and then your app target. Open the Build Phases panel.
- Expand the Target Dependencies group, and add
HamsterUIKit.framework
. - Click on the
+
button at the top left of the panel and select New Copy Files Phase. Set Destination to Frameworks, and addHamsterUIKit.framework
. import HamsterUIKit
whenever you want to use Haneke.
Demo
Advanced Configuration
Bar Chart
Bar Chart Quick start
import UIKit
import HamsterUIKit
class HelloBarChartViewController: UIViewController, HamsBarChartDelegate, HamsBarChartDataSource {
var barChart:HamsBarChart = HamsBarChart()
var dataSets = [CGFloat]()
override func viewDidLoad() {
super.viewDidLoad()
barChart = HamsBarChart(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: 300))
barChart.delegate = self
barChart.dataSource = self
view.addSubview(barChart)
}
func barChart(_ barChart: HamsBarChart, numberOfValuesInChart chart: Int) -> Int {
return dataSets.count
}
func numberOfCharts(in barChart: HamsBarChart) -> Int {
return 1
}
func barChart(_ barChart: HamsBarChart, barForChart indexPath: HamsIndexPath) -> HamsBarChartRect {
let rect = HamsBarChartRect()
rect.value = .plain(dataSets[indexPath.column])
rect.color = .plain(.white)
return rect
}
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
dataSets = [1,4,6,1]
barChart.reloadData()
}
func barChart(_ barChart: HamsBarChart, configureForCharts view: Int) {
barChart.title = "BarChart(plain)"
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
}
}
Todo
Advanced Configuration
Created By:
Howard Wang - Hire me
Zhiye Jin(UI Designer)
Healthy Fridge Project - Hamster Fridge Management
License
HamsterUIKit is Copyright (c) 2017 Howard Wang and released as open source under the attached Apache 2.0 license.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*Note that all licence references and agreements mentioned in the HamsterUIKit README section above
are relevant to that project's source code only.