OK it nearly works. For a start I changed the return line to:
as NWWindow was a typo. But anyway it won't compile, I get "parse error before 'NSWindow'". I'm basically saving the above code into a file with extension .m and then importing it into my BMX. Any ideas? Is the return value the wrong type?
return NSWindow;
as NWWindow was a typo. But anyway it won't compile, I get "parse error before 'NSWindow'". I'm basically saving the above code into a file with extension .m and then importing it into my BMX. Any ideas? Is the return value the wrong type?