Skip to content

Instantly share code, notes, and snippets.

@tolmasky
Created January 2, 2010 01:51
Show Gist options
  • Save tolmasky/267339 to your computer and use it in GitHub Desktop.
Save tolmasky/267339 to your computer and use it in GitHub Desktop.
for (var i = 0, count = [externalConnections count]; i < count; i++)
{
var thisConnection = externalConnections[i],
cachedConnection = externalConnectionCache[[thisConnection objectForKey:"index"]];
if ([[self class] documentForObject:[cachedConnection destination]] === self)
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment