Forums
Learn
Careers
Store
About
SUBSCRIBE
NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>
Question 1/6: Which of these are true about structs?
Hint: Structs let us group together properties and methods, and are used very commonly in Swift. Click to show.
mutating
Swift won't let you change a struct's properties unless you mark the method as mutating.
self
You can use self freely in initializers.
Correct!
Oops – that's not correct.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.