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

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift