Coder Social home page Coder Social logo

fontasticicons's People

Contributors

alexdenisov avatar arturdryomov avatar atermenji avatar bitdeli-chef avatar kreeger avatar texastoland 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

fontasticicons's Issues

Different icon names for Font Awesome fonts?

This is probably a matter of taste, but I've been using a fork of my own lately that uses correct Font Awesome names for each of the FIFontAwesomeIcon methods, from the Font Awesome website (makes it much easier to find icons to use). Is this something you're interested in merging into master? (Keep in mind, I've not done anything about the 3.0 stuff.)

If so, I'll submit a pull request after I add in backwards-compatibility methods that won't break others' API. What do you think?

CocoaPods. Subspecs

  • Separate each font with subspec to avoid including all fonts
  • Break sample into separate xcodeproj/podfile

Retina scale fuzzy?

I know you've got this line of code that should take this into consideration, but as of the latest pull request that was merged, I'm seeing fuzziness on retina devices for icons. Any idea what's up?

Screen Shot 2013-01-02 at 2 29 58 PM

I don't quite understand a lot of CoreText stuff yet, but is it possible something's up in FIIconLayer+FIRenderer.m, like in -setTransformForContext:bounds:iconBounds:, or perhaps -scaleForBounds:iconBounds:?

different icons for 2 different targets -- wtf

Hi, I have a weird issue. I have 2 targets for a client (free, pro -- yes, antiquated but whatever).

I am using FontasticIcons in both targets via CocoaPods.

It works great for the one target but I'm seeing a different icon in the other target!

I have no idea why and haven't had time to dive into your code yet. I am wondering if you knew off the top of your head what's up.

Here are the images

http://imgur.com/moIN4,k5kkt#0

http://imgur.com/moIN4,k5kkt#1

I am using 0.1.0 BTW

Unit/Behavior Testing

What do you guys think? I know 3 popular alternatives:

  1. OCUnit (default underlying others)
  2. Kiwi (most popular for BDD see also Cedar)
  3. Specta (@github supports it and I personally use their ReactiveCocoa, Mantle, and libextobjc projects extensively)
  4. Etcetra

I also left a TODO in my upcoming patch. Thoughts?

Stroke

Drawing stroke if needed:

icon.borderWidth = 3.f;
icon.borderColor = [UIColor redColor];

123

Version and Update Fonts

Paving the way for #20: Font Awesome has since released 3.0; Entypo Social was merged into Entypo; Iconic added a stroked variant (which can be approximated by applying a negative strokeWidthRatio to any FIIconRendering conforming class cf #16). All fonts also feature subtler updates.

Crash while accessing FIFontAwesomeIcon.phoneIcon() in cocoa-pods

In "FIFont+Private.h" class. Following method is crashing:

+ (instancetype)fontWithResourcePath:(NSString *)aPath {
    static dispatch_once_t once[1];
    dispatch_once(once, ^{ fonts = [NSMutableDictionary dictionary]; });
    aPath = [self pathForResource:aPath];
    if (!fonts[aPath]) @synchronized (fonts) {
        fonts[aPath] = [[self alloc] initWithFontData:[NSData dataWithContentsOfFile:aPath]];
    }
    return fonts[aPath];
}

The crash is because [self pathForResource:aPath]; is returning nil.

Iconic font wrong icons

At least two icons in Iconic font are confused between each other: xIcon and xAltIcon shows check instead of cross, and checkIcon and checkAltIcon shows cross instead of check.

Pimp Up Sample

The sample renders Font Awesome noticeably slow because its controller doesn't defer rendering.

  • Either table view with N icons per row or iOS 6-only collection view or GMGridView
  • Refactor into storyboard
  • Magnify icon on tap
  • Zoom and rotate fullscreen icon
  • Control/gesture to scale stroke
  • Fuzzy search header in icon list

Refactor FIIconView into FIIconLayer

Struggling with simply setting icons to buttons I wondered whether it'd be more accessible implementing rasterization subclassing CALayer that could be composed into any UIView?

Update Documentation

The README has gotten a little stale. For instance I think the most common FI use case would be like button.image = icon.imageWithBounds:bounds color:color; whereas power users should prefer layers instead of views. How should docs be surfaced? It could all go in README but that might discourage contribution or thorough explanations. Jekyll Pages are great for promotion but inconvenient to maintain because they require web design and development. Gollum wikis are my preference. Brainstorming topics:

Usage
  • AppleDoc for headers depended by FontasticIcons.h (like FIIcon.h)
  • Changelog (preferably before this milestone)
  • Update screenshots and clean up sample (using storyboard?) #23
  • Basic usage (like -imageWithBounds:color:)
  • Advanced usage (like rendering icons with layer effects)
  • Design (what conceptually are fonts, icons, and renderers)
Contribution
  • Bleeding edge access (use pod 'FontasticIcons', :branch => 'development')
  • Adding and contributing icon sets (currently in flux)
  • Feature branches named after issues like osx-support-18
  • PRs target development and must stabilize a few days before merged
  • Deprecation formalized in categories

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.