Is there any way to navigate the structure of an Objective-C file by alpha order for the methods? The combobox (in the Jump Bar) that shows all the methods is not much more helpful than looking through the file.
As per the Jump Bar Help Page:
"Tip: Hold down the Command key when selecting a level in the path menu to view its items alphabetically."
If it's a file implementing a class then in the Symbol Navigator (CMD+2) you can expand the class you're interested in and the class's member variables and methods are listed in alphabetical order.
Related
Control + 6 is used to show this list of class and method names in the current file
Is there a way I can make the full list always visible somewhere?
The Document Items list should always be at the top of each document. I don't think it ever goes away.
What is the keybinding name for the action taken when clicking the breadcrumb shown in this screenshot? This shows a searchable list of the classes in the current file.
Its name is Standard Editor->Show Document items. Default binding is ctrl-6. The breadcrumb prior to it is ctrl-5. You can change in Preferences->Key Bindings, under View Menu section.
To specifically open that breadcrumb you can use ctrl-6 and search by typing.
You can also use Open Quickly to search for symbols in Xcode, which is cmd-shift-O
Open Quickly has support for partial-case and position insensitive matching so it's very flexible in searching through your code and files.
As declared in the title, for example, I want to search for a button whose name is button8, within a form where there are so many buttons that I do not want to check the name one by one.
Can I do this in VB6?
You should just be able to refer to the control via the controls collection, like so:
Me.Controls("Button8")
See this link.
Here's how to find a control in the form designer, if you know the name.
Go to the form designer, open the property window (press F4), and use the dropdown to choose the control. This shows the properties in the window (and you can edit them). It also selects the control onscreen.
I've looked around and haven't found a clear answer. I'm trying to use an array controller in a non document based app and I can't seem to make it work. Is it impossible to do this?
I'm not sure how to get the content array to bind to the controller. Even a pointer to some reading material would help. Thanks. :)
Of course it's possible -- In IB in the bindings inspector, under the "Content Array" heading choose the class that contains the array you want to bind from the pull down menu, then click the "Bind to" box. In the "Model Key Path" field, type in the property name of your array. That's all there is to it.
Assume that class Being has a property of type Habitat. Both classes are implemented in their own .cs files. When I drag and drop the two classes from the class designer onto a new Class diagram, I do not see an association line from Being to Habitat, whereas there is an association in code. Am I doing something wrong, or this simply isn't implemented in VS yet?
To show the property connection, right-click on the property; "show as association" or "show as collection association" (as appropriate)
It's off by default. Right click on the property and choose "Show as association"
The class diagram doesn't show "lines" between every instance (property) of a type and its type. This would get very, very messy very quickly.
If "Being" derived from "Habitat" (which wouldn't make sense), it would show a line for that. It shows lines for inheritance, not each individual field/property.
Habitat is a property in Being. They are not associated in the way the designer shows. The designer shows inheritance.