Calling method on category included from iPhone static library causes NSInvalidArgumentException

前端 未结 9 722
粉色の甜心
粉色の甜心 2020-12-04 10:36

I have created a static library to house some of my code like categories.

I have a category for UIViews in \"UIView-Extensions.h\" named Extensions.

In this

9条回答
  •  日久生厌
    2020-12-04 11:11

    If you are on Xcode 3.2 you can avoid using -all_load and instead use -force_load for just the library in question, which should be slightly more efficient.

    This is described in a recently updated Apple Technical QA: http://developer.apple.com/mac/library/qa/qa2006/qa1490.html

提交回复
热议问题