Re: Cocoa-dev Digest, Vol 11, Issue 374

2014-07-11 Thread Yingshen Yu
Hi Shane, It's in the 10.10 AppKit release notes. Also WWDC session "What's new in Cocoa" has a fe slides. -Jonny Shane Stanley 于2014年7月11日星期五写道: > On 11 Jul 2014, at 7:44 am, João Varela > wrote: > > > Ithas been officially declared by Apple that cell-based NSOutlineView¹s > and > > NSTableVi

Re: Hybrid Autolayout/Storyboard

2012-10-09 Thread Yingshen Yu
There is a way shown in WWDC AutoLayout session. Keep XIB AutoLayout enabled, then subclass the container control and override its updateConstraints method. In the very beginning call [self setAutoTranslateAutoResizingMasks:NO]; Depending on your situation, you might also need to set autoTrans

Re: Sandboxing die.die.die

2012-08-22 Thread Yingshen Yu
Besides, even if you use an installer, Mountain Lion is fine without app signed, however it still make sense to sign app to prevent your app be modified by mal-ware or virus. -Jonny 在 2012-8-23,上午8:06,danchik 写道: > A somewhat related question. It seems that the gatekeeper is mostly > conc

Re: Sandboxing die.die.die

2012-08-22 Thread Yingshen Yu
depends on what type of your installer is. For drag drop installation, you need sign the app. -Jonny 在 2012-8-23,上午8:06,danchik 写道: > A somewhat related question. It seems that the gatekeeper is mostly > concenrned with the signature on the installer package and not the software > it insta

Re: ARC Extending Lifetime of Objects

2012-07-23 Thread Yingshen Yu
Dictionaries doesn't do deepCopy, but they do support NSCoding. Do you think you can use serialization to a NSData (a memory block) instead? It will have other benefit when you have too much undo items and want to page to a file. ;) -Jonny 在 2012-7-23,下午9:12,Andreas Grosam 写道: > > On 23.07.

Re: Modal event processing

2012-07-05 Thread Yingshen Yu
Are you trying to mimic user interactions with Cocoa UI? If I understand you right, it might be easier to do it with accessibility API, so you can write a normal Cocoa App and a write another app to mimic user interaction to this cocoa app. -Jonny 在 2012-7-6,上午3:57,Charlie Dickman <3tothe...@

[Sandbox]Question on Design Guide

2012-05-03 Thread Yingshen Yu
Hi, In Apple's App Sandbox Design Guide, Powerbox and File System Access Outside of Your Container section, there's a paragraph. When a user of your app specifies they want to use file or a folder, Powerbox adds the associated path to your app’s sandbox. Say, for example, a user specifies

Question to support File Version in 10.7

2011-09-22 Thread Yingshen Yu
Hi, I'm working on adding File Version support to my application. It's not Cocoa document based app, so I have to add version support on my own. My question is when should I add a new version? I know I should add a file version when user save the file, but my observation to TextEdit.app looks the