Re: FSIsAliasFile deprecated - typeOfFile is slow

2015-11-27 Thread Sean McBride
leKey. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada

Re: Best way to get a file path for presentation to the user

2015-12-19 Thread Sean McBride
On Sat, 19 Dec 2015 19:51:03 +1100, Graham Cox said: >I don’t think a NSPathControl is really appropriate for this. I'm curious why... that's what it's for. Cheers, -- ________ Sean McBride, B. Eng s...@

Re: applicationSupportDirectory access for admin and standard users

2015-12-21 Thread Sean McBride
trying to write to the directory? 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 list

Re: App Transport Security exceptions App Store signed app

2016-01-27 Thread Sean McBride
enefit users. Someone should nudge Apple's Server.app team then, because its apache still supports only TLSv1.0, rather laughably! :( Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.c

Re: Can an NSArray ever have a count of -1?

2016-02-19 Thread Sean McBride
for right job' kind of thing. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-

Re: Alternatives to NSMatrix that uses bindings similar to NSMatrix's bindings

2016-04-07 Thread Sean McBride
built-in IB support, but maybe you'll find it helpful. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada // // RRRadioBinder.h // //

Re: BOOL parameter passed as nil object

2016-04-18 Thread Sean McBride
ning for this? :( 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 list (Cocoa-dev@li

Re: NSTableView is messaging zombie delegate

2016-05-09 Thread Sean McBride
pport zeroing weak references (under ARC) with NSTextView As for NSMenu, it came back: "Although the delegate is declared “assign” in NSMenu.h, it’s actually been weak (for weak-compatible objects) since 10.9." When switching from GC to ARC, all this was a PITA. Cheers, -- _

Exact semantics of NSThread executation states?

2016-07-12 Thread Sean McBride
lways be true, but on 10.12b2 it's not. I'm trying to understand if my assumption was wrong or if it's an OS bug. Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

awakeFromFetch behaviour change in 10.12?

2016-07-25 Thread Sean McBride
nvoked before. Does that seem correct to you? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: awakeFromFetch behaviour change in 10.12?

2016-07-25 Thread Sean McBride
On Mon, 25 Jul 2016 14:12:42 -0500, Kyle Sluder said: >On Mon, Jul 25, 2016, at 09:14 AM, Sean McBride wrote: >> Hi all, >> >> I'm observing that in 10.12 my awakeFromFetch methods are being called >> more than in 10.11 and earlier. Specifically, it's c

Re: awakeFromFetch behaviour change in 10.12?

2016-08-12 Thread Sean McBride
On Mon, 25 Jul 2016 21:09:09 -0400, Sean McBride said: >>> I'm observing that in 10.12 my awakeFromFetch methods are being called >>> more than in 10.11 and earlier. Specifically, it's called more than once >>> for an object that's already been fetched

Drawing issue with translucent borderless NSWindow, initial content half stays

2016-08-30 Thread Sean McBride
is someone cares to look...: <https://www.rogue-research.com/BackgroundBug.zip> Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac So

Re: Drawing issue with translucent borderless NSWindow, initial content half stays

2016-09-07 Thread Sean McBride
On Tue, 30 Aug 2016 21:03:20 -0500, Ken Thomases said: >On Aug 30, 2016, at 10:10 AM, Sean McBride wrote: >> >> I have a drawing bug in my app, and reduced it to a toy app. >Basically, I create an NSBorderlessWindowMask type window who's content >view draws a tran

Success with NSTableView weak delegates?

2016-09-20 Thread Sean McBride
view delegates? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev

Re: Success with NSTableView weak delegates?

2016-09-20 Thread Sean McBride
On Tue, 20 Sep 2016 14:26:27 -0700, David Duncan said: >> On Sep 20, 2016, at 1:21 PM, Sean McBride wrote: >> >> Hi all, >> >> WWDC 2016 Session 203 "What's New in Cocoa" at around 43:37 in the >video, says that if you link against the 10.11 SDK

Re: Success with NSTableView weak delegates?

2016-09-20 Thread Sean McBride
otes: <https://developer.apple.com/library/content/releasenotes/AppKit/RN-AppKit/index.html> So sorry for the noise! Thanks David & Greg! Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Why does default NSDateFormatter in IB ignore thousands separator?

2016-11-02 Thread Sean McBride
hoose the thousands separator, mine is set to 'space'. Why on Earth does a default NSNumberFormatter ignore the user's choice? Am I alone thinking this is buggy? Thanks, -- Sean McBride, B. Eng s

Re: Why does default NSDateFormatter in IB ignore thousands separator?

2016-11-04 Thread Sean McBride
uot;usesGroupingSeparator="NO"" and "groupingSize="0"" in the xib seems to fix the problem for me. I'll probably go with that "solution". Cheers, -- Sean McBride, B. Eng s...@rogue-research.c

Re: Preserving knowledge of renamed/moved directory?

2016-11-28 Thread Sean McBride
n if the path >to it changes? Stay valid for how long? If you need to persistent them, use them across reboots, etc. see bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error. Cheers, -- ________ Sean McBr

Re: Elementary NSUserDefaults Question

2016-12-07 Thread Sean McBride
"bookmarks". See NSURL's bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-

Re: Elementary NSUserDefaults Question

2016-12-07 Thread Sean McBride
our bookmark to a path. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Co

How to know if an NSFont can draw an NSString?

2016-12-09 Thread Sean McBride
g? Thanks, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev ma

Re: 12 hr vs 24 hr time display

2017-01-03 Thread Sean McBride
exists (file a bug) but it's clearly meant only for the menu bar clock. Just use NSDateFormatter and add some UI in your app showing the user the proper place to set her preferred date/time format options. Cheers, -- ____ Sean M

Seeing nil passed to isEqual:, despite non-null declaration

2017-01-13 Thread Sean McBride
n run] () #18 NSApplicationMain () #19 main Anyone ever seen nil passed to isEqual:? Is the SDK declaration maybe wrong? Thanks, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Seeing nil passed to isEqual:, despite non-null declaration

2017-01-13 Thread Sean McBride
On Fri, 13 Jan 2017 09:53:25 -0800, Jens Alfke said: >So yes, the parameter should be declared as `nullable`. Thanks, Sean ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.

Re: Seeing nil passed to isEqual:, despite non-null declaration

2017-01-13 Thread Sean McBride
rprising! Foundation's NSObject.h *does* however. What a mess. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: Seeing nil passed to isEqual:, despite non-null declaration

2017-01-13 Thread Sean McBride
not done by now. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: How to synchronize my MacOS-X application with Core-Data automatic Undo management?

2014-08-26 Thread Sean McBride
. NSObjectController has magic to deal with its content object going away and reappearing that will help you. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-rese

Re: Adding a GPS to a Mac for Core Location?

2014-09-17 Thread Sean McBride
th laptops... Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Mon

Responder chain and cancelOperation:, how to forward on?

2014-10-01 Thread Sean McBride
hat should I be doing? 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-d

Re: Saving a Document style app

2014-11-07 Thread Sean McBride
you've found, it can't easily be done with NS(Persistent)Document. Please do file a radar for this, as the current situation is ridiculous really. Cheers, -- Sean McBride, B. Eng s...@rogue-research.c

Re: NSPersistentDocument, Export (Save As) and wal/shm

2014-11-14 Thread Sean McBride
hing obvious. Jerry Krinock's solutions, that you no doubt found googling, seem to be working for me, but I don't like swizzling if I can avoid it. I actually just opened a DTS incident on this the other day, no word back yet. Will follow up here. Cheers, -- _______

Re: NSPersistentDocument, Export (Save As) and wal/shm

2014-11-17 Thread Sean McBride
not understand I was looking for a workaround, which I have now reiterated. Hopefully something will come of it... Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-re

Re: help with debugging

2014-11-18 Thread Sean McBride
d the bug? ). Those offsets tell you how far into the function (in bytes I think) it was. You can indeed bring that back to a line number. See here: <http://lldb.llvm.org/symbolication.html> Cheers, -- Sean McBride, B.

Re: help with debugging

2014-11-18 Thread Sean McBride
acosx.crashlog" part. I've never tried with an exception backtrace, but there's likely enough info it that doc to do it all. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue

Re: [BUG] Documents (sandboxed too) won't open from iCloud Drive

2014-11-28 Thread Sean McBride
easily tell if an app is sandboxed from Activity Monitor. Go to the CPU tab, and context-click on the table's column header, there you can show/hide different columns, including a column that shows if the process is sandboxed. Cheers, --

Re: ARC query

2015-01-07 Thread Sean McBride
ing with this under ARC... Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Q

Re: NSURL resourceValuesForKeys NSURLPathKey

2015-01-08 Thread Sean McBride
rk, >but it does seem to work without it. Thoughts? I would put it. Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.r

Re: Cursor above siblings

2015-01-09 Thread Sean McBride
drawing order is wrong when layer hosting/backing is involved . Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: GC / ARC question regarding screensavers under Mavericks

2015-01-16 Thread Sean McBride
determine-if-a-compiled-objective-c-app-is-using-garbage-collection> Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Softwa

Re: ARC dealloc best pratice

2015-02-10 Thread Sean McBride
guess for NSTableView there's no need to nil the delegate. OTOH, my experience converting my GC app to ARC says the exact opposite. Without clearing the delegate to nil in say windowWillClose, I get sporadic crashes. What's the true situation for NSTableView? Cheers, -- __

[JOB] Looking for Mac Cocoa dev in Montréal, Canada

2015-02-21 Thread Sean McBride
- Work in a nice loft-style office in a central location in Montreal. To apply: - email your CV to c...@rogue-research.com Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Updating Mapping Model after changing schema

2015-02-26 Thread Sean McBride
oduce. > >Does anyone have a solution for this? TIA, Xcode menu bar: Editor > Refresh Data Models. Or maybe I misunderstand what you want... Cheers, -- Sean McBride, B. Eng s...@rogue-research.com Rogue R

Re: Converting from scalar to NSNumber*

2015-02-27 Thread Sean McBride
ributeValue: and someAttributeValue, which take scalars. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada __

removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!

2015-03-10 Thread Sean McBride
() -[MyObjectController removeObserver:forKeyPath:context:] -[MyView unbind:] ... Odd that NSObjectController removeObserver:forKeyPath:context: calls removeObserver:forKeyPath:, no? Any clues would help... :) Thanks, -- ________ Sean McBride, B

Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!

2015-03-11 Thread Sean McBride
ing fixed... but maybe there is another bug... Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Develop

Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!

2015-03-11 Thread Sean McBride
one or two, and as per Murphy's Law one is being problematic. :) >are you using for your context pointers? Mine are always non nil >pointers to a static char. Likewise. Cheers, -- ____ Sean McBride, B. Eng s...@r

Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!

2015-03-11 Thread Sean McBride
you can "fix" the bug Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: removeObserver:forKeyPath:context: fails; but removeObserver:forKeyPath: works?!

2015-03-12 Thread Sean McBride
orBinding: to return info for my own bindings, and again only call super for super's bindings. Thanks! -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: windowDidLoad not getting called

2015-03-19 Thread Sean McBride
it... :( 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

Re: Number formatter errors

2015-04-01 Thread Sean McBride
t I have existing projects where a dialog appears. I'm >sure I'm missing something simple, but it's escaping me. Any hints? Do you have 'validates immediately' on? Cheers, -- ____ Sean McBride, B. Eng

View-based tableview and outlets to NSFormatters

2015-04-01 Thread Sean McBride
have a delegate; need to assign column identifiers and switch on them. Is there no better way? Thanks, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue

Re: Where is my bicycle?

2015-04-06 Thread Sean McBride
On Mon, 6 Apr 2015 11:36:38 -0500, Charles Srstka said: >Objective-C doesn’t support Unicode in source files (although Swift does). Yes it does, and it has for many years too. Cheers, -- ____ Sean McBride, B. Eng

Re: Does GCD auto-limit concurrent tasks to number of cores?

2015-04-09 Thread Sean McBride
of RAM too, or you'll swap and easily end up dog slow. Cheers, -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: Proper switching and casing.

2015-04-09 Thread Sean McBride
-Wimplict-fallthrough >Is there any reasonable case where you'd want a case condition to not >have a break statement after it? Yes, but not often IMHO. Cheers, -- ________ Sean McBride, B. Eng

Re: UTI case doesn't matter sometimes?

2015-04-13 Thread Sean McBride
On Mon, 13 Apr 2015 14:09:06 -0500, Steve Mills said: >So, should string comparisons be case-insensitive when comparing UTIs? >If not, then things fail. Don't compare as strings, use UTTypeConformsTo(). Cheers, -- ____ Sean

Creating new/untitled NSPersistentDocuments from template documents?

2015-05-01 Thread Sean McBride
e my .app). It's mostly working, but everything I try seems to keep some connection to the hidden template document's URL. Any suggestions on a kosher way to do this? Thanks, -- ________ Sean McBride, B. Eng s...@rogu

Re: Creating new/untitled NSPersistentDocuments from template documents?

2015-05-01 Thread Sean McBride
tion = "Cannot update objects into a read only store."; readFromURL: seems to have added my template as a persistent store in the persistent store coordinator. :( Cheers, -- ________ Sean McBride, B. Eng

Re: Core Data sync between iOS and Mac apps

2015-05-07 Thread Sean McBride
ne's been open for 3 years now. Duped to which is still open too. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer

Re: IB_DESIGNABLE - anyone got it to work?

2015-05-12 Thread Sean McBride
gers the same exception, only when it’s drawn by >the IB rendering agent. > >Has anyone been able to make this work? After some difficulty, yes. But it seems to only support direct subclasses of NSView, not NSControl for example. What's your superclass? Cheers, -- ______

Re: 3D file formats

2015-06-12 Thread Sean McBride
to leverage the support I see in Preview/QuickLook in >my own apps? QuickLook has public API, "QLPreviewView" looks like what you want. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Going back to non-ARC

2015-06-12 Thread Sean McBride
tml> Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-dev mail

Re: iOS version check

2015-06-12 Thread Sean McBride
dation version is dubious. Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___

Re: iOS version check

2015-06-12 Thread Sean McBride
even if you didn’t set the rate explicitly.) It was just a bug >fix. Perhaps checking the generic system version is the only solution. Yes, I think so. I've had to fall back on that kind of check sometimes. Cheers, -- ________

Re: Language options: Objective-C, Swift, C or C++?

2015-06-15 Thread Sean McBride
that all support Obj-C thanks to it being in clang (otherwise those tools would only support C/C++ I'm sure). Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: recycleURLs with authorization

2015-06-17 Thread Sean McBride
at they've authorised its removal. You should look at the SMJobBless sample code, which I think is the current way to do things: <https://developer.apple.com/library/mac/samplecode/SMJobBless/Introduction/Intro.html> Cheers, -- ___

Back-to-back NSOpenPanel runModal blocking each other

2015-06-30 Thread Sean McBride
he new one is thus blocked. If I throw in a sleep(1) before showing a second one, things work as desired. Should what I'm trying to do work? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com

Re: Back-to-back NSOpenPanel runModal blocking each other

2015-06-30 Thread Sean McBride
e wrong thing. Thanks for the suggestions. The difficulty will be that this old code really requires the synchronous nature of runModal, as the found NSURL must be returned up to the calling function. Really I should get around to cleaning it all up one day... :) Cheers, -- ______

Re: Back-to-back NSOpenPanel runModal blocking each other

2015-06-30 Thread Sean McBride
On Tue, 30 Jun 2015 20:50:06 +, Quincey Morris said: >On Jun 30, 2015, at 13:41 , Sean McBride wrote: >> >> Calling orderOut: myself (right after runModal) doesn't actually order >the window out either. :( > >Is this app sandboxed? No. >If so, I wouldn’t ex

Re: NSManagedObject, NSString property retain vs copy

2015-08-01 Thread Sean McBride
ample code (I guess this is what the op is >talking about) use retain is dubious. This has long been a weakness in the Core Data ecosystem. Even mogenerator does not have an option to make things 'copy': <https://github.com/rentzsch/mogenerator/issues/41> I might take a

Re: Sharing Prefs between Main and Helper App

2015-08-16 Thread Sean McBride
y to do this for now. I know that initWithSuite works with App >Groups and sandbox…but again I don't want to be sandboxed just yet. I suspect initWithSuite works without App Sandbox too... Cheers, -- ________ Sean McBride, B. Eng

Re: Private Methods

2015-08-18 Thread Sean McBride
only a few conflicts over the years, in which case I rename. You can set the OBJC_PRINT_REPLACED_METHODS env var to help catch conflicts. Always a good idea with beta version of major OS releases. Cheers, -- ____ Sean McBride,

Re: Private Methods

2015-08-18 Thread Sean McBride
t start with underscore! Cheers, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada __

Re: "Format not a string literal and no format arguments"

2009-08-31 Thread Sean McBride
K (to add compiler decorations), anyone have any suggestions on how to rewrite this code to work with that warning? Thanks, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Get error message about registered observers when Object receives dealloc message

2009-08-31 Thread Sean McBride
atch this through static analysis: <http://www.karppinen.fi/analysistool/#dealloc-safety> -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software D

'auto rearrange content' option missing from NSTreeController, workarounds?

2009-09-01 Thread Sean McBride
ter inline editing, undo, redo, adding a new item, etc. Must I detect all types of things that require resorting and call rearrangeObjects? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: learning the NSView structure of an app?

2009-09-01 Thread Sean McBride
e all the views and their hierarchy >using color-coded border highlights. It's worth noting that -NSShowAllViews YES does not work with layer- backed views. -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Re

Finder-style sorting and the SQL Core Data store, best practice?

2009-09-01 Thread Sean McBride
veloper.apple.com/mac/library/documentation/Cocoa/ Conceptual/Strings/Articles/SearchingStrings.html> Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com

Re: saving files/folders in foreign language names

2009-09-01 Thread Sean McBride
usual things. But 'high-ASCII' filenames have been acceptable on the Mac for a very long time, and do work. -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-resea

Re: Finder-style sorting and the SQL Core Data store, best practice?

2009-09-01 Thread Sean McBride
subclassing NSArrayController, I'll leave that to people with >more UI-fu. > >+Melissa > > >On Sep 1, 2009, at 13:10, Sean McBride wrote: > >> Hi all, >> >> The "Troubleshooting Core Data" document discusses the FAQ "SQLite >> store &

Re: saving files/folders in foreign language names

2009-09-01 Thread Sean McBride
atever encoding the POSIX layer wants. Where is the problem? Are you worried about the encoding of text files passed to the compiler? Use UTF8. -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: Binding table columns that change at runtime

2009-09-04 Thread Sean McBride
ish and upwards). One way to do this is to create all the columns in IB and bind them all in IB. Then at runtime, programatically hide columns as needed. -- ________ Sean McBride, B. Eng s...@rogue-resea

Re: Show/Hide file extension issue in savePanel

2009-09-10 Thread Sean McBride
sionHidden" Perhaps that's what you're experiencing? >[panel setCanSelectHiddenExtension:YES]; The docs for this method should obviously be updated. Alas, this never seems to happen. Even stuff from the 10.5 Release Notes are not in the real docs (yet?). -- ___

Re: XC & IB 3.2 overlapping siblings

2009-09-10 Thread Sean McBride
cannot use XC3.2 unless I fix all these issues? This is an IB question, so should probably be on the Xcode list. But anyway, have you looked at Preferences > Alerts? -- ____ Sean McBride, B. Eng s...@rogue-res

Re: sprintf and 64-bit integers

2009-09-14 Thread Sean McBride
ey can help catch some of these problems. And valgrind would probably have caught this problem immediately. -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com M

Re: sprintf and 64-bit integers

2009-09-15 Thread Sean McBride
ction, he's also out of luck since valgrind does not support that either. -- Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal

Re: Overcoming crappiness of NSSplitView - what's the magic?

2009-09-15 Thread Sean McBride
;http://brandonwalkin.com/blog/videos/iCalSplitView.mov> -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Develop

Re: Filtering a table view using NSSearchField

2009-09-16 Thread Sean McBride
ath in the array controller that you want to >filter from. This worked for me. good luck! You might want to make that "myKeyPath contains[cd] $value" so that the search is also diacritic-insensitive, which is usually what you want. -- ____

Re: #pragma to suppress a warning message

2009-09-17 Thread Sean McBride
they are in the 10.6 SDK and properly annotated: - (id)initWithTimeIntervalSince1970:(NSTimeInterval)ti AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER; I'm not sure about [NSLocale preferredLanguages] though... -- ____ Sean McBride,

Re: Catch exception in NSArrayController

2009-09-17 Thread Sean McBride
simple way >to catch exceptions in the controller class which is thrown during >calling a get method (over binding mechanims)? What's this exception you speak of? Are you throwing or is the system? -- _

Re: Obtaining the application icon

2009-09-17 Thread Sean McBride
On 9/17/09 8:17 PM, Jean-Daniel Dupas said: >An other way is to use - [NSApplication applicationIconImage] If your app icon is badged then you probably don't want that icon in your alerts. -- ____ Sean McBride, B. Eng

Re: settings to build for 10.5 on 10.6?

2009-09-17 Thread Sean McBride
t's quite important to be able to build in that environment. Debugging via Rosetta is a pita. -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.

Re: What is the life of the c string returned by NSString's UTF8String method?

2009-09-18 Thread Sean McBride
I use this char* value in some C >calls made from instance methods of the class. It would be much safer to just call -UTF8String as needed. Or have you found that it is a bottleneck in your code? -- ________ Sean McBride, B. Eng

Re: CoreData SQL tracing...

2009-09-22 Thread Sean McBride
n the simulator. Perhaps you're thinking of "-com.apple.CoreData.SQLDebug 1" (passed as arguments to the app). -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-resea

Re: NSArrayController addObject or insertObject:atArrangedObjectIndex:

2009-09-22 Thread Sean McBride
is certainly less wrong than %@ but the most appropriate would be %lu. See: <http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/ Strings/Articles/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265> -- Sean McBride, B. E

Re: Core Data memory not freed after reset

2009-09-22 Thread Sean McBride
lazy fetching'? Or does 'auto-rearrange content' on its own degrade performance somehow? Thanks, -- ________ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.co

Re: Core Data memory not freed after reset

2009-09-22 Thread Sean McBride
rted when the user changes some string). My tables rarely have more that 10 rows though. I've not yet tried lazy fetching but am now forewarned. :) Thanks, -- Sean McBride, B. Eng s...@rogue-research.com Rogue Research

Re: [OT] Re: Creator Codes in Snow Leopard

2009-09-23 Thread Sean McBride
e amusing... Darwin-x86, hit-dev, MPW-dev! -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Software Developer Montréal, Québec, Canada ___ Cocoa-de

Re: Correct way to tell if a path is to a .bundle?

2009-09-25 Thread Sean McBride
ed that after a fresh OS install the Finder shows .xcodeproj packages as folders? That's why. -- ____ Sean McBride, B. Eng s...@rogue-research.com Rogue Researchwww.rogue-research.com Mac Softwar

  1   2   3   4   5   6   7   8   9   10   >