macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

警告

Unsequenced modification and access to 'xxxXxxxxxx'

NSLog(@"%d,%d,%d,%d",intNumber,++intNumber, intNumber++,intNumber);

Add explicit braces to avoid dangling else

if (lSeek!=0) if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) lSeek=0; else err=UNZ_ERRNO; if (lSeek!=0){ if (ZSEEK(s->z_filefunc, s->filestream,lSeek,ZLIB_FILEFUNC_SEEK_CUR)==0) lSeek=0; else err=UNZ_ERRNO; }

Initializing 'char *' with an expression of type 'char const[4]' discards qualifiers

char * scriptTag = scriptList->scriptRecord[i].scriptTag;const char * scriptTag = scriptList->scriptRecord[i].scriptTag;char * scriptTag = (char *)scriptList->scriptRecord[i].scriptTag;