fetchedResultsController.fetchedObjects crashes on iOS 10 beta 1 and Swift 2.3 -
summary:
when try access fetchedresultscontroller.fetchedobjects
app crashes , printed error as:
fatal error: nsarray element failed match swift array element type
steps reproduce:
- call
fetchedresultscontroller.fetchedobjects
after fetchedresultscontroller.performfetch. - try convert
fetchedresultscontroller.fetchedobjects
nsmanagedobjects
. - app crashes.
expected results:
fetchedresultscontroller.fetchedobjects
should accessible in swift.
ios version: ios 10 beta 1
xcode version : 8.0 beta
swift : 2.3
thanks!
this issue has been resolved once upgraded swift code swift 3.0
.
thanks!
Comments
Post a Comment