leKey.
Cheers,
--
________
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
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...@
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
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
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-
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
//
//
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
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,
--
_
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
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
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
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
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
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
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
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
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
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
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
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
"bookmarks". See NSURL's
bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:.
Cheers,
--
________
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-
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
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
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
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
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.
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
not done by now.
Cheers,
--
________
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Montréal
.
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
th laptops...
Cheers,
--
____
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer Mon
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
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
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,
--
_______
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
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.
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
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,
--
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
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
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
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
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,
--
__
- 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
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
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
__
()
-[MyObjectController removeObserver:forKeyPath:context:]
-[MyView unbind:]
...
Odd that NSObjectController removeObserver:forKeyPath:context: calls
removeObserver:forKeyPath:, no?
Any clues would help... :)
Thanks,
--
________
Sean McBride, B
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
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
you can "fix" the bug
Cheers,
--
________
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Developer
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
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
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
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
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
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
___
-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
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
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
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
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
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,
--
______
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
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
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
___
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,
--
________
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
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,
--
___
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
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,
--
______
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
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
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
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,
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
__
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
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
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
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
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
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
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
&
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
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
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?).
--
___
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
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
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
;http://brandonwalkin.com/blog/videos/iCalSplitView.mov>
--
________
Sean McBride, B. Eng s...@rogue-research.com
Rogue Researchwww.rogue-research.com
Mac Software Develop
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.
--
____
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,
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?
--
_
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
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.
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
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
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
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
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
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
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 - 100 of 1139 matches
Mail list logo