Subscribe to an RSS feed for this tag
Entries tagged with Cocoa
-
Title: Epic PyObjC, Part 5: Resources and Farewell
Tags: Cocoa OS X PyObjC python
Series: An Epic Introduction to PyObjCThis brief final segment of the Epic PyObjC tutorial series looks at a few statistics from the series, and also I recommend a few resources for moving forward.
-
Title: Epic PyObjc, Part 4: Drag & Drop, Multiple Nibs
Tags: Cocoa OS X PyObjC python
Series: An Epic Introduction to PyObjCIn this fourth segment of the Epic PyObjC tutorial we take a look at implementing drag and drop in two different ways, as well as using multiple nibs in one application. This is the final segment of Epic PyObjC that focuses on this project; the fifth one will be a collection of resources about continuing with Cocoa and PyObjC.
-
Title: Epic PyObjC, Part 3: Browsing, Caching, Indicating
Tags: Cocoa OS X PyObjC python
Series: An Epic Introduction to PyObjCIn this third segment of the Epic Introduction to PyObjC and Cocoa we spend some time in the standard application development workflow of iterating new idea from concept into feature. First, we have double clicking an entry open its page on FreeBase.com, then add disk based caching of results, and we end by adding an indicator to reassure users that the app hasn't frozen while retrieving data from Metaweb.
-
Title: Epic PyObjC, Part 2: Adding a Library & Bindings
Tags: Cocoa PyObjC python
Series: An Epic Introduction to PyObjCThis is the second segment of the Epic Introduction to PyObjC tutorial series. This time we're looking at integrating the simple metaweb.py library into our project, as well as using Cocoa Bindings and an NSArrayController to make setting up an NSTableView as easy as possible.
-
Title: An Epic Introduction to PyObjC and Cocoa
Tags: Cocoa PyObjC python
Series: An Epic Introduction to PyObjCPyObjC is one of the most helpful projects I have ever used, but a number of individuals have been having trouble getting started with PyObjC on Leopard because the documentation is in a bit of a disarray. In particular, there didn't seem to be a comprehensive tutorial that could introduce a newcomer to all the important aspects of PyobjC, and that was completely up to date. Here is my attempt to fill that void. With a vengeance.
-
Title: Writing to Application Support in PyObjC
Tags: Cocoa PyObjCApplications may thrive on data, but programmers only thrive on data that is coherently organized. For Cocoa applications, user specific data is stored in an application specific subfolder of the '~Library/Application Support/' folder. Here is a quick look at the code necessary to calculate that Path in PyObjC.
-
Title: Deleting From NSOutlineView With the Delete Key
Tags: Cocoa PyObjCI was trying to figure out how to delete items from an NSOutlineView with the delete key (and without simply binding the delete key to an NSButton), and it took a bit longer than necessary to figure it out. Here is a simple example that will hopefully help out those in a similar situation.
-
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: Designing Elesma
Tags: Cocoa ElesmaA look at the rough UI and design of an application I am working on.
-
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.