Skip to content

CIColorExtension.swift 'characters' is deprecated: Please use String or Substring directly #57

@carlosguedes

Description

@carlosguedes

Dear Alexander, how are you?

On swift 4 build IOS 11 I'm facing a warning that is relatively easy to solve:

Class: CIColorExtension.swift
Line 32:

if scanner.scanHexInt64(&hexValue) {
let length = rgba.characters.count

Warning Message: 'characters' is deprecated: Please use String or Substring directly

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions