Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andresinaka/transformer
Easy Attributed String Creator
https://github.com/andresinaka/transformer
nsattributedstring objective-c online-editor swift transformer
Last synced: 5 days ago
JSON representation
Easy Attributed String Creator
- Host: GitHub
- URL: https://github.com/andresinaka/transformer
- Owner: andresinaka
- Created: 2017-10-24T14:34:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T13:53:03.000Z (over 4 years ago)
- Last Synced: 2024-10-25T18:29:48.362Z (about 2 months ago)
- Topics: nsattributedstring, objective-c, online-editor, swift, transformer
- Language: JavaScript
- Homepage: https://andresinaka.github.io/Transformer/
- Size: 4.19 MB
- Stars: 281
- Watchers: 11
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ios - Transformer - Easy Online Attributed String Creator. This tool lets you format a string directly in the browser and then copy/paste the attributed string code into your app. (Tools / Web View)
- awesome-ios-star - Transformer - Easy Online Attributed String Creator. This tool lets you format a string directly in the browser and then copy/paste the attributed string code into your app. (Tools / Web View)
README
[![Build Status](https://travis-ci.org/andresinaka/Transformer.svg)](https://travis-ci.org/andresinaka/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` and/or `objective-c` code to reproduce that formating.
[Working App](https://andresinaka.github.io/Transformer/)
Sample
---
![Static-Sample](images/sample.png)Modules
---
- [Quilljs](https://quilljs.com)
- [Highlight.js](https://highlightjs.org/)To Do
---
Please if you feel like sending a PR you are more than welcome to do it! The way the app is built is pretty simple and if you need some help to get started feel free to get in touch with me!- [x] Basic structure and design.
- [ ] Be able to drag and drop custom fonts to be used.
- [ ] Use numbers for text size instead of clases.
- [ ] Optimization of code generated when multiple lines with same format,
- [ ] Keep supporting more formats! Or even for Cocoa?Usage
---
- Install dependencies:```
npm install
```- Start a server listening on localhost:3000 to preview the project:
```
npm start
```
- Compile
```
npm run-script build
```- Test
```
npm test
```