Predicates and Comparing Decimals

2010-12-22 Thread Andreas Grosam
Hello All! Suppose I have a Core Data Application, with an entity A with a field x of type Decimal. I would like to filter the entities by comparing the value for the field x matching a specific value. The user interface provides a search field and displays a list of the entities. What

Properly using of arrangedObjects in NSArrayController

2010-12-22 Thread Alexander Zvyagin
Hi, All! Tell me please, what I do wrong or miss to get in my mind? I mean the NSArrayController is for synchronization between two arrays, or between keyPaths of items in two arrays. Now i'm trying to bind the Model 'array' property to custom 'array' property in class View using

Re: Vertical Asian Text in Cocoa

2010-12-22 Thread John Joyce
On Dec 21, 2010, at 4:44 PM, Abdul Sowayan wrote: Hi folks, As I understood it several years ago, there was no native support in Cocoa for rendering vertical Japanese text. Note that certain punctuation and compound characters are supposed to render differently when drawing in the

Re: UIWebview: scrolling vs anchors - followup

2010-12-22 Thread John Joyce
On Dec 21, 2010, at 8:27 PM, Donald Hall wrote: On December 20 I wrote: - I have a UIWebview in my app that I want to use to load an HTML document containing anchors so that I can jump around the document by tapping on the links to the various anchors. (e.g. a

textFieldShouldEndEditing called multiple times

2010-12-22 Thread Remco Poelstra
Hi, I've a UITableView with multiple UITextFields. I implemented textFieldShouldEndEditing for the UITextFields. When I enter invalid text followed by return, my textFieldShouldEndEditing is called once and editing continues. When I select another UITextField, textFieldShouldEndEditing is

Re: Strange error solved by turning off Non-contiguous Layout

2010-12-22 Thread Douglas Davidson
On Dec 21, 2010, at 8:08 PM, Brad Stone wrote: I have an NSTextView that has about 1,900 characters in it. Just regular text. If I edit the text and save my app hangs at [[self managedObjectContext] commitEditing]; I found setting nonContinuousLayout to NO in the NSTextView prevents

Re: Strange error solved by turning off Non-contiguous Layout

2010-12-22 Thread Brad Stone
I don't have a lot of experiencing debugging deadlocks. The commitEditing call never returns, just spinning beach ball, so that makes it difficult to debug. I did notice that edits before a certain number of characters commits fine after that - deadlock. Weird. On Dec 22, 2010, at 12:27 PM,

Re: Text display consistency

2010-12-22 Thread Matt Neuburg
On Tue, 21 Dec 2010 12:52:02 + (GMT), Kenneth Baxter k.b.bax...@mac.com said: Hi, I have an application that needs to display text on both Mac OS X and on iOS. I'm sticking to core technologies for my drawing and drawing all my stuff into cgcontexts for maximum portability. I sometimes

Re: CALayer and pixel alignment

2010-12-22 Thread Matt Neuburg
On Wed, 22 Dec 2010 10:09:04 +1000, Gideon King gid...@novamind.com said: I am drawing some CALayers, and use code like what I have below so I can draw exactly on pixels. Your asking this question this way, and your use of .5 in your code, makes me want to riff on the distinction between points

Function-Key Unicodes

2010-12-22 Thread koko
I call: NSString *chars = [theEvent charactersIgnoringModifiers]; in -keyDown The docs say Function-Key Unicodes These constants represent Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the keyboard. Combined in NSStrings, they are the return values of

Re: Vertical Asian Text in Cocoa

2010-12-22 Thread Lee Ann Rucker
On Dec 22, 2010, at 5:46 AM, John Joyce wrote: On Dec 21, 2010, at 4:44 PM, Abdul Sowayan wrote: Hi folks, As I understood it several years ago, there was no native support in Cocoa for rendering vertical Japanese text. Note that certain punctuation and compound characters are

Re: Function-Key Unicodes

2010-12-22 Thread Ricky Sharp
On Dec 22, 2010, at 1:44 PM, k...@highrolls.net wrote: I call: NSString *chars = [theEvent charactersIgnoringModifiers]; in -keyDown The docs say Function-Key Unicodes These constants represent Unicode characters (0xF700–0xF8FF) that are reserved for function keys on the