Re: What would cause my animation's delegate methods to not be called?

2010-09-25 Thread Gideon King
As another data point, I have run exactly the same code on 10.5, and the animation delegate methods are called there. Gideon On 25/09/2010, at 12:46 PM, Gideon King wrote: > Hi, I have a CALayer subclass with a CGPoint that I am animating using a > CABasicAnimation. The layer is one of many su

Converting an AttributedString into NSData for an NSTextView

2010-09-25 Thread Brad Stone
I have an NSMutableString that I want to set as the NSData source for an NSTextView. I'm stuck and don't know how to do it. I'm importing about 4,000 XML files and I have to programmatically create the attributedString for each one, there's no way around it. How do I convert an NSMutableStri

Re: Converting an AttributedString into NSData for an NSTextView

2010-09-25 Thread Keary Suska
On Sep 25, 2010, at 9:12 AM, Brad Stone wrote: > I have an NSMutableString that I want to set as the NSData source for an > NSTextView. I'm stuck and don't know how to do it. I'm importing about > 4,000 XML files and I have to programmatically create the attributedString > for each one, the

Re: Converting an AttributedString into NSData for an NSTextView

2010-09-25 Thread Brad Stone
I've been programming in Cocoa for 12 months now so I may not understand the subject fully but my NSTextView Data binding is connected to a Core Data attribute of type "Binary Data" (NSData) and this works when I manually type in text, set some attributes like underline or font, save it and reop

Re: "Settings" button in UITableView

2010-09-25 Thread Matt Neuburg
On or about 9/24/10 9:36 AM, thus spake "Remco Poelstra" : > Is there some precaution I've to take to make sure the buttons slide in nicely > like they do in the mail app? I've currently no idea about coding animations > and such. Animation is easy. Just remember that only the visible cells (-vis

Re: Converting an AttributedString into NSData for an NSTextView

2010-09-25 Thread Keary Suska
On Sep 25, 2010, at 10:06 AM, Brad Stone wrote: > I've been programming in Cocoa for 12 months now so I may not understand the > subject fully but my NSTextView Data binding is connected to a Core Data > attribute of type "Binary Data" (NSData) and this works when I manually type > in text, set

In-app SMS

2010-09-25 Thread Dan Hopwood
Hi all, I found the following link with info on how to send SMSs from within an application. http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/ I have not tested this yet but have the following question. If the above does work, do Apple allow applications onto the App St

Re: "Settings" button in UITableView

2010-09-25 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/24/10 9:31 AM, Remco Poelstra wrote: > Interesting point, I've been thinking about that as well. The problem > is that I think it's confusing for the user. In the wifi settings > pane, the user either selects the row or goes to a detail view. In m

Re: Visible Rect and objectValueForColumn

2010-09-25 Thread Fritz Anderson
On 24 Sep 2010, at 10:10 AM, k...@highrolls.net wrote: > Is it true that NSTableDataSource method > tableView:objectValueForTableColumn:row is called as function of ther > associated NSTableView's visible rect? > > If so, can one make adjustments to the visible rect thereby tricking > NSTableD

Re: In-app SMS

2010-09-25 Thread Fritz Anderson
On 25 Sep 2010, at 1:10 PM, Dan Hopwood wrote: > I found the following link with info on how to send SMSs from within an > application. > > http://blog.mugunthkumar.com/coding/iphone-tutorial-how-to-send-in-app-sms/ > > I have not tested this yet but have the following question. If the above > d

Re: In-app SMS

2010-09-25 Thread Mark Woollard
My understanding is that although you can compose an SMS with multiple recipients in iOS 4.0 ready for sending the user still has to interact and touch the actual send button on the compose screen. An app cannot send SMS messages without the user being involved and having the chance to approve b

Drag from Table To View

2010-09-25 Thread koko
Earlier this I got help on dragging from NSView to NSView .. got it working just fine. Made some changes and want to drag from a Table to the same view I had accepting drops previously. I do this in my table sub class awakeFromNib [self registerForDraggedTypes:[NSArray arrayWithObject:@"O

Class Instance Storage

2010-09-25 Thread Richard Somers
I need a class, in which an instance of the class, can access all other instances of the class. In the following code, instances of the class are stored in a static mutable array. To make the code work, the instance must released after adding it to the array and retained before removing it

Re: Class Instance Storage

2010-09-25 Thread Kyle Sluder
On Sep 25, 2010, at 3:31 PM, Richard Somers wrote: > I need a class, in which an instance of the class, can access all other > instances of the class. > > In the following code, instances of the class are stored in a static mutable > array. To make the code work, the instance must released aft

Re: Drag from Table To View

2010-09-25 Thread Seth Willits
On Sep 25, 2010, at 1:43 PM, k...@highrolls.net wrote: > But, It don't work so what now brown cow? Try to never say "it doesn't work." Explain *how* it doesn't work. Half the time you'll answer the question yourself. -- Seth Willits ___ Cocoa-dev

Re: Class Instance Storage

2010-09-25 Thread Richard Somers
On Sep 25, 2010, at 5:25 PM, Kyle Sluder wrote: Usually the better approach is to pick a time at which it makes sense to remove the object from the array. ... We have a few of these, and typically call them -invalidate. I revised my class to incorporate an 'invalidate' method and call it

Fwd: Drag from Table To View

2010-09-25 Thread koko
Begin forwarded message: From: k...@highrolls.net Date: September 25, 2010 6:45:21 PM MDT To: Seth Willits Subject: Re: Drag from Table To View Well thank you Seth, you are correct. I should have said that - (BOOL)tableView:(NSTableView *)aTableView writeRowsWithIndexes: (NSIndexSet *)r

Three problems with CATiledLayer on 10.5

2010-09-25 Thread Gideon King
Hi All, I've run into three fairly basic problems with using CATiledLayer on 10.5. All of these things work fine in 10.6, but unfortunately I have to support 10.5 too. It is a layer hosting view in a scrollview, with a layer that is a CATiledLayer. 1. When my CATiledLayer is 5,000 x 5,000 pixel

Re: Garbage collection 32 & 64-bit

2010-09-25 Thread John C. Randolph
On Sep 14, 2010, at 7:34 AM, Jonathan Guy wrote: Hi all Having an issue with GC. I compile an app 32 & 64-bit intel only with GC supported (not required). The app has a webview which loads a flash animation (hence requiring the flash plugin). Does it have to be a flash animation? Could i

[ANN] AppKiDo 0.985

2010-09-25 Thread Andy Lee
This should fix the problems at least some folks have been having with the iOS 4.1 SDK. It also includes bug fixes from the two 985 sneakypeeks. Many thanks to Gerriet Denkmann for finding and fixing the bug. Any problems (for example, I'v

[SOLVED] Drag from Table To View

2010-09-25 Thread koko
This began to work when I changed the base class and initializer for the table cell from NSCell and -init to NSTextFieldCell and - initTextCell. -koko On Sep 25, 2010, at 6:51 PM, k...@highrolls.net wrote: Begin forwarded message: From: k...@highrolls.net Date: September 25, 2010 6:45: