Subscribe to an RSS feed for this tag
Entries tagged with ObjC
-
Title: Cocoa Drag and Drop text into the Dock Icon
Tags: Cocoa ObjC PyObjCI spent much too long today trying to figure out how to implementing drag and droping selected text onto an application's Dock icon (and its Finder icon as well), and will proceed to share this knowledge with you in the hopes that related searches will not leave their queriers quite as lost as I was.
-
Title: Opening Files With Associated App in Cocoa
Tags: Cocoa ObjCRecently I spent a while trying to figure out how to open files in my Cocoa app. Not just open them, but have the correct application launch with that file as an argument. I knew that Carbon achieved this with LaunchServices, but was unsure about the Cocoa equivalent to LaunchServices. But, it turns out to be quite easy to use. (Hint: its <strong>NSWorkspace</strong>.)
-
Title: Handling Files With CoreData
Tags: Cocoa CoreData ObjCA problem that a young Cocoa developer is likely to run into is how to manage files using CoreData. Here is an in depth look at a clean way to handle it.
-
Title: Assigning One To Many Relationships in CoreData
Tags: Cocoa CoreData ObjCA few brief code snippets on how to add an instance of an entity to another entity's one-to-many relationship.
-
Title: Filtering Arrays in Objective C
Tags: ObjC functionalA quick look at how to filter NSArrays in Objective C.