IMITextView provides background effects of textView like Instagram in iOS.
CocoaPods is a dependency manager for Cocoa projects, which automates and simplifies the process of using 3rd-party libraries like
IMITextView in your projects. First, add the following line to your Podfile:
If you want to use the latest features of
IMITextView use normal external source dependencies.
pod 'IMITextView', :git => 'https://github.com/immortal-it/IMITextView.git'
This pulls from the
main branch directly.
IMITextView into your project:
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate IMITextView into your Xcode project using Carthage, specify it in your
github "immortal-it/IMITextView" ~> 0.0.1
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
swift compiler. It is in early development, but IMITextView does support its use on supported platforms.
Once you have your Swift package set up, adding IMITextView as a dependency is as easy as adding it to the
dependencies value of your
dependencies: [ .package(url: "https://github.com/immortal-it/IMITextView", .upToNextMajor(from: "0.0.1")) ]
immortal-it/IMITextViewfolder into your project.
(see sample Xcode project in
let textView = IMITextView() textView.configuration.lineBackgroundOptions = .fill
let textView = IMITextView() textView.configuration.lineBackgroundOptions = .boder
let textView = IMITextView() textView.configuration.isStrokeOuter = true textView.configuration.strokeWidth = 10.0 textView.configuration.strokeColor = .red
IMITextView can be customized via the
IMITextView is distributed under the terms and conditions of the MIT license.
|Last commit: 5 weeks ago|