[Mono-osx] InvokeRequired and string.Substring

Andrew Ayre andy at britishideas.com
Wed Sep 14 18:27:10 EDT 2011


I don't see an InvokeRequired function on items like NSWindow.
Previously I would write functions like:

void foo(void)
{
  if (InvokeRequired)
  {
    BeginInvoke(new Action(foo));
    return;
  }
  // do something with the UI here
}

Is this not needed with MonoMac? If it is how can it be structured so it
is fully contained in one function?

Also I don't see to find string.Substring (don't laugh). Where is it?

thanks, Andy

-- 
Andy
PGP Key ID: 0xDC1B5864


More information about the Mono-osx mailing list