de signing.
>
> Let me see what I can look in to.
>
> Cheers,
> Alex Zavatone
>
>> On Mar 22, 2024, at 8:23 AM, Mark Allan via Cocoa-dev
>> wrote:
>>
>> Hi all,
>>
>> I'm trying to offer my users the option (via a pre-defined list in
Hi all,
I'm trying to offer my users the option (via a pre-defined list in my app's
Preferences) to choose an app icon which shows up in the Dock and the Finder.
Updating the Dock tile whilst the app is running is fairly simple to achieve,
but I also want the Dock icon and Finder icons to remai
I've held off upgrading for the same reason. I wonder if it's something to do
with a semantic difference between "is no longer supported" and "is no longer
possible". Maybe what they really mean is "if it appears to work, great, but we
can't guarantee it, and if it fails spectacularly, you're on
’s content to find
>> out what went wrong
>>
>> 2. Load the data into your text view. I’m not sure if there’s an API to do
>> that in a single step or not, dunno.
>>
>> I also note that your code explicitly is trying to read an RTFD which if
>> memory
>> Now that Alex has the answer to his problem, can I ask a follow-up question
>> based on this line in his initial email?
>>
>>> On 9 May 2021, at 1:12 am, Alex Zavatone via Cocoa-dev
>>> wrote:
>>> _configurationDictionary = [[NSMutableDictionary
>>> alloc]initWithDictionary:[NSDictiona
Hi,
Now that Alex has the answer to his problem, can I ask a follow-up question
based on this line in his initial email?
> On 9 May 2021, at 1:12 am, Alex Zavatone via Cocoa-dev
> wrote:
>_configurationDictionary = [[NSMutableDictionary
> alloc]initWithDictionary:[NSDictionary
> dict
Hi folks,
Some users are reporting a crash that I can't reproduce, and in an attempt to
gain additional diagnostics from a user, I wrapped the affected line in a
try/catch block. For two users it resolve the crash, but for a third, it's
still crashing at the same point!
The crash occurs when
Hi all,
I'm just wondering if anyone had had any thoughts on this issue? I never
actually got to the bottom of it.
Thanks
Mark
> On 15 Jun 2020, at 9:56 pm, Mark Allan wrote:
>
> Oops, sorry! I'm using Objective-C, targeting macOS 10.10+
>
>
>
>> On 15 J
Oops, sorry! I'm using Objective-C, targeting macOS 10.10+
> On 15 Jun 2020, at 9:41 pm, Alex Zavatone wrote:
>
> Platform?
>
>> On Jun 15, 2020, at 9:51 AM, Mark Allan via Cocoa-dev
>> wrote:
>>
>> Hi folks,
>>
>> I have an app wh
Hi folks,
I have an app which communicates with a privileged helper tool, and I used the
AuthorizationRightSet API to add the rights, requirements, and prompt strings
to the authorizationdb - as per Apple's documentation. As expected, this
initial call to "AuthorizationRightSet" does not promp
I have to say, I'd be surprised if this were possible. From a security point of
view, I can understand why Apple would want to prevent a screensaver from being
able to capture keystrokes.
> On 25 May 2020, at 11:34 pm, Michael Diehr via Cocoa-dev
> wrote:
>
>> On May 25, 2020, at 12:43 PM, Ga
Hi all,
I run a software company in the UK and we're looking to hire some full-time Mac
software developers to join our growing team in Edinburgh, Scotland on a
permanent basis. We'll be advertising for junior/mid-level, and senior
software engineer roles in all the usual places, but I've been
> On 13 Sep 2019, at 5:58 pm, Jens Alfke wrote:
>> They've pulled the same trick again with 10.15 but this time, the installer
>> for the headers is also missing meaning I'm unable to compile 3rd party
>> software using the command line tools because of missing headers like zlib
>> and libxml2
Hi all,
I was initially reluctant to post this here because of NDA concerns, but as
Google is surfacing Apple's developer forum pages (including the post below), I
figured I'm OK!
As most of you probably know, in 10.14 last year, Apple stopped installing
headers with the command line tools, bu
x27;s not a big issue.
Mark
> On 6 Sep 2018, at 12:39 pm, Mark Allan wrote:
>
> Hi All,
>
> I have an app with a privileged helper tool which needs full disk access in
> 10.14 Mojave.
>
> The privileged helper tool is (as you'd expect) a binary rather than an app
&
Hi All,
I have an app with a privileged helper tool which needs full disk access in
10.14 Mojave.
The privileged helper tool is (as you'd expect) a binary rather than an app
bundle, so it's not showing up when I press the plus (+) button in Security
& Privacy -> Privacy -> Full Disk Access. Neith
> ...By the way how did you end up with all those leading spaces at the
> begining of each line in your email.
>
> --Richard Charles
I know - I was on line four before I realised it wasn't a poem!! Have to say,
I thought it started rather well.
Mark
__
(sending again - the list was missed off the 'cc' in my reply)
> On 19 Oct 2017, at 6:19 pm, Jens Alfke <mailto:j...@mooseyard.com>> wrote:
>
>> On Oct 19, 2017, at 9:04 AM, Mark Allan > <mailto:markjal...@gmail.com>> wrote:
>>
>> Initial
> On 19 Oct 2017, at 6:05 pm, Quincey Morris
> wrote:
>
> On Oct 19, 2017, at 09:04 , Mark Allan <mailto:markjal...@gmail.com>> wrote:
>>
>> Terminating app due to uncaught exception 'NSInvalidArgumentException',
>> reason: '*** -[NSXPCE
Hi all,
I'm currently writing a Mac app which performs some lengthy process on some
data, and for a variety of reasons it needs to do this via privileged helper
tool.
The class which does the work sends progress updates periodically to its
delegate, which then communicates these back to the ma
for when I
venture into Swift!
> On 28 Jul 2017, at 6:57 pm, Quincey Morris
> wrote:
>
> On Jul 28, 2017, at 08:57 , Mark Allan <mailto:markjal...@gmail.com>> wrote:
>>
>> I have an app with a helper tool that performs some lengthy process in a
>> loo
Hi all,
I'm wondering if anyone has any thoughts about or links to best practices when
using determinate NSProgressIndicators.
I have an app with a helper tool that performs some lengthy process in a loop
and reports progress to the user. It works out how many iterations of the loop
will be n
Graham,
This happened to me a few months ago and it was driving me nuts until I
eventually figured out what was causing it (by trawling through all my git
commits around the time it started happening).
Have you added a sub-project, or a target-dependency recently? If so, check
that it has the
> On 5 Mar 2017, at 10:35 pm, Kyle Sluder wrote:
>
> On Fri, Mar 3, 2017, at 08:39 AM, Mark Allan wrote:
>> Hi all,
>>
>> I've got an NSWindow which has an NSToolbar added programmatically. The
>> window does not use a shared title/toolbar. I now want to
Hi all,
I've got an NSWindow which has an NSToolbar added programmatically. The window
does not use a shared title/toolbar. I now want to add a little bit of
text/button to the window's titlebar, so for OS X 10.6 to 10.9, I'm doing it
the old way playing around with NSWindow subviews, which wo
> On 22 Aug 2016, at 2:27 pm, Andreas Falkenhahn wrote:
>
> On 22.08.2016 at 13:34 Alastair Houghton wrote:
>
>
>>> On 22 Aug 2016, at 12:15, Andreas Falkenhahn wrote:
>>> Out of curiosity, I've just run a little test and compiled my app on the
>>> 10.11 system for the 10.11 target and tried
Hi all,
I have an application which installs and uses a privileged helper tool that,
for myself and most users, seems to work just fine.
I do, however, have one user (and experience tells me there'll be more who
simply aren't reporting it) who's experiencing my app crashing when
communicating
Have you tried to nice/renice your process ID? I know that works for CPU usage
but I'm not sure about other hardware resources.
A cursory glance at the man pages for getpriority & setpriority seem to
indicate that network and disk IO can be lowered in priority so I would try
that first to see i
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.co
Hi Damien,
Thanks for replying.
> On 23 Dec 2015, at 5:18 pm, Damien DeVille wrote:
>
>> Unfortunately, this gives me the exact same issue:
>
> How are you creating the other end of the connection? The remote port will
> just attempt to connect to the local port and not actually register the
Hi all,
I've got a an OS X application that needs to perform some privileged
operations, so I've written a privileged helper tool (PHT) and it all works
fine to call the necessary functions from my user-land application and get the
response.
What I'm struggling with is some additional communic
I know this is going slightly off-top (but it started off-topic for the list
anyway, so I don't feel too bad!)
I usually do the same, but how do you download all the videos? I just work
through them manually in iTunes - is there a quicker way?
Mark
On 19 Nov 2012, at 01:28, Alex Zavatone wro
On 30 Jul 2012, at 11:37, Mike Abdullah wrote:
> On 30 Jul 2012, at 10:48, Mark Allan wrote:
>> Thanks very much for the suggestion. I've just given that a try, but it
>> doesn't make any difference. The enumeration still stops early, but the
>> error handler b
you more detail about any errors that occur in
> the middle of the enumeration (and give you the ability to ignore them).
>
> -KP
>
> On Jul 27, 2012, at 9:44 AM, Mark Allan wrote:
>
>> Hi all,
>>
>> Apologies for asking a question which has been asked
Hi all,
Apologies for asking a question which has been asked many times before, but I
can't seem to find an answer to this particular one.
I'm trying to list a directory recursively to build up a snapshot of the
contents and store them in a core data DB, but keep running into issues with
the d
here that
> will help you around the 9 minute mark.
>
> Search for the 2011 WWDC videos on developer.apple.com
>
> GL,
> - Alex Zavatone
>
> On May 31, 2012, at 6:35 AM, Mark Allan wrote:
>
>> On 29 May 2012, at 15:42, Mark Allan wrote:
>>
>>> F
On 29 May 2012, at 15:42, Mark Allan wrote:
> For anyone following, using temporary entitlements only gets rid of two of
> the four errors, so I still can't make scheduling via launchd work.
>
> sandboxd still spits out:
> launchctl(14634) deny job-creation
>
&g
Other than rolling my own scheduling and writing a helper app which runs
constantly in the background, can anyone think of a way around this?
Thanks
Mark
On 29 May 2012, at 09:52, Mark Allan wrote:
> The inherited entitlements don't allow access to that file, so I'm seeing
>
On 29 May 2012, at 12:24, Stephane Sudre wrote:
> On Tue, May 29, 2012 at 10:52 AM, Mark Allan
> Hi all,
>>
>> I posted this to the developer forums yesterday but I think this list
>> probably gets a good bit more eyeball than the forum, so I'm sending here
>&g
Hi all,
I posted this to the developer forums yesterday but I think this list probably
gets a good bit more eyeball than the forum, so I'm sending here too. Sorry for
the cross-post if you're seeing it twice. Anyway...
I'm trying to put together the last bits and pieces of sandboxing my app bu
On 3 Feb 2011, at 00:36, Kyle Sluder wrote:
> On Wed, Feb 2, 2011 at 4:12 PM, Mark Allan
> wrote:
>>[consoleTextView replaceCharactersInRange:endRange
>> withString:newText]; /**/ crashes here
>
> You didn't call -shouldChangeTextInRange:replac
Hi all,
I've got an intermittent crash which occurs when adding an NSString to an
NSTextView in my app's main window. I very rarely experience the crash myself,
but a relatively high number of users have reported it to me.
It finally happened to me while running the app from Xcode tonight, so
This also works on a per-application basis. Just replace
NSGlobalDomain with your app's bundle identifier. For example, to
speed up sheets in Preview.app, use the following:
defaults write com.apple.preview NSWindowResizeTime .001
On 18 Jan 2010, at 11:53 pm, Warren Dodge wrote:
On Jan 1
On 2 Dec 2009, at 11:51 am, Gustavo Pizano wrote:
Hello, I know this has been asked, but the answers I have found on
internet even gave me a light of what to do, i still can't
accomplish what I want.
I subclassed NSTableHeaderView, NSTableHeaderCell, NSTableView then
I make the table he
On 27 Nov 2009, at 1:10 am, Dave Keck wrote:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
After a cursory reading of your code it looks like you're dealing with
a threading issue involving myItemList or imminentList. Your comment
mentions "We don't really care if imminentList changes because the
d
Hi folks,
I've got a section of code which crashes intermittently under 10.6 but
despite being enclosed in try/catch blocks, my app is still forced to
terminate. For what it's worth, all of the crash reports are from
10.6.x. My app seems to be rock solid when run under 10.4 and 10.5.
I
On 14 Sep 2009, at 1:59 pm, Jonathan Hendry wrote:
On Sep 13, 2009, at 19:28 PM, Paul Bruneau wrote:
The iMac is so much prettier plus can drive a second display.
Refurb store = $999 or even sometimes $849 ones show up.
The Mini can drive additional displays if you connect them through
USB
On 4 Sep 2009, at 12:04 am, Greg Parker wrote:
On Sep 3, 2009, at 3:41 PM, Mark Allan wrote:
I've been battling with this intermittent crash for about two weeks
now and can't figure it out for the life of me. I've got try/catch
blocks around nearly all my code, and defini
Hi all,
I've been battling with this intermittent crash for about two weeks
now and can't figure it out for the life of me. I've got try/catch
blocks around nearly all my code, and definitely around any code which
runs in a separate thread, but it's not catching whatever causes this
cras
I had the same problems with AppKiDo and eventually went back to
Apple's online docs too. They're definitely the most up-to-date
version you're going to find anywhere, and when you've got your own
way of using it, it works really well. I tend to keep the main
framework reference pages ope
Hello all,
I'm implementing something which requires me to perform various tasks
on a collection of files supplied by the user. I'd like to be able to
offer my users the ability to select a ".savedSearch" file and perform
those tasks on the files which result from that search.
What I'm d
On 16 Dec 2008, at 17:55, Dave wrote:
All I have done is to create an Installer with PackageMaker, but I
can't get it to installer a folder with the files in it.
Have you tried using the version of PackageMaker which comes with
Xcode 2.5? I'm probably in the minority here, but I find it muc
An easier way may be to get NSWorkspace to do the work for you using
the "openFile:" message.
http://tinyurl.com/NSWorkspace
Mark
On 13 Dec 2008, at 11:01, Mark Allan wrote:
Dennis,
You need to set the launch path of the executable within your NSTask
- currently you're p
Dennis,
You need to set the launch path of the executable within your NSTask -
currently you're passing /usr/bin/open as an argument to nothing.
There are two ways to do this: firstly, using the same logic you've
got below, you can have the launch path be a shell and pass /usr/bin/
open a
Gah I feel like such a numpty now! Yes, that's exactly where it's stored.
Thank you!
Mark
At 3:31 pm -0700 31/10/2008, Colin Barrett wrote:
Is it possible they're stored in Keychain?
-Colin
> Anyway, writing to the config file isn't a problem. My question
is how can I read the System pro
Hi all,
I've got an application which uses a third party command line tool to download
some files from the web. Unfortunately, the command line tool won't work with
a proxy server unless the proxy settings are written in clear text (ugly but
nothing I can do about that) in a config file. The
I've seen this happen *every* time in IB if the items in question are
within an NSView. It was driving me crazy for a while until I figured
out (completely by accident) that the order has to be reversed when
you're setting up the NIB/XIB file for it to work correctly.
It's a real PITA because
I've seen this happen *every* time in IB if the items in question are within an
NSView. It was driving me crazy for a while until I figured out (completely by
accident) that the order has to be reversed when you're setting up the NIB/XIB
file for it to work correctly.
It's a real PITA because
At 8:08 pm -0400 06/10/2008, David Melgar wrote:
Given that I don't have access to a ppc machine, sounds like I can't
test if it works.
Given that it's obviously a leopard only application, I'm not sure
if I should claim support for ppc and have a user complain if it
doesn't work, or drop the
> For what it's worth, the [sharedUserDefaultsController save:]
message is still
returning before performing the save, so if I send any other messages within
my savePrefs method, userDefaults will still contain the old value - I'm
beginning to wonder if this is a bug within NSUserDefaultsCont
I think I've fixed the the problem, thanks to an idea I had whilst reading
Oleg's "Bindings - newbie question" thread.
I've added a message within -init to bind my model's variable (theValue) to the
appropriate value (thevalue) within the standardUserDefaults dictionary
(myPrefs). Apologies fo
>> I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately
without waiting for the save operation to complete.
The save does actually take place,
On Sun, Aug 31, 2008 at 12:13 PM, Mark Allan
<[EMAIL PROTECTED]> wrote:
For what it's worth, I also get these compiler warnings for the line with
[sharedUserDefaultsController save:]
warning: multiple methods named '-save:' found
warning: using '-(void)save:(id)se
On 31 Aug 2008, at 17:25, Keary Suska <> wrote:
8/31/08 10:13 AM, also sprach:
I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately without waiti
Hi,
I've been playing around with bindings to NSUserDefaultsController in
a very simple app to test saving preferences, but the
[sharedUserDefaultsController save:self] method seems to return
immediately without waiting for the save operation to complete.
The save does actually take place, w
I've been searching, but I can't find the documentation explaining
how to include frameworks in your app bundle (third-party
frameworks, for example), so that your user does not have to
install these frameworks. Could someone point me at the correct
documentation/build settings? Thanks.
This
At 9:12 pm + 12/08/2008, Matt Keyes wrote:
How do I have an int as a value in a NSMutableDictionary object?
for example:
NSMutableDictionary *myDictionary = [NSMutableDictionary alloc];
int i = 1;
[myDictionary setValue:1 forKey:@"One"];
This causes a compiler warning:
"warning: passing
>Your idea of removing the
array from the equation also solves the leak and I suspect is more
efficient than creating and releasing a tonne of autorelease pools.
Really? Can you explain what "removing the array from the equation" has to
do with the memory behavior you're seeing? m.
No, sadly
On Fri, Aug 8, 2008 at 9:02 AM, Matt Neuburg <[EMAIL PROTECTED]> wrote:
On Thu, 7 Aug 2008 20:14:04 +0100, Mark Allan <[EMAIL PROTECTED]>
said:
Hi all,
Before I file a bug report against this, I just thought I'd check I'm
not being monumentally stupid first!
I'm
On Thu, 7 Aug 2008 20:14:04 +0100, Mark Allan <[EMAIL PROTECTED]>
said:
Hi all,
Before I file a bug report against this, I just thought I'd check I'm
not being monumentally stupid first!
I'm trying to animate my app's Dock icon, which works fine and looks
great, but
Which "options" argument are you talking about? I just do the
following and it works as advertised.
[[NSWorkspace sharedWorkspace]
performFileOperation:NSWorkspaceRecycleOperation
source:parentDirOfFile destination:@"" files:[NSArray
arrayWithObject:@"fileName"] tag:nil]
The only slightly
Hi all,
Before I file a bug report against this, I just thought I'd check I'm
not being monumentally stupid first!
I'm trying to animate my app's Dock icon, which works fine and looks
great, but unfortunately, it appears to leak memory like crazy.
Every time I call [NSApp setApplicationIconI
72 matches
Mail list logo