About Search Archive
Matt Gallagher: Cocoa with Love Matt Gallagher: Cocoa with Love
← Newer 13 14 15 16 17 18 19 20 21
  • Break into Debugger

    Mar 9, 2008 (an Objective-C era article)

    For your debugging pleasure: a DebugBreak() macro to programmatically stop the debugger at a line of code (not inside a child function). Some of this code can be found elsewhere but I present it here, PPC and Intel capable and ready to run.
    Read more...
  • Core Data: one line fetch

    Mar 7, 2008 (an Objective-C era article)

    It's a lot easier to get your data out of Core Data than the documentation will tell you. This simple 1-line fetch will work just as well as Apple's suggested 10-line approach for most uses.
    Read more...
  • IMP of the current method

    Feb 25, 2008 (an Objective-C era article)

    I wanted to get my new blog started with something that's unlikely to be found anywhere else. This is an obscure hack to access a fundamental piece of Objective-C data.
    Read more...
← Newer 13 14 15 16 17 18 19 20 21
  • Subscribe: RSS or JSON
  • Mastodon: @cocoawithlove
  • Bluesky: @cocoawithlove
  • Github: mattgallagher

© 2008-2025 Matt Gallagher. All rights reserved.
Code may be used in accordance with license on About page.
If you need to contact me: