NSTextFieldCell Delegate?

2009-05-27 Thread Walker Argendeli
to have delegate methods? Why is this, and what can I do (other than subclassing) to be informed when editing is finished? - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

NULL Outlets in one file work in another

2009-05-26 Thread Walker Argendeli
work fin, and in another they're null. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Re: NULL Outlets in one file work in another

2009-05-26 Thread Walker Argendeli
in different files. Both App_Delegate and FirstLaunch have the Outlet ivars connected in IB and give no warnings or errors. Thanks for your help, - Walker Argendeli On May 26, 2009, at 10:45 AM, Volker in Lists wrote: Hi, are you using - (void)applicationDidFinishLaunch:(NSNotification

Class Design for delegate, outlets, and mouse events

2009-05-26 Thread Walker Argendeli
, I need to access manipulate IBOutlets I have set in IB, determine when buttons are clicked (and which button was clicked). I'd like to be able to do this from another class so as to not clutter up the AppDelegate. Thanks for the help! - Walker Argendeli

Re: Resizing Funky

2009-05-25 Thread Walker Argendeli
haven't made many connections yet, so I can't imagine it has to do with my code. Perhaps it's me doing something weird in the size inspector, but some of these seem odd. Thanks for the help, - Walker Argendeli On May 23, 2009, at 12:51 PM, Fritz Anderson wrote: On 21 May 2009, at 11:33 AM

Resizing Funky

2009-05-21 Thread Walker Argendeli
and stops. If anyone could give me ideas on what to look for to solve this, I'd appreciate it. - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Format Column for Selected Row

2009-05-17 Thread Walker Argendeli
, but I'm not sure if that would accomplish my goal, and I'm not sure how I would do that, either. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Core Data Suddenly Losing Changes

2009-04-27 Thread Walker Argendeli
and things have been working fine. I'm sure I made some simple, stupid change, but for the life of me, I can't figure out what and like I said, rolling back to a previous version through subversion didn't solve the problem. - Walker Argendeli On Apr 26, 2009, at 10:41 PM, Dave Fernandes

Core Data Suddenly Losing Changes

2009-04-26 Thread Walker Argendeli
, but I'm certain this wasn't happening a few days. I'm not sure what I could've done that could have caused this, but I'm completely stuck and going crazy trying to get my app to work again. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list

Identical Attributes, Only one works

2009-04-22 Thread Walker Argendeli
, and yet it works with one and doesn't work with another. Does anyone have any ideas of further places to look? Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

HUD-Style buttons

2009-04-09 Thread Walker Argendeli
to do it. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your

Re: HUD-Style buttons

2009-04-09 Thread Walker Argendeli
I also found this one: http://code.google.com/p/bghudappkit/ Doe anyone have experience with either one or have a preference? - Walker Argendeli On Apr 9, 2009, at 10:23 AM, jonat...@mugginsoft.com wrote: Checkout the BWToolkit http://www.brandonwalkin.com/blog/2008/11/13/introducing

Change view on resize

2009-04-09 Thread Walker Argendeli
, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http

Floating window on top of everything

2009-04-07 Thread Walker Argendeli
I am making a simple application that consists of a small HUD window that needs to float above another application. How do I make it so that A. it floats above everything, and B. when I switch to another application, it remains on top. Thanks, - Walker Argendeli

Re: NSLevelIndicator Bindings Crash

2009-03-24 Thread Walker Argendeli
selected in the table view, change the level indicator, select another row, and come back to the original row, the row I changed will have defaulted back to 1. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: NSLevelIndicator Bindings Crash

2009-03-23 Thread Walker Argendeli
development. Thanks, - Walker Argendeli On Mar 22, 2009, at 10:05 AM, Richard Somers wrote: On Mar 21, 2009, at 3:41PM, Walker Argendeli wrote: I'm using Core Data, and I have an entity; we'll call it Item. It has an attribute called priority. In the xib, I have an NSLevelIndicator and NSStepper

Re: NSLevelIndicator Bindings Crash

2009-03-23 Thread Walker Argendeli
Argendeli On Mar 23, 2009, at 3:55 PM, Keary Suska wrote: On Mar 23, 2009, at 1:13 PM, Walker Argendeli wrote: When i do this, however, every time I switch back to another item, the level defaults back to 1. Also, I checked that chapter in Hillegass's book, and it had an example where it used

NSLevelIndicator Bindings Crash

2009-03-21 Thread Walker Argendeli
item's priority individually. What should I bind to? Secondly, an NSLevelIndicator wants a float for its value, whereas an NSStepper wants a double for its value. Which should I set it to in the core data model? Thanks, - Walker Argendeli

Re: Model Table Cell Updating Issues

2009-03-18 Thread Walker Argendeli
programmatically update the right attribute of the right entity of the model? - How do I use bindings to do this? - How do I typecast in objective-c? - Walker Argendeli On Mar 17, 2009, at 8:07 PM, Dave Keck wrote: I'll take the easy one: How do I create a blank NSImage? This code snippet

Model Table Cell Updating Issues

2009-03-17 Thread Walker Argendeli
] setValue:priority forKey:priority]; } Thanks for the help, and I apologize for all the questions. - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: makeKeyAndOrderFront Crashing

2009-02-26 Thread Walker Argendeli
to instance 0x15eed0 2009-02-26 16:14:11.806 MyAppName[2316:10b] *** -[NSCFType makeKeyAndOrderFront:]: unrecognized selector sent to instance 0x15eed0 I'm not really sure what else I can do to figure out whats wrong. - Walker Argendeli On Feb 25, 2009, at 8:09 PM, Walker Argendeli wrote: I've now

Re: makeKeyAndOrderFront Crashing

2009-02-26 Thread Walker Argendeli
Thanks guys, that was it. - Walker Argendeli On Feb 26, 2009, at 4:20 PM, Kyle Sluder wrote: -doesNotRecognizeSelector: does not throw an exception. You have a memory management error, and an NSCFType instance is winding up at the address your window used to be. Have you checked Release

makeKeyAndOrderFront Crashing

2009-02-25 Thread Walker Argendeli
. If I try to customize the toolbar (by opening the customize dropdown) everything works fine, until I close the new panel and try and customize again. Then, the debugger launches. I'm not sure why this causes the app to crash, but it does. Anyone have ideas? - Walker Argendeli

Select tablecell on creation through arrayController

2009-02-25 Thread Walker Argendeli
, or have any code that would make it work? [notebookController add:sender]; [tableView editColumn:1 row:[tableView selectedRow] withEvent:nil select:YES]; Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Core Data Relationships

2009-02-25 Thread Walker Argendeli
bind to to get this working? Thanks, - Walker Argendeli On Feb 24, 2009, at 7:52 PM, Walker Argendeli wrote: I apologize beforehand for the beginner-level of this question. I'm getting started with core data, and I've gone through several tutorials. Let's say I have 2 entities: an Item

Re: makeKeyAndOrderFront Crashing

2009-02-25 Thread Walker Argendeli
working. - Walker Argendeli On Feb 25, 2009, at 5:04 PM, Walker Argendeli wrote: My app has a toolbar, and I recently added a panel. Then, I put a new button in the toolbar, and set its action makeKeyAndOrderFront: on the new panel. Problem is, the moment I make this connection, the app

One IBAction, multiple results from multiple methods

2009-02-25 Thread Walker Argendeli
, or if I was doing it the traditional way (code snippet 1?) To summarize: - What's the traditional way of handling a situation like this? - Why aren't the objectID's working? - What solutions are there? Thanks, - Walker Argendeli ___ Cocoa-dev mailing

Re: Select tablecell on creation through arrayController

2009-02-25 Thread Walker Argendeli
. Anybody know what's going on here? - Walker Argendeli On Feb 25, 2009, at 5:11 PM, Walker Argendeli wrote: I have a table with one column, that's bound to an array controller. It calls add: on the array controller when I hit a plus button. Problem is, I want the textFieldCell to be selected

Core Data Relationships

2009-02-24 Thread Walker Argendeli
could enter a Kind. I haven't decided whether you would be forced to enter a kind that is already in the Kinds array, or could just type anything. Anyways, what bindings would I want to use to accomplish this. Thanks, - Walker Argendeli ___ Cocoa

Drop Down Toolbar Button

2009-02-17 Thread Walker Argendeli
down. Thanks for your help! - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help

Convert Cocoa App to Core Data App

2009-02-16 Thread Walker Argendeli
, and I want to continue in the same project. Would converting my project to use core data be as simple as adding a Data model and MySchoolPlanner_AppDelegate? (Yes, I'm ignorant about Core Data; I'm fairly new to Cocoa) Thanks, - Walker Argendeli

Keyword Filtering Weekday Selection

2009-02-03 Thread Walker Argendeli
application that's not mine, I can't see more than that. Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Subversion Problems

2009-01-30 Thread Walker Argendeli
, or not known and cvs [update aborted] : end of file from server (consult above messages if any) had x's. Next, list /Users/Shared/Subversion/Linear followed the same scheme. I'm not really sure what's going wrong here, but I'd really appreciate help. Thanks! - Walker Argendeli

Test for typeName failing

2009-01-19 Thread Walker Argendeli
understand why, when I test for that, it fails. What's going on? Here's the code: if (typeName == @public.zip-archive) [task setLaunchPath:@/usr/bin/zipinfo]; Thanks, - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev

Setting Custom View as First Responder

2009-01-17 Thread Walker Argendeli
it the first responder. if (![[view1 window] firstResponder] { // Do something } How do I set a custom view to be the firstResponder? - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Localized Nib Still In English

2009-01-15 Thread Walker Argendeli
to French. Then, I built and ran the app, and it was in French (for example, if I tried to save a modified document, the save dialog was in french) but my localized nib was not loaded. It showed the regular English one. What's going on? - Walker Argendeli

Apply Preferences To Current Window

2009-01-14 Thread Walker Argendeli
/StoringNSColorInDefaults.html#/ /apple_ref/doc/uid/20001693-SW3 Thanks for the help! - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins

NumberFormatter Defaulting all values when input incorrect

2009-01-12 Thread Walker Argendeli
. At this point, however, I was stumped, because there were quite a few differences, so I gave up and am posting here. Thanks for all your help! - Walker Argendeli ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

setTextColor, display string, then set it back not working

2009-01-06 Thread Walker Argendeli
Ok, so I have a NSTextField (a label) called countDisplay, and when a zero-length string is entered into another text field, I'd like to change the color of countDisplay to red, display a message, and change back to black again. Only problem is that it displays in black no matter what.

Re: setTextColor, display string, then set it back not working

2009-01-06 Thread Walker Argendeli
2009, at 7:34 am, Walker Argendeli wrote: But if I uncomment the last line again, countDisplay remains black, displaying the message in black instead of red. What's going on? // Set display text to red for zero-length warning... [countDisplay setTextColor:[NSColor redColor

Re: Programatically locking user screen

2009-01-06 Thread Walker Argendeli
What you're talking about is called kiosk mode, and there's compromises no matter how you go around it, but if you're intending the software for use in an instructional environment where other use of the computer shouldn't be vital while your app is running, then the impact shouldn't be an