Commit Graph

22 Commits

Author SHA1 Message Date
Doug Gregor
2477afe657 Rework the section on "dropping prepositions" to be more specific
Swift SVN r15464
2014-03-25 20:26:13 +00:00
Doug Gregor
2c94b6a259 Make it clearer that we're planning to drop "with" and "for".
Swift SVN r15463
2014-03-25 16:43:17 +00:00
Doug Gregor
751d5bd0f1 Reword and clarify an awful paragraph.
Swift SVN r15459
2014-03-25 16:28:30 +00:00
Doug Gregor
0e4044041f Take Jordan's suggestion to rename @selector(...) to @objc(...).
Swift SVN r15426
2014-03-24 22:49:55 +00:00
Doug Gregor
c5ffbcacc7 Fix a few typos
Swift SVN r15425
2014-03-24 22:47:51 +00:00
Doug Gregor
059a549e84 Formatting fixes.
Swift SVN r15424
2014-03-24 22:32:49 +00:00
Doug Gregor
ee599c0bdd Objective-C and Smalltalk don't have keyword arguments per se
Swift SVN r15423
2014-03-24 22:32:47 +00:00
Doug Gregor
a586b6d31d Unified function syntax: switch to space-separated API name / parameter name.
Swift SVN r15420
2014-03-24 17:55:22 +00:00
Doug Gregor
c3183aec70 Remove "by" as a dropped preposition (it's still a preposition).
In Cocoa selectors, "by" is often used before an action, i.e.,

  URLByAppendingPathExtension:
  characterRangeByExtendingPosition:inDirection:
  dateByAddingComponents:toDate:options:

Dropping the preposition doesn't make the argument name better.

Swift SVN r15417
2014-03-24 16:38:40 +00:00
Doug Gregor
e4260da123 Remove useless "dropped?" entries from the table.
Swift SVN r15415
2014-03-24 16:06:20 +00:00
Doug Gregor
41ca928cfc Selector splitting: kick "over", "per", and "without" off the island.
These prepositions are used in Cocoa, but result in crummy or useless splits.

Swift SVN r15414
2014-03-24 16:04:35 +00:00
Doug Gregor
e85e10690a Un-fuse two lines
Swift SVN r15409
2014-03-24 15:30:02 +00:00
Doug Gregor
4e0f866a4b Add a section on dropping leading prepositions "by", "for", "with".
Swift SVN r15408
2014-03-24 15:27:16 +00:00
Doug Gregor
b4e859b3c0 Fix typo "migreate"
Swift SVN r15407
2014-03-24 14:36:36 +00:00
Doug Gregor
6895597eba Re-order comment about in-compiler selector->method name mappings.
Swift SVN r15406
2014-03-24 14:35:17 +00:00
Doug Gregor
590aae3f0d Note that we need a mapping in the compiler from selectors to method names.
Swift SVN r15405
2014-03-24 14:31:06 +00:00
Doug Gregor
f78cf35e37 Unified function syntax proposal: reflow to split paragraphs for diff'ability. NFC
Swift SVN r15404
2014-03-24 14:27:43 +00:00
Doug Gregor
c4b0a7daee Unified function syntax: distinguish "argument name" from "parameter name".
Swift SVN r15377
2014-03-23 05:19:11 +00:00
Doug Gregor
bf5bbbfb65 Unified function syntax: address some of DaveA's suggestions.
More to come on this, thanks!


Swift SVN r15376
2014-03-23 05:11:10 +00:00
Doug Gregor
6d082e360e Add ToC
Swift SVN r15374
2014-03-23 01:21:35 +00:00
Doug Gregor
1d4848099b Add a section about @call_arguments(strict).
Swift SVN r15373
2014-03-23 01:15:14 +00:00
Doug Gregor
1ca71f0b14 Proposal: Unified Function Syntax via Selector Splitting
Swift SVN r15371
2014-03-22 20:37:52 +00:00