Elegant Way to Create Localized String

2010-10-01 Thread Jason Barker
Hi everyone, I'm working on an app with localized strings. I've got one string which contains placeholder values and depending upon the user's language settings, it should format the string with the values in a different order. For example, in English, the string would be formatted as: "... ...

Re: Elegant Way to Create Localized String

2010-10-01 Thread Jason Barker
Shawn and Dave, This solution is exactly what I needed. The link provided by Shawn contains the info stated by Dave. Thank you very much, Jason Sent from my iPhone On Oct 1, 2010, at 5:50 PM, Shawn Erickson wrote: > On Fri, Oct 1, 2010 at 3:12 PM, Jason Barker wrote: >> Hi

UITableViewCell Display Issue

2010-10-08 Thread Jason Barker
In my table view, when a user touches a row, I want to change the alpha value of a subview within the row's content view via animation as well as insert some rows below that one or remove some rows from below that one. I'm able to animate the insertion and deletion of the rows from under the touche

Crazy UITableView Display Issue

2010-10-22 Thread Jason Barker
Hey everyone, I have an app in which I need to be able to reorder sections of a grouped table. I'm attempting this by adding a single grouped table into the cells of a parent table. I am noticing a problem with the display of the parent table's cells. As I scroll through the tables, the ones towar

Why would insertSublayer:atIndex: botch animation of CAShapeLayer?

2013-04-08 Thread Jason Barker
I have a number of CAShapeLayers that are already sublayers to the layer of a view (UIView). I'm able to animate their paths without any trouble. However, I need to add some additional shape layers later on and then animate all of the paths for all of the shape layers. When I attempt to insert new

Truncated Table Headers

2008-04-21 Thread Jason Barker
Hi everyone, I have resized a few columns in a table to be just a few pixels wider than the actual names of those columns. I have used bindings to connect an NSArrayController to these columns. When I test the interface in Interface Builder as well as building and running the project in Xcode, I no

SOLVED: Truncated Table Headers

2008-04-22 Thread Jason Barker
AIL PROTECTED]> wrote: > > On 21 Apr '08, at 9:14 PM, Jason Barker wrote: > > When I test the interface in Interface > > Builder as well as building and running the project in Xcode, I notice > > that > > the column names get cut off towards the end by about 15

Unobserved Changes

2008-02-22 Thread Jason Barker
Hi everyone, I have a Container object that has a Characteristics object which, in turn, has a NSMutableArray ("myarray") object. I also have a ContainerController object that I want to set up to observe changes to the NSMutableArray object. In the ContainerController, I have a line of code: [cont

Re: Unobserved Changes

2008-02-22 Thread Jason Barker
Keary, You guessed it. I changed the observer to the arrangedObjects property of the array controller and now I'm getting notified of changes. Thanks! Jason On Fri, Feb 22, 2008 at 11:24 AM, Keary Suska <[EMAIL PROTECTED]> wrote: > on 2/22/08 2:45 AM, [EMAIL PROTECTED] purportedly said: > > > [

Re: Unobserved Changes

2008-02-22 Thread Jason Barker
Thanks for your help. I created a stripped down project of the scenario. It can be downloaded from: http://www.neuromight.com/cocoa/ContainerTest.zip A couple of points of interest: - The observations are created in the awakeFromNib message in the ContainerController class. - I have revert