Skip to content

Commit 9a84d3b

Browse files
committed
Fix typo
1 parent 05e52e0 commit 9a84d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0022-objc-selectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ extension Selector {
7878
}
7979
```
8080

81-
with some additional semantic restrictions that require that input be a reference to an `objc` method. Specifically, the input expression must be a direct reference to an Objective-C method, possibly parenthesized and possible with an "as" cast (which can be used to disambiguate same-named Swift methods). For example, here is a "highly general" example:
81+
with some additional semantic restrictions that require that input be a reference to an `objc` method. Specifically, the input expression must be a direct reference to an Objective-C method, possibly parenthesized and possibly with an "as" cast (which can be used to disambiguate same-named Swift methods). For example, here is a "highly general" example:
8282

8383
```swift
8484
let sel = Selector(((UIKit.UIView.insertSubview(_:at:)) as (UIView) -> (UIView, Int) -> Void))

0 commit comments

Comments
 (0)