クラスを公開する場合、以下の2つの設定が必要。
- プロジェクトにデフォルトで付いてくるヘッダーに公開するヘッダーをimportする。
MyLibrary.h
# import <MyLibrary.h/MyLibClass.h>
2.プロジェクトの設定-「Build Phases」-「Headers」の「Public」に公開するヘッダーを設定する。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
クラスを公開する場合、以下の2つの設定が必要。
# import <MyLibrary.h/MyLibClass.h>
2.プロジェクトの設定-「Build Phases」-「Headers」の「Public」に公開するヘッダーを設定する。
Register as a new user and use Qiita more conveniently
Go to list of users who liked