petitviolet blog

    objective-c (1 posts)

    icon
    Written by petitviolet

    constなNSStringでdiscards qualifiers警告が出る

    2015-09-08QiitaObjective-CiOS
    元の解説はこちら[objectivec-"sending'constNSStr
    元の解説はこちら [objective c - "sending 'const NSString _' to parameter of type 'NSString _' discards qualifiers" warning - Stack Overflow](http://stackoverflow.com/questions/6828831/sending-const-nsstring-to-parameter-of-type-nsstring-discards-qualifier) 起こったこと 以下のように constant な文字列を定義したとき、discard