I’m trying to avoid dot notation at all costs, but I am learning from a book that uses it almost explicitly, so I have been converting it out when I see it in the text. However, notation with multiple dots connected together still confuses me.
Could someone unravel these two into regular bracketed methods and explain how it works so that in the future I can convert it out on my own?
self.tableView.tableHeaderView = searchBar;
and
self.searchBar.autocorrectionType = UITextAutocorrectionTypeYes;
first one would be:
there’s also nothing wrong with using:
and the second one:
here you could also use: