Re: Best way to make a code library?
Re: Best way to make a code library?
- Subject: Re: Best way to make a code library?
- From: Buzz Andersen <email@hidden>
- Date: Mon, 2 Dec 2002 11:05:52 -0700
Is making a framework the best way to do this?
Steven,
I have created several frameworks of my own to contain code that I
would like to reuse across applications. So far, the approach has
worked very nicely for me.
I do recall reading in the Anguish book (as you did) that Frameworks
are more difficult to debug, but I have never really had a problem. I
actually did quite a lot of work this weekend on an Obj-C class that
wraps a variety of Carbon File Manager API calls, and my approach was
basically to create a simple Cocoa project to use as a test harness as
I worked. Once I was satisfied that everything was working correctly,
I simply moved the class over to my standard, personal code repository
framework (which I lovingly call SFKit :-).
I can't speak to the gdb issues, as I've never really been a big user
of debuggers (I tend to debug using NSLog statements). I *can* say
that last night I tried using the Developer Tools' "Sampler" program on
an application that uses my framework, and it followed the execution
into my framework without a hitch.
Hope that helps :-)...
--
Buzz Andersen
email: email@hidden
web:
http://www.scifihifi.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.