objective c - Confused with how to implement view controller for cocoa app -


i'm new objective-c , cocoa(started today), have experience java , seems different world. i'm building app scene kit , osrserialport(have looked @ example code , don't understand how controller connected view). goal of take accelerometer data micro controller , making visual representation of scene kit. i've tried implement controller in same way example project in osrserialport's github. mine doesn't seem work. i'm confused on why project don't receive input port example 1 receives fine when feel i've implemented correct way. i've attached xcode project here.

would love on this.

i'm building app scene kit , osrserialport(have looked @ example code , don't understand how controller connected view)

with xcode, can connect controller view without writing code. when use xcode's interface builder(ib), non-readable xml data inserted automatically .xib file window, code connects 2 objects.

then when application starts, .xib file parsed, , objects listed in .xib file created , connections listed in .xib file setup.

i guess connections can't find in window's .xib file.

in fact, orsserialport's readme.md says this:

this application demonstrates possible setup , use serial port orsserialport without writing lot of "glue" code. of ui implemented using cocoa bindings.

without writing lot of "glue" code means instead of writing code developers did lot of dragging between objects in ib. , cocoa bindings term of art, you'll see have understand other things first.

after figuring out how download project , open locally in xcode, able @ mainmenu.xib in ib. below screen shot of mainmenu.xib looks in ib, , on right hand side there partial list of connections orsserialportdemocontroller:

enter image description here

those connections established without writing code.

i'm new objective-c , cocoa(started today)

well, put current project aside, , learn basics of how use xcode in hello world style apps, work way up. progress in learning, know when ready go current project.