Re: Project design question
Re: Project design question
- Subject: Re: Project design question
- From: Markus Hitter <email@hidden>
- Date: Thu, 12 Jan 2006 20:58:12 +0100
Am 12.01.2006 um 19:41 schrieb Craig Dooley:
Is the
"standard" to take a C library, encapsulate it into a model class,
then connect that to your application?
While there are a lot of "wrappers" out there, there's no principal
need to wrap a C library just to use it from within Obj-C.
Some cases usually demand something like a wrapper by design. For
example a class JpegPicture, if you want to use what libjpeg gives.
In many cases however, adding a wrapper is just asking for more
complex code. No need to add a wrapper around stuff like sin(), printf
() and similar.
So standard is, or should be, to create classes as your app's design
demands it and to use C functions/libraries as needed.
Markus
P.S.: Using C functions directly doesn't prevent you from wrapping a
library into a framework.
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden