Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Application is crashing with different type of Exception
- - (void)loadLyricsForSong {
- NSMutableArray *arrayOfLyrics = [[NSMutableArray alloc] initWithArray:[song.songLyrics allObjects]];
- NSSortDescriptor *nameDescriptor = [[NSSortDescriptor alloc]initWithKey:@"startTime" ascending:YES];//name wise sorting in asecending order
- NSArray *sortDescriptors = [[NSArray alloc]initWithObjects:nameDescriptor,nil];
- [arrayOfLyrics sortUsingDescriptors:sortDescriptors];
- [self setLyricsArray:arrayOfLyrics];//setting mutable array with places
- [nameDescriptor release];
- [sortDescriptors release]; //releasing objects
- [arrayOfLyrics release];
- [self.tableView reloadData];
- }
- > *** -[UITouchData retain]: message sent to deallocated instance 0x5da0860
- > *** -[NSConcreteNotification retain]: message sent to deallocated instance 0x5d919b0
- > *** -[CFArray retain]: message sent to deallocated instance 0x5b47d30
Add Comment
Please, Sign In to add comment