Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1011 Bytes

README.md

File metadata and controls

51 lines (38 loc) · 1011 Bytes

Transformer

The main idea of this project is to have an online tool to be able to visually add formatting to a text and get back a swift attributed string with that format.

Modules

Usage

  • Install dependencies:
npm install
  • Start a server listening on localhost:3000 to preview the project:
npm start
  • Compile
npm run compile

Sample

Static-Sample

Sample

To Do

  • Basic structure
  • Basic design
  • Add NSAttributedStringKey.foregroundColor
  • Add NSAttributedStringKey.font
  • Add NSAttributedStringKey.backgroundColor
  • Add button to copy the generated code.
  • Be able to drag and drop custom fonts to be used
  • Use numbers for text size instead of clases
  • Add tests
  • Keep adding support for more NSAttributedStringKey
  • Add support for objective-c