| name | language | licence |
|---|---|---|
| kqueues | C | Other |
| Method Replacement (swizzle) | Objective-C | Other |
| Safe respondsToSelector: override | Objective-C | Other |
| Convert NSScreen visibleFrame to screen coordinates | Objective-C | Other |
| Printing callstacks | Objective-C | Other |
| Draw single-pixel on top of splitview | Objective-C | Other |
| raw fsevents | C | Other |
| NSCollectionView Finding View Items in mouseDown: | Objective-C | Other |
< 1 2 3 4 >
language: Objective-C
licence: Other
NSCollectionView Finding View Items in mouseDown:
options: view full snippet • send to code collector
// Requires an ivar of 'sysVersion' be set before being called // Gestalt( gestaltSystemVersion, &sysVersion ); #if MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_5 @interface NSCollectionView (SnowLeopard) - (NSCollectionViewItem *)itemAtIndex:(NSUInteger)index; - (NSRect)frameForItemAtIndex:(NSUInteger)index; @end #endif @interface NSCollectionView (Hax0r) -(NSCollectionViewItem *) viewItemAtIndex:(NSInteger)index; @end



library
objective-c (22)