Add toggling of include/import statements.

This is bound to ⌃" which was initially the key for toggling string quotes (single to/from double) but in C we have already stretched it a bit by making it toggle between user and system includes (the former being double quoted) so I figured it would make sense to promote this key as the key for toggling between syntax for somewhat equivalent constructs.
Update docset query for Xcode 4.x.
Read C/C++ completion files from C bundle.

Probably a better approach is to introduce a colon-separated variable with completion files and then append to this via scoped settings (this removes a lot of checks against TM_SCOPE from the code and makes it easier to extend, e.g. OpenGL bundle can add OpenGL completion files).
Change tm-file: → file:
Change SELNAME → sel_getName
Add initial semantic classes.
Don’t fold @protocol forward declarations
Add snippet (pro⇥) for Objective-C protocols

I made the tab trigger 3 letters, we’re not overly consistent with the tab trigger length in this bundle.
Use ARC-compatible autorelease pool syntax
Inserting matching brace disabled for multiple carets

TextMate r9319 no longer sets dyn.selection for multiple carets (when there is no selection) so we need to also avoid dyn.caret.mixed.
Match placeholders in Objective-C strings

We do this by explicitly matching ‘%@’ (with potential flags and similar) in the Objective-C grammar, and then include the ‘string_placeholder’ rule from the C grammar.

Also switch the rule for matching escaped characters (in Objective-C strings) with an include (for re-using the C grammar’s rule).
Match ‘@package’ keyword
Remove array iteration snippet

This snippet is obsolete as one should iterate arrays with the “for … in” syntax (for which we already have a snippet).
Update int → NSInteger for NSAlert result
Use an Objective-C literal instead of NSDictionary
Update property snippet for ARC

Prior to ARC, the default storage for retainable pointer types was ‘assign’ meaning you pretty much had to set a storage type.

With ARC, the default storage type (for retainable pointer types) is now ‘strong’ meaning you probably want to leave out the storage type. Therefor I made the pop-up default to ‘readonly’ and deleting it will also delete the comma. You can still find ‘retain’ and friends in the pop-up (which now also include ‘weak’).
Remove 10.4 compatible documentation lookup code
Don’t show error when canceling documentation lookup dialog

Also remove the use of __CF_USER_TEXT_ENCODING as this is no longer necessary to ensure that pbpaste outputs UTF-8.
Den’t let ⌃H do ‘selector lookup’ when text is selected

This makes it possible to instead lookup a constant, class name, or similar, despite being inside a method call declaration. Also, the selector lookup code doesn’t really work with a selection as it expects to get the full call on stdin.
add fallback support for documentation