Re: always show warnings?

2010-02-08 Thread Mario Emmenlauer
Hi Chunk, Chunk 1978 wrote: how can i maintain warnings in xcode? they disappear if i ignore them and rebuild, but i'd like them to always appear if they haven't been addressed. I'm not using XCode, however it sounds likely that the object files are just not rebuilt? You say it happens at ev

4th Floor -- Chicago CocoaHeads/ CAWUG Feb. 9 7:00 PM @ Apple Store

2010-02-08 Thread Bob Frank
Hi all, A last minute update, the Apple Store might have a conflict on the 2nd floor tomorrow and might be giving us up to the 4th floor for tomorrow night's meeting (nice!). Please check your emails tomorrow and/or ask when you get there. I'll be getting confirmation tomorrow and be se

Re: Wrong placement with -[NSWindow initWithContentRect:styleMask:backing:defer:screen:]

2010-02-08 Thread Graham Cox
On 09/02/2010, at 5:12 AM, Jack Repenning wrote: > In that regard, it's interesting to note that -[NSMenu > popUpMenuPositioningItem:atLocation:inView:] behaves perfectly when passed > the mouse location directly. That makes it about a hundred times easier than > the approach I presently use,

Haven't received a single message since yesterday

2010-02-08 Thread Laurent Daudelin
Hello. Can someone tell me if something is wrong with the mailing list? I just checked my subscription options and everything seems to be fine except that I didn't receive a single message since yesterday evening. -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin

xcode type completion for NSTextView

2010-02-08 Thread kvic...@pobox.com
i'd like to do "xcode type completion" for a NSTextView that i display in a sheet. by "xcode type completion" i mean: multi-column display reduce selection with subsequent typing escape cancels completion i don't beleive the current cocoa completion supports this and that

Re: Wrong placement with -[NSWindow initWithContentRect:styleMask:backing:defer:screen:]

2010-02-08 Thread Jack Repenning
On Feb 6, 2010, at 10:17 PM, Graham Cox wrote: > So you're hard-coding the position of a window based on intimate knowledge of > how your personal system happens to be set up. Presumably you can see why > that might not be a good idea. Oh, sure: that was just to make the example as closed-form

Re: NSTextField: Change Text Color at Insertion Point?

2010-02-08 Thread Alexander Heinz
Oh. I knew that. In all seriousness, thanks a lot, that's exactly what I needed to know. - Alex On Feb 8, 2010, at 12:49 PM, Kyle Sluder wrote: > On Mon, Feb 8, 2010 at 9:36 AM, Alexander Heinz > wrote: >> Thanks for the pointer; I wouldn't have known to look for "typing >> attributes." Unfor

Re: always show warnings?

2010-02-08 Thread Dave Keck
> I highly recommend treating warnings as errors. (There's a checkbox for that > in the build settings.) There are too many types of serious issues that the > compiler only treats as warnings — the most serious one is the Obj-C > 'unrecognized selector' warning. If I misspell a method name, that

Re: NSTextField: Change Text Color at Insertion Point?

2010-02-08 Thread Kyle Sluder
On Mon, Feb 8, 2010 at 9:36 AM, Alexander Heinz wrote: > Thanks for the pointer; I wouldn't have known to look for "typing > attributes." Unfortunately, while NSTextView has a - setTypingAttributes: > method, the documentation for NSTextField, NSTextFieldCell, and NSText > doesn't even mention

Re: Ok I'm really lost with the game kit here.

2010-02-08 Thread Development
I have tried to send the NSData directly. The problem is that the image is getting corrupted somewhere or some how. All I get on the other side is an image of the correct size but only about the first 3 or 4 lies of the image appear. I have tried about 4 different methods of sending this data a

Re: NSTextField: Change Text Color at Insertion Point?

2010-02-08 Thread Alexander Heinz
Thanks for the pointer; I wouldn't have known to look for "typing attributes." Unfortunately, while NSTextView has a - setTypingAttributes: method, the documentation for NSTextField, NSTextFieldCell, and NSText doesn't even mention "typing attributes," so I'm still stuck. On Feb 8, 2010, at 12:

Re: using a tableview delegate

2010-02-08 Thread Scott Ribe
> I learned two things - keep my code organized and documented, and remove > unused code. Also, in any new project, go ahead and turn on breaks on all exception throws--this often flags little screw ups before you even have a chance to notice that something's wrong ;-) -- Scott Ribe scott_r...@k

Re: Ok I'm really lost with the game kit here.

2010-02-08 Thread Jens Alfke
On Feb 7, 2010, at 9:33 PM, Development wrote: > [session sendData:[NSData dataWithBytes:localPacket.data > length:sizeof(localPacket.data)+sizeof(int)] toPeers:[NSArray > arrayWithObject:peerID] The size is wrong. You're computing the size of the packet struct, not the data it

Re: Create a Quicktime-like window

2010-02-08 Thread Jens Alfke
On Feb 8, 2010, at 7:10 AM, Michael Abendroth wrote: > I'd like to create a Quicktime-like window with Cocoa that hides the > titlebar when the mouse is not inside the window. > Is there not a more simple way of doing this? Nope. One of the facts of life of Mac development is that Apple's human

Re: always show warnings?

2010-02-08 Thread Jens Alfke
On Feb 8, 2010, at 12:16 AM, Chunk 1978 wrote: > currently i'm in the habit of cleaning before building so my warnings > will always show, and i wanted to know if i could remove that step > with changing a setting. now i know it's a known problem prior to 3.2. I highly recommend treating warning

Re: NSTextField: Change Text Color at Insertion Point?

2010-02-08 Thread Andreas Mayer
Am 08.02.2010 um 17:22 Uhr schrieb Alexander Heinz: My question is this: let's say my user has already typed some text in black (or whatever color) and now wants to change the "active color" of the text at the insertion point, such that any text he or she types appears in the new color.

NSTextField: Change Text Color at Insertion Point?

2010-02-08 Thread Alexander Heinz
Hello Cocoa-devs, I've a got an out-of-the box NSTextField that I'm trying to apply various string attributes to, including colors. I'm not using the standard color panel, since the application I'm writing can only support a very limited set of colors, so I just have a menu with a list of color

Re: always show warnings?

2010-02-08 Thread Matt Neuburg
On Mon, 8 Feb 2010 02:49:19 -0500, Chunk 1978 said: >how can i maintain warnings in xcode? they disappear if i ignore them >and rebuild, but i'd like them to always appear if they haven't been >addressed. In Xcode 3.2.1, switch from "Latest Results" to "All Results". The ability to do this (main

Re: cross-process file open notifications

2010-02-08 Thread James Bucanek
Alexander Cohen wrote (Wednesday, February 3, 2010 2:50 PM -0500): Is there any way in cocoa to get some sort of notifications when any process opens or closes any file? The reason i need this is because i need to watch the system and do a certain task ever

Create a Quicktime-like window

2010-02-08 Thread Michael Abendroth
Hi, I'd like to create a Quicktime-like window with Cocoa that hides the titlebar when the mouse is not inside the window. I followed Matt Gallagher's post on drawing custom windows with Cocoa (http://cocoawithlove.com/2008/12/drawing-custom-window-on-mac-os-x.html), but it seems quite a lot of wo

[MEET] Amsterdam CocoaHeads - Wednesday, Feb 10 7-9PM

2010-02-08 Thread Cathy Shive
Hello, The next meeting of the Amsterdam CocoaHeads group will be this Wednesday, February 10 from 7-9PM. This month, Martijn Walraven will present MacRuby. More information and directions can be found on the GoogleGroup page: http://groups.google.com/group/cocoaheads-amsterdam/web/next-mee

Re: always show warnings?

2010-02-08 Thread Chunk 1978
currently i'm in the habit of cleaning before building so my warnings will always show, and i wanted to know if i could remove that step with changing a setting. now i know it's a known problem prior to 3.2. thanks. On Mon, Feb 8, 2010 at 3:08 AM, Joar Wingfors wrote: > > On 8 feb 2010, at 00.02

Re: always show warnings?

2010-02-08 Thread Joar Wingfors
On 8 feb 2010, at 00.02, Chunk 1978 wrote: > Xcode 3.1.2 on Mac OS 10.5.8 This problem was fixed with Xcode 3.2: "The Build Results window has been completely redesigned to support advanced filtering of build results and to keep a persistent list of errors and warnings across builds."

Re: always show warnings?

2010-02-08 Thread Chunk 1978
Xcode 3.1.2 on Mac OS 10.5.8 On Mon, Feb 8, 2010 at 2:53 AM, Joar Wingfors wrote: > > On 7 feb 2010, at 23.49, Chunk 1978 wrote: > >> how can i maintain warnings in xcode?  they disappear if i ignore them >> and rebuild, but i'd like them to always appear if they haven't been >> addressed. > > >