Closed kalsky closed 10 years ago
Hi
I made this change in my code in order to support the Afflr (GeoRiot alternative) links. their links looks like this: http://itunes.afflr.com/us/app/remote/id284417350?mt=8&linkshare=sIWD2CMQJkY&tradedoubler=1622681
so, under NSURL+iTunes.m:
NSString * const AfflrDomain = @"itunes.afflr.com";
(BOOL)isItunesURL:(NSURL *)candidateURL { return ([candidateURL.host hasSuffix:ItunesDomain] || [candidateURL.host hasSuffix:AfflrDomain]); }
set a pull request, I will accept it
Hi
I made this change in my code in order to support the Afflr (GeoRiot alternative) links. their links looks like this: http://itunes.afflr.com/us/app/remote/id284417350?mt=8&linkshare=sIWD2CMQJkY&tradedoubler=1622681
so, under NSURL+iTunes.m:
NSString * const AfflrDomain = @"itunes.afflr.com";
(BOOL)isItunesURL:(NSURL *)candidateURL { return ([candidateURL.host hasSuffix:ItunesDomain] || [candidateURL.host hasSuffix:AfflrDomain]); }