Re: always show warnings?

2010-02-07 Thread Joar Wingfors
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. Xcode questions are better asked at the Xcode-Users mailing list. What version of Xcode are you

always show warnings?

2010-02-07 Thread Chunk 1978
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. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Problem using my own managed object context

2010-02-07 Thread Frank Illenberger
Hello Gideon, in contrast to the warnings in Apple's documentation, using a custom subclass of NSManagedObjectContext is fine and often necessary to enrich the context information of your managed objects. We have successfully using this technique for complex applications since the first version

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

2010-02-07 Thread Development
I have tried every possible way I can think of to send image data via the gamekit from one phone to another. If i just send it in 1024 byte blocks what comes out on the other end is a corrupt image. So I have looked at examples but cannot find any examples of sending anything more than a smal

Re: Problem using my own managed object context

2010-02-07 Thread Gideon King
Ah, excellent find, thanks. I inherited the code - will see if I can work out why it was thought necessary. Gideon On 08/02/2010, at 2:41 PM, Jerry Krinock wrote: > > On 2010 Feb 07, at 15:42, Gideon King wrote: > >> So I think maybe there is a problem with me using my own custom managed >>

Re: Problem using my own managed object context

2010-02-07 Thread Jerry Krinock
On 2010 Feb 07, at 15:42, Gideon King wrote: > So I think maybe there is a problem with me using my own custom managed > object context in this way, and perhaps when it migrates the persistent > store, maybe somewhere there it reverts to a standard managed object context > or something. > > D

Re: Debugging (apparently) random retain loop bug (NSArrayController)

2010-02-07 Thread Jerry Krinock
On 2010 Feb 07, at 08:58, Matt Neuburg wrote: > the fact that it is *still* after all these years of Cocoa > impossible to ask an NSNotificationCenter to display its dispatch table, for > debugging purposes, is simply inhuman. I've had a bug in on this for years, > which remains open. m. Maybe y

Re: Strange UIImageView error

2010-02-07 Thread Henry McGilton (Boulevardier)
On Feb 7, 2010, at 5:53 PM, Development wrote: > Yes it is a png and that makes sense since google only shows zlib errors when > I search it. If whatever image editor you're using can be beaten into submission you might try fiddling with the interlace options and the compression options . . .

Re: Strange UIImageView error

2010-02-07 Thread Development
Yes it is a png and that makes sense since google only shows zlib errors when I search it. On Feb 7, 2010, at 6:16 PM, Henry McGilton (Boulevardier) wrote: > > On Feb 7, 2010, at 4:33 PM, Development wrote: > >> I am adding an image to a UIImageView and every time that I try to I get >> this

Re: Strange UIImageView error

2010-02-07 Thread Henry McGilton (Boulevardier)
On Feb 7, 2010, at 4:33 PM, Development wrote: > I am adding an image to a UIImageView and every time that I try to I get this > error: : invalid distance too far back\n > > and only about the top 10 lines of the image appear in the view, the rest is > black even though the image size is > co

Strange UIImageView error

2010-02-07 Thread Development
I am adding an image to a UIImageView and every time that I try to I get this error: : invalid distance too far back\n and only about the top 10 lines of the image appear in the view, the rest is black even though the image size is correct.___ Cocoa

Re: Uncaught exceptions not terminating my app

2010-02-07 Thread Michael Ash
On Sun, Feb 7, 2010 at 5:43 PM, Graham Cox wrote: > > On 08/02/2010, at 4:23 AM, Paul Sanders wrote: > >> do they really have 7 1/2 million bugs outstanding!? > > > No - this is the total number of reports ever submitted, assuming the > numbering started at 1, which is unlikely (maybe started at

Problem using my own managed object context

2010-02-07 Thread Gideon King
I'm having a problem that shows up when I do a Save As on my core data based app. Saving my document is fine, so long as I save under the same name (either with a new document or one I have loaded), but when I do a save as, I get the following error: malloc: *** error for object 0x114e74cb0: po

Re: Uncaught exceptions not terminating my app

2010-02-07 Thread Graham Cox
On 08/02/2010, at 4:23 AM, Paul Sanders wrote: > do they really have 7 1/2 million bugs outstanding!? No - this is the total number of reports ever submitted, assuming the numbering started at 1, which is unlikely (maybe started at 100). Many will be dupes, not bugs, or fixed. --Graham

Chicago CocoaHeads/ CAWUG Feb. 9 7:00 @ Apple Store

2010-02-07 Thread Bob Frank
Hi all, The Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group is holding our next meeting Tuesday, February 9th, at 7:00 PM at the Apple Store on Michigan Ave. [sorry for the re-sends ... had some email problems today] Agenda: - My First iPhone App: Keith Alperin

Re: Formatter for NSTextFierld in IB

2010-02-07 Thread Gordon Apple
You're right, it should have been. I just didn't think about about it. I'm running 3.2.2, but had the same issue in 3.2.1. Also, I've noticed that I don't get asked to save IB changes before running anymore. I haven't seen a preference setting for that. The formatter is just a subclass of NSFor

Re: Formatter for NSTextFierld in IB

2010-02-07 Thread Kyle Sluder
On Sun, Feb 7, 2010 at 7:53 AM, Gordon Apple wrote: > Is there an IB issue with setting custom Formatters?  I've successfully used > a custom formatter with table views, but when I try to use the same > formatter with an NSTextField, IB will not let me change the formatter file > to my custom form

Formatter for NSTextFierld in IB

2010-02-07 Thread Gordon Apple
Is there an IB issue with setting custom Formatters? I've successfully used a custom formatter with table views, but when I try to use the same formatter with an NSTextField, IB will not let me change the formatter file to my custom formatter. I have to set it programmatically. Bug? __

Re: Strange Behavior

2010-02-07 Thread Matt Neuburg
On or about 2/7/10 9:46 AM, thus spake "MARC BLATT" : > Thanks to all. Not one of my better days. Forgot to save. :( It used to be that when you had unsaved changes IB, Xcode would propose to save for you when you built the project. But this feature has been missing for a while, and I regard its

Re: Strange Behavior

2010-02-07 Thread MARC BLATT
Thanks to all. Not one of my better days. Forgot to save. :( On Feb 7, 2010, at 5:27 AM, Alastair Houghton wrote: > On 6 Feb 2010, at 00:44, MARC BLATT wrote: > >> I have the following code in viewWillAppear: for my iPhone dev project >> (iPhone Development SDK Book, Chapter 4, p.63): > > [sni

Re: Strange Behavior

2010-02-07 Thread MARC BLATT
Thanks to all. Not one of my better days. Forgot to save. :( On Feb 7, 2010, at 9:05 AM, Matt Neuburg wrote: > On Fri, 5 Feb 2010 16:44:40 -0800, MARC BLATT said: >> self.summaryLabel.text = self.movie.summary; >> NSLog(@"%@ sold %@ because %@", self.movie.title, > [formatter stringFromNumber:sel

Re: Uncaught exceptions not terminating my app

2010-02-07 Thread Paul Sanders
Bug ID #7622308 (do they really have 7 1/2 million bugs outstanding!?) -- If, in a Cocoa app, an exception is raised in a subthread, then: (a) The NSExceptionHandler delegate (if any) is not called. Instead,

Re: Strange Behavior

2010-02-07 Thread Matt Neuburg
On Fri, 5 Feb 2010 16:44:40 -0800, MARC BLATT said: > self.summaryLabel.text = self.movie.summary; > NSLog(@"%@ sold %@ because %@", self.movie.title, [formatter stringFromNumber:self.movie.boxOfficeGross], self.movie.summary); > NSLog(@"%@ sold %@ because %@", self.titleLabel.text, self.boxOffice

Re: iPhone: Lost with GK

2010-02-07 Thread Luke the Hiesterman
The size sounds like a problem. I don't remember the exact limit, but I seem to recall the send buffer is just under 100k. You'll want to break that up into packets. Luke On Feb 7, 2010, at 8:53 AM, Development wrote: > Ok I think I am making headway. > > I am storing an NSDictionary object t

Re: Debugging (apparently) random retain loop bug (NSArrayController)

2010-02-07 Thread Matt Neuburg
On Fri, 5 Feb 2010 13:04:06 -0800 (PST), Keith Blount said: >in its nib somewhere internally, but it *is* getting released after all. The problem is that during 3), the project that is loading sends out some notifications while the array controller is still around, so the array controller still i

Re: iPhone: Lost with GK

2010-02-07 Thread Development
Ok I think I am making headway. I am storing an NSDictionary object that contains several bits of string data and an image in png format saved as plain nsdata. I am using the NSKeyedArchiver to write the data to disk then attempting to send that via bluetooth to another iphone. However it fails

Re: Uncaught exceptions not terminating my app

2010-02-07 Thread Roland King
I've been following this, it's very interesting, not a problem I've had but worth knowing about. If you've isolated this issue to this degree it might be worth filing a bug report about it. On 07-Feb-2010, at 11:14 PM, Paul Sanders wrote: > If anyone was following / interested in this, I made

Re: Uncaught exceptions not terminating my app

2010-02-07 Thread Paul Sanders
If anyone was following / interested in this, I made one further discovery. NSExceptionHandler delegates are not called if an exception is raised in a subthread. Instead, the app just silently terminates. Worse, on Snow Leopard Crash Reporter fails to kick in, so you don't even get a crash rep

Mixing TableView Bindings

2010-02-07 Thread Joe
> >> Since the array controller's "object controller" can be set to a class or to >> an entity but not both, I don't see how managed and unmanaged data can be >> mixed. > > The short answer is: "Just do it". I do it all the time. As long as the > object is KVC compliant, it will work. > >

Re: Strange Behavior

2010-02-07 Thread Alastair Houghton
On 6 Feb 2010, at 00:44, MARC BLATT wrote: > I have the following code in viewWillAppear: for my iPhone dev project > (iPhone Development SDK Book, Chapter 4, p.63): [snip] > NSLog(@"%@ sold %@ because %@", self.movie.title, [formatter > stringFromNumber:self.movie.boxOfficeGross], se

Re: coredata: custom accessors

2010-02-07 Thread Quincey Morris
On Feb 6, 2010, at 19:18, Roland King wrote: > - (void)setBounds:(NSRect)aRect > { >[self willChangeValueForKey:@"bounds"]; >bounds = aRect; >[self didChangeValueForKey:@"bounds"]; >NSString *rectAsString = NSStringFromRect(aRect); >[self setValue:rectAsString forKey:@"boundsAs

Re: NSTextStorage subclass question

2010-02-07 Thread Gideon King
Thanks for mentioning that - I did actually pick that one up along the way and changed it, but it appears that I still needed to delay the selection change on the text view as well. On 07/02/2010, at 12:42 PM, Kyle Sluder wrote: > On Sat, Feb 6, 2010 at 6:17 PM, Gideon King wrote: >> I found t