falomen.blogg.se

Objective c to swift migration
Objective c to swift migration







The enums RGLRFIDNotificationCodes, RGLRFIDDataFileType, RGLRFIDErrorCodes now use the NS_ENUM. The same rule applies to all cases from the RGLImageQualit圜heckType enum.

objective c to swift migration

For example, RGLEImageQualit圜heckTypeImageGlares has become RGLImageQualit圜heckTypeImageGlares.

  • Changed the prefix from RGLE to RGL for the RGLImageQualit圜heckType cases.
  • If you compared two values of RGLImageQualit圜heckType with the = operator, please make sure to update your code to use the - method instead.
  • Changed RGLImageQualit圜heckType to NS_TYPED_ENUM instead of NS_ENUM.
  • For example, RGLEImageQualit圜heckTypeImageGlares turns into ImageQualit圜heckType.imageGlares. This change makes the usage of the enum values in Swift more natural.
  • Changed the prefix from RGLE to RGL for RGLImageQualit圜heckType cases.
  • Now the Swift compiler will suggest to rename RGLImageQA to ImageQA.
  • Value of RGLDiDocTypeRegistrationCertificate case in RGLDiDocType enum has been changed from 31 to 206.
  • It means that if the processing is completed by timeout, this action will be called instead of RGLDocReaderActionComplete.

    objective c to swift migration objective c to swift migration

    Added new action to the RGLDocReaderAction enum - RGLDocReaderActionProcessTimeout.









    Objective c to swift migration