Thank you for your replies. I wish to avoid the framework, so all the code is
statically linked and I don’t bother with framework installation. It not very
efficient, but the compiled library does not take a lot of disk space, so it is
easier this way.
About the app behaving the same, I wrote to
> On 22 Feb 2015, at 19:17, Erwin Namal wrote:
>
> Thank you for your reply.
> I already use both Other linker flags “-ObjC” and “-all_load” in the library,
> in its bundle target (though it is useless I think) and in the application
> including the library and the bundle with the nib.
> Then,
Why not use a framework ?
This is exactly why they exist. To hold resources that can't be in a lib.
Xcode 6 makes frameworks easy.
Thanks!
John Joyce
Sent from my iPhone
> On 2015/02/22, at 20:17, Erwin Namal wrote:
>
> Thank you for your reply.
> I already use both Other linker flags “-ObjC
as a
>> resource in my app.
>> Then, I can open the bundle and load the nibs.
>>
>> Now, when I do that, I get the following error in the console :
>>
>>> Unknown class ‘MyCustomView', using 'NSView' instead. Encountered in
>>&
t; target in the library for all the .xib files and importing the bundle as a
> resource in my app.
> Then, I can open the bundle and load the nibs.
>
> Now, when I do that, I get the following error in the console :
>
>> Unknown class ‘MyCustomView', using 'NSView
my app.
Then, I can open the bundle and load the nibs.
Now, when I do that, I get the following error in the console :
> Unknown class ‘MyCustomView', using 'NSView' instead. Encountered in
> Interface Builder file at path . . . .
How can I fix it ?
Tha