@maccesar/titools 4.0.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -6
- package/bin/titools.js +4 -4
- package/commands/ti-audit.md +13 -0
- package/commands/ti-check.md +15 -0
- package/commands/ti-new-screen.md +18 -0
- package/lib/claude-plugin.js +105 -0
- package/lib/cleanup.js +18 -0
- package/lib/commands/doctor.js +75 -3
- package/lib/commands/skills.js +66 -6
- package/lib/commands/uninstall.js +32 -2
- package/lib/commands/update.js +15 -0
- package/lib/config.js +37 -0
- package/lib/installer.js +85 -1
- package/lib/symlink.js +40 -3
- package/package.json +2 -1
- package/skills/alloy-guides/references/MODELS.md +23 -0
- package/skills/alloy-guides/references/MODELS_ADVANCED.md +19 -0
- package/skills/alloy-guides/references/VIEWS_STYLES.md +12 -0
- package/skills/alloy-guides/references/VIEWS_XML.md +18 -0
- package/skills/purgetss/references/EXAMPLES.md +24 -0
- package/skills/purgetss/references/animation-advanced.md +12 -0
- package/skills/purgetss/references/animation-system.md +23 -0
- package/skills/purgetss/references/app-branding.md +23 -0
- package/skills/purgetss/references/apply-directive.md +17 -0
- package/skills/purgetss/references/arbitrary-values.md +13 -0
- package/skills/purgetss/references/class-index-properties.md +11 -0
- package/skills/purgetss/references/cli-commands.md +27 -0
- package/skills/purgetss/references/customization-deep-dive.md +15 -0
- package/skills/purgetss/references/dynamic-component-creation.md +16 -0
- package/skills/purgetss/references/migration-guide.md +20 -0
- package/skills/purgetss/references/multi-density-images.md +27 -0
- package/skills/purgetss/references/semantic-colors.md +15 -0
- package/skills/purgetss/references/tikit-components.md +17 -0
- package/skills/purgetss/references/titanium-resets.md +16 -0
- package/skills/purgetss/references/ui-ux-design.md +20 -0
- package/skills/ti-api/references/api-android.md +23 -0
- package/skills/ti-api/references/api-app-platform.md +24 -0
- package/skills/ti-api/references/api-core.md +24 -0
- package/skills/ti-api/references/api-data-network.md +21 -0
- package/skills/ti-api/references/api-media.md +15 -1
- package/skills/ti-api/references/api-modules-ble-bluetooth.md +26 -0
- package/skills/ti-api/references/api-modules-coremotion-urlsession.md +18 -0
- package/skills/ti-api/references/api-modules-map.md +21 -2
- package/skills/ti-api/references/api-modules-nfc.md +34 -0
- package/skills/ti-api/references/api-modules-social-misc.md +22 -0
- package/skills/ti-api/references/api-services.md +21 -1
- package/skills/ti-api/references/api-ui-android.md +18 -0
- package/skills/ti-api/references/api-ui-extras.md +19 -1
- package/skills/ti-api/references/api-ui-ios-animator.md +14 -0
- package/skills/ti-api/references/api-ui-ios.md +42 -0
- package/skills/ti-api/references/api-ui-lists.md +14 -2
- package/skills/ti-api/references/api-ui-text-input.md +15 -0
- package/skills/ti-api/references/api-ui-views.md +19 -0
- package/skills/ti-api/references/api-ui-windows-navigation.md +13 -0
- package/skills/ti-api/references/api-xml-global.md +31 -0
- package/skills/ti-expert/SKILL.md +1 -1
- package/skills/ti-expert/references/adaptive-layouts.md +178 -1
- package/skills/ti-expert/references/alloy-builtins.md +15 -0
- package/skills/ti-expert/references/alloy-structure.md +15 -0
- package/skills/ti-expert/references/code-conventions.md +19 -0
- package/skills/ti-expert/references/controller-patterns.md +18 -0
- package/skills/ti-expert/references/error-handling.md +16 -0
- package/skills/ti-expert/references/examples.md +17 -0
- package/skills/ti-expert/references/migration-patterns.md +15 -0
- package/skills/ti-expert/references/patterns.md +16 -0
- package/skills/ti-expert/references/performance-optimization.md +17 -0
- package/skills/ti-expert/references/security-device.md +13 -0
- package/skills/ti-expert/references/state-management.md +16 -0
- package/skills/ti-expert/references/testing-e2e-ci.md +17 -0
- package/skills/ti-expert/references/testing-unit.md +20 -0
- package/skills/ti-expert/references/theming.md +20 -0
- package/skills/ti-guides/references/app-distribution.md +34 -0
- package/skills/ti-guides/references/application-frameworks.md +13 -0
- package/skills/ti-guides/references/cli-reference.md +16 -0
- package/skills/ti-guides/references/hyperloop-native-access.md +21 -0
- package/skills/ti-guides/references/javascript-primer.md +12 -0
- package/skills/ti-guides/references/tiapp-config.md +15 -0
- package/skills/ti-howtos/references/android-platform-deep-dives.md +15 -0
- package/skills/ti-howtos/references/cross-platform-development.md +16 -0
- package/skills/ti-howtos/references/debugging-profiling.md +15 -0
- package/skills/ti-howtos/references/extending-titanium.md +14 -0
- package/skills/ti-howtos/references/ios-platform-deep-dives.md +16 -0
- package/skills/ti-howtos/references/local-data-sources.md +32 -0
- package/skills/ti-howtos/references/notification-services.md +12 -0
- package/skills/ti-howtos/references/remote-data-sources.md +15 -0
- package/skills/ti-howtos/references/tutorials.md +13 -0
- package/skills/ti-ui/references/animation-and-matrices.md +17 -0
- package/skills/ti-ui/references/application-structures.md +19 -0
- package/skills/ti-ui/references/custom-fonts-styling.md +18 -0
- package/skills/ti-ui/references/event-handling.md +16 -0
- package/skills/ti-ui/references/gestures.md +17 -0
- package/skills/ti-ui/references/icons-and-splash-screens.md +17 -0
- package/skills/ti-ui/references/layouts-and-positioning.md +16 -0
- package/skills/ti-ui/references/listviews-and-performance.md +21 -0
- package/skills/ti-ui/references/orientation.md +20 -0
- package/skills/ti-ui/references/platform-ui-android.md +20 -0
- package/skills/ti-ui/references/platform-ui-ios.md +17 -0
- package/skills/ti-ui/references/tableviews.md +24 -0
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# ListViews and performance optimization
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [1. Overview](#1-overview)
|
|
7
|
+
- [2. Basic ListView structure](#2-basic-listview-structure)
|
|
8
|
+
- [3. Templates](#3-templates)
|
|
9
|
+
- [4. Data binding](#4-data-binding)
|
|
10
|
+
- [5. Section operations](#5-section-operations)
|
|
11
|
+
- [6. Events](#6-events)
|
|
12
|
+
- [7. Critical performance rules](#7-critical-performance-rules)
|
|
13
|
+
- [8. iOS action items (swipe actions)](#8-ios-action-items-swipe-actions)
|
|
14
|
+
- [9. Editing mode (iOS)](#9-editing-mode-ios)
|
|
15
|
+
- [10. Search](#10-search)
|
|
16
|
+
- [11. Performance best practices](#11-performance-best-practices)
|
|
17
|
+
- [12. Transitioning from TableView](#12-transitioning-from-tableview)
|
|
18
|
+
- [13. Common patterns](#13-common-patterns)
|
|
19
|
+
- [14. Platform differences](#14-platform-differences)
|
|
20
|
+
- [15. Debugging](#15-debugging)
|
|
21
|
+
|
|
22
|
+
<!-- TOC-END -->
|
|
23
|
+
|
|
3
24
|
## 1. Overview
|
|
4
25
|
|
|
5
26
|
ListView is a data-oriented, high-performance replacement for TableView. It handles large datasets by recycling native views and managing the item lifecycle for you.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Orientation
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [1. Overview](#1-overview)
|
|
7
|
+
- [2. Design principles](#2-design-principles)
|
|
8
|
+
- [3. Orientation modes](#3-orientation-modes)
|
|
9
|
+
- [4. Locking orientation](#4-locking-orientation)
|
|
10
|
+
- [5. Handling orientation changes](#5-handling-orientation-changes)
|
|
11
|
+
- [6. Adapting UI to orientation](#6-adapting-ui-to-orientation)
|
|
12
|
+
- [7. Platform differences](#7-platform-differences)
|
|
13
|
+
- [8. Checking current orientation](#8-checking-current-orientation)
|
|
14
|
+
- [9. Disabling orientation change](#9-disabling-orientation-change)
|
|
15
|
+
- [10. Orientation lock limitations](#10-orientation-lock-limitations)
|
|
16
|
+
- [11. Modal window constraints (iOS)](#11-modal-window-constraints-ios)
|
|
17
|
+
- [12. Splash screen configuration](#12-splash-screen-configuration)
|
|
18
|
+
- [13. Best practices](#13-best-practices)
|
|
19
|
+
- [14. Common issues](#14-common-issues)
|
|
20
|
+
|
|
21
|
+
<!-- TOC-END -->
|
|
22
|
+
|
|
3
23
|
## 1. Overview
|
|
4
24
|
|
|
5
25
|
Orientation is whether the app displays in portrait or landscape, and how it reacts when the device rotates.
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Android UI components and conventions
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [1. Action bar](#1-action-bar)
|
|
7
|
+
- [2. Android themes](#2-android-themes)
|
|
8
|
+
- [3. Options menu](#3-options-menu)
|
|
9
|
+
- [4. Status bar notifications](#4-status-bar-notifications)
|
|
10
|
+
- [5. Progress bars](#5-progress-bars)
|
|
11
|
+
- [6. Tab groups and tabs](#6-tab-groups-and-tabs)
|
|
12
|
+
- [7. Hardware back button handling](#7-hardware-back-button-handling)
|
|
13
|
+
- [8. Notification drawer](#8-notification-drawer)
|
|
14
|
+
- [9. Android UI conventions](#9-android-ui-conventions)
|
|
15
|
+
- [10. Material design components](#10-material-design-components)
|
|
16
|
+
- [11. Toast notifications](#11-toast-notifications)
|
|
17
|
+
- [12. HTML labels and linkification](#12-html-labels-and-linkification)
|
|
18
|
+
- [13. Nine-patch images](#13-nine-patch-images)
|
|
19
|
+
- [Best practices](#best-practices)
|
|
20
|
+
|
|
21
|
+
<!-- TOC-END -->
|
|
22
|
+
|
|
3
23
|
## 1. Action bar
|
|
4
24
|
|
|
5
25
|
### Overview
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# iOS UI components and conventions
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [1. Overview](#1-overview)
|
|
7
|
+
- [2. iPad-only UI components](#2-ipad-only-ui-components)
|
|
8
|
+
- [3. Badges](#3-badges)
|
|
9
|
+
- [4. Settings.bundle integration](#4-settingsbundle-integration)
|
|
10
|
+
- [5. Quick Actions and 3D Touch](#5-quick-actions-and-3d-touch)
|
|
11
|
+
- [6. Navigation bar (iOS)](#6-navigation-bar-ios)
|
|
12
|
+
- [Community-Discovered Patterns](#community-discovered-patterns)
|
|
13
|
+
- [7. Tab bar](#7-tab-bar)
|
|
14
|
+
- [8. Activity indicator](#8-activity-indicator)
|
|
15
|
+
- [9. Platform best practices](#9-platform-best-practices)
|
|
16
|
+
- [10. Common issues](#10-common-issues)
|
|
17
|
+
|
|
18
|
+
<!-- TOC-END -->
|
|
19
|
+
|
|
3
20
|
## 1. Overview
|
|
4
21
|
|
|
5
22
|
iOS has UI components and patterns that differ from Android. This guide covers iPad-only controls, badges, Settings integration, 3D Touch, and iOS navigation patterns.
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# TableViews
|
|
2
2
|
|
|
3
|
+
<!-- TOC-START -->
|
|
4
|
+
## Contents
|
|
5
|
+
|
|
6
|
+
- [1. Overview](#1-overview)
|
|
7
|
+
- [2. TableView vs ListView](#2-tableview-vs-listview)
|
|
8
|
+
- [3. Creating a TableView](#3-creating-a-tableview)
|
|
9
|
+
- [4. Creating rows](#4-creating-rows)
|
|
10
|
+
- [5. Row properties](#5-row-properties)
|
|
11
|
+
- [6. Custom rows](#6-custom-rows)
|
|
12
|
+
- [7. Headers and footers](#7-headers-and-footers)
|
|
13
|
+
- [8. Grouped table style (iOS)](#8-grouped-table-style-ios)
|
|
14
|
+
- [9. Editing mode](#9-editing-mode)
|
|
15
|
+
- [10. TableView events](#10-tableview-events)
|
|
16
|
+
- [11. Searching](#11-searching)
|
|
17
|
+
- [12. Updating table data](#12-updating-table-data)
|
|
18
|
+
- [13. TableView sections](#13-tableview-sections)
|
|
19
|
+
- [14. Performance optimization](#14-performance-optimization)
|
|
20
|
+
- [15. Common patterns](#15-common-patterns)
|
|
21
|
+
- [16. Platform differences](#16-platform-differences)
|
|
22
|
+
- [17. Migration: TableView to ListView](#17-migration-tableview-to-listview)
|
|
23
|
+
- [Best practices](#best-practices)
|
|
24
|
+
|
|
25
|
+
<!-- TOC-END -->
|
|
26
|
+
|
|
3
27
|
## 1. Overview
|
|
4
28
|
|
|
5
29
|
TableView is a scrolling list component that displays rows of data. ListView is the recommended modern API for most cases, but TableView is still useful for:
|