Git Product home page Git Product logo

azteceditor-ios's Introduction

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.

Integrating the Library with Carthage

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

github "wordpress-mobile/AztecEditor-iOS" "develop"

Follow these instructions to build Aztec.framework.

Then:

  1. Open your project, head to Build Settings for your target and add $(SDKROOT)/usr/include/libxml2/ to your Header Search Paths.
  2. Go to Build Phases > Link Binary With Libraries and add Aztec.framework.
  3. Add import Aztec to your project's source.

Integrating the Library with CocoaPods

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.

azteceditor-ios's People

Contributors

aerych avatar arisun avatar astralbodies avatar azone avatar bummytime avatar catehstn avatar diegoreymendez avatar frosty avatar jim-rhoades avatar jleandroperez avatar koke avatar kurzee avatar nheagy avatar rachelmcr avatar rmccue avatar sergioestevao avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.