Karo Studio is a digital agency with solid design and development expertise.We build mobile and web applications. Visit us at karo.studio or drop us a line
To run the example project, clone the repo, and run pod install
from the Example directory first.
- iOS 9.3+
- Xcode 10
KSCommons-Swift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'KSCommons-Swift'
options that will empower your story builder
- UIButton
imagePadding
- UIButton image tint color using
tintOverlay
property
- UITextField
placeHolderColor
- UIView full
shadow
border
andcornerRadius
setup
- UIView differnet corner radius for each border
view.roundCorners()
- String
strikeThrough
which draws a line over text and returns aNSAttributedString
- String
toPersianNumber()
which replaces numbers to persian value - String
width
andheight
which returns calculated size of text according to its font - Date
relativeTime
which returns relative time from now like2 minutes ago
KSCommons-Swift is available under the MIT license. See the LICENSE file for more info.