Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-22 Thread Erwin Namal
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

Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-22 Thread Roland King
> 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,

Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-22 Thread John Joyce
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

Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-22 Thread Erwin Namal
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 >>&

Re: Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-21 Thread Roland King
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

Unknown class ‘MyCustomView', using 'NSView' instead

2015-02-21 Thread Erwin Namal
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