You will be divorced within a year.
February 26, 2007
Announcing StudioMan posted at 5:16 PM
StudioMan

You may have noticed an increasingly large amount of posts from me lately about various Cocoa eccentricies, etc. Well, it is more than just playing around. I’m laying the groundwork for an application called StudioMan (short for Studio Manager), which will aid private music teachers in organizing their student records and scheduling studio time.

Planned features for version 1.0:

  • Consolidation of student, instructor, and accompanist info in one convenient place
  • Automatic creation of studio schedules using user-supplied schedules for instructors, students, and accompanists.
  • Student repertoire listing
  • Import current students/accompanists into new academic terms
  • Allows import and export of Address Book (vCard) and iCal (vCal) files, to allow integration with Apple iCal/Address Book

I haven’t yet decided whether I want to make this project Panther-compatible or not. I like the lifecycle-management of Core Data, but it some ways I think it’s more complicated than it needs to be. For now I’ve set up a data model as well as made data-object shells, so hopefully if I start working in one and realize I need to switch to the other, the impact will be minimal. The project will obviously be Universal Binary, as there’s no real need to go Intel-only at this point.

I’ll be setting up a new website for the project shortly, as well as some sort of version control mechanism. I haven’t decided on licensing yet. It will probably be GPL, but I’m not going to make a decision until I do some more research into the matter.

Comments (0)...
February 21, 2007
Core Data gotcha posted at 7:01 PM
computers

OK. So, here’s the deal. Let’s say I have two entities: Person and Name. Person has relationship name to Name. Person has attributes x,y,z. Name has attributes a,b,c. I have one table set up to show all Persons, with text fields to show the contents. x,y,z show fine in the text boxes, but one of them is supposed to be for the a property of the Name entity that has a relationship with the person entity. So, using common sense, I set the binding key path to name.a.

Nothing.

Any ideas?

Comments (2)...
February 14, 2007
Objective-C memory management, session 1 posted at 10:05 AM
computers

So, I’m having a bitch of a time with Cocoa releasing objects when I’m not expecting it to. I thought I had it figured out, but apparently I am wrong. Can one of you lovely Cocoa people run me through my code and see what the hell I’m messing up? It’s really getting on my nerves.

//edit: OK, so I have it figured out enought that it won’t crash, anyway, by throwing a few retains in. I wish I could figure out when these objects are getting their release messages, so I could figure out exactly why they’re being prematurely released, and so I know I’m not overdoing the retains and creating memory leaks. Garbage collection much?

Comments (4)...