Giter Site home page Giter Site logo

grannysmith's People

Contributors

alexkuz avatar ba01ei avatar jeffreyfan8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grannysmith's Issues

changeNodeToText:forID: - not changeToText:forID:

Pretty cool class. I've been playing with it some and discovered a mistake in the docs (wiki).

You have the statement:
[fancyText changeToText:@"the title" forID:"title_line"];

but it should be:
[fancyNodeText changeToText:@"the title" forID:"title_line"];

Thanks

scrolling supported?

Hi,

I tried changing this line:
@interface GSFancyTextView : UIView {
to:
@interface GSFancyTextView : UIScrollView {
but I cant' get the view to scroll.

Please, what am I doing wrong?

Is very super library.

Thanks

very slow for long text

I really like this class - it does a lot and on top of it it's simple to use. The only problem I'm having is that for long texts it is quite slow, much slower than other "rich text" or "attributed text" classes that I've tried.

I'm still playing with this, and it could be that I'm doing something wrong, but just figured that I'd let you know and see if you've got any thoughts on this.

Feature Request - Display arbitrary images

The lambda tag is great for displaying a particular image which you have in advance, however I would love to see the ability to support arbitrarily named images that aren't available at compile time (ie they have been downloaded or created by the user).

Support for the tag would probably be the best way, but another, more generic option would be to create another lambda function which takes an argument (so that we could create a lambda called "img" and pass the filename to the block).

This looks like a great component, thank you for sharing!!!

Please add semantic version tags

I’ve recently added GrannySmith to the CocoaPods package manager repo.

CocoaPods is a tool for managing dependencies for OSX and iOS Xcode projects and provides a central repository for iOS/OSX libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.

However, GrannySmith doesn't have any version tags. I’ve added the current HEAD as version 0.0.1, but a version tag will make dependency resolution much easier.

Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.

In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:

$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags

shadows not implemented?

It looks like shadows implementation is not really finished. While you can set the values in the style sheet they are not actually used in the drawing code.

Calculate height of rendered text

Hi there,
Thanks for the beautiful stuff.
Was wondering, is there a way to calculate height of the text after rendering the styles?

This will help in designing layout dynamically based on the text height.

Thanks

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.