Re: removeItemAtPath in 10.7

2015-08-27 Thread sqwarqDev
> On 27 Aug 2015, at 04:44, Stephane Sudre wrote: > > Side note, you probably want to change your loop to: > > for(NSString * thisPath in offenderList) > { > } > I normally do use fast enum’; can’t recall why I didn’t do here, but this: > > offenderList.count would then be a NSUInteger and

Re: removeItemAtPath in 10.7

2015-08-26 Thread Conrad Shultz
> On Aug 26, 2015, at 8:11 AM, sqwarqDev wrote: > > I built my app in Xcode 6.4 on 10.10.5. > > Runs without issue on Yosemite and Mavericks. However, when I boot into Lion > 10.7, I get an “unrecognized selector” error on the “removeItemAtPath” line. > Here’s the snippet" > > NSError *err;

removeItemAtPath in 10.7

2015-08-26 Thread sqwarqDev
I built my app in Xcode 6.4 on 10.10.5. Runs without issue on Yosemite and Mavericks. However, when I boot into Lion 10.7, I get an “unrecognized selector” error on the “removeItemAtPath” line. Here’s the snippet" NSError *err; int i; for (i=0; i < offendersList.count; i++) {