Questions tagged nspredicate

Explore the latest questions and answers asked by our top developers.

How to Not fetch screenshots from Photos library iOS

I am trying to fetch Photos from Photo library and I want to show only images from the Photo Library. I do not want to show videos. I am using PHFetchOptions to fetch PHAssets from Photos library. Also I have provided a predicate to fetch only the photos. Below is my code: let allPhotosOptions = […]

By FE Tech
Categorised as ios, nspredicate, photokit, swift Tagged , , ,

CoreStore sectioned list monitor how to specify .where clause in runtime

I have this code in my init method: self.monitor = CoreStore.monitorSectionedList( From<ListEntityType>() .sectionBy(#keyPath( { (sectionName) -> String? in return “(String(describing: sectionName)) years old” } .orderBy(.ascending(#keyPath(, .ascending(.name)) ) I want to somehow add to this monitor .where condition in runtime. ListEntityType is a type alias of an entity called Exercise. So each Exercise contains one to […]

By Matrosov Alexander
Categorised as core-data, corestore, ios, nspredicate, swift

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us