Open Witzeneder opened 6 years ago
func addTile(x: Int, y: Int, image: UIImage) { context?.draw(image.cgImage!, in: CGRect(origin: CGPoint(x: CGFloat(x) * tileSize.width, y: CGFloat(Int(imageSize.height / tileSize.height) - y - 1) * tileSize.height), size: tileSize)) }
The force unwrap crashes sometimes
Please check out my comment in issue #34
The force unwrap crashes sometimes