开发者

how to convert NSArray/NSMutableArray to NSFetchedResultsController in iphone sdk?

开发者 https://www.devze.com 2023-03-09 14:04 出处:网络
how to convert NSArray/NSMutableArray to NSFetchedResultsController in iPhone SDK. Actually i got number of online users in NSFetchedResultsController format. But now i want to show only those users w

how to convert NSArray/NSMutableArray to NSFetchedResultsController in iPhone SDK. Actually i got number of online users in NSFetchedResultsController format. But now i want to show only those users which are within 1000 meters of range. So i converte开发者_如何学Cd NSFetchedResultsController into NSArray , and filter array with condition, but now i want to again convert NSArray into NSFetchedResultsController type object. How to do that ?


You could not convert an NSArray to NSFetchedResultsController,As of now there is no method available which support to convert NSArray to NSFetchedResultsController.

where as you could access the NSArray from NSFetchedResultsController.

See Documentation for More info

0

精彩评论

暂无评论...
验证码 换一张
取 消