if this code is running inside a macos objetive-c library code, is there anything to add the " //go next iteration" section?. In windows, some add peekmessage,etc. to do events. does the same thing needed in MacOS?.
Code:
while (...)
{
i = i +1;
a = checkbf
if (a)
{
//someting
break
}
else
{
//go next iteration
}
if (i > 1000)
break;
}
Last edited: