├── Readme.md ├── WhatsNewInSwiftUI ├── 10018-advanced-graphics-thread.txt ├── 10018-better-lists-thread.txt ├── 10018-beyond-lists-thread.txt ├── 10018-more-buttons-thread.txt └── 10018-text-and-keyboard-thread.txt ├── developer-tools-questions.txt └── swiftui-questions-edited.txt /Readme.md: -------------------------------------------------------------------------------- 1 | # WWDC21 Lounges 2 | 3 | Unedited questions and answers from the WWDC21 SwiftUI and Developer Tools Slack lounges. 4 | 5 | The text files contain short of 500 unfiltered questions, some of them have great answers, others request to file a feedback and others remain unanswered. There's also discussions from community members on some of them. 6 | 7 | If you saved a question/answer that is not saved here feel free to send a PR and it will be merged. 8 | 9 | For a nicer format checkout: 10 | - [Big Mountain Studio Archive](https://www.bigmountainstudio.com/members/posts/65727-wwdc-2021-questions-answers-from-slack-the-unofficial-archive) 11 | - [WWDC21 Lounges](https://roblack.github.io/WWDC21Lounges/) 12 | 13 | ⚠️ If sharing this is not allowed please reach out and I'll delete the repo. During the lounges we received confirmation that sharing this content was allowed. -------------------------------------------------------------------------------- /WhatsNewInSwiftUI/10018-advanced-graphics-thread.txt: -------------------------------------------------------------------------------- 1 | Betsy (Apple) Jun 8th at 2:24 PM 2 | Advanced graphics thread :thread: 3 | 4 | 5 | 6 | 73 replies 7 | 8 | Gilad 4 days ago 9 | Oooh Palette 10 | :+1: 11 | 3 12 | 13 | Ethan 4 days ago 14 | The new symbols look so good in multicolor! 15 | :heart: 16 | 1 17 | 18 | Jeff 4 days ago 19 | i love symbols, and these API additions give me some ideas for some of my own APIs 20 | 21 | Shubham 4 days ago 22 | Lot's of amazing new symbols 23 | 24 | Andrew 4 days ago 25 | If the symbols are OS-version dependent, why aren’t the names provided via an enum? 26 | :heavy_plus_sign: 27 | 5 28 | 29 | Justin 4 days ago 30 | I love the new color options! 31 | 32 | Christopher 4 days ago 33 | Love how they look with multiple colors! 34 | 35 | Curt (Apple):couch_and_lamp: 4 days ago 36 | Color.indigo and Color.teal represent! 37 | :tada: 38 | 7 39 | :heart: 40 | 3 41 | :large_green_circle: 42 | 2 43 | :large_purple_circle: 44 | 2 45 | 46 | Jacob 4 days ago 47 | Multicolor! :fire: 48 | 49 | Seyed Parsa 4 days ago 50 | Does using Palette colors affect the performance in any way? 51 | 52 | Jake (Apple) 4 days ago 53 | Indigo is so great :purple_heart: 54 | :purple_heart: 55 | 2 56 | :heart: 57 | 1 58 | 59 | Gilad 4 days ago 60 | why aren’t the names provided via an enum 61 | I think that’s because they’re not exactly a closed set, or something you’d want to switch over :slightly_smiling_face: 62 | :+1: 63 | 1 64 | 65 | Andrew 4 days ago 66 | Automatic variant by platform is sharp 67 | 68 | Curt (Apple):couch_and_lamp: 4 days ago 69 | Symbol drawing is highly optimized. Palette’s should NOT be an issue. (edited) 70 | :+1: 71 | 2 72 | :heavy_plus_sign: 73 | 2 74 | 75 | Jeff 4 days ago 76 | not* ? :stuck_out_tongue_winking_eye: 77 | 78 | Curt (Apple):couch_and_lamp: 4 days ago 79 | yep 80 | 81 | Seyed Parsa 4 days ago 82 | Can we force SF Symbol to not be filled? 83 | 84 | Clément 4 days ago 85 | how to know what part of the name of the symbol are dynamic ? 86 | 87 | Jeff 4 days ago 88 | is there a way to still force a particular style? 89 | 90 | Anatoly 4 days ago 91 | What is the use case of this Canvas? 92 | :+1: 93 | 2 94 | 95 | Gilad 4 days ago 96 | WHOA 97 | 98 | 惜 4 days ago 99 | Cann’t live without SF Symbols. Question: When did come to React / web? 100 | 101 | Andrew 4 days ago 102 | Is this another John Harper special? 103 | :laughing: 104 | 8 105 | 106 | Rajée 4 days ago 107 | :exploding_head: 108 | 109 | Zaim 4 days ago 110 | Would there be a protocol to populate custom colors so that they also get the built-in features for free (dark/light/blur adapting)? 111 | 112 | Matthew 4 days ago 113 | Amazing demo. SF Symbols are so pleasant overall. 114 | :+1: 115 | 3 116 | 117 | Shubham 4 days ago 118 | Is there any chance of Canvas lagging when it has lots of particles/graphics? 119 | 120 | Josh (Apple) 4 days ago 121 | TimelineView! 122 | :clock1: 123 | 3 124 | :heart: 125 | 4 126 | 127 | Seyed Parsa 4 days ago 128 | Does Canvas use low-level frameworks like Metal (?) to perform better? 129 | :heavy_plus_sign: 130 | 1 131 | 132 | Vitor 4 days ago 133 | OMG OMG OMG Canvas! 134 | :heavy_plus_sign: 135 | 1 136 | 137 | Jeff 4 days ago 138 | i hadn't even considered using that for automated animations like screensavers! 139 | 140 | Arno 4 days ago 141 | Btw this is a bit information overload but pretty fun to watch together 142 | :+1: 143 | 4 144 | :heavy_plus_sign: 145 | 5 146 | 147 | Seyed Parsa 4 days ago 148 | Finally apps in always-on! 149 | 150 | Jorge 4 days ago 151 | Wow, so many symbols to choose from! :star-struck: 152 | 153 | Jeff:bird: 4 days ago 154 | Does TimelineView work in widgets? 155 | :heavy_plus_sign: 156 | 3 157 | 158 | Seyed Parsa 4 days ago 159 | @Jorge SF Symbols apps to your rescue 160 | 161 | Austin 4 days ago 162 | I still chuckle at how the SF Symbol for a Windows PC is depicted with the crash screen frown. (edited) 163 | :joy: 164 | 6 165 | :grin: 166 | 2 167 | 168 | Luca (Apple) 4 days ago 169 | @Jeff No, Widgets use a separate API. 170 | 171 | Seyed Parsa 4 days ago 172 | Nice to be able to set privacy sensitivity 173 | 174 | Andrew 4 days ago 175 | Yeah I too wonder if Canvas is Metal (GPU) accelerated or if it still done on the CPU like CoreGraphics drawing is. 176 | 177 | Josh (Apple) 4 days ago 178 | Can't wait to see all your apps in Always On on watchOS! 179 | :raised_hands: 180 | 3 181 | :watch: 182 | 5 183 | 184 | Seyed Parsa 4 days ago 185 | 3166 Symbols?!?!?! 186 | :mechanical_arm: 187 | 1 188 | 189 | Sean 4 days ago 190 | @Austin I love that SF Symbol so much :joy: 191 | 192 | 惜 4 days ago 193 | TimelineView in widgets? 194 | 195 | Jeff 4 days ago 196 | does foregroundStyle replace foregroundColor? 197 | 198 | Arno 4 days ago 199 | Is Material available in WidgetKit? 200 | :heavy_plus_sign: 201 | 1 202 | 203 | Shubham 4 days ago 204 | When will the new SFSymbols beta be available? 205 | :rocket: 206 | 2 207 | :point_up: 208 | 1 209 | 210 | Austin 4 days ago 211 | It's available. 212 | :point_up::skin-tone-2: 213 | 1 214 | :grin: 215 | 1 216 | :+1: 217 | 1 218 | 219 | An:uk: 4 days ago 220 | https://developer.apple.com/sf-symbols/ 221 | edit: (Link to SF Symbols 3 beta) (edited) 222 | 223 | Matthew 4 days ago 224 | Did I just see multi-orientation previews :hearts: 225 | :+1: 226 | 1 227 | :eyes: 228 | 2 229 | :tada: 230 | 2 231 | 232 | Andrew 4 days ago 233 | For some reason when I install the beta, the old app is broken. But new one works great. (edited) 234 | 235 | Taylor (Apple) 4 days ago 236 | @Jeff, for most use cases yes, and has increased flexibility in that it takes both Color and shape styles. The rich graphics session has some really cool examples of that 237 | :+1: 238 | 1 239 | 240 | Curt (Apple):couch_and_lamp: 4 days ago 241 | Landscape previews are great! 242 | :raised_hands: 243 | 5 244 | :clap: 245 | 2 246 | :point_up: 247 | 1 248 | :heart_eyes: 249 | 1 250 | 251 | Austin 4 days ago 252 | I think SF Symbols would make more sense on the Mac App Store under the developer tools category, but not a big deal. 253 | :point_up_2: 254 | 1 255 | 256 | Vitor 4 days ago 257 | OOOOH MY GOOOOOOD!! LANDSCAPE PREVIEWS!!!! 258 | :raised_hands::skin-tone-5: 259 | 1 260 | 261 | Christopher 4 days ago 262 | Love the accessibility inspector for previews! 263 | 264 | Vitor 4 days ago 265 | Sorry for yelling,,,, 266 | :sweat_smile: 267 | 1 268 | 269 | Vitor 4 days ago 270 | Too excited! 271 | :heart: 272 | 2 273 | 274 | Christian 4 days ago 275 | Oh love the accessibility preview! 276 | :100: 277 | 1 278 | 279 | Curt (Apple):couch_and_lamp: 4 days ago 280 | preview orientation is case iterable, so you can loop over all the orientations 281 | :+1: 282 | 5 283 | :heart_eyes: 284 | 2 285 | :heart: 286 | 1 287 | :clap: 288 | 1 289 | 290 | Vitor 4 days ago 291 | I’ve been suffering from not having landscape previews! 292 | 293 | Jeff 4 days ago 294 | now we just need a grid layout for previews, so we can have dynamic type sizes across and locale up/down 295 | :+1: 296 | 1 297 | 298 | Jeff:bird: 4 days ago 299 | Can you manually disable Markdown support? 300 | 301 | Vitor 4 days ago 302 | I could kiss you @Curt (Apple) and the rest of the team 303 | 304 | Vitor 4 days ago 305 | Ah, the joy of the little quality of life improvements. 306 | 307 | Matthew 4 days ago 308 | This is what incremental improvement looks like — so great so far 309 | 310 | Regine 4 days ago 311 | love the dynamic type restriction - will be changing all my hard coded font to system fonts 312 | 313 | Wynn 4 days ago 314 | Love the drawing with Canvas. Also love the spatial audio used in the videos. AAA+++ 315 | 316 | Alejandro 4 days ago 317 | The video implies that you can share with other apps what you have drawn with Canvas. Is that correct? Is there an API to export SwiftUI views to images that can be shared or saved on disk? without going to uikit/appkit ofc :stuck_out_tongue: 318 | 319 | Taylor (Apple) 4 days ago 320 | @Alejandro, what do you mean by share with other apps? There is not yet a SwiftUI API for snapshotting a view as an image 321 | :ok_hand: 322 | 1 323 | 324 | Alejandro 4 days ago 325 | @Taylor (Apple) oh thanks. I meant that the video talked about share providers and switched to Canvas. I thought they were related ^^ sorry my mistake. 326 | it would be nice if that api existed tho :stuck_out_tongue: 327 | I’m using SwiftUI outside apps, from terminal CLI tools, and is very handy to generate graphics :heart: Canvas just makes it even better!! but is a bit of a pain to have to use appkit for saving the images. 328 | 329 | Taylor (Apple) 4 days ago 330 | No worries! If you haven’t already, do file a feedback to request that enhancement, it’s always useful to know how many people would like a new feature :slightly_smiling_face: 331 | :heart: 332 | 1 333 | 334 | Jorge 4 days ago 335 | Amazing work SwiftUI team! This is wonderful content to work with! :heart: -------------------------------------------------------------------------------- /WhatsNewInSwiftUI/10018-better-lists-thread.txt: -------------------------------------------------------------------------------- 1 | Betsy (Apple) Jun 8th at 2:08 PM 2 | Better lists thread :thread: 3 | 4 | 5 | 6 | 91 replies 7 | 8 | Austin 4 days ago 9 | Okay this is great 10 | :tada: 11 | 1 12 | 13 | Olivier 4 days ago 14 | Impressive 15 | 16 | Curt (Apple):couch_and_lamp: 4 days ago 17 | SuperDog! 18 | 19 | Matthew 4 days ago 20 | I’ll be able to replace home-grown Async Image with AsyncImage! I wonder if we can specific cache for AsyncImage, or if it’s standard/automatic? 21 | :eyes: 22 | 15 23 | 24 | Andrew 4 days ago 25 | Who else built an AsyncImage ? 26 | :hand: 27 | 34 28 | :man-raising-hand: 29 | 1 30 | :raising_hand: 31 | 1 32 | :sweat_smile: 33 | 1 34 | 35 | Shubham 4 days ago 36 | I wanted the line separator removal so badly :smile: 37 | :+1: 38 | 10 39 | :joy: 40 | 4 41 | :heart: 42 | 4 43 | 44 | Peter 4 days ago 45 | Line separator removal is a game changer for sure )) (edited) 46 | :raised_hands: 47 | 1 48 | 49 | Ethan 4 days ago 50 | Does AsyncImage work with Quick Look generated thumbnails? 51 | 52 | Philip 4 days ago 53 | Literally yesterday I was futzing with the separator in Lists, trying to use LazyVStacks instead to get rid of them, then realizing that it won’t work to let me do “onDelete” on my list items because it’s not a list anymore. So happy to see this simplified. 54 | 55 | Tom 4 days ago 56 | They must have seen the amount of AsyncImage snippets on SO 57 | :+1: 58 | 4 59 | 60 | Luca (Apple) 4 days ago 61 | @Matthew there is no such customization at the moment but definitely a great feedback to submit to us! 62 | :point_up_2: 63 | 1 64 | 65 | Seyed Parsa 4 days ago 66 | Does AsyncImage load images progressively (from lo-res to high-res) or by once? (edited) 67 | :point_up_2: 68 | 3 69 | This message was removed. 70 | 71 | Rajée 4 days ago 72 | task = viewDidLoad ? 73 | :grin: 74 | 2 75 | 76 | Anatoly 4 days ago 77 | We built 2 versions of pull-to-refresh - for Lists on iOS13 and 14, hack on hack :persevere: 78 | :smile: 79 | 2 80 | :heavy_plus_sign: 81 | 2 82 | 83 | Ilter 4 days ago 84 | How does AsyncImage behave in a long list? Should we worry about reused rows and/or load times (do all of them load at once or as we scroll?) 85 | 86 | Matthew 4 days ago 87 | Wow, async interation — that is phenomenal (.task modifier) 88 | 89 | Jeff 4 days ago 90 | @Luca (Apple) no customization, but is there any standard caching behavior built in? 91 | :point_up: 92 | 5 93 | 94 | Shubham 4 days ago 95 | Me too @Anatoly I built a custom refresh control as well :sweat_smile: 96 | :relaxed: 97 | 2 98 | 99 | Joshua 4 days ago 100 | Can .swipeActions work on ScrollView/VStack views? Or only on a List? 101 | 102 | Sam (Apple) 4 days ago 103 | I wouldn’t say that task is equivalent to view did load. Think of it as some async piece of work whose lifetime is tied to the view it’s attached to. The task will live as long as the view does, and will be automatically canceled when the view’s lifetime ends. 104 | :+1: 105 | 6 106 | 107 | Curt (Apple):couch_and_lamp: 4 days ago 108 | See tomorrow’s Demystify SwiftUI talk for more on view lifetime. 109 | :heavy_plus_sign: 110 | 1 111 | :+1: 112 | 8 113 | :raised_hands: 114 | 5 115 | :tada: 116 | 5 117 | 118 | Andrew 4 days ago 119 | async/await is awesome in other languages, but cancellation is often missed. Appreciate the attention to detail! 120 | 121 | Luca (Apple) 4 days ago 122 | @Joshua No, it’s only for List. 123 | 124 | Curt (Apple):couch_and_lamp: 4 days ago 125 | We’ll have a watch party for that talk at noon PDT tomorrow. 126 | :wwdc2021: 127 | 7 128 | 129 | Seyed Parsa 4 days ago 130 | Are timers a good candidate to run there? Or there will be performance issues? 131 | 132 | Joseph 4 days ago 133 | I avoided list because I struggle with drag and drop so had to reimplement the swipe to delete. Also made my own grid with offsets for another project (though that project also had to target 13).. 134 | 135 | Rajée 4 days ago 136 | @Sam (Apple) Ok thanks! I'll have to play with it - does it re-trigger if the view is reloaded/remade as in from a publisher or something? 137 | 138 | Tom 4 days ago 139 | I'll be disappointed if the door code isn't 1337 140 | 141 | Rajée 4 days ago 142 | does .task happen once or can it be triggered many times 143 | 144 | Christopher 4 days ago 145 | :exploding_head: passing bindings to List and ForEach is GENIUS. Should make multi-select operations much easier. 146 | :heart: 147 | 7 148 | 149 | César 4 days ago 150 | I’m stoked about hiding the separator in Lists! :heart_eyes: 151 | 152 | Jeff 4 days ago 153 | thats really cool! 154 | 155 | Jonathan 4 days ago 156 | Does AsyncImage have any built in caching under the hood? 157 | :thinking_face: 158 | 3 159 | :point_up: 160 | 3 161 | 162 | Seyed Parsa 4 days ago 163 | @Sam (Apple) Are timers a good candidate to start in “task”s? Or performance issues apply? 164 | :point_up::skin-tone-5: 165 | 1 166 | 167 | Jonathan 4 days ago 168 | Does AsyncImage work correctly within Widgets? When does the load happen in that case? 169 | :point_up: 170 | 2 171 | 172 | Christopher 4 days ago 173 | That binding change is so appreciated! 174 | 175 | Andrew 4 days ago 176 | Back deployment! 177 | :+1: 178 | 1 179 | 180 | Michael 4 days ago 181 | List bindings will make things so much easier! 182 | :+1: 183 | 1 184 | 185 | Rebecca 4 days ago 186 | Oooo being able to pass a Binding to List is such a great change! 187 | :+1: 188 | 4 189 | :heart: 190 | 1 191 | 192 | Jake (Apple) 4 days ago 193 | Woah cool pink hammer!! 194 | 195 | Jeff 4 days ago 196 | :tada: 197 | 198 | Cristina 4 days ago 199 | Will it be possible to get access to handle the image downloaded from AsyncImage? 200 | :heavy_plus_sign: 201 | 3 202 | 203 | Shubham 4 days ago 204 | Yeah, game changing. No more functions to return a Binding :smile: 205 | 206 | Jeff 4 days ago 207 | @Cristina ya, you get a closure that's passed the resulting Image 208 | 209 | Rajée 4 days ago 210 | haha I made my own Swipe action but it was so much work 211 | 212 | Arno 4 days ago 213 | Nice custom swipe actions are much appreciated 214 | :+1::+1::skin-tone-5: 215 | 3 216 | 217 | Jacob (Apple) 4 days ago 218 | AsyncImage uses the shared URLSession which uses the shared URLCache 219 | :raised_hands: 220 | 10 221 | :+1: 222 | 17 223 | :heart: 224 | 1 225 | 226 | Regine 4 days ago 227 | so much code I can delete now! Thank you! 228 | This message was removed. 229 | 230 | Luca (Apple) 4 days ago 231 | @Cristina Yes, one of the initializer on AsyncImage has a closure whose argument is the image just downloaded. 232 | :raised_hands: 233 | 7 234 | 235 | Cristina 4 days ago 236 | Thanks @Jeff and @Luca (Apple) awesome! (edited) 237 | 238 | Seyed Parsa 4 days ago 239 | Can we provide custom RowSeperators? 240 | 241 | Shubham 4 days ago 242 | Can we use Swipe actions for any Views? (edited) 243 | 244 | Luca (Apple) 4 days ago 245 | @Shubham no, it’s only for List (edited) 246 | :+1: 247 | 3 248 | 249 | Christopher 4 days ago 250 | Are there any specific accessibility concerns we should take into account for the swipe actions? 251 | :+1: 252 | 1 253 | 254 | Francisco 4 days ago 255 | Awesome, thanks to simplify it! 256 | 257 | Shubham 4 days ago 258 | got it @Luca (Apple) Thanks :slightly_smiling_face: 259 | 260 | Curt (Apple):couch_and_lamp: 4 days ago 261 | Accessibility support is built in. Your VO users should get actions support for free. 262 | :heart: 263 | 1 264 | :raised_hands: 265 | 2 266 | 267 | Luca (Apple) 4 days ago 268 | @Christopher No, we SwiftUI takes care of that for you. 269 | 270 | Jonathan 4 days ago 271 | @Jacob (Apple) Does this mean that the images themselves are cached as part of the shared url cache? I know UIImage in UIKIt land there's a system cache. 272 | 273 | Rajée 4 days ago 274 | :man-raising-hand::skin-tone-5: Question 275 | How can we use these new features and stay backwards compatible? Is there a talk upcoming for this? 276 | I saw adding #if macros to view modifiers but what about OS version? 277 | :slightly_smiling_face: 278 | 1 279 | :heavy_plus_sign: 280 | 5 281 | 282 | Christopher 4 days ago 283 | @Curt (Apple) @Luca (Apple) Thanks! 284 | :+1::skin-tone-3: 285 | 1 286 | 287 | Vladimirs 4 days ago 288 | is it possible to set the background color for the alternate list rows? (edited) 289 | :point_up_2: 290 | 1 291 | 292 | Michael 4 days ago 293 | Multi-column tables ++ 294 | 295 | Michael 4 days ago 296 | Tables! :slightly_smiling_face: 297 | 298 | Jeffrey 4 days ago 299 | Do Lists use any type of caching to improve performance with large datasets? 300 | 301 | Ethan 4 days ago 302 | Do tables work on other platforms? 303 | 304 | Taylor (Apple) 4 days ago 305 | is it possible to set the background color for the alternate list row? 306 | @Vladimirs, No, that style just has the standard alternating row colors 307 | :+1: 308 | 2 309 | 310 | Michael 4 days ago 311 | How's the performance of the table with large datasets? (I have issues with performance of List on macOS already with not too many rows in a List) 312 | :heavy_plus_sign: 313 | 1 314 | 315 | Mark 4 days ago 316 | Is Table macOS-only? 317 | :+1: 318 | 4 319 | :question: 320 | 3 321 | 322 | Francisco 4 days ago 323 | What about handling controls like UISwitch in a List? (edited) 324 | 325 | Curt (Apple):couch_and_lamp: 4 days ago 326 | List performance on macOS is much improved in Monterey 327 | :+1: 328 | 5 329 | 330 | Sean 4 days ago 331 | Yeah it’s so much better! Thanks Apple! 332 | 333 | Christopher 4 days ago 334 | Really excited search was added! 335 | :raised_hands: 336 | 2 337 | 338 | Geraldine 4 days ago 339 | Are list rows recycled like in table views or are they lazily loaded? 340 | :heavy_plus_sign: 341 | 1 342 | 343 | Philip 4 days ago 344 | @Taylor (Apple) When you say the rows are “standard” colors, is that always the white / gray scheme, or is it affected by the tint color in any way? 345 | 346 | Taylor (Apple) 4 days ago 347 | @Philip, the greyscale scheme, not affected by tint 348 | :+1: 349 | 1 350 | 351 | Andrea 4 days ago 352 | On macOS is there a way to change the whole background color? 353 | 354 | Amit 4 days ago 355 | @Jacob (Apple) can we provide custom url session with custome URLSessionConfiguration for different cache behaviours ? 356 | 357 | Peter 4 days ago 358 | Is `.task { } ` mostly for one-time fetching, or can we use it to set up code that establishes a listener to a server? 359 | 360 | Romy 4 days ago 361 | @Taylor (Apple) for the new Table would it be possible to have a pinned column and header (spreadsheet style) 362 | 363 | Geraldine 4 days ago 364 | Question about lists. I’m using it to display async images list similar to the Unsplash app. The images leading and trailing sides don’t have padding and there is 1 point of spacing between each row. Is this possible to achieve with the new lists? 365 | 366 | Taylor (Apple) 4 days ago 367 | @Romy, the singular column headers are always pinned to the top. But if you wanted to have multiple pinned headers or columns, Table wouldn’t be a good fit for that use case. 368 | :thumbsup_all: 369 | 1 370 | 371 | Geraldine 4 days ago 372 | Never mind. I figured it out. Use the .listRowInsets view modifier to configure the padding for list items. 373 | 374 | Samuel 4 days ago 375 | is refreshable stylable in any way (e.g. can a label to added below the spinner) or is it fully opaque? 376 | :point_up: 377 | 2 378 | 379 | Jeffrey 4 days ago 380 | Have there been performance enhancements to List on iOS for dealing with larger datasets? 381 | :heavy_plus_sign: 382 | 1 383 | 384 | Dan 4 days ago 385 | I think Matt mentioned something about back porting to older versions of SwiftUI how many things are like that? 386 | :heavy_plus_sign: 387 | 1 388 | 389 | Justin 4 days ago 390 | Are AsyncImages cached? 391 | :heavy_plus_sign: 392 | 4 393 | 394 | Stefan 4 days ago 395 | @Mark according to the documentation the Table view is only available on macOS. 396 | :thumbsup_all: 397 | 1 398 | 399 | Niels 4 days ago 400 | What image formats does AsyncImage support? (I assume jpg and png, but what about webp?) (edited) -------------------------------------------------------------------------------- /WhatsNewInSwiftUI/10018-beyond-lists-thread.txt: -------------------------------------------------------------------------------- 1 | Betsy (Apple) Jun 8th at 2:17 PM 2 | Beyond lists thread :thread: 3 | 44 replies 4 | 5 | Curt (Apple):couch_and_lamp: 4 days ago 6 | Tables!!! 7 | :tada: 8 | 18 9 | 10 | Shubham 4 days ago 11 | Tables wow 12 | 13 | Matthew 4 days ago 14 | Tables: fantastic! Are Tables MacOS only? 15 | :heavy_plus_sign: 16 | 4 17 | 18 | Zaim 4 days ago 19 | Would Tables be backwards compatible? 20 | 21 | Jeff:bird: 4 days ago 22 | Do SwiftUI tables work in Catalyst apps? 23 | 24 | Franco:speech_balloon: 4 days ago 25 | i have a feeling tables would be cool on iPadOS — maybe in the next SwiftUI / iPadOS version? 26 | :point_up: 27 | 2 28 | 29 | Justin 4 days ago 30 | Woah. Tables! 31 | 32 | Curt (Apple):couch_and_lamp: 4 days ago 33 | Tables are macOS only today and not available in Catalyst. 34 | :crying_cat_face: 35 | 5 36 | :+1: 37 | 2 38 | 39 | Regine 4 days ago 40 | Please bring to mobile next year:) 41 | :point_up: 42 | 1 43 | 44 | Taylor (Apple) 4 days ago 45 | Feedbacks are always welcome :slightly_smiling_face: 46 | 47 | Seyed Parsa 4 days ago 48 | Maybe tables could be a nice suggestion for iPadOS 49 | :point_up: 50 | 3 51 | 52 | Christopher 4 days ago 53 | Will definitely need to check out that Core Data talk to learn more about this mysterious/awesome-looking SectionedFetchRequest. 54 | :+1: 55 | 1 56 | 57 | Shubham 4 days ago 58 | Need to check out integrating CoreData with SwiftUI 59 | :+1: 60 | 1 61 | 62 | Michael 4 days ago 63 | How's the performance of the table with large datasets? (I have issues with performance of List on macOS already with not too many rows in a List) 64 | :+1: 65 | 2 66 | 67 | Sam (Apple) 4 days ago 68 | As a fun note: Some of the Foundation API behind Table, namely the SortComparator protocol is quite general and can be used to drive your tables with all kinds of data sources: SortDescriptor for CoreData driven tables, KeyPathComparator for in-memory data, and for other data sources, you can provide custom implementations of SortComparator! (edited) 69 | :heart: 70 | 8 71 | :+1: 72 | 2 73 | 74 | Vitor 4 days ago 75 | Tables are AWESOME. 76 | :+1: 77 | 1 78 | 79 | Andrew 4 days ago 80 | Still hoping a more swifty alternative to Core Data is coming 81 | :100: 82 | 6 83 | 84 | Shubham 4 days ago 85 | Search Modifier nice! :D 86 | 87 | Taylor (Apple) 4 days ago 88 | namely the SortComparator protocol is quite general 89 | And that’s available on every platform, and can be used alongside List or your own views! (edited) 90 | :tada: 91 | 5 92 | :+1: 93 | 1 94 | :star-struck: 95 | 1 96 | 97 | Vitor 4 days ago 98 | I remember how labor-intensive it was to get stuff like sorting done… now we have it for free! I love these guys 99 | 100 | Seyed Parsa 4 days ago 101 | @Taylor (Apple) How can we customize search text box by using searchable? Should we return to old style adding text box? 102 | 103 | 惜 4 days ago 104 | Want to change my app to iOS 15 only. 105 | :heart: 106 | 8 107 | :smiling_imp: 108 | 1 109 | 110 | Sam (Apple) 4 days ago 111 | :hammer: 112 | :joy: 113 | 1 114 | 115 | Curt (Apple):couch_and_lamp: 4 days ago 116 | Lol 117 | 118 | Kedar 4 days ago 119 | This searchable stuff is absolutely :peanuts: (edited) 120 | 121 | Matthew 4 days ago 122 | There is no custom WWDC pink hammer Slack reaction :wink: 123 | :rolling_on_the_floor_laughing: 124 | 10 125 | 126 | Jeff:bird: 4 days ago 127 | Do Apple employees frequently carry hammers in their pockets? 128 | :joy: 129 | 10 130 | :smile: 131 | 1 132 | 133 | Matt (Apple) 4 days ago 134 | Yes 135 | :laughing: 136 | 8 137 | :hammer: 138 | 11 139 | 140 | Shubham 4 days ago 141 | haha 142 | 143 | Curt (Apple):couch_and_lamp: 4 days ago 144 | Anyway to squash a bug (edited) 145 | :heart: 146 | 3 147 | 148 | Sam (Apple) 4 days ago 149 | That’s the standard issue Apple hammer. 150 | :joy: 151 | 15 152 | :+1: 153 | 4 154 | :heart: 155 | 2 156 | 157 | David (Apple) 4 days ago 158 | Can confirm … standard 159 | :hammer: 160 | 9 161 | :heartpulse: 162 | 1 163 | 164 | Taylor (Apple) 4 days ago 165 | Mine is green though 166 | :hammer: 167 | 4 168 | :green_heart: 169 | 3 170 | 171 | Jeff 4 days ago 172 | pretty sure i have one of those in a drawer somewhere, does that mean im an unofficial apple employee? :stuck_out_tongue_winking_eye: 173 | :grin: 174 | 1 175 | 176 | Mike 4 days ago 177 | Are there hammer fights in the halls? 178 | 179 | Clément 4 days ago 180 | does the modifier of importItemProviders work with other commands, or other stuff to import things in the app ? 181 | 182 | Christopher 4 days ago 183 | Can we use importFromDevices as source for AsyncImage for something like an ImagePicker? 184 | 185 | Tom 4 days ago 186 | Customisable Hammer Colours - very Apple 187 | 188 | Seyed Parsa 4 days ago 189 | Any way to move the search box from the default position? Still using searchable 190 | 191 | Tom 4 days ago 192 | Stainless steel with a leather wrapped handle? 193 | 194 | Harry (Apple) 4 days ago 195 | @Seyed Parsa Look into the SearchFieldPlacement type. It provides a few different locations for the search field that you can pass to the searchable modifier (.searchable(text: $text, placement: .sidebar)) 196 | :raised_hands: 197 | 1 198 | 199 | Brenden 4 days ago 200 | This timeline view is :100: 201 | 202 | Alexandre 4 days ago 203 | Hi SwiftUI team! 204 | I would like to know if its now possible to use NavigationLink for Single View (not column) on MacOS. 205 | On SwiftUI 2 that want not possible. Did this change on SwiftUI 3? 206 | https://stackoverflow.com/questions/61424225/macos-swiftui-navigation-for-a-single-view (edited) 207 | Stack OverflowStack Overflow 208 | macOS SwiftUI Navigation for a Single View 209 | I'm attempting to create a settings view for my macOS SwiftUI status bar app. My implementation so far has been using a NavigationView, and NavigationLink, but this solution produces a half view as... 210 | 211 | Alexandre 4 days ago 212 | Is it possible now to get a translucent Sidebar on Mac Catalyst? 213 | https://stackoverflow.com/questions/65673118/swiftui-catalyst-translucent-sidebar 214 | Stack OverflowStack Overflow 215 | SwiftUI - Catalyst translucent sidebar 216 | Goal is to make a translucent sidebar on Mac Catalyst. The code bellow gives a not translucent sidebar (image 1). On Mac (not catalyst) the sidebar looks fine (image 2). is it possible to have a -------------------------------------------------------------------------------- /WhatsNewInSwiftUI/10018-more-buttons-thread.txt: -------------------------------------------------------------------------------- 1 | 2 | Betsy (Apple) Jun 8th at 2:39 PM 3 | More buttons thread :thread: 4 | 5 | 6 | 7 | 28 replies 8 | 9 | Jeff 4 days ago 10 | so many buttons! 11 | :star-struck: 12 | 2 13 | 14 | Shubham 4 days ago 15 | Awesome, button styles! :heart_eyes: 16 | :eyes: 17 | 1 18 | 19 | Soo Rin 4 days ago 20 | :crossed_fingers: that tvOS fosused modifier is fixed 21 | 22 | Christopher 4 days ago 23 | Look like I’m ripping out my buttons and replacing them with these! 24 | 25 | Christopher 4 days ago 26 | Love this! 27 | :+1: 28 | 3 29 | 30 | Cameron 4 days ago 31 | Less code on my end! Great! 32 | 33 | James 4 days ago 34 | Same here! :tada: 35 | 36 | Seyed Parsa 4 days ago 37 | Ready to use, beautiful buttons :slightly_smiling_face: 38 | :+1: 39 | 4 40 | 41 | Dan 4 days ago 42 | These will be great as a user too! 43 | :+1: 44 | 2 45 | 46 | Christopher 4 days ago 47 | ooooh pressed and disabled states is included 48 | :heart: 49 | 1 50 | 51 | Dan 4 days ago 52 | :raised_hands: 53 | 54 | Sean 4 days ago 55 | I love these buttons! 56 | 57 | Christopher 4 days ago 58 | Native AddToSiriButton similar to SignInWithAppleButton()? 59 | 60 | Seyed Parsa 4 days ago 61 | But easy for an app to abuse the property, turning all the buttons to prominent to draw user focus. :disappointed: 62 | 63 | Curt (Apple):couch_and_lamp: 4 days ago 64 | @Christopher that would be a great feature request Feedback! 65 | :+1: 66 | 6 67 | 68 | Lennart 4 days ago 69 | Love all the changes around buttons :clap: really well thought out :rocket: 70 | :raised_hands: 71 | 1 72 | 73 | Austin 4 days ago 74 | This Feedback Assistant button should be larger! I'll file one about it using the button. 75 | Screen Shot 2021-06-08 at 10.42.01 AM.png 76 | Screen Shot 2021-06-08 at 10.42.01 AM.png 77 | 78 | 79 | :grin: 80 | 2 81 | 82 | Rebecca 4 days ago 83 | Destructive actions in context menus was high on my wishlist…thanks team! :tada: 84 | :raised_hands: 85 | 2 86 | :smile: 87 | 1 88 | :+1: 89 | 3 90 | 91 | Rajée 4 days ago 92 | Large button might be the sleeper/savior of SwiftUI lol 93 | :raised_hands: 94 | 2 95 | 96 | Seyed Parsa 4 days ago 97 | Are buttons without indicators considered good UX? Do you suggest using them? 98 | :thinking_face: 99 | 1 100 | 101 | Christopher 4 days ago 102 | Destructive actions makes me so happy. 103 | :+1::skin-tone-2: 104 | 1 105 | 106 | Austin 4 days ago 107 | Do destructive buttons on watchOS (assuming the platform is covered) come with some sort of "are you sure" sheet? 108 | 109 | Curt (Apple):couch_and_lamp: 4 days ago 110 | I’d suggest using disabling indicators with care. They are less discoverable. 111 | :+1: 112 | 7 113 | :heart_eyes: 114 | 1 115 | 116 | Taylor (Apple) 4 days ago 117 | It’s a good design question! Definitely consider your users and if they’d expect a menu to be shown or not from the button. (edited) 118 | :+1: 119 | 1 120 | 121 | Curt (Apple):couch_and_lamp: 4 days ago 122 | They’re good accelerators for things like forward/back buttons that advanced users will appreciate. 123 | :+1: 124 | 3 125 | 126 | Matt (Apple) 4 days ago 127 | @Austin not automatically, but check out the new confirmationDialog 128 | :+1: 129 | 3 130 | 131 | Dan 4 days ago 132 | Where would I learn about ways to have existing SwiftUI code inherit the newer features so I could support both iOS 14 and 15 133 | 134 | Sam (Apple) 4 days ago 135 | It’s worth noting that lots of these new APIs (like menu with a primaryAction) utilize Multiple Trailing Closures. But it’s not just newly added APIs that got this treatment: Many existing APIs have been given overloads that utilize Multiple Trailing Closures so you can use a consistent style throughout your apps :slightly_smiling_face: (edited) 136 | :heart: 137 | 1 -------------------------------------------------------------------------------- /WhatsNewInSwiftUI/10018-text-and-keyboard-thread.txt: -------------------------------------------------------------------------------- 1 | 2 | Betsy (Apple) Jun 8th at 2:32 PM 3 | Text and keyboard thread :thread: 4 | :keyboard: 5 | 8 6 | 7 | 8 | 9 | 80 replies 10 | 11 | Ethan 4 days ago 12 | Does it support syntax highlighting? 13 | :heavy_plus_sign: 14 | 1 15 | 16 | Seyed Parsa 4 days ago 17 | Markdown! 18 | :star-struck: 19 | 2 20 | 21 | Valentin 4 days ago 22 | Oooh markdown! 23 | 24 | Frank (Apple) 4 days ago 25 | Markdown Support :star-struck: 26 | :heart: 27 | 6 28 | 29 | Gilad 4 days ago 30 | lol meta — awesome 31 | 32 | Ryan 4 days ago 33 | MD in Text?! What the whaaaaa? 34 | 35 | Shubham 4 days ago 36 | Markdown will be so helpful!!! 37 | :+1: 38 | 1 39 | 40 | Seyed Parsa 4 days ago 41 | Does markdown there support links and linked images? 42 | 43 | Justin 4 days ago 44 | Interactive links woah 45 | 46 | Fernando 4 days ago 47 | Any way to get a text input picker on watchOS without using TextField? E.g. in response to a button in the UI 48 | 49 | Jose Adolfo 4 days ago 50 | AttributedString!! 51 | 52 | Kedar 4 days ago 53 | Wow this is insane 54 | 55 | Amit 4 days ago 56 | Is LinkedImages are also supported ? 57 | 58 | Yutaro 4 days ago 59 | Does Markdown support Heading? 60 | :heavy_plus_sign: 61 | 1 62 | 63 | Jeff 4 days ago 64 | does the markdown parsing support the full spec? i.e. code blocks, headings, etc 65 | 66 | Vladimirs 4 days ago 67 | Is it possible now to make a TextField focused by default, so the keyboard is visible when user navigates to the new screen? 68 | :point_up: 69 | 4 70 | :eyes: 71 | 1 72 | 73 | Seyed Parsa 4 days ago 74 | Does Markdown support links and linked images? 75 | :heavy_plus_sign: 76 | 1 77 | 78 | Natalia (Apple) 4 days ago 79 | Markdown supports links: Text("My [link](https://apple.com)") (edited) 80 | :100: 81 | 2 82 | :heart: 83 | 13 84 | :fireworks: 85 | 1 86 | 87 | Curt (Apple):couch_and_lamp: 4 days ago 88 | Full field focus control this year. 89 | :clap: 90 | 5 91 | :raised_hands: 92 | 6 93 | :tada: 94 | 6 95 | :exploding_head: 96 | 3 97 | 98 | Gilad 4 days ago 99 | I saw focus API in the diffs (edited) 100 | 101 | Taylor (Apple) 4 days ago 102 | No spoilers! :smile: 103 | :sweat_smile: 104 | 2 105 | :stuck_out_tongue_closed_eyes: 106 | 1 107 | 108 | Seyed Parsa 4 days ago 109 | Selectable text with ease :))) 110 | 111 | Josh (Apple) 4 days ago 112 | @Fernando that API exists in WatchKit itself and can be called from SwiftUI 113 | 114 | Andrew 4 days ago 115 | Would be great to see Dynamic Type on macOS… :smile: 116 | 117 | Vladimirs 4 days ago 118 | :heavy_plus_sign: For the dynamic type ranges :pray: 119 | :raised_hands: 120 | 3 121 | 122 | Natalia (Apple) 4 days ago 123 | Markdown only supports inline styles like emphasis, strong emphasis, code etc. Doesn’t support paragraph styles such as Headers 124 | :+1: 125 | 4 126 | :eyes: 127 | 3 128 | :-1: 129 | 1 130 | 131 | Jeff:bird: 4 days ago 132 | Can you manually disable Markdown support for text? 133 | 134 | Mateus 4 days ago 135 | Is there a documentation detailing the markdown specification? 136 | :heavy_plus_sign: 137 | 2 138 | 139 | Seyed Parsa 4 days ago 140 | @Jeff maybe using raw strings? 141 | 142 | Fernando 4 days ago 143 | @Josh (Apple) thanks! Follow up question: does the WatchKit text input controller support the enhancements to text input from SwiftUI? E.g. remembering scribble preferences 144 | 145 | Philip 4 days ago 146 | To Jeff’s point: Is there a way to escape markdown to display a raw markdown string in your text? 147 | 148 | Clément 4 days ago 149 | the formatting was previously inside the string "\(myDate, format: DateFormatter)" is it still here ? 150 | 151 | Michael 4 days ago 152 | :open_mouth: formatted lists 153 | :tada: 154 | 1 155 | 156 | Sean 4 days ago 157 | This might be a stupid question, but will the apps shown in this session be available to download as source code? I’d love to experiment with it? Thanks :slightly_smiling_face: 158 | :heavy_plus_sign: 159 | 4 160 | 161 | Josh (Apple) 4 days ago 162 | @Fernando Lets chat about that during the Q&A :slightly_smiling_face: 163 | :+1: 164 | 1 165 | 166 | Seyed Parsa 4 days ago 167 | @Sean The code can be copied from the developer app 168 | :+1: 169 | 3 170 | 171 | Natalia (Apple) 4 days ago 172 | For disabling Markdown you can either use either create Text with init(verbatim:) if you don’t need it localized, or make a localized string yourself with String.init(localized:table:bundle:locale:comment:) and pass it to a Text view 173 | :heart: 174 | 5 175 | :+1: 176 | 1 177 | 178 | Sean 4 days ago 179 | @Seyed Parsa Oh thank you! :slightly_smiling_face: 180 | :blush: 181 | 1 182 | 183 | Christopher 4 days ago 184 | Love these keyboard changes! 185 | 186 | Austin 4 days ago 187 | @Sean there's a full list here but idk if any are associated with this session. (edited) 188 | developer.apple.comdeveloper.apple.com 189 | Sample Code - WWDC21 - Apple Developer 190 | View sample code to see how the latest Apple technologies are implemented. 191 | 192 | Yugantar 4 days ago 193 | I love the new date formatting!!! 194 | 195 | Matthew 4 days ago 196 | Love the keyboard toolbar ! 197 | 198 | Seyed Parsa 4 days ago 199 | Up/Down buttons on Touch Bar should be useful 200 | 201 | Andrew 4 days ago 202 | @Natalia (Apple) how does markdown work with compatibility with older OS versions? 203 | 204 | Christopher 4 days ago 205 | .keyboard toolbar placement 206 | 207 | Joseph 4 days ago 208 | onSubmit! Like it. Have a nasty hack to remove now. 209 | 210 | Soo Rin 4 days ago 211 | Is the new DocC built with SwiftUI? if so is the new markdown support what's driving it? 212 | 213 | Luca (Apple) 4 days ago 214 | Also, if you think that disabling markdown parsing is an important use case we would love for you to submit feedbacks. 215 | :+1: 216 | 6 217 | 218 | Sean 4 days ago 219 | @Austin Hey thanks mate! Appreciate it :blush: 220 | 221 | Geraldine 4 days ago 222 | I’m very happy with the keyboard text field additions for SwiftUI this year. I have no more complaints about building forms anymore. 223 | :heart: 224 | 7 225 | 226 | Christian 4 days ago 227 | I had problems with running UI tests that enter text in TextFields when Simulator didn’t show the keyboard last time it was used. Any idea if that is improved? 228 | 229 | Seyed Parsa 4 days ago 230 | Any session on best practices for UI Testing in SwiftUI this year? 231 | 232 | Matt (Apple) 4 days ago 233 | Remember: you can copy code snippets for slides in the developer app! 234 | The code snippets often go beyond what's just on the slide, providing more complete sample code than can fit onscreen. 235 | :heart: 236 | 14 237 | :exploding_head: 238 | 1 239 | 240 | Mateus 4 days ago 241 | why this FocusState was introduced instead of using State? 242 | :thinking_face: 243 | 3 244 | 245 | Jeff:bird: 4 days ago 246 | Yeah, a lot of app text reflects user-generated content. I could see allowing Markdown being a problem in some cases. I’ll file a Feedback. 247 | 248 | Christopher 4 days ago 249 | Hooray!!! No more UIApplication.shared.resignFirstResponder() to dismiss keyboard! (edited) 250 | :heart: 251 | 3 252 | 253 | Matt (Apple) 4 days ago 254 | @Mateus focus is not local state, but a global state of your app. These FocusState properties all coordinate with each other 255 | :+1: 256 | 9 257 | :raised_hands: 258 | 2 259 | :grinning: 260 | 2 261 | 262 | Joseph 4 days ago 263 | On the markdown I feel it ought to be a separate init. The default should just be raw text. 264 | :point_up: 265 | 1 266 | 267 | Philip 4 days ago 268 | Super excited to see the improvements in keyboard focus. As I’m sure many other techies can relate to, being able to tab my way through a UI is key. Being able to customize this kind of behavior on iPad apps is great. 269 | :raised_hands: 270 | 2 271 | 272 | Andrew 4 days ago 273 | Had a lot of issues w/ button sizing w/ SwiftUI & Catalyst. Are there any changes this year? 274 | 275 | Patrick Lorran 4 days ago 276 | Does the new AttributedString supports paragraph styles like head indent, tab stops and paragraph spacing (like the ones in NSParagraphStyle)? (edited) 277 | :heavy_plus_sign: 278 | 1 279 | 280 | Alejandro 4 days ago 281 | how do the links get handled? :open_mouth: 282 | :heavy_plus_sign: 283 | 1 284 | 285 | Cristina 4 days ago 286 | Talking about keyboard, will it be possible to react to keyboard appearing/disappearing to move the focused text input above the keyboard like in UIKit? 287 | 288 | Natalia (Apple) 4 days ago 289 | Markdown will only be parsed in Text by default if your apps are rebuilt with the new SDK 290 | :+1: 291 | 2 292 | 293 | Luca (Apple) 4 days ago 294 | @Jeff if you are displaying user-generated content you most likely end up calling something like Text(message) which doesn’t do localization and markdown parsing. 295 | :+1: 296 | 3 297 | 298 | Harry (Apple) 4 days ago 299 | @Cristina You should look at the new onFocus { isFocused in ... } modifier. It allows you to respond to changes in focus. 300 | 301 | Joseph 4 days ago 302 | To be clear, I love that there is Markdown support, I just think it shouldn't be default, potential for injection of links from user data. Plus accidental styling. 303 | 304 | Matthaus 4 days ago 305 | is there any way to set/observe the insertion point in TextFields 306 | 307 | Cristina 4 days ago 308 | Thanks @Harry (Apple) and will it be possible to scroll the view to the right offset inside that modifier? I remember having a hard time trying to do that in the past 309 | 310 | Natalia (Apple) 4 days ago 311 | User data will not be parsed by default, Markdown is only parsed in LocalizedStringKey 312 | :raised_hands: 313 | 2 314 | 315 | Luca (Apple) 4 days ago 316 | Markdown parsing is done only when you use the initializer that takes a literal String. When creating a Text from a variable (hence user data) we won’t parse that. 317 | :+1: 318 | 1 319 | 320 | Jeff 4 days ago 321 | does that mean we can't access the markdown parsing if we get text from a server? 322 | 323 | Natalia (Apple) 4 days ago 324 | When you create a Text view with a string literal, you are calling init(_:tableName:bundle:comment:) with a LocalizedStringKey where your string literal is the key 325 | 326 | Joseph 4 days ago 327 | OK. If it only applies to literal strings it should be fine, but there might be more confusion when it doesn't work for variable strings (which will often be desirable). 328 | :heart: 329 | 1 330 | 331 | Natalia (Apple) 4 days ago 332 | You can manually create a LocalizedStringKey from a variable then pass it to a Text view 333 | :+1: 334 | 1 335 | 336 | Andrew 4 days ago 337 | That makes sense… what happens if you back-deploy a string like “Hello world” to iOS 14? 338 | 339 | Harry (Apple) 4 days ago 340 | @Cristina Calling scrollTo(_:) inside of the onFocus modifier should work as expected. Please submit a feedback if you find that isn't the case! 341 | 342 | Cristina 4 days ago 343 | Thank you very much @Harry (Apple) 344 | 345 | Joseph 4 days ago 346 | I think my preference would be to have Text(markdown: as additional init. I think it would be more predictable for users. 347 | :+1: 348 | 2 349 | 350 | Yvette 4 days ago 351 | Is there support for keyboard avoiding for TextEditor wrapped inside the Form {} with .ignoresSafeArea([.keyboard]), edges: .bottom)? --------------------------------------------------------------------------------