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
tintOverlayproperty
- UITextField
placeHolderColor
- UIView full
shadowborderandcornerRadiussetup
- UIView differnet corner radius for each border
view.roundCorners()
- String
strikeThroughwhich draws a line over text and returns aNSAttributedString - String
toPersianNumber()which replaces numbers to persian value - String
widthandheightwhich returns calculated size of text according to its font - Date
relativeTimewhich returns relative time from now like2 minutes ago
KSCommons-Swift is available under the MIT license. See the LICENSE file for more info.


