Re: How to sandbox an included framework

2012-08-23 Thread Sean McBride
;tcurdt/feedbackreporter I use that framework too, and I know of at least one problem with it and the sandbox: <https://github.com/tcurdt/feedbackreporter/issues/23> I encourage you to file a radar about using asl_search() with App Sandbox. Cheers, -- ___

Re: Finder Info

2012-08-27 Thread Sean McBride
e UTF8String and fileSystemRepresentation give something different? I'd like to run it through QA... -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com

NSApplicationShowExceptions - useful on main thread only?

2012-09-21 Thread Sean McBride
eptions=YES? Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada __

Re: NSApplicationShowExceptions - useful on main thread only?

2012-09-24 Thread Sean McBride
ays result in the app being killed no matter what I do. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac S

Re: Shared NSNumberFormatters

2012-09-28 Thread Sean McBride
formatters. formatters are mutable, so you can configure them how you want in windowWillLoad or awakeFromNib or whereever. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Did 10.7.5 break App Sandbox for anyone?

2012-10-01 Thread Sean McBride
07fff607eb60b dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**) + 1852 13 dyld0x7fff607e5059 _dyld_start + 49 Anyone else seeing this? Cheers, -- ____ Se

Re: Compiling GC apps under OS X 10.8

2012-10-01 Thread Sean McBride
p on compiling GC stuff under Xcode versions >later than 4.3.3, and therefore 10.8? Clearly moving to ARC is in order... but it's no small task to just totally change an applications's memory model out from underneath it... :( Cheers, -- ___

Re: Did 10.7.5 break App Sandbox for anyone?

2012-10-01 Thread Sean McBride
l let it sort itself out and try Sandbox next year... Thanks! -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Did 10.7.5 break App Sandbox for anyone?

2012-10-01 Thread Sean McBride
rrible for those forums that I never bother with them (except for NDA discussions, where there's no choice.) Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Sean McBride
this (and when it will get sandboxed.) Do file a bug, and pray. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Suggestions for handling old document files with file paths in a sandbox environment

2012-10-03 Thread Sean McBride
/Volumes/ You still get some benefit from the sandbox (protection against network, USB, camera being compromised), but have full file system access. If you care about App Store (I don't), they may not allow this. Cheers, -- _____

dropping alias file on NSPathControl with App Sandbox

2012-10-05 Thread Sean McBride
SPathControl bug? Thanks, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Cocoa-dev

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-09 Thread Sean McBride
h me that pathControl:acceptDrop: should pass the resolved alias instead of the original? Or perhaps provide a setResolvesAliases: like NSOpenPanel does? Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue

Re: dropping alias file on NSPathControl with App Sandbox

2012-10-10 Thread Sean McBride
vileged UI component like NSOpenPanel'. In the early seeds of 10.7, there were all sorts of sandbox violations related to NSPathControl trying to draw the icons of the file hierarchy, and failing to have access to those icons. Cheers, -- _

Re: kFSEventStreamEventFlagItemRenamed is for rename or trash ?

2012-10-19 Thread Sean McBride
the constants and APIs in Folders.h are missing in the Cocoa API. Also when searching for "trash" also search for "recycle" which is used in some API, presumably surviving from NeXTStep, ex: recycleURLs:completionHandler: Cheers, -- _____

Re: Associate icon with file ext. / quick look

2012-10-22 Thread Sean McBride
ny other text file ? Jean, From the sounds of it, it might be best if you just use ".txt" for your human readable text files. QuickLook will then generate previews, and the user's preferred text editor will open the file when double clicked. Cheers, -- ____

Importance of 'keys' and other options when creating bookmarks with NSURL?

2012-10-22 Thread Sean McBride
imal or...? It seems the docs are vague here. Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: App Sandbox Container or Data Directory

2012-10-23 Thread Sean McBride
he won't go in that folder? Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Open untitled file in Document-based app

2012-10-24 Thread Sean McBride
t;not sure how to force it to open an window if there was no window at >application exit. That restoring state stuff is new in 10.7, not 10.8. You can test if it is responsible by turning it off in System Preferences > General. Cheers, -- _________

Re: Security-scoped bookmarks linked to code signing?

2012-10-25 Thread Sean McBride
be nil-initialised could explain how such a bug escaped. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal,

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-25 Thread Sean McBride
ail vs com.apple.Mail Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Mon

Re: Open untitled file in Document-based app

2012-10-26 Thread Sean McBride
ss:Nil]; [window setRestorable:NO]; [window invalidateRestorableState]; } Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: App rejection due to app-sandboxing invalid entitlement

2012-10-26 Thread Sean McBride
On Thu, 25 Oct 2012 21:23:36 -0700, Seth Willits said: >> The communication between the MAS staff and developers is absolutely >shocking. I would go as far as to say it's the worst I've experienced >from Apple since I first had dealings with them in the mid 80s. They >come across as arrogant, "job

Re: createDirectoryAtPath:withIntermediateDirectories:attributes:error: Returns NO when it exists

2012-10-30 Thread Sean McBride
already exists it returns NO with error >parameter set: Strange. I filed last year about the docs for that method: - 17-May-2011 02:25 PM Sean McBride: The developer documentation for NSFileManager's createDirectoryAtPath:withIntermediateDirectories:attributes:error: says: Par

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Sean McBride
;m curious... what about people that use non-Apple Mail.app email clients? Did you support that before? are you still able to with App Sandbox? Maybe you can make use of NSSharingService, which does seem to support 3rd party email clients. Cheers, --

Re: CF replacement to FSFindFolder?

2012-11-02 Thread Sean McBride
nctions in my framework. Why? >As it is, I'm using an absolute >path to get to a folder in Application Support in both the local and >user libraries. Which is fragile, as you know. Cheers, -- ________ Sean McBride, B. Eng

Re: This board is slow. Was: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()

2012-11-05 Thread Sean McBride
ums instead, that would be fine with me! Ugh. That's would be so horrible. But I fear it will come to pass. :( Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.r

Re: FileWrapper & iCloud

2012-11-10 Thread Sean McBride
support file wrappers. :( Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: Getting notified of any change to a specific NSManagedObject?

2012-11-15 Thread Sean McBride
@"lastName", @"age", nil]]; } return set; } Cheers, -- __________

Re: Dumb question about unit testing

2012-11-19 Thread Sean McBride
mpares the original with the copy. 2) I create files on disk with serialized data, then build new objects from them by deserializing. If/when your format changes, you then have a collection of old formats to test too. Cheers, -- ____ Sean

Re: NSFileManager - Incompatible persistent store

2012-11-22 Thread Sean McBride
;. See: <https://developer.apple.com/library/mac/#documentation/security/conceptual/SecureCodingGuide/Articles/RaceConditions.html> Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: NSFileManager - Incompatible persistent store

2012-11-22 Thread Sean McBride
27;. The rest kinda follows. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing lis

Re: FileWrapper & iCloud

2012-11-29 Thread Sean McBride
st in me wonders... Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: FileWrapper & iCloud

2012-11-30 Thread Sean McBride
lass that people could opt into. But they haven't. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac

Re: FileWrapper & iCloud

2012-11-30 Thread Sean McBride
NSMovieView and calling it QTMovieView. They sometimes do something else, like a big fat mode switch like NSDateFormatterBehavior10_4. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: NSOperation Efficiency

2012-12-04 Thread Sean McBride
ybe you're blowing a cache and causing a slowdown when many operations are executed at once? Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac So

Re: clarification about document type extensions

2012-12-10 Thread Sean McBride
become default for those. You might want to read up on 'launch services'. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software

Re: NSOpenPanel runModal on a dispatch

2012-12-17 Thread Sean McBride
hink so, as File > Open shows a modal open panel. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: NSOpenPanel runModal on a dispatch

2012-12-17 Thread Sean McBride
safe to use there. :( Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Coco

Freshly created .xcmappingmodel seems to have incorrect version hashes

2012-12-17 Thread Sean McBride
and compare the entity hashes. For most, the VersionInfo.plist matches the hashes extracted from the .cdm, but for 2 entities they do not. How can this be?! As I said, the xcmappingmodel is freshly created! Thanks, -- ________ Sean

Re: NSOpenPanel runModal on a dispatch

2012-12-17 Thread Sean McBride
In in 10.8.2 now, and in TextEdit they are app-modal. It's Info.list shows LSMinimumSystemVersion=10.8. Not the case for you? Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: sandbox method to open my user manual pdf

2012-12-18 Thread Sean McBride
@"pdf"]; BOOL success = [[NSWorkspace sharedWorkspace] openURL:url]; Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac S

Re: Copy problem

2012-12-19 Thread Sean McBride
m/library/mac/#documentation/security/conceptual/SecureCodingGuide/Articles/RaceConditions.html> Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac So

Re: "New" busy cursor in the Finder

2012-12-20 Thread Sean McBride
ence/Conceptual/AppleHIGuidelines/UEGuidelines/UEGuidelines.html#//apple_ref/doc/uid/TP40002720-SW4> Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-

Re: sandbox method to open my user manual pdf

2012-12-20 Thread Sean McBride
maybe good, but I do suggest you stay away from path APIs and only use NSURL APIs. Also fileExistsAtPath: is mostly useless, just try to copy the file, if it's there already, you'll get an error, which you can ignore. Cheers, -- ______

Re: Maximum size for NSFileWrapper serialization?

2013-01-18 Thread Sean McBride
aren't specific. I fear you have answered your own question. It looks like there is a 2 GiB limit somewhere... maybe not a limit of NSFileWrapper but of one of those private classes like NSAKSerializer. I recently learned the hard way that NSKeyedArchiver is also limited to 2 GiB. Cheers,

Re: Issue with Core Data Mapping Model

2013-01-22 Thread Sean McBride
this, but have not heard back yet. I'll follow up in this thread when I do. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Getting mouse loc in flagsChanges method

2013-01-24 Thread Sean McBride
s? Consider "mouseLocationOutsideOfEventStream". Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Mo

Re: Sandbox Clarification

2013-01-30 Thread Sean McBride
also readonly and readwrite varieties. (As to what the store allows... I have no idea because I never touch the Walled Garden, but it's orthogonal to what App Sandbox supports.) Cheers, -- ________ Sean McBride, B. Eng

Re: Sandbox Clarification

2013-01-31 Thread Sean McBride
e temp entitlements to get other App Sandbox benefits even if you grant yourself full file system access. At least then if your app is compromised there is still protection for network, microphone, camera, etc. It's all about limiting the attack surface after all... Cheers, --

Re: Breaking on nil context

2013-02-12 Thread Sean McBride
this error is coming from? Not sure if it'll work in your case, but I have CGErrorBreakpoint() as a future-break in my ~/.gdbinit. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Pointer was being free was not allocated

2013-02-13 Thread Sean McBride
this? There are lots of great debug tools to track this kind of thing down. Search for: valgrind, guard malloc, address sanitizer. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Thread safety of Bonjour Cocoa classes? (NSNetService, etc.)

2013-02-14 Thread Sean McBride
free bridged either.) I've having intermitting issues where my delegate methods are sometimes not being called, and I wonder if it's because I'm using a non-main thread/runloop. Thanks, -- ________ Sean McBride, B. Eng

Re: Thread safety of Bonjour Cocoa classes? (NSNetService, etc.)

2013-02-14 Thread Sean McBride
Thread: to do all work (like the creation of the NSNetService and NSNetServiceBrowser) on my thread. Does that sound kosher? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: LLVM 4.2 bug: crash on 10.6.8 in loop iteration

2013-02-20 Thread Sean McBride
>LLVM 4.2 with a deployment target of 10.6. Does Xcode 4.6 even claim to support deploying to 10.6? IIRC, all recent releases' release notes say its for developing for 10.7 and 10.8. Cheers, -- ____ Sean McBride, B. Eng

Re: archiving report

2013-02-26 Thread Sean McBride
deUInt64 is worst of all. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: File Path String From Save Panel

2013-03-04 Thread Sean McBride
lso NSPathControl. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-d

Core Data migration: how to delete some managed objects?

2013-03-04 Thread Sean McBride
t;NSRemoveEntityMappingType", which sounds maybe appropriate, but I don't see any way to create them in Xcode's mapping editor. Or am I missing something there? Thanks, -- ________ Sean McBride, B. Eng

Re: Core Data migration: how to delete some managed objects?

2013-03-05 Thread Sean McBride
ng your technique successfully in practice? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Deve

Re: Core Data migration: how to delete some managed objects?

2013-03-06 Thread Sean McBride
ot invoke super, it seems the right stuff is happening... Thanks! -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: Freshly created .xcmappingmodel seems to have incorrect version hashes

2013-03-12 Thread Sean McBride
On Mon, 17 Dec 2012 17:37:22 -0500, Sean McBride said: >I created a brand new .xcmappingmodel for version x to y of my >xcdatamodel. I don't change anything in the mapping GUI. I clean. I >build. I write some test code: > >NSURL* url = ...App.app/Contents/Resou

Re: Global (all-user) preferences for an application

2013-03-18 Thread Sean McBride
ox. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Qué

Anyone seen [NSCursor set] crash by calling abort()?

2013-04-11 Thread Sean McBride
hanks, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (Coco

Re: Anyone seen [NSCursor set] crash by calling abort()?

2013-04-11 Thread Sean McBride
crosshairCursor] too, but not with IBeamCursor nor arrowCursor! > >Is this by chance a garbage-collected app? Yes; but I just tried again with old school manual-retain-release, and it repros the same. Cheers, -- ____ Sean McBride, B.

Re: Anyone seen [NSCursor set] crash by calling abort()?

2013-04-11 Thread Sean McBride
ere catches anything earlier either. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Qué

Re: Anyone seen [NSCursor set] crash by calling abort()?

2013-04-12 Thread Sean McBride
x the issue. Thanks everyone! -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Coco

Re: Overlapping sibling views

2013-04-30 Thread Sean McBride
ably never be fixed, like most everything in Radar. Sorry, can't help it. :) Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.r

Re: What am I looking for in the documentation?

2013-05-06 Thread Sean McBride
aracter, or whatever decimal character is specified by the user's locale (or the user himself)? Consider NSNumberFormatter if you want localisation. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Allow access to Documents folder in a sandbox app

2013-05-08 Thread Sean McBride
e use a temp entitlement allowing access to all files, but at least we still get other benefits of sandboxing (ex: limiting usb, camera, microphone, network, etc. access). Cheers, -- ____ Sean McBride, B. Eng s...@

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Sean McBride
I notice the 'indexPlugins' method in your backtrace. Do you have anything in Library/Address Book Plug-Ins ? Sean On Mon, 20 May 2013 18:45:39 +1000, Gideon King said: >I have address book data access enabled, but when I do a [ABAddressBook >sharedAddressBook] in applicationDidFinishLaunchin

Re: Sandboxing and Apple System Log (asl) searches

2013-05-21 Thread Sean McBride
dbox friendly? What Kyle said. Until then: com.apple.security.temporary-exception.files.absolute-path.read-only /private/var/log/asl/ Cheers, -- ________ Sean McBride, B.

Re: Sandboxing and ABAddressBook

2013-05-21 Thread Sean McBride
ibrary's? In home, root, System, network... Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Core Data never seems to be able to auto-update schema

2013-05-29 Thread Sean McBride
that newly added attributes have a default value. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Qué

Re: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-03 Thread Sean McBride
more appropriate temp directory... Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: creating temp files or temp folders in standard temp file locations in mdimporter on Mac OS X 10.8.3

2013-06-03 Thread Sean McBride
in >an *app* sandbox at all, or whether it has some other kind of security >context. Indeed. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-res

Re: TECConvertText returns an unknown result code

2013-06-04 Thread Sean McBride
Manager/Reference/reference.html >) > >What does this -50 can mean ? Go to Terminal and type: $ macerror -50 Mac OS error -50 (paramErr): error in user parameter list See also MacErrors.h. Cheers, -- ________ Sean McBride, B. Eng

Re: error in using NSNumber's numberWithInt: method not flagged

2013-06-10 Thread Sean McBride
values when boxed as NSNumbers on 64-bit platforms), but >nonetheless this behavior is inherited from C and cannot really be changed. So wouldn't a warning (not error) from the compiler be desirable? Cheers, -- ________ Sean McBride, B. E

Re: Accelerate Framework?

2013-06-16 Thread Sean McBride
On Sat, 15 Jun 2013 13:33:20 -0700, Rick Mann said: >Where to go for questions about the Accelerate Framework? Sean ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-23 Thread Sean McBride
y it works. Maybe a kickstarter project to create a nice NSPersistentStore would be better. :) Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac

Re: KVO on a key path with nil intermediate properties

2013-06-27 Thread Sean McBride
property. As you discovered 5 minutes after posting :), this works as expected. I do it all the time. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.

Re: Bundle Identifiers - and application support directory

2013-07-23 Thread Sean McBride
ts aren't for "human consumption" anymore, why do you worry about localisation? Also, I've never understood why ~/Library is invisible but /System and /Library are not... Cheers, -- Sean McBride, B. Eng

Re: Exiting non-POSIX threads?

2013-07-30 Thread Sean McBride
rocess is probably a bad idea since the process is in a bad state. So I guess the best thing to do is let the OS kill the process and create a crash log, which you can then read when you relaunch (modulo sandbox issues). Cheers, -- ________

Re: Exiting non-POSIX threads?

2013-08-01 Thread Sean McBride
porting framework, which needs to deal with exceptions from any thread from any code. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac S

Re: Synchronous Serial Port Protocol messaging With NSOperationQueue/GCD

2013-08-07 Thread Sean McBride
y be retrofitted to use GCD also... which I have been thinking I might one day have time to do... Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac

Re: Dismissing Open dlog before doc actually opens

2013-08-13 Thread Sean McBride
t;annoying design. Dismiss the sheet first thing in the open panel completion handler with [openPanel orderOut:self]; Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue

Re: Dismissing Open dlog before doc actually opens

2013-08-14 Thread Sean McBride
h 10.7 because of the document architecture re-architecting. A lot of the openDocument chain is now done (internally) with libdispatch which had some subtle side effects like you describe. I had to use a DTS incident on it eventually. Cheers, -- _____

Re: 64-bit iOS

2013-09-10 Thread Sean McBride
lity to/from OS X a little bit easier, since (these days anyway) OS X is mostly 64 bit only. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac

Core Data, SQL stores, and predicate restrictions

2008-05-16 Thread Sean McBride
L store. I learnt this the hard way. Thanks, -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mailing list (C

Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]

2008-05-22 Thread Sean McBride
loper.apple.com/macosx/uniformtypeidentifiers.html> -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Contextual menu on an NSTableView

2008-05-23 Thread Sean McBride
On 5/23/08 1:06 PM, Allan Greenier said: >How do I put up a contextual menu on an NSTableView? Have you read: <http://developer.apple.com/releasenotes/Cocoa/AppKit.html#NSTableView> -- ____ Sean McBride, B. Eng

Re: Can't get file type code using [fileAttr valueForKey:NSFileHFSTypeCode]

2008-05-23 Thread Sean McBride
On 5/22/08 4:37 PM, Lynn Barton said: >From what I have read quickly since Sean McBride sent his comment, UTIs are >not yet implemented to the point where I could get the UTI of every file on >my computer. Sure you can. Use LSCopyItemAttributes() with kLSItemCo

Re: if statement

2008-05-28 Thread Sean McBride
represent all possible numbers in just 32-bits - >they just don't all fit!). And for that gcc has -Wfloat-equal "Warn if floating point values are used in equality comparisons." -- ________ Sean McBride, B. Eng

Re: 10.5.3 Release Notes?

2008-05-29 Thread Sean McBride
ge-collected Cocoa apps an >exercise in failure)? If it was a show-stopper you filed a bug right? All you need to do therefore is email [EMAIL PROTECTED] and ask if bug #x is fixed in 10.5.3. Presto. -- ________ Sean McBride, B. Eng

Re: Overlapping Extensions and UTIs in NSDocument

2008-05-29 Thread Sean McBride
FOO ' ext: .mm and ask LS for the UTI of a file that has extension .mm and type 'FOO ' LS might return 'com.UTI1'. And please file a bug. Mine come back 'behaves as expected' so I think Apple needs convincing. -- _______

Re: 10.5.3 Release Notes?

2008-05-29 Thread Sean McBride
start to suffer from those 'scalability problems' they'll address the root causes (that you outlined nicely). :) -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research

Re: Ending Editing when Doc Saves?

2008-05-30 Thread Sean McBride
;t see how I should go about implementing that? >Any suggestions are welcome. Are you using Core Data? Have you seen: <http://developer.apple.com/releasenotes/Cocoa/CoreDataReleaseNotes/ index.html#//apple_ref/doc/uid/TP40006503-SW16> -- ______

NSPersistentDocument's metadata APIs, when can I set my metadata before saving?

2008-06-02 Thread Sean McBride
class NSPersistentStore: Create a concrete instance!" Thanks, -- ____ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: NSColorWell and alpha

2008-06-02 Thread Sean McBride
e is an alpha-slider available in that colorwell to modify color >> opacity value but during runtime there isn't such. >> Is that bydesign or am I missing something? -- Sean McBride, B. Eng [EMAIL PR

Re: Converting string to double: NSString or NSScanner

2008-06-02 Thread Sean McBride
00. NSNumberFormatter would be another option. -- ________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev maili

Re: Main window disappears. Sometimes.

2008-06-03 Thread Sean McBride
happily Instruments does). OTOH, the ref counting model has tonnes of helpful debugging aids and docs. -- Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

<    2   3   4   5   6   7   8   9   10   11   >