NMAC427/SwiftOCR

Update to 4.1

Ged2323 opened this issue · 0 comments

Hi I think I have updated it to 4.1 but I'm getting this issue.

I'm trying to run the training class - SwiftOCRTraining.swift
Though I'm getting an error with this line.

        return OCRFont(name: randomFontName(), size: 45 + randomFloat(5))!

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value
screen shot 2018-05-21 at 7 46 23 pm

I'm not sure if I've updated the code right but it's building.