From c9e48bb7a2f996c1491fd751c37942022511b0d2 Mon Sep 17 00:00:00 2001 From: Pedro Rojas Date: Mon, 6 Sep 2021 08:58:06 -0700 Subject: [PATCH] Add swift style to Minimal Imports section add swift after triple quotes. --- README.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 9a77361..d70566e 100644 --- a/README.markdown +++ b/README.markdown @@ -260,20 +260,20 @@ override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Import only the modules a source file requires. For example, don't import `UIKit` when importing `Foundation` will suffice. Likewise, don't import `Foundation` if you must import `UIKit`. **Preferred**: -``` +```swift import UIKit var view: UIView var deviceModels: [String] ``` **Preferred**: -``` +```swift import Foundation var deviceModels: [String] ``` **Not Preferred**: -``` +```swift import UIKit import Foundation var view: UIView @@ -281,7 +281,7 @@ var deviceModels: [String] ``` **Not Preferred**: -``` +```swift import UIKit var deviceModels: [String] ```