Skip to content

Instantly share code, notes, and snippets.

@pkieltyka
Created February 4, 2009 03:21
Show Gist options
  • Save pkieltyka/57904 to your computer and use it in GitHub Desktop.
Save pkieltyka/57904 to your computer and use it in GitHub Desktop.
...
CFIndex count = MDQueryGetResultCount(query);
for (i=0; i < count; i++) {
MDItemRef item = MDQueryGetResultAtIndex(query, i);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment