Making NSApplicationDelegate and NSDocument Play Together in OSX 10.8
Read OriginalThis technical article details a solution for a common macOS development issue: configuring an NSApplicationDelegate within an NSDocument-based application on OS X 10.8 using ARC. It explains the problem of random crashes (EXC_BAD_ACCESS) when adding the delegate to a document's XIB and provides a step-by-step fix involving adding the delegate object to the MainMenu.xib file instead, along with code examples and Interface Builder instructions.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser