为什么Xcode 9 beta不显示CoreData实体和属性的索引选项? [英] Why Xcode 9 beta does not show index options for CoreData entities and attributes?

查看:309
本文介绍了为什么Xcode 9 beta不显示CoreData实体和属性的索引选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode 9(beta 6)中,数据模型检查器( .xcdatamodeld 文件)中缺少索引选项:





它们在Xcode 8中可见:





2017年WWDC 核心数据的新功能 session描述了一个新的索引API。给那个会话看看。


In Xcode 9 (beta 6) indexing options are missing in Data Model Inspector (.xcdatamodeld file):

They are visible in Xcode 8:

Do you know what reasons are behind this decision?

解决方案

Simple indexing is deprecated in iOS 11, and the Xcode 9 UI reflects that. This is from the docs for NSPropertyDesciption:

At WWDC 2017 the What's New in Core Data session described a new indexing API. Give that session a look.

这篇关于为什么Xcode 9 beta不显示CoreData实体和属性的索引选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆