This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4919757-your-first-ios-and-swiftui-app/lessons/40
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4919757-your-first-ios-and-swiftui-app/lessons/40
lineLimit( nil ) now works in xcode without throwing any error. I have xocde 11.4.1. Thank you for the great tutorial on getting started with swiftUI.
re: Lesson 40 - background function
For Xcode v11.5 (the newest version at the time of writing this), the topic you navigated to for finding the background function “Setting the foreground or background etc”, no longer exists in the Developer Documentation under the SwiftUI category. You can now find the function under the Layout topic “Layering Views”.
SwiftUI > Views and Controls > View > Layout > func background
Thank you for the tutorials Ray
@drengrphil @sarahwo Really glad you like it! Cheers! :]