Skip to content

Commit

Permalink
[API Notes] Commit the WatchKit audit.
Browse files Browse the repository at this point in the history
Swift SVN r23252
  • Loading branch information
AnnaZaks committed Nov 11, 2014
1 parent 0c21c4d commit ed9a765
Show file tree
Hide file tree
Showing 2 changed files with 353 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1705,4 +1705,4 @@ execute_process(COMMAND date "+%Y%m%d"

# CPack must be included *after* its configuration variables are set.
include(CPack)

352 changes: 352 additions & 0 deletions apinotes/WatchKit.apinotes
Original file line number Diff line number Diff line change
@@ -0,0 +1,352 @@
---
Name: WatchKit
Classes:
- Name: WKInterfaceButton
Methods:
- Selector: 'setAttributedTitle:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImage:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImageData:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImageNamed:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setTitle:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceController
Methods:
- Selector: 'actionForUserActivity:context:'
MethodKind: Instance
Nullability:
- O
- O
NullabilityOfRet: O
- Selector: 'addMenuItemWithImage:title:action:'
MethodKind: Instance
Nullability:
- N
- N
- S
NullabilityOfRet: S
- Selector: 'addMenuItemWithImageNamed:title:action:'
MethodKind: Instance
Nullability:
- N
- N
- S
NullabilityOfRet: S
- Selector: 'addMenuItemWithItemIcon:title:action:'
MethodKind: Instance
Nullability:
- S
- N
- S
NullabilityOfRet: S
- Selector: 'contextForSegueWithIdentifier:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: O
- Selector: 'contextForSegueWithIdentifier:inTable:rowIndex:'
MethodKind: Instance
Nullability:
- N
- N
- S
NullabilityOfRet: O
- Selector: 'contextsForSegueWithIdentifier:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: O
- Selector: 'contextsForSegueWithIdentifier:inTable:rowIndex:'
MethodKind: Instance
Nullability:
- N
- N
- S
NullabilityOfRet: O
- Selector: 'handleActionWithIdentifier:forLocalNotification:'
MethodKind: Instance
Nullability:
- O
- N
NullabilityOfRet: S
- Selector: 'handleActionWithIdentifier:forRemoteNotification:'
MethodKind: Instance
Nullability:
- O
- N
NullabilityOfRet: S
- Selector: 'initWithContext:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: N
- Selector: 'presentControllerWithName:context:'
MethodKind: Instance
Nullability:
- N
- O
NullabilityOfRet: S
- Selector: 'presentControllerWithNames:contexts:'
MethodKind: Instance
Nullability:
- N
- O
NullabilityOfRet: S
- Selector: 'presentTextInputControllerWithSuggestions:completion:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: 'pushControllerWithName:context:'
MethodKind: Instance
Nullability:
- N
- O
NullabilityOfRet: S
- Selector: 'setTitle:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'table:didSelectRowAtIndex:'
MethodKind: Instance
Nullability:
- N
- S
NullabilityOfRet: S
- Selector: 'updateUserActivity:userInfo:'
MethodKind: Instance
Nullability:
- N
- O
NullabilityOfRet: S
- Name: WKInterfaceDate
Methods:
- Selector: 'setCalendar:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setTextColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setTimeZone:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceDevice
Methods:
- Selector: 'addCachedImage:name:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: 'addCachedImageWithData:name:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: currentDevice
MethodKind: Class
NullabilityOfRet: N
- Selector: 'removeCachedImageWithName:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: S
Properties:
- Name: currentLocale
Nullability: N
- Name: preferredContentSizeCategory
Nullability: N
- Name: WKInterfaceGroup
Methods:
- Selector: 'setBackgroundColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImage:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImageData:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setBackgroundImageNamed:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceImage
Methods:
- Selector: 'setImage:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setImageData:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setImageNamed:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceLabel
Methods:
- Selector: 'setAttributedText:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setText:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setTextColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceMap
Methods:
- Selector: 'addAnnotation:withImage:'
MethodKind: Instance
Nullability:
- S
- O
NullabilityOfRet: S
- Selector: 'addAnnotation:withImageNamed:'
MethodKind: Instance
Nullability:
- S
- O
NullabilityOfRet: S
- Name: WKInterfaceObject
Methods:
- Selector: 'setAccessibilityHint:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setAccessibilityLabel:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Selector: 'setAccessibilityValue:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
Properties:
- Name: interfaceProperty
Nullability: N
- Name: WKInterfaceSeparator
Methods:
- Selector: 'setColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceSlider
Methods:
- Selector: 'setColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKInterfaceTable
Methods:
- Selector: 'insertRowsAtIndexes:withRowType:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: 'removeRowsAtIndexes:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: S
- Selector: 'rowControllerAtIndex:'
MethodKind: Instance
Nullability:
- S
NullabilityOfRet: O
- Selector: 'setNumberOfRows:withRowType:'
MethodKind: Instance
Nullability:
- S
- N
NullabilityOfRet: S
- Selector: 'setRowTypes:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: S
- Name: WKInterfaceTimer
Methods:
- Selector: 'setDate:'
MethodKind: Instance
Nullability:
- N
NullabilityOfRet: S
- Selector: 'setTextColor:'
MethodKind: Instance
Nullability:
- O
NullabilityOfRet: S
- Name: WKUserNotificationInterfaceController
Methods:
- Selector: 'didReceiveLocalNotification:withCompletion:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: 'didReceiveRemoteNotification:withCompletion:'
MethodKind: Instance
Nullability:
- N
- N
NullabilityOfRet: S
- Selector: init
MethodKind: Instance
NullabilityOfRet: N

0 comments on commit ed9a765

Please sign in to comment.