Nice.  That method name is somewhat misleading
 
On Nov 22, 2013, at 4:24 PM, Jonas Budelmann <notifications@github.com> wrote:

> In Classy/Parser/CASStyleProperty.m:
> 
> > +        if([scheme isEqualToString:@"caches"]) {
> > +            searchMask = NSCachesDirectory;
> > +        } else if([scheme isEqualToString:@"documents"]) {
> > +            searchMask = NSDocumentDirectory;
> > +        } else if([scheme isEqualToString:@"bundle"]) {
> > +            NSArray *parts = [path componentsSeparatedByString:@"."];
> > +            NSString *iPath = [parts firstObject];
> > +            NSString *ext = [parts count] > 1 ? [parts lastObject] : @"png";
> > +            imagePath = [[NSBundle mainBundle] pathForResource:iPath ofType:ext];
> > +        }
> > +        
> > +        if(searchMask != 0) {
> > +            NSArray *paths = NSSearchPathForDirectoriesInDomains(searchMask, NSUserDomainMask, YES);
> > +            imagePath = [paths firstObject];
> > +        }
> > +        imageValue = [UIImage imageWithContentsOfFile:[imagePath stringByAppendingPathComponent:path]];
> actually imageNamed: should work fine for folder references as well.
> see http://vocaro.com/trevor/blog/2012/10/21/xcode-groups-vs-folder-references/
> 
> —
> Reply to this email directly or view it on GitHub.
>