Read books.
These teach you:
- ⭐ The kind of Exploratory testing you need to know in modern environments
- How to get started in web auto testing for the complete neophyte
| import UIKit | |
| public extension String { | |
| /// Transforms this string into an NSAttributedString that has hyphenation enabled. | |
| /// Especially at larger preferredContentSizes, regular word wrapping can lead to really | |
| /// choppy line breaks. Hyphenating allows fuller use of the line whenever possible, | |
| /// resulting in more text on the screen. | |
| /// - Returns: An NSAttributedString version of this String with hyphenation enabled | |
| func withHyphenationEnabled() -> NSAttributedString { | |
| let paragraphStyle = NSMutableParagraphStyle() |
Read books.
These teach you:
| // Instead of | |
| [something downloadImage:^(UIImage *image){ | |
| cell.imageView.image = image; | |
| }]; | |
| // Something like | |
| [something downloadImage:^(UIImage *image){ | |
| UITableViewCell *cellForImage = [tableView cellForRowAtIndexPath:indexPath]; |