diff --git a/apidoc/Titanium/Android/Menu.yml b/apidoc/Titanium/Android/Menu.yml index 25c672c2fe3..a59bdf70259 100644 --- a/apidoc/Titanium/Android/Menu.yml +++ b/apidoc/Titanium/Android/Menu.yml @@ -30,7 +30,7 @@ description: | Menus must be added to tab groups using the tab group's activity. These changes were required to support the Android 3.0 action bar. - The TabGroup activity is available using [TabGroup.getActivity](Titanium.UI.TabGroup.getActivity). + The TabGroup activity is available using [TabGroup.activity](Titanium.UI.TabGroup.activity). However, unlike a window's activity it is not currently possible to set properties on the tab group's activity before the tab group is opened. To add a menu to a tab group, set the `onCreateOptionsMenu` property to the tab group's `open` event listener, and diff --git a/apidoc/Titanium/Calendar/Calendar.yml b/apidoc/Titanium/Calendar/Calendar.yml index e9e47cc9d96..b51c18b9ef2 100644 --- a/apidoc/Titanium/Calendar/Calendar.yml +++ b/apidoc/Titanium/Calendar/Calendar.yml @@ -8,7 +8,7 @@ description: | #### Android On Android, calendar permissions must be explicitly configured in `tiapp.xml` in order to access the - calendar and you have to use [requestCalendarPermissions](Titanium.Calendar.requestcalendarpermissions) + calendar and you have to use [requestCalendarPermissions](Titanium.Calendar.requestCalendarPermissions) to request runtime permissions. ``` xml diff --git a/apidoc/Titanium/UI/Android/CollapseToolbar.yml b/apidoc/Titanium/UI/Android/CollapseToolbar.yml index 353659bd4e7..ae3880070de 100644 --- a/apidoc/Titanium/UI/Android/CollapseToolbar.yml +++ b/apidoc/Titanium/UI/Android/CollapseToolbar.yml @@ -15,7 +15,7 @@ excludes: events: [click, dblclick, doubletap, focus, keypressed, longclick, longpress, pinch, postlayout, singletap, swipe, touchcancel, touchend, touchmove, touchstart, twofingertap] methods: [add, animate, convertPointToView, remove, removeAllChildren, toImage, addEventListener, applyProperties, - fireEvent, getViewById, hide, insertAt, removeEventListener, replaceAt, show, startLayout, updateLayout] + fireEvent, getViewById, hide, insertAt, removeEventListener, replaceAt, show] properties: [accessibilityHidden, accessibilityHint, accessibilityLabel, accessibilityValue, anchorPoint, animatedCenter, backgroundColor, backgroundDisabledColor, backgroundDisabledImage, backgroundFocusedColor, backgroundFocusedImage, backgroundGradient, diff --git a/apidoc/Titanium/UI/PickerColumn.yml b/apidoc/Titanium/UI/PickerColumn.yml index a7e67fb817e..55b78e6d2ed 100644 --- a/apidoc/Titanium/UI/PickerColumn.yml +++ b/apidoc/Titanium/UI/PickerColumn.yml @@ -24,8 +24,8 @@ excludes: touchFeedback, touchFeedbackColor, transform, translationX, translationY, translationZ, transitionName, verticalMotionEffect, viewShadowRadius, viewShadowColor, viewShadowOffset, visible, width, horizontalWrap, keepScreenOn, tintColor, zIndex] - methods: [add, animate, clearMotionEffects, finishLayout, hide, insertAt, remove, - removeAllChildren, replaceAt, show, startLayout, toImage, updateLayout, convertPointToView, + methods: [add, animate, clearMotionEffects, hide, insertAt, remove, + removeAllChildren, replaceAt, show, toImage, convertPointToView, getViewById] events: [click, dblclick, doubletap, keypressed, longpress, pinch, singletap, swipe, touchcancel, touchend, touchmove, touchstart, twofingertap] diff --git a/apidoc/Titanium/UI/SearchBar.yml b/apidoc/Titanium/UI/SearchBar.yml index f31bfa94502..1b5df5d10b2 100644 --- a/apidoc/Titanium/UI/SearchBar.yml +++ b/apidoc/Titanium/UI/SearchBar.yml @@ -9,7 +9,7 @@ description: | Search bars are most commonly used for filtering the rows in a [TableView](Titanium.UI.TableView) and [ListView](Titanium.UI.ListView). You can add a search bar to a table view via its [search](Titanium.UI.TableView.search) property. You can add a search bar to a list view via its - [searchView](Titanium.UI.TableView.searchView) property. + [searchBar](Titanium.UI.SearchBar) property. A search bar can also be used on its own. diff --git a/apidoc/Titanium/UI/Tab.yml b/apidoc/Titanium/UI/Tab.yml index 6408f1b6b02..82b2d91f613 100644 --- a/apidoc/Titanium/UI/Tab.yml +++ b/apidoc/Titanium/UI/Tab.yml @@ -329,26 +329,6 @@ properties: availability: creation events: - - name: blur - summary: Fired when the tab loses focus. - deprecated: - since: "5.2.0" - removed: "9.0.0" - notes: Use [Titanium.UI.Tab.unselected](Titanium.UI.Tab.unselected) event instead. - properties: - - name: index - summary: Index of the current active tab. - type: Number - - name: previousIndex - summary: Index of the previous active tab. - type: Number - - name: tab - summary: Current active tab object. - type: Titanium.UI.Tab - - name: previousTab - summary: Previous active tab object. - type: Titanium.UI.Tab - platforms: [android, iphone, ipad] - name: unselected summary: Fired when the tab is no longer selected. @@ -372,27 +352,6 @@ events: summary: Fired when this tab is clicked in the tab group. exclude-platforms: [iphone, ipad, macos] - - name: focus - summary: Fired when the tab gains focus. - deprecated: - since: "5.2.0" - removed: "9.0.0" - notes: Use [Titanium.UI.Tab.selected](Titanium.UI.Tab.selected) event instead. - properties: - - name: index - summary: Index of the current active tab. - type: Number - - name: previousIndex - summary: Index of the previous active tab. - type: Number - - name: tab - summary: Current active tab object. - type: Titanium.UI.Tab - - name: previousTab - summary: Previous active tab object. - type: Titanium.UI.Tab - platforms: [android, iphone, ipad] - - name: selected summary: Fired when the tab is selected. since: {android: "3.5.1", iphone: "5.2.0", ipad: "5.2.0"} diff --git a/apidoc/Titanium/UI/View.yml b/apidoc/Titanium/UI/View.yml index 97de55498c9..13eca36a3e3 100644 --- a/apidoc/Titanium/UI/View.yml +++ b/apidoc/Titanium/UI/View.yml @@ -1024,38 +1024,6 @@ methods: default: "{ animated: false }" # FIXME: Support platfroms/osver/since on parameters! - - name: startLayout - summary: Starts a batch update of this view's layout properties. - description: | - To prevent a layout pass each time a property is modified, call `startLayout` before - changing any properties that may change this view's layout. This initiates a batch update - mode where layout changes are deferred. - - Call [finishLayout](Titanium.UI.View.finishLayout) to end batch update mode and trigger a - layout pass. For example: - - ``` js - view.startLayout(); - view.top = 50; - view.left = 50; - view.finishLayout(); - ``` - - Note that _any_ property changes made during the batch update _may_ be deferred until - `finishLayout` is called. This may vary somewhat by platform. For example, changing the - text of a label may trigger a layout pass. In iOS, updating the label text is - deferred. - - See also: [updateLayout](Titanium.UI.View.updateLayout), - [finishLayout](Titanium.UI.View.finishLayout), - [postlayout](Titanium.UI.View.postlayout) event. - since: "2.0.0" - exclude-platforms: [macos] - deprecated: - since: "3.0.0" - removed: "9.0.0" - notes: Use the [Titanium.Proxy.applyProperties](Titanium.Proxy.applyProperties) method to batch-update layout properties. - - name: stopAnimation summary: Stops a running animation. description: | @@ -1088,41 +1056,6 @@ methods: default: false optional: true - - name: updateLayout - summary: | - Performs a batch update of all supplied layout properties and schedules a layout pass after - they have been updated. - description: | - This is another way to perform a batch update. The `updateLayout` method is called with a - dictionary of layout properties to perform the batch update. For example: - - ``` js - view.updateLayout({top:50, left:50}); - ``` - - This is equivalent to the following: - - ``` js - view.startLayout(); - view.top = 50; - view.left = 50; - view.finishLayout(); - ``` - - See also: [startLayout](Titanium.UI.View.startLayout), - [finishLayout](Titanium.UI.View.finishLayout), - [postlayout](Titanium.UI.View.postlayout) event. - since: "2.0.0" - exclude-platforms: [macos] - deprecated: - since: "3.0.0" - removed: "9.0.0" - notes: Use the [Titanium.Proxy.applyProperties](Titanium.Proxy.applyProperties) method to batch-update layout properties. - parameters: - - name: params - summary: Layout properties to be updated. - type: Dictionary - - name: convertPointToView summary: | Translates a point from this view's coordinate system to another view's coordinate system. diff --git a/apidoc/Titanium/Yahoo/Yahoo.yml b/apidoc/Titanium/Yahoo/Yahoo.yml deleted file mode 100644 index 1b24db78d84..00000000000 --- a/apidoc/Titanium/Yahoo/Yahoo.yml +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: Titanium.Yahoo -summary: The top level Yahoo module. The Yahoo module is used for accessing Yahoo related API services. -extends: Titanium.Module -since: "0.8" -platforms: [android, iphone, ipad] -methods: - - name: yql - summary: invoke a Yahoo YQL query - parameters: - - name: yql - summary: the YQL query to execute - type: String - - name: callback - summary: the function to execute when the query completes. - type: Callback -deprecated: - since: "8.0.0" - removed: "8.0.0" - notes: Use the standalone [Ti.Yahoo](https://github.com/appcelerator-modules/ti.yahoo) module instead. ---- -name: YQLResponse -summary: Properties passed to a yql callback to report a success or failure. -extends: ErrorResponse -properties: - - name: message - summary: Error message, if any returned. Use `error` instead - description: Will be undefined if `success` is `true`. - type: String - deprecated: - since: "3.1.0" - - - name: data - summary: The data payload received from the YQL. - description: May be undefined if `success` is `false`. - type: Object - - - name: error - summary: Error message, if any returned. - description: Will be undefined if `success` is `true`. - type: String - since: "3.1.0" - - - name: code - summary: Error code. Returns 0 if `success` is `true`. - description: | - Error code will be 0 if `success` is `true`, nonzero otherwise. If the error - was generated by the operating system, that system's error value is used. - Otherwise, this value will be -1. - type: Number - since: "3.1.0"