Cocoa API解説(macOS/iOS)

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。

目次

警告

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;