hulu / grannysmith Goto Github PK
View Code? Open in Web Editor NEWIt's green. It's an apple.
It's green. It's an apple.
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
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
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.
Let say, if I want to have a text which can be tappable, once tap, it will execute selector with parameter
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!!!
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
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.
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
As the subject says... this would be a nice feature.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.