开发者

learning Core Data [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 9 years ago.

开发者_开发百科 Improve this question

my first question sorry if this is too basic. I followed the tutorial "Beginning iPhone 3 Development" and I'm now following "More iPhone 3 Development Tackling iPhone SDK" which a big number of chapters on Core Data. I've had my part of problems since the books are using XCode 3 and I'm using Xcode 4 but until now I've been able to solve them. This one however....

In chapter 7 (for those with the book) we're trying to setup some fetched properties for an entity called Hero (one of those will find youngerHeroes). The tutorial says :

"Although the Predicate field is a text field, it’s not directly editable. Once you’ve created a predicate, it will show a string representation of that predicate, but you can’t actually type into the field. Instead, to set the predicate for this fetched property, you click the Edit Predicate button to enter Xcode’s predicate builder. Let’s do that now. Go ahead. It’s perfectly safe. No, seriously—click the darn button already."

However in Xcode 4, this text field IS Editable and there is no button to be found to bring up the predicate builder...


Unfortunately this feature appears to be missing from the current version of XCode 4. The apple documentation refers specifically to this feature as do a number of online tutorials, my guess is that this feature was present in the beta but not in the full released version.

We ended up having to write the predicates manually, which is a pain at first but after a while becomes second nature.

Good Luck,

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜