Invitation to connect on LinkedIn

2010-06-17 Thread Alex Wait
LinkedIn Alex Wait requested to add you as a connection on LinkedIn: -- Cameron, I'd like to add you to my professional network on LinkedIn. - Alex Accept invitation from Alex Wait http://www.linkedin.com/e/7CEPLQL12CQ4K1l0S-51en6YhLE4

CDMA Programming

2008-10-06 Thread Alex Wait
I know that the iPhone uses cell phone communication technologies, probably like CDMA. (I am a huge n00b on this area of expertise). I am in a group project that needs to do some CDMA programming. Any ideas if there are any C libraries that can help with this function? Thanks! -- If you can't be

Re: Help for a beginner..

2008-10-03 Thread Alex Wait
you should start with a c based language. like vanilla c or c++. it will teach you the basics. :) I'm sure others on here can recommend a good book. On Fri, Oct 3, 2008 at 12:20 PM, Jent Kyle <[EMAIL PROTECTED]> wrote: > My Greetings! > Okay so everyone has to start somewhere, right? Please don't

Re: Set string value

2008-07-09 Thread Alex Wait
It's this line [textLabel setStringValue:@"\"[EMAIL PROTECTED]" is %d characters long", string, stringLength]; The setStringValue function does not take more than one argument. If you want to format the string like that try [textlabel setStringValue: [NSString stringWithFormat:@"\"[EMAIL PROTECT

Re: Mysterious NULL Coming From NSUserDefaults

2008-07-06 Thread Alex Wait
I knew that naming my variables like that was a bad idea. :) Thanks! I changed the names and updated what needed to be updated because of the name changes and it works now! w00t! Thanks again! Alex On Sun, Jul 6, 2008 at 10:52 PM, Boaz Stuller <[EMAIL PROTECTED]> wrote: > Well, I see a couple p

Re: Mysterious NULL Coming From NSUserDefaults

2008-07-06 Thread Alex Wait
Sorry. forgot something. I should add this: I tried reading NSColorPanel from the file (it's a NSString) and I WAS able to read that just fine. I think it has something to do with NSKeyedArchive/NSKeyedUnarchiver On Sun, Jul 6, 2008 at 10:40 PM, Alex Wait <[EMAIL PROTECTED]> wrote

Re: Mysterious NULL Coming From NSUserDefaults

2008-07-06 Thread Alex Wait
gt; stored, though. > > Just an idea; I'm just a few chapters ahead of you, so I'm probably > wrong... :-) > > Regards, > Thomas > > > 2008/7/7 Alex Wait <[EMAIL PROTECTED]>: > > I've been enjoying NSUserDefaults when going through the Hillegeass

Mysterious NULL Coming From NSUserDefaults

2008-07-06 Thread Alex Wait
I've been enjoying NSUserDefaults when going through the Hillegeass book. I've decided to do a small app that has two colors it stores. I get these colors from a colorwell via Preference Pane. I have bounded the values of the wells to backGroundWell and lineWell in IB. I have the appropriately

Keyboard Shortcut for "Stop"

2008-07-05 Thread Alex Wait
It has the solid white up arrow, the apple/command symbol and what looks like the "right arrow". I press these three keys to no avail. What am I doing wrong? -- If you can't be kind, at least have the decency to be vague. ___ Cocoa-dev mailing list (C

Binding an NSTextField

2008-07-03 Thread Alex Wait
I have two methods setTheString and theString. They return the value of another NSTextField on my window. In IB I binded the value of the textField to App Controller and the Model Key Path to "theString". theString() is only called when the app first starts up. How come the binding doesn't fire

Re: Cocoa says not KVC compliant

2008-07-02 Thread Alex Wait
if you have the @property statement, and you use the I think @synthesize (could be wrong about that) you don't need to write the functions yourself. Try taking out the @property statement. On Wed, Jul 2, 2008 at 10:13 AM, Milen Dzhumerov <[EMAIL PROTECTED]> wrote: > Hi all, > > I've run into a so

Re: Is this still true?

2008-06-29 Thread Alex Wait
sorry. I didn't see the part in the writeup where it mentiosn NSArrayControler. Still wasn't a bad exercise for me though. On Sun, Jun 29, 2008 at 4:39 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > ah. I see. > > I would still love to know why the apple devs haven't

Re: Is this still true?

2008-06-29 Thread Alex Wait
mplemented. > > your own classes (provided they're written in a KVO compliant manner) will > return both. > > > > On Jun 29, 2008, at 7:32 PM, Alex Wait wrote: > > weird. I tried this: >> >> [newPerson addObserver:observe forKeyPath:@"lastName"

Re: Is this still true?

2008-06-29 Thread Alex Wait
On Sun, Jun 29, 2008 at 3:45 PM, Hamish Allan <[EMAIL PROTECTED]> wrote: > On Sun, Jun 29, 2008 at 9:48 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > > > But does the bug it talks about still exist? > > I'm afraid so. But what I really want to know is, *why* won&

Is this still true?

2008-06-29 Thread Alex Wait
this page has been frequently linked to as helpful and it is! :) http://homepage.mac.com/mmalc/CocoaExamples/controllers.html But does the bug it talks about still exist? - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)cont

Re: mutableArrayForKeyValue Question (ignore other email)

2008-06-28 Thread Alex Wait
indeed it was. it's not needed. I took it out. On Sat, Jun 28, 2008 at 9:19 PM, mmalc crawford <[EMAIL PROTECTED]> wrote: > > On Jun 28, 2008, at 8:51 PM, Alex Wait wrote: > > i've read most of >> http://developer.apple.com/documentation/Coco

Re: mutableArrayForKeyValue Question (ignore other email)

2008-06-28 Thread Alex Wait
bject:newObj]; [table reloadData]; and that 'worked" at least. On Sat, Jun 28, 2008 at 8:03 PM, mmalc crawford <[EMAIL PROTECTED]> wrote: > > On Jun 28, 2008, at 7:42 PM, Alex Wait wrote: > > I am trying to modify the array controller programmatically and I'm >

mutableArrayForKeyValue Question (ignore other email)

2008-06-28 Thread Alex Wait
Gmail sent an email on me while I was typing. No idea what happened! :) So please ignore the incomplete message. I have successfully done some more bindings (they're so much fun ^_^ ) I am trying to modify the array controller programmatically and I'm running into problems using mutableArrayForKe

mutableArrayForKeyValue Question

2008-06-28 Thread Alex Wait
I have successfully done some more bindings (they're so much fun ^_^ ) I am trying to modify the array controller programmatically and I'm running into problems using mutableArrayForKeyValue I am using this line id proxy = [controller mutableArrayValueForKey:@"Person"]; -- If you can't b

Re: KVO Question -- Really Simple for Pros

2008-06-27 Thread Alex Wait
D] <[EMAIL PROTECTED]>> wrote: > On Fri, Jun 27, 2008 at 10:20 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > > But I was sure since I have a firstName method and a setFirstName method > it > > would update the textField. I have used IB to bind the value of the

Re: KVO Question -- Really Simple for Pros

2008-06-27 Thread Alex Wait
Further investigation says that my "firstName" method is indeed being called. Hmm. On Fri, Jun 27, 2008 at 10:28 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > I was under the impression that if my class implemeted the "varname" and > "setVarName" me

Re: KVO Question -- Really Simple for Pros

2008-06-27 Thread Alex Wait
I was under the impression that if my class implemeted the "varname" and "setVarName" methods, that I could safely add an observer. On Fri, Jun 27, 2008 at 10:24 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > could you be more specific that just a link? ;) > >

Re: KVO Question -- Really Simple for Pros

2008-06-27 Thread Alex Wait
could you be more specific that just a link? ;) On Fri, Jun 27, 2008 at 10:23 PM, mmalc crawford <[EMAIL PROTECTED]> wrote: > > On Jun 27, 2008, at 10:20 PM, Alex Wait wrote: > > But I was sure since I have a firstName method and a setFirstName method >> it >> woul

KVO Question -- Really Simple for Pros

2008-06-27 Thread Alex Wait
Practicing some KVO concepts. I have this line [person addObserver:textField forKeyPath:@"firstName" options:NSKeyValueObservingOptionNew context:NULL]; person is App Controller's Person object. textField is a NSTextField person does have a "firstName" property of type NSString When I clic

Re: Style Question

2008-06-27 Thread Alex Wait
I was meaning to imply that if it was called "FirstName" would setFirstName still be called? I know the convention for naming variables. :) On Fri, Jun 27, 2008 at 10:13 PM, Jens Alfke <[EMAIL PROTECTED]> wrote: > > On 27 Jun '08, at 9:44 PM, Alex Wait wrote: > &g

Re: Style Question

2008-06-27 Thread Alex Wait
variable, let's say firstNameFirst how would it find it? Or does it do a case insensitive compare? On Fri, Jun 27, 2008 at 9:40 PM, Shawn Erickson <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27, 2008 at 9:30 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > > > Also since I am usi

Style Question

2008-06-27 Thread Alex Wait
I have noticed, coming from C++ and Visual Studio (at school), a couple style differences if (value) { //do something } insteasd of if (value) { //do something } Also since I am using this style, XCode doesn't tab in for me when I type { then a return. This is the style I "taught" and I

Re: Opening a Panel

2008-06-27 Thread Alex Wait
I misspelled preference. And yeah. Xcode was telling me of my mistake. :) On Fri, Jun 27, 2008 at 7:24 PM, Kyle Sluder < [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: > On Fri, Jun 27, 2008 at 10:01 PM, Alex Wait <[EMAIL PROTECTED]> wrote: > > I had misspelled m

Re: Opening a Panel

2008-06-27 Thread Alex Wait
apologies to all ;) I had misspelled my action's name. I am still getting used to Obj C and it's ability to compile methods that haven't been declared. :) On Fri, Jun 27, 2008 at 6:15 PM, Ken Thomases <[EMAIL PROTECTED]> wrote: > On Jun 27, 2008, at 6:31 PM, Alex Wait

Re: NSMutableArray help

2008-06-27 Thread Alex Wait
To complete the exercise you need to make your app controller a data source of the NSTableView. The function he gives you as a hint is the one that is called when a user edits the field. On Fri, Jun 27, 2008 at 5:37 PM, Ken Thomases <[EMAIL PROTECTED]> wrote: > On Jun 27, 2008, at 5:46 PM, Nick

Opening a Panel

2008-06-27 Thread Alex Wait
Been working my way through the Hillegass book. I'm on the chapter where you usea a Panel window and I am having some trouble. I did all the instructions to the letter (as best as I can tell ^_^ ) and when my program runs, the Preferences menu item is grayed out. I checked to make sure it was "Ena

No File Opening Aftering adding a file Type

2008-06-21 Thread Alex Wait
I was following my book to the letter (Cocoa Programming for Mac OS X 3rd edition) and I added the file type as it instructed. Now when I start my program Open and Save are grayed out and I get this error 2008-06-21 17:44:13.117 RaiseMan[6870:10b] The RaiseMan Doc type doesn't map to any NSDocume

Re: Warnings in Interface Builder

2008-06-21 Thread Alex Wait
Thanks guys. I was being a bit of a dunce there. :) On Sat, Jun 21, 2008 at 5:19 PM, Aron Nopanen <[EMAIL PROTECTED]> wrote: > Click the 'info' button on the main NIB window, and set the deployment > target appropriately? > > -A > > > On 22/06/2008, at 12:

Warnings in Interface Builder

2008-06-21 Thread Alex Wait
Is there any way to "quiet" Interface Builder about my using an Array Controller and button styles not avaiable on all OS X versions? It's extremely annoying. :) Alex -- If you can't be kind, at least have the decency to be vague. ___ Cocoa-dev maili

Re: Bindings Concept Question

2008-06-21 Thread Alex Wait
[newData setValue:newLast forKey:@"lastName"]; [arrayOfData addObject:newData]; if (table != nil) NSLog(@"num is %d", [arrayOfData count]); [table reloadData]; } On Sat, Jun 21, 2008 at 4:40 AM, mmalc Crawford <[EMAIL PROTECTED]> wrote: > > On Jun 20,

Bindings Concept Question

2008-06-20 Thread Alex Wait
r reading this fairly long winded post. I am greatly enjoying this new methodology of Cocoa programming. It's very exciting and I am eager to learn more! Alex Wait -- If you can't be kind, at least have the decency to be vague. ___ Cocoa-de

NSTableView DataSource Problem

2008-06-19 Thread Alex Wait
First time doing this on my own. I have the classic AppController class. I set the datasource and the delegate to be AppController for my dataSource. I have a NSTableView* to the table that I also set in Interface Builder. I have the methods below. listOfItems is a NSMutableArray with some NSStri