IconFamilyCompatibility typos in trunk r46

Developers
Anonymous
2011-03-02
2013-04-26

  • Anonymous
    2011-03-02

    Just checked out the latest trunk and there are some typos with the backwards compatibility:

    if ([!self respondsToSelector:@selector(attributesOfItemAtPath:error:)])
    

    "Invalid receiver type 'int'

    Should be

    if (![self respondsToSelector:@selector(attributesOfItemAtPath:error:)])
    

    There are 3 other identical typos.

     

  • Anonymous
    2011-03-03

    Also, from what I can tell, there shouldn't be any need for #including Carbon anymore - it looks like all the data types IconFamily uses are now part of CoreServices (CarbonCore).