|Apr 26, 2006, 07:52 PM||#1|
What is a framework?
I use the following command to link my C++ source code to the apple implementation of CLAPACK:
g++ -o code code.cpp -framework veclib
but what is a framework?
|Apr 26, 2006, 09:35 PM||#2|
|Apr 26, 2006, 10:14 PM||#3|
I think a framework, at least on some level, is comparable to a Windows DLL, or dynamically linked library. Such a library exists as only one copy in memory, at least for the code segment of it, as opposed to statically linked libraries which are copied with every applicatioin that uses it. Though DLLs aren't completely better, they tend to be as you can update the DLLs and all programs depending on them see the benefit without any recompiling/relinking.
So when you include NSObject.h in a file and compile, linking to the Foundation framework, you are just using the copy of NSObject.c already in memory instead of making another copy.
Maybe a framework is completely different, hehe, but at least you know what a DLL is.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Do you use a Front-End framework?||ilian92||Web Design and Development||8||Apr 5, 2014 07:56 AM|
|QT Framework depreciated.||larswik||Mac Programming||4||Apr 4, 2014 03:55 PM|
|Quicktime Framework help||Pat13||MacBook||5||Mar 2, 2013 07:08 PM|
|When to Create a Framework||BadWolf13||Mac Programming||14||Oct 13, 2012 03:44 PM|
All times are GMT -5. The time now is 04:25 AM.