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-51en6YhLE4yif1p

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

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 PROTECTED]

Re: Mysterious NULL Coming From NSUserDefaults

2008-07-07 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

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

Re: Mysterious NULL Coming From NSUserDefaults

2008-07-06 Thread Alex Wait
, so I'm probably wrong... :-) Regards, Thomas 2008/7/7 Alex Wait [EMAIL PROTECTED]: 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

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: Indeed. Both

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

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

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

Re: Is this still true?

2008-06-29 Thread Alex Wait
[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't it be fixed any time soon? I presume there *is* a reason, otherwise why would mmalc make

Re: Is this still true?

2008-06-29 Thread Alex Wait
(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 options:( NSKeyValueObservingOptionOld| NSKeyValueObservingOptionNew) context:NULL]; and below is my

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 be

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

Re: mutableArrayForKeyValue Question (ignore other email)

2008-06-28 Thread Alex Wait
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 running into problems using mutableArrayForKeyValue I am using

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/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class

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

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

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 wrote: and when my program

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: Style Question

2008-06-27 Thread Alex Wait
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 using this style, XCode doesn't tab in for me when I type

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: if I have a member, let's say

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 click

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 would update the textField. I have used IB

Re: Bindings Concept Question

2008-06-21 Thread Alex Wait
]; 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, 2008, at 10:16 PM, Alex Wait wrote: When the app starts, I see the data as expected. However, when I call my add

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

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:11 PM, Alex Wait wrote: Is there any way

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

Bindings Concept Question

2008-06-20 Thread Alex Wait
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-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

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