Re: strange NSTextView problem

2011-07-16 Thread Kyle Sluder
On Sat, Jul 16, 2011 at 7:47 PM, Rick C. wrote: > Thanks for the reply.  I don't have many attributes here goes: > >        [textView setTextColor:[NSColor colorWithCalibratedWhite:(250.0f / > 255.0f) alpha:1]]; >        NSShadow *textShadow = [[NSShadow alloc] init]; >        [textShadow setShad

Re: strange NSTextView problem

2011-07-16 Thread Rick C.
Thanks for the reply. I don't have many attributes here goes: [textView setTextColor:[NSColor colorWithCalibratedWhite:(250.0f / 255.0f) alpha:1]]; NSShadow *textShadow = [[NSShadow alloc] init]; [textShadow setShadowOffset:NSMakeSize(-0.5, -1)]; [[textView

simple multipart upload implementation

2011-07-16 Thread Wilker
Hi guys, Last days I spent a lot of time searching for multipart upload solutions to use in a Mac Cocoa project. The fact was I just found bad documented or too much complicated solutions... So I decided to develop one on my own. The result was this library here: https://github.com/wilkerlucio/coc

NSNotApplicableMarker and NSPredicate don't play nice

2011-07-16 Thread Gerd Knops
Hi All, I have an array of objects, and use -filteredArrayUsingPredicate: to filter it. The predicate is straight forward: description CONTAINS[cd] 'bravo' This works fine, unless the array contains a NSNotApplicableMarker object, which just gives me the rather useless error message:

Re: Hang/crash into assembly code

2011-07-16 Thread Jens Alfke
On Jul 16, 2011, at 9:54 AM, Fritz Anderson wrote: > Your main thread is hung on a semaphore in a window-resize view animation. > Some other thread must be holding the semaphore. Tip: You can use the pop-up above the stack trace to switch between threads. Look at them and see if you’ve got ap

Re: strange NSTextView problem

2011-07-16 Thread Jens Alfke
On Jul 16, 2011, at 5:14 AM, Rick C. wrote: > Now I have a project that had no issues in my old SL partition and when I > have moved it over a panel in my project with an NSTextView has lost all the > text formatting when I launch that panel. Can you describe in more detail what’s changed? “L

Re: Hang/crash into assembly code

2011-07-16 Thread Fritz Anderson
On 16 Jul 2011, at 11:40 AM, Adam Gerson wrote: > I am having a strange issue with an app I am working on. I get a > pinwheel of death. Its not consistently reproducible, but does happen > sometimes. When I pause in the debugger it breaks into assembly code > so I am not sure how to trace it. Wher

Hang/crash into assembly code

2011-07-16 Thread Adam Gerson
I am having a strange issue with an app I am working on. I get a pinwheel of death. Its not consistently reproducible, but does happen sometimes. When I pause in the debugger it breaks into assembly code so I am not sure how to trace it. Where can I look next? https://img.skitch.com/20110716

strange NSTextView problem

2011-07-16 Thread Rick C.
Hi, With Lion coming out soon I have recently prepared a new SL partition with Xcode 3.2.6 and started doing my work there. Now I have a project that had no issues in my old SL partition and when I have moved it over a panel in my project with an NSTextView has lost all the text formatting whe