Dima Shmidt

Results 21 comments of Dima Shmidt

As I undestand, crash happens inside try-catch block: ``` - (NSManagedObject *)objectForIndexPath:(NSIndexPath *)indexPath { NSInteger numberOfSuggestionFields = [self numberOfSuggestionFields]; if (numberOfSuggestionFields % 2 == 0) { return [self.coreDataFetchController objectAtIndexPath:indexPath]; }...

I also have a few comments: If you have an identical cells, there is no need to register every cell, just one. It will be re-used with different data. `[NSPredicate...

@TomKnig Oh, I see... thanks for clarification.

Instead of adding gesture recogniser to every cell, use delegate method `- (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{ [self didSelectSuggestionAtIndexPath:indexPath]; }`

I'll figure it out and come back to you.

OK, At first you need to create Podspec file, it's easy: $ pod spec create ZSPinAnnotation Edit it: $ edit ZSPinAnnotation.podspec Follow this link to see description: https://github.com/CocoaPods/CocoaPods/wiki/A-pod-specification Then run:...

Just as a working example: https://github.com/samvermette/SVPulsingAnnotationView/blob/master/SVPulsingAnnotationView.podspec

Have you ever tried CocoaPods? Try it and you 'll never go back. For sure.

``` objc RETableViewSection *birthSection = [RETableViewSection sectionWithHeaderTitle:NSLocalizedString(@"Birth", nil)]; [_manager addSection:birthSection]; REDateTimeItem *dateOfBirth = [REDateTimeItem itemWithTitle:NSLocalizedString(@"Birth date", nil) value:_person.dateOfBirth placeholder:@"-" format:@"MMM d, y" datePickerMode:UIDatePickerModeDate]; dateOfBirth.onChange = ^(REDateTimeItem *item){ weakSelf.person.dateOfBirth = item.value;...

Can't understand what is the reason...