Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.85 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.85 KB

Aztec for iOS: Native HTML Editor

Aztec's Logo'

BuddyBuild Version License Platform

Requirements

  • iOS 9 and above
  • Xcode 8

Running the Example App

To run the Example app, you first need to make sure its dependencies are installed:

  • Make sure you have Carthage installed (we're currently using version 0.23.0).
  • Using the command line:
cd Example
carthage update --platform iOS

Once Carthage finishes, you should open the file Aztec.xcworkspace from the root directory of Aztec.

Make sure the AztecExample target it selected, and press CMD + R to run it.

Using the Library

WordPress-Aztec-iOS is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "WordPress-Aztec-iOS"

Usage

After installing Aztec, import the module and use the Aztec.TextView view:

import Aztec

// ...

let textView = Aztec.TextView(defaultFont: Constants.defaultContentFont, defaultMissingImage: Constants.defaultMissingImage)

Note: Obj-C is not officially supported.

License

WordPress-Aztec-iOS is available under the GPLv2 license. See the LICENSE file for more info.