Customizing UIView Should be easier.
Use DesignableView to design a view as you want.
To integrate DesignableView into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'DesignableView'
'DesignableView' /usr/src/package: error: could not find source files for target(s): DesignableView; use the 'path' property in the Swift 4 manifest to set a custom target pathThis package can be updated automatically by having the owner add the GitHub App to this repository and creating a new release.
Customizing UIView Should be easier.
Use DesignableView to design a view as you want.
To integrate DesignableView into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'DesignableView'