Xcode 7.3 beta introduces enhanced code completion

Screen Shot 2016-01-11 at 3.12.20 PM

Xcode 7.3 beta release notes:

Code completion provides better matches with fewer keystrokes and makes it easier to find what you’re looking for.

You can type just the uppercase letters of a method name. Typing “myDelegate.tveh”, where myDelegate is a UITableViewDelegate, gives tableView(_ tableView: UITableView, estimatedHeightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat as the first completion.

You’ll also get completions that better match your intent, so typing “myView.color”, where myView is a UIView, gives every property containing the “color” substring, like “tintColor” and “backgroundColor”. (22429862)

Not sure how “e” for “estimate” is uppercase, but I get the point. Neat stuff. (update: changed “fuzzy” to “enhanced” in the headline because it really wasn’t very fuzzy, wuz he? Also, added some line breaks to make it more readable.)

Thanks, Robert Payne

One Comment