Drag and Drop UI

2009-07-02 Thread Jay Kickliter
I've been working on some ground station software for controlling amateur UAV's. I have the basic functionality working, but I'd like to make it more generic so other people can configure it without having to recompile. My thoughts are to have a palette of UI elements, suck as dials, arti

Quartz Bindings

2008-12-26 Thread Jay Kickliter
I have a quartz patch with two inputs, "pitch" and "roll". I read through the quartz bindings tutorial, and I'm able to bind NSSliders to the inputs with no problem. But I don't want to bind the inputs to UI elements. I need to bind them to two floats in my AppController, also called "pitch

Re: Quartz Bindings

2008-12-29 Thread Jay Kickliter
e Interface Builder to achieve the same thing. You can then create an outlet to the controller for access in your code. Here's a demo app I did to try to experiment a bit: http://www.cimgf.com/files/QCViewBindings.zip Best Regards, -Matt On Dec 27, 2008, at 8:28 AM, Jay Kickliter

Vvidget Code

2009-01-16 Thread Jay Kickliter
Does anyone have opinions of Vvidget Code for adding graphing to a Cocoa app? There's no option to try first, and there's very little info in the internet about it. I don't need any of the server functions. I just need to graph data coming in over a serial line in the time domain. I tried S

Multiline srings

2009-02-17 Thread Jay Kickliter
I need to embed an NSString into a command tool. It is a template for a file that will be filled in with data from input files. I've been scouring the web and I can't find anything about declaring multi-line objective-c strings. Is there any way to avoid having to manually? Here's just the

float from NSData

2009-03-02 Thread Jay Kickliter
I have a case where I'm sending IEEE 754 32-bit floats to my Cocoa program over a wireless serial link, they are being sent MSB first. I'm using AMSerialPort to handle my data, and after a little parsing, I'm left with a 4 byte NSData, which has the 32-bit float split into 4 bytes. I know

Re: float from NSData

2009-03-03 Thread Jay Kickliter
That's what I'm doing. But don't understand how to get the 4 bytes I have in NSData into a float variable. On Mar 3, 2009, at 10:39 AM, Sean McBride wrote: On 3/2/09 8:32 PM, Jay Kickliter said: I know I have to play around to make sure the bytes are in the right order. B

Cocoa + XBee

2009-03-24 Thread Jay Kickliter
I've been working on a project that requires me to control a microcontroller-based machine from a distance (either a UAV mulitrotor or glider). So I've written a Cocoa app that still a work in progress, and a small XBee class to aid in assembling API mode XBee packets. It doesn't handle ser