Re: compiling app for 10.6 and 10.7

2011-08-17 Thread Chris Hanson
On Aug 15, 2011, at 2:30 PM, Sean McBride s...@rogue-research.com wrote: It's probably a bit early to require a 7 week old OS (10.6.8) as a minimum. Anyone running anything older will see a crash, and quite possibly toss your app out. You can specify your minimum system in your Info.plist,

Re: compiling app for 10.6 and 10.7

2011-08-17 Thread Torsten Curdt
It's probably a bit early to require a 7 week old OS (10.6.8) as a minimum.   Anyone running anything older will see a crash, and quite possibly toss your app out. You can specify your minimum system in your Info.plist, and on earlier versions the user will get an alert indicating the

Entitlements and specific files/dirs

2011-08-17 Thread Michael Vannorsdel
Apologies if this has been covered in the past but my searches did not turn up anything as specific as I'm looking for. Is there a way to refine sandbox entitlements to allow read/write access to specific files and directories instead of just all or none? For instance, only allowing RW to

RE: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread Jim Adams
Did you check that cases of the names involved? -Original Message- From: cocoa-dev-bounces+jim.adams=sas@lists.apple.com [mailto:cocoa-dev-bounces+jim.adams=sas@lists.apple.com] On Behalf Of Rick Mann Sent: Wednesday, August 17, 2011 12:35 AM To: Cocoa Developer Subject: +[UINib

Re: compiling app for 10.6 and 10.7

2011-08-17 Thread Sean McBride
On Wed, 17 Aug 2011 00:55:35 -0700, Chris Hanson said: It's probably a bit early to require a 7 week old OS (10.6.8) as a minimum. Anyone running anything older will see a crash, and quite possibly toss your app out. You can specify your minimum system in your Info.plist, and on earlier

Re: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread glenn andreas
More specifically, from the documentation: To associate a resource file with a particular device, you add a custom modifier string to its filename. The inclusion of this modifier string yields filenames with the following format: basenamedevice.filename_extension The basename string

Re: +[UINib nibWithNibName:bundle:] and ~iPhone

2011-08-17 Thread Rick Mann
Augh, now, see, here's an example of what I hate about Apple's docs: you have to read it all (and remember). The reference documentation for the method does not talk about how it will find the ~ variants of files, so I assumed that was only in certain places, like the bundle Info.plist.

Re: Properly wrapping non-contiguous NSTextViews

2011-08-17 Thread Ross Carter
On Aug 16, 2011, at 3:40 PM, Nick Zitzmann wrote: Okay. As I just found out, TextEdit has the same problem as my application, and it turns out it is using almost the same code (I didn't write the original pagination code in the app). To see it for yourself: 1. Download this RTF -

Re: August Cocoaheads - Silicon Valley Meeting

2011-08-17 Thread Eric Wing
Reminder: Cocoaheads Silicon Valley is tomorrow. There is a room change. Go here for info: http://groups.google.com/group/cocoaheads---silicon-valley So I'm still unclear what the itinerary is, so I'm going to take the initiative and claim I will be presenting. I will present Audio on iOS and

[SOLVED] Re: Properly wrapping non-contiguous NSTextViews

2011-08-17 Thread Nick Zitzmann
On Aug 17, 2011, at 10:59 AM, Ross Carter wrote: OK, I see the problem. It looks like your source text was copied from a web page. (Fonts Arial and Verdana are a clue.) There is something peculiar in your text formatting. I'll bet that the web page embedded that text in a table and the

Re: How can I prevent drag-and-drop initiation in an NSTextField

2011-08-17 Thread Michael Crawford
For those who are interested, here is a simple answer to my original question. @implementation NSTextView (csstest) - (NSDraggingSession*)beginDraggingSessionWithItems:(NSArray*)items event:(NSEvent*)event

Re: Is it possible to traverse dictionaries and arrays using KVC?

2011-08-17 Thread Jerry Krinock
On 2011 Aug 16, at 16:17, Andy Lee wrote: I haven't tested with bindings, I would test thoroughly, particularly in Lion. See list archives for July 29, thread with subject Lion doesn't like tricky.key.paths in bindings? ___ Cocoa-dev mailing list

Very different Document Saving in Lion, even without enabling asynchronous

2011-08-17 Thread Jerry Krinock
Although it's not mentioned in the 10.7 AppKit Release Notes, the various methods involving document saving are invoked sequentially in 10.7, rather than nested as they have always been, even if you have *not* enabled the new asynchronous document saving feature. In the following lines, logs

Re: How can I prevent drag-and-drop initiation in an NSTextField

2011-08-17 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/17/11 3:11 PM, Michael Crawford wrote: For those who are interested, here is a simple answer to my original question. @implementation NSTextView (csstest) - (NSDraggingSession*)beginDraggingSessionWithItems:(NSArray*)items

Very different Document Saving in Lion, even without enabling asynchronous

2011-08-17 Thread Jerry Krinock
Here's a more readable version of my previous message. (Forgot that email clients think lines beginning with are quoted.) Although it's not mentioned in the 10.7 AppKit Release Notes, the various methods involving document saving are invoked sequentially in 10.7, rather than nested as they

Re: Very different Document Saving in Lion, even without enabling asynchronous

2011-08-17 Thread Mike Abdullah
On 17 Aug 2011, at 23:18, Jerry Krinock wrote: Although it's not mentioned in the 10.7 AppKit Release Notes, the various methods involving document saving are invoked sequentially in 10.7, rather than nested as they have always been, even if you have *not* enabled the new asynchronous

Re: How can I prevent drag-and-drop initiation in an NSTextField

2011-08-17 Thread Michael Crawford
On Aug 17, 2011, at 6:30 PM, Conrad Shultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/17/11 3:11 PM, Michael Crawford wrote: For those who are interested, here is a simple answer to my original question. @implementation NSTextView (csstest) -

Re: How can I prevent drag-and-drop initiation in an NSTextField

2011-08-17 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/17/11 6:04 PM, Michael Crawford wrote: Conrad, thank you for your concern. I know you want me and others reading this thread to follow practices that are safe and lead to robust resilient software. I only wanted to post for completeness.

RE: Problems with UIAlertView

2011-08-17 Thread Julius Oklamcak
I'm looking at popovers. I'm wondering if there is any way that I'm overlooking to make popovers modal. The UIViewController that you present in the popover has a property named modalInPopover: The default value of this property is NO. Setting it to YES causes an owning popover controller to

Why does initWithCoder has other self-object?

2011-08-17 Thread Arno Oesterheld
Hello, I am a beginner with Xcode and Objective-C and stuck with a quite simple thing for over two days now. I hope you can help me. My Project is deployed for OS X 10.6, it uses Garbage Collection and I am using Xcode 4.0.1. I made a multi document application starting with the template