Post

Replies

Boosts

Views

Activity

How can I read "declaration" in Apple Developer Documentation?
Hello all. I'm a begginer of SwiftUI.Currently learning the grammar of Swift using Apple Developer Documentation,though there was one point I couldn't understand. example: var rowHeight: CGFloat { get set } This is a instance property of UITableView class.In Apple Developer Documentation,it is declared as mentioned above. But when I look inside UITableView class scope by using "Jump to Definition",this property is declared as following: var rowheight: CGFloat I know properties must be defined with { get set }/{set} in protocols,but rowheight property isn't defined in any protocols. So why { get set } is written in UITableView class scope at Apple Developer Documentation?
3
0
508
Jul ’22