-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-iOS: new WWDC23 video {'What’s new with text and text interactions'}. (
#446) -iOS: new WWDC23 video {'What’s new with text and text interactions'}.
- Loading branch information
Showing
19 changed files
with
214 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
--- | ||
title : "What’s new with text and text interactions" | ||
abstract: "Discover the latest features and enhancements for creating rich text experiences on Apple platforms." | ||
|
||
displayToc: true | ||
--- | ||
|
||
# WWDC 2023: What’s new with text and text interactions | ||
Find hereafter a detailed summary of a video that belongs to a [taxonomy of some WWDC footages](../../). | ||
|
||
The original video is available on the **Apple official website** ([session 10058](https://developer.apple.com/videos/play/wwdc2023/10058/)). | ||
![](../../../../../images/iOSdev/wwdc23-10058_Poster.png) | ||
"Text is an absolutely critical component of every app. Discover the **latest features and enhancements** for **creating rich text experiences** on Apple platforms. We'll show you how to take advantage of common text elements and create entirely custom interactions for your app. Learn about updates to **dictation**, **text loupe**, and **text selection**, and explore improvements to **text clipping**, **line wrapping**, and **hyphenation**." | ||
</br>Hereafter, the underlined elements lead directly to the playback of the WWDC video at the appropriate moment. | ||
</br> | ||
|
||
## [Selection UI](https://developer.apple.com/videos/play/wwdc2023/10058/?time=56) | ||
![](../../../../../images/iOSdev/wwdc23-10058_1.png) | ||
|
||
Improvements have been made for `selection` `UI` through the **text cursor** and the **loupe**. | ||
|
||
<ul class="nav nav-tabs" role="tablist"> | ||
<li class="nav-item" role="presentation"> | ||
<a class="nav-link active" | ||
data-bs-toggle="tab" | ||
href="#WNiTextSelection1" | ||
id="WNiTextSelection1_tab" | ||
role="tab" | ||
aria-selected="true">Text cursor</a> | ||
</li> | ||
<li class="nav-item" role="presentation"> | ||
<a class="nav-link" | ||
data-bs-toggle="tab" | ||
href="#WNiTextSelection2" | ||
id="WNiTextSelection2_tab" | ||
role="tab" | ||
aria-selected="false">Loupe</a> | ||
</li> | ||
</ul> | ||
|
||
<div class="tab-content"> | ||
<div class="tab-pane show active" id="WNiTextSelection1" role="tabpanel"> | ||
|
||
<a alt="Click to playback the footage at the appropriate moment regarding the text cursor" href="https://developer.apple.com/videos/play/wwdc2023/10058/?time=59">🎬</a> | ||
|
||
![](../../../../../images/iOSdev/wwdc23-10058_2.png) | ||
</div> | ||
|
||
<div class="tab-pane" id="WNiTextSelection2" role="tabpanel"> | ||
|
||
<a alt="Click to playback the footage at the appropriate moment regarding the loupe" href="https://developer.apple.com/videos/play/wwdc2023/10058/?time=193">🎬</a> | ||
|
||
![](../../../../../images/iOSdev/wwdc23-10058_3.png) | ||
</div> | ||
</div> | ||
</br> | ||
</br> | ||
|
||
## [Item actions & menus](https://developer.apple.com/videos/play/wwdc2023/10058/?time=256) | ||
![](../../../../../images/iOSdev/wwdc23-10058_4.png) | ||
|
||
Besides the well known [item actions](https://developer.apple.com/videos/play/wwdc2023/10058/?time=310), **tagging a range** for a text interaction is now supported by a text item. | ||
![](../../../../../images/iOSdev/wwdc23-10058_5.png) | ||
|
||
Then, few lines of code give rise to a [menu display](https://developer.apple.com/videos/play/wwdc2023/10058/?time=387) via a link inside a `UITextView`. | ||
![](../../../../../images/iOSdev/wwdc23-10058_6.png) | ||
|
||
</br> | ||
|
||
## [Lists & bullets](https://developer.apple.com/videos/play/wwdc2023/10058/?time=406) | ||
![](../../../../../images/iOSdev/wwdc23-10058_7.png) | ||
|
||
</br> | ||
|
||
## [Dictation](https://developer.apple.com/videos/play/wwdc2023/10058/?time=457) | ||
The dictation indicator has a brand new appearance and behavior on `macOS 14`. | ||
![](../../../../../images/iOSdev/wwdc23-10058_8.png) | ||
|
||
The `macOS Sonoma` selection `UI` provides an [`iOS 17` approach](https://developer.apple.com/videos/play/wwdc2023/10058/?time=508) through a new `API`. | ||
![](../../../../../images/iOSdev/wwdc23-10058_9.png) | ||
|
||
The **[glow effect](https://developer.apple.com/videos/play/wwdc2023/10058/?time=590) animation** is totally under control via a line of code... | ||
![](../../../../../images/iOSdev/wwdc23-10058_10.png) | ||
|
||
... just like the [input modes](https://developer.apple.com/videos/play/wwdc2023/10058/?time=607) placement for the **language selection `UI`**. | ||
![](../../../../../images/iOSdev/wwdc23-10058_11.png) | ||
|
||
Finally, there's a **[scroll-away indicator](https://developer.apple.com/videos/play/wwdc2023/10058/?time=632)** to suggest a shift from the relative position of the cursor towards the dictation point. | ||
![](../../../../../images/iOSdev/wwdc23-10058_12.png) | ||
</br> | ||
|
||
## [Internationalization](https://developer.apple.com/videos/play/wwdc2023/10058/?time=668) | ||
The **dynamic line-height adjustement** has been improved for the standard text elements in order to **prevent some common clipping issues**. | ||
![](../../../../../images/iOSdev/wwdc23-10058_13.png) | ||
|
||
Some [piece of advice](https://developer.apple.com/videos/play/wwdc2023/10058/?time=792) should be followed so as to highlight this **line-height adjustment for `iOS 17`**. | ||
![](../../../../../images/iOSdev/wwdc23-10058_14.png) | ||
|
||
|
||
Finally, enhancements have been provided regarding **[wrapping and hyphenation](https://developer.apple.com/videos/play/wwdc2023/10058/?time=856)** in some languages. | ||
![](../../../../../images/iOSdev/wwdc23-10058_15.png) | ||
</br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters