开发者

Error adding object to mutable array

for (NSString *CurrentArtistName in ArtistNamesArray) {
    CurrentArtistName = [CurrentArtistName stringByMatching:regEx capture:1];
    NSLog(CurrentArtistName);
    [ArtistNames addObject: CurrentArtistName];
}

why is this closing my app ?

There are no errors in the cod开发者_C百科ing and the NSLog is logging the CurrentArtistName ? i really cannot understand why ?

Please help

Thanks


array = [[NSMutableArray alloc] init];    

I forgot to initialize the array XD

Noobie mistake but i thought i did

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜