Fixing cellForItemAtIndexPath method of UICollectionView not called

I have been coding in iOS for around 1.5 years now and during this journey of developing Cocoa View Controllers, I had to deal with UICollectionView many times. I had always tried to avoid using collection view because of the complexities As per my experience in dealing with UICollectionView, it is one... [Read More]

Handling composed character sequences/character clusters in NSString

String handling was a bit different in 'C' world. Everything was ascii C string- (char) *src = instring, *dst = outstring + len - 1;whille (*src) * dst-- = *src++;But now the things are changed. Text is unicode now. In most of the languages, there are chances that an API... [Read More]

Handling remote notifications in iOS 8

Apple has changed the way notifications are handled in iOS 8 from that in iOS 7.  Now an app can receive silent remote notifications without event asking for permission from user.In iOS 7, we were using the method:- (void)registerForRemoteNotificationsTypes:But this method has now been deprecated and new method has been... [Read More]

Method Without NAME in iOS

This might look weird to you but yes, it is possible to declare methods in iOS which do have names. We can declare a method in objective-c which can have only parameters and no name as such.Let us get to the point and take an example:Consider the following method:- (NSString... [Read More]