Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Two-Lambda-Labs/MDComposeToolbar

Repository files navigation

MDComposeToolbar

Drop-in Toolbar UI for inputting markdown based text. Made in Swift for iOS.

A very simple UI component that allows users to input markdown styled text. A delegate callback makes it really easy to embed this in your project and get running in minutes.

Installation

Cocoapods:

pod 'Notepad', :git => 'https://github.com/ruddfawcett/Notepad'
pod 'MDComposeToolbar', :git => 'https://github.com/Two-Lambda-Labs/MDComposeToolbar'
pod install
let toolbar = MDComposeToolbar()
toolbar.view.frame = view.bounds
toolbar.delegate = self
view.addSubview(toolbar.view)

Optional (Implement Toolbar Delegate):

extension ViewController: MDComposeToolbarDelegate {
	func toolbarDidFinish(with string: String?) {
		label.text = string
	}
}

Usage example

See MDComposeToolbar-Example directory for an example and demo of the toolbar.

Screenshots: Screenshot Gif Demo

Release History

  • 0.0.1
    • Initial Working Version

Meta

Jonathan Danek – WebsiteJonathan@Danek.com

Distributed under the MIT license. See LICENSE for more information.

Github

Contributing

  1. Fork it (https://github.com/Two-Lambda-Labs/MDComposeToolbar/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

Drop-in Toolbar UI for composing markdown based text. Made in Swift for iOS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /