NSSet to NSArray casting calling objectAtIndex?

Despite you’re casting NSMutableSet to NSArray, that simple casting won’t make NSSet class respond to NSArray‘s messages. You have to fill an actual NSArray with the elements of the NSSet like this:

NSArray *array = [theNsSet allObjects];

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)