Re: The cost of using objects rather than plain C variables

2013-07-12 Thread Jean-Daniel Dupas
Le 12 juil. 2013 à 08:41, Vincent Habchi a écrit : > Hi! > > Sorry for this late answer, I was a bit swamped lately. > >> NSData wouldn't let you, but NSMutableData would, with methods like >> appendBytes:length:, appendData:, increaseLengthBy:, etc. The underlying >> buffer might have to m

Re: Cocoa-dev Digest, Vol 10, Issue 424

2013-07-12 Thread Pamela Grandt
I will be out of the office Fri. July 12 ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update

Problem saving document with my doc icon

2013-07-12 Thread Peter Teeson
OS x Lion 10.7.5, Xcode 4.6.3 In my Document based app I am having trouble saving a document with my document icon. The Finder still shows the file with the folder icon. Here is my code: - (NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError *__autoreleasing *)outError{

Re: Using autolayout in a UI table view section header view

2013-07-12 Thread Conrad Shultz
On Jul 11, 2013, at 2:26 PM, Rick Mann wrote: > I'm trying to reproduce the UITableView section header view used by iOS for > regular text headers. I wanted to make sure you know about UITableViewHeaderFooterView, which might be of use: http://developer.apple.com/library/ios/#documentation/u

Re: Using autolayout in a UI table view section header view

2013-07-12 Thread Rick Mann
On Jul 12, 2013, at 12:43 , Conrad Shultz wrote: > I wanted to make sure you know about UITableViewHeaderFooterView, which might > be of use: > > http://developer.apple.com/library/ios/#documentation/uikit/reference/UITableViewHeaderFooterView_class/Reference/Reference.html Oh hey, that's han

Re: Problem saving document with my doc icon

2013-07-12 Thread Jens Alfke
On Jul 12, 2013, at 12:29 PM, Peter Teeson wrote: > In my Document based app I am having trouble saving a document with my > document icon. > The Finder still shows the file with the folder icon. You don't need any code to accomplish this. Just make sure your Info.plist has a documentTypes en

realizeClass crash

2013-07-12 Thread Gideon King
Hi, my application is crashing consistently for one user. The application is in use successfully by thousands of people, and this user has it installed on 3 machines but it only crashes on one of them. Any ideas what would cause this kind of crash? Crashed Thread: 0 Dispatch queue: com.apple.

Re: realizeClass crash

2013-07-12 Thread Ken Thomases
On Jul 12, 2013, at 11:45 PM, Gideon King wrote: > Hi, my application is crashing consistently for one user. The application is > in use successfully by thousands of people, and this user has it installed on > 3 machines but it only crashes on one of them. > > Any ideas what would cause this ki

Re: realizeClass crash

2013-07-12 Thread Jerry Krinock
On 2013 Jul 12, at 22:20, Ken Thomases wrote: > The crash report should have listed the binary images loaded into the > process. Look for those which are neither Apple's nor part of your app. A little explanation. I think Ken is suspecting that this one user has some kind of code-injecting