Last active
April 23, 2020 00:17
-
-
Save aheze/1e743645c7b2c2b2fc824d17bc098abe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for index in indicies { | |
| ... | |
| /// ↓ Delete this ↓ | |
| /// print("\"\(originalFoundText)\" | Position: x: \(finalX), y: \(finalY), width: \(finalWidth), height: \(finalHeight)") | |
| /// Todo: Step 2... place the rectangle "in real life" | |
| /// ↓ Add this ↓ | |
| let rect = CGRect(x: finalX, y: finalY, width: finalWidth, height: finalHeight) | |
| rectangles.append(rect) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment