What exactly is a Framework in Mac OS X? ( *.framework folders )

前端 未结 3 1891
你的背包
你的背包 2020-12-14 09:04

Ok, I know basically what a framework is in real life. I\'ve seen some frameworks that hold some header files and a binary. Is that it? Does an OS X framework have special f

3条回答
  •  星月不相逢
    2020-12-14 09:28

    It is, quoting "Mac OS X Technology Overview":

    framework A type of bundle that packages a dynamic shared library with the resources that the library requires, including header files and reference documentation.

    So a ".framework" is basically the equivalent of a ".app", only for a dynamic shared library instead of an executable.

提交回复
热议问题