WMobileKit is a Swift library containing various custom UI components to provide functionality outside of the default libraries. Each component is customizable and featured in a sample app to demonstrate its functionality!
Web-like radio button that can be tied to a group and automatically select/deselect as expected from a normal radio button. The size and color of the outer and inner circle can be changed as well as the highlight.
Custom switch control emulating Apple's custom switches. Adds the ability to change sizes, colors, and sliding behaviors.
Custom number badge that provides the ability to change color, spacing, shape, location, and how the number displays/expands.
Custom progress spinner allowing for custom colors, the addition of images.
An image used to represent a user. Can use either a name which is hashed into a color or and image that is cropped to fit the view.
View that automatically adds as many of the provided views as possible to each row as determined by the controller's width and wraps to the next row for any remaining views while adjusting the height to fit the content.
Custom action sheets providing the ability to include a picker view, automatically scale to content, scroll, include a cancel button, and tap to dismiss.
Static banners that display information over content from the top or bottom. Can be automatically dismissed or on tap.
Displays a loading view over content. Can dim the background view and will disappear after a set period of time.
Toast that displays from the top/bottom or sides and can be customized to dismiss on tap or via a timer. The color, text, and transparency can be customized.
Custom paging control that allows scrolling headers, automatically spaced headers and button actions to display a view controller.
View controller leveraging the WPagingSelectorControl.
Custom side menu drawer. Displays view controllers as cells that can be tapped to swap the main view.
Text view that provides suggestions as you type.
Text view that interprets and displays markdown text.
UITextField with expanded functionality.
UITextView with expanded functionality.
||Base view controller that responds to and sends size change related events. Supports iPad Pro/Air split views.|
||Component that allows for simple theme creation that can be used throughout an app.|
||Random useful methods.|
To use the library in your app, add the following import to your file:
To run the example project, run
./setup.sh in the root directory.
Alternatively, you can run
pod install from the Example directory.
use_frameworks!must be at the top of your Podfile (since this is a Swift pod)
- iOS 8.0+
- Xcode 9.0
- Objective-C, Swift 3.2
Add the following to your Podfile:
Sample App Setup
Run the following in the root directory
A release is automatically created with each pull request. Please bump the WMobileKit.podspec,
Source/Info.plist, and Example/WMobileKitExample/Info.plist using
according to semantic versioning.
Example: (5.1.0 is the old version 5.1.1 is the new version)
./version_bump.sh 5.1.0 5.1.1
[!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: WMobileKit Warning: Command failed: Use --force to continue.
use_frameworksto the top of your Podfile
WMobileKit is available under the Apache license. See the LICENSE file for more info.
- James Romo
- Jordan Ross
- Jeff Scaturro
- Todd Tarbox
- Brian Blanchard
- Bryan Rezende