Creating an Xcode data formatter bundle for custom Obj-C objects

前端 未结 2 1133
一个人的身影
一个人的身影 2020-12-24 04:17

To help simplify debugging of some custom Objective-C objects in the Xcode debugger window, I\'ve created a set of data formatter strings for each of the objects, using the

2条回答
  •  臣服心动
    2020-12-24 04:36

    As of Xcode 2.5 and 3.0, the locations for such things have changed to support multiple versions of Xcode coexisting on one system. You should put your custom data formatters into the directory "Library/Application Support/Developer/Shared/CustomDataViews" in either the local (/) or user (~) domain; then they should be available the next time you launch Xcode.

    The Shared in the path above can be a version number such as 3.0 or 3.1 if you're creating something specific to a particular Xcode version.

提交回复
热议问题