Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode Developer API - Object Library - Objects Disappearing

Fairly new to the Xcode Developer API and need a little help. When a project is first opened in Xcode, the Object Library displays the full list of UIKit objects available (and other linked frameworks I believe). However, when I switch files in the project navigator to/from any file (.m, .h, .xib, etc), the Object Library list changes; most of the objects are missing - such as NSButton, NSTableView etc. The standard objects are still visible - Label, Round Rect Button, Text Field, etc.

Closing and re-opening the same project appears to restore the Object Library list, but the same issue happens once a different file is opened.

Using Xcode Version 4.2.1, Build 4D502.

Help!

like image 931
cshfym Avatar asked Apr 17 '26 00:04

cshfym


1 Answers

I think I see what you are describing. When I first open an iOS project the Object Library is showing objects that are valid for OS X but not iOS (like File Menu Item). When I switch to a xib file the Object Library gets updated to show only the objects that are valid for iOS. Ideally I suppose that wouldn't happen but since you can't do anything with the Object Library while a source file is in the editor no harm is done.

like image 115
SSteve Avatar answered Apr 18 '26 16:04

SSteve



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!