Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is system framework (like UIKIt.framework,CoreGraphics.framework) static library or dynamic library

Tags:

xcode

ios

iphone

In xcode project, is system framework (like UIKIt.framework,CoreGraphics.framework) static library or dynamic library or something else? Is it possible that use Mac OS X's framework (like Quartz.framework) in ios project?

like image 738
user2416374 Avatar asked Nov 01 '22 16:11

user2416374


1 Answers

It's a dynamic library. Frameworks are Apple's way of packaging up a particular version of a dynamic library, along with its dependencies (such as header files). See the Apple documentation for more information.

It is not possible to use a framework intended for OS X for iOS. (although there is some overlap; Apple makes frameworks with the same names that do essentially the same thing for both platforms, with some possible differences.) They must be targeted for the iOS architecture you want to use them on.

like image 111
mpontillo Avatar answered Nov 12 '22 15:11

mpontillo