DCKit alternatives and similar libraries
Based on the "UI" category.
Alternatively, view DCKit alternatives based on common mentions on social networks and blogs.
-
DZNEmptyDataSet
DISCONTINUED. 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. -
SkeletonView
☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting -
TTTAttributedLabel
A drop-in replacement for UILabel that supports attributes, data detectors, links, and more -
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 -
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) -
JVFloatLabeledTextField
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users -
FSPagerView
FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders. -
JTAppleCalendar
The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable -
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
Alerts & Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date... -
XLForm
XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C. -
SwiftEntryKit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps. -
TPKeyboardAvoiding
A drop-in universal solution for moving text fields out of the way of the keyboard in iOS -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
CSStickyHeaderFlowLayout
UICollectionView replacement of UITableView. Do even more like Parallax Header, Sticky Section Header. Made for iOS 7. -
SWRevealViewController
A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps, done right ! -
Material Components
[In maintenance mode] Modular and customizable Material Design UI components for iOS -
expanding-collection
:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion
CodeRabbit: AI Code Reviews for Developers

* 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 DCKit or a related project?
README
DCKit
[Not maintained anymore]
I switched to Flutter, so I don't maintain the library anymore.
DCKit is a set of @IBDesignable iOS controls (buttons, text fields, text views, labels, circle views, hairline views etc.), which have useful @IBInspectable properties. They allows you to build a nice screens, see a result directly on Xcode Interface Builder.
Written on Swift.
Preview
[[DCKit preview](Images/screenshot_001.png)](Images/screenshot_001.png)
Installation
Cocoapods
CocoaPods recommended to use DCKit.
- Add
pod
record to your Podfile:- Swift 4.2 and above:
pod 'DCKit'
- Swift 3 and Swift 4:
pod 'DCKit', '<= 1.0.11'
- Swift 2.3:
pod 'DCKit', :git => 'https://github.com/agordeev/DCKit.git', :branch => 'swift23'
- Swift 2.2 and below:
pod 'DCKit', '<= 1.0.4'
- Swift 4.2 and above:
- Add
use_frameworks!
keyword to your Podfile. The library is written on Swift, so this is a mandatory. - Install the pod(s) by running
pod install
.
Source files
- Download the latest code version or add the repository as a git submodule to your git-tracked project.
- Drag and drop the Classes directory from the archive in your project navigator. Make sure to select Copy items when asked if you extracted the code archive outside of your project.
How to use
- Add a control (e.g.
UIButton
) onto storyboard: [[Add a control (e.g. UIButton) onto storyboard](Images/screenshot_002.png)](Images/screenshot_002.png) - Change the button's class to
DCBorderedButton
. Also change module toDCKit
if you've installed the library via CocoaPods. You'll notice a border appeared around the button: [[Change the button's class to DCBorderedButton](Images/screenshot_003.png)](Images/screenshot_003.png) - Now you're able to customize the button from IB directly: [[Now you're able to customize the button from IB directly](Images/screenshot_004.png)](Images/screenshot_004.png)
Please download the latest code version and run DCKitSample.xcodeproj
to test out all the features it offers.
Documentation
Basically, all of the classes are pretty straightforward and don't worth describing. Most of them you can see in the demo project.
I'll describe a few of them here though.
DCHairlineView
Very useful control, I widely use it in my projects as a separator between views.
DCMandatoryTextField
Base text field for all the mandatory text fields. Highlights the text field if the entered value is false.
By default it considers the empty value as invalid. You can override this behaviour by subclassing this class and overriding isValid
method.
DCMandatoryEmailTextField
This field is also checks if the entered value is a valid email address. It uses a regexp taken from here: http://stackoverflow.com/questions/5428304/email-validation-on-textfield-in-iphone-sdk
Requirements
- Xcode 6 or above
- iOS 8 or above
- Swift 2.0 and above
Author
License
This project is under MIT license. For more information, see LICENSE
file.
*Note that all licence references and agreements mentioned in the DCKit README section above
are relevant to that project's source code only.