Hiya
I have a simple project with a nib, containing a controller (inheriting from NSObject) class with three outlets and an action.
I then created a ruby class with the same name as the controller and added in a class like so:
class Controller < NSObject include OSX
ib_outlets :one, :two, :three
def myaction puts "myaction" end
end
..this all builds fine; but when I attempt to run it gives me the following error:
Unknown class `ScaleFinderController' in nib file, using `NSObject' instead.
Any ideas? Thanks
Tom Medhurst
Log in to post a comment.
Hiya
I have a simple project with a nib, containing a controller (inheriting from NSObject) class with three outlets and an action.
I then created a ruby class with the same name as the controller and added in a class like so:
class Controller < NSObject
include OSX
ib_outlets :one, :two, :three
def myaction
puts "myaction"
end
end
..this all builds fine; but when I attempt to run it gives me the following error:
Unknown class `ScaleFinderController' in nib file, using `NSObject' instead.
Any ideas?
Thanks
Tom Medhurst