Guides

D'un nouveau projet à la navigation, au mouvement, aux modules natifs et à la boucle de développement.

Première application 3

État et données asynchrones 6

Écrans, formulaires et contenu 14

Display images and iconsEN

Use bundled images for app artwork, remote images for server content, and Symbol for platform icons. Put files your app owns in its assets directory.

Bundle and load fontsEN

Use a custom font for branding or typography. Bundle fonts needed on the first screen; load optional fonts when their content is requested.

Build a feed or collectionEN

Use List for content that needs native cell recycling. Use Scroll with For when a small set of children can all stay mounted.

Build forms that work with the keyboardEN

Use TextField bindings, scroll-view avoidance and keyboard signals to keep editing comfortable. Start with native avoidance before adding custom motion.

Make screens accessibleEN

Use native semantics, clear labels and scalable text so a screen works with screen readers and different input methods. Treat accessibility as part of each component’s behavior.

Translate a screen and support RTLEN

Use message catalogs for visible text and logical layout properties for spacing. This lets the same screen follow both the user's language and its reading direction.

Configure the launch screenEN

Set launch artwork in configuration, then let it hand off to your first screen. Hold it only for work required before the app can display useful content.

Handle user and view eventsEN

Use event props for actions reported by a view. Use bound signals for controls whose value should stay synchronized with app state.

Focus, scroll and call view methodsEN

Use a ref for an imperative action on a mounted view. Prefer props and signals for the state a view displays.

Build a sign-in formEN

Use this pattern for a password form with autofill, keyboard submission, a pending state and a session token stored in the platform keychain. Replace the endpoint with your authentication service.

Format and paste into a text fieldEN

Use format to display grouped digits while preserving native input behavior. Use the field's selection to insert clipboard text at the current caret or replace the selected range.

Keep settings after a restartEN

Bind controls to persisted signals when a preference should survive relaunch. Give each preference a stable key and validate stored data with a Standard Schema implementation.

Build a localized badgeEN

Combine message catalogs, logical spacing and flexible layout for a badge that works in multiple languages. This example formats an unread count in English or Arabic and follows the locale's text direction.

Animate a swipeable onboarding flowEN

Bind a Pager to a page signal for discrete navigation, and use scrollMotion for visuals that follow the finger between pages.

Mouvement et animation 4

Photos et rappels 2

Étendre avec du code natif 2

Tester et déboguer 5

Compiler et publier 3

Contribuer 1