How to filter the array of user model data in iOS

Solution:

If  you are created one model with different datatypes and saved it in an array then you cannot be able to filter the data..if you tried to filter that it will be crash.

So better you can convert those models to dictionary and save it in an array and apply the predicate function it will works good....keep coding....enjoy....

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift