Re: Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
what it's worth, it looks like NSWorkspace does simply mimic pasting a new icon in via Get Info - I can certainly clear it out from there. Thanks and sorry for the noise. Mark > On 22 Mar 2024, at 2:05 pm, Alex Zavatone wrote: > > That’s a great idea. > > For a Mac app, I sup

Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
? The folks at Panic have managed to do it with Nova, so it must be possible, I just can't figure it out. Thanks Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Xcode 14 minimum deployment target

2022-10-28 Thread Mark Allan via Cocoa-dev
ils spectacularly, you're on your own"? Mark > On 28 Oct 2022, at 12:08 pm, Eyal Redler via Cocoa-dev > wrote: > > Could be, but I just found in the xcode 14 release notes: > >• Building for deployment to OS releases older than macOS 10.13, iOS 11, > tvOS

Re: Exception not being caught in try statement

2021-05-12 Thread Mark Allan via Cocoa-dev
https://openradar.appspot.com/FB8930278> ) so I'm just posting this here in case it helps anyone else in the future. Best regards, Mark > On 29 Mar 2021, at 7:01 pm, Martin Wierschin via Cocoa-dev > wrote: > > Breaking the RTFD loading process down into subtasks is a good i

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-10 Thread Mark Allan via Cocoa-dev
st likely the OP has just gone with what reads most conveniently to them... OK, thanks. So it's literally just personal preference then. I did wonder if that might be the case, but figured I'd ask the question. It reminds me of my perl days - TMTOWTDI Cheers Mark ___

Re: How do you handle reading a plist if it may be an array or a dictionary?

2021-05-10 Thread Mark Allan via Cocoa-dev
g fewer objects and messages) but I suppose it's possible the compiler ends up optimising them all to be the same anyway? Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Exception not being caught in try statement

2021-03-26 Thread Mark Allan via Cocoa-dev
ppHere+ 227495 > 17 AppKit 0x7fff230af7fd > -[NSApplication(NSResponder) sendAction:to:from:] + 283 > 18 AppKit 0x7fff231b2611 -[NSMenuItem > _corePerformAction] + 413 Any ideas what's going on? Other than the fi

Re: Updating localised auth-prompt strings

2020-07-14 Thread Mark Allan via Cocoa-dev
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 Jun 2020, a

Re: Updating localised auth-prompt strings

2020-06-15 Thread Mark Allan via Cocoa-dev
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 which c

Updating localised auth-prompt strings

2020-06-15 Thread Mark Allan via Cocoa-dev
iving me much to go on. Many thanks Mark ___ 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

Re: Screensaver can capture mouse events under Catalina

2020-05-25 Thread Mark Allan via Cocoa-dev
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,

[Slightly OT] Cocoa developer job ad

2019-11-20 Thread Mark Allan via Cocoa-dev
directly and I'll send over some more details. Cheers Mark PS. I've been on here long enough to know that such requests are supposed to go to the list admins first, but the email address cocoa-dev-admins(at)lists.apple.com just bounces back with "User un

Re: NSMenuItem : acceptsFirstMouse(forEvent: NSEvent)

2019-09-25 Thread Mark Wade via Cocoa-dev
Had to override acceptsFirstMouse in NSDatePicker not NSMenuItem. Works, still doesn’t highlight the fields when selected but works. Guess I’ll figure it out. Would like to know what is different when run directly and when run from Xcode though > On Sep 24, 2019, at 1:23 PM, Mark Wade

NSMenuItem : acceptsFirstMouse(forEvent: NSEvent)

2019-09-24 Thread Mark Wade via Cocoa-dev
can’t override the NSMenuItem view variable, if I set the view to my subclass and then set the view to the datepicker, it’s not my subclass anymore. I’ve been over and over this and I’m just not getting it. A clue, a pointer, an example, anything would be appreciated. — Mark

Re: 10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
etup though, as I never had to do that in the past. Regardless, it's working now, so I'm happy. Thanks Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mode

10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
to compile 3rd party software using the command line tools because of missing headers like zlib and libxml2. Does anyone know where to get them for macOS 10.15 Catalina? They're not on https://developer.apple.com/download/more/ Thanks Mark

Re: Mojave Privileged Helper Tool - full disk access

2018-09-07 Thread Mark Allan
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 > bundle, so it's

Mojave Privileged Helper Tool - full disk access

2018-09-06 Thread Mark Allan
help would be greatly appreciated. Many thanks Mark ___ 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/Unsubscr

Re: Xcode Versions

2018-01-22 Thread Mark Allan
> ...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

Re: Problem using NSTimer in privileged helper tool

2017-10-20 Thread Mark Allan
(sending again - the list was missed off the 'cc' in my reply) > On 19 Oct 2017, at 6:19 pm, Jens Alfke <j...@mooseyard.com > <mailto:j...@mooseyard.com>> wrote: > >> On Oct 19, 2017, at 9:04 AM, Mark Allan <markjal...@gmail.com >> <mailto:markjal...

Re: Problem using NSTimer in privileged helper tool

2017-10-20 Thread Mark Allan
> On 19 Oct 2017, at 6:05 pm, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Oct 19, 2017, at 09:04 , Mark Allan <markjal...@gmail.com > <mailto:markjal...@gmail.com>> wrote: >> >> Terminating app due to uncaught excep

Problem using NSTimer in privileged helper tool

2017-10-19 Thread Mark Allan
suggestions. Many thanks Mark ___ 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

Re: Best practice with NSProgressIndicator

2017-07-28 Thread Mark Allan
ough, I'll keep that bookmarked for when I venture into Swift! > On 28 Jul 2017, at 6:57 pm, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Jul 28, 2017, at 08:57 , Mark Allan <markjal...@gmail.com > <mailto:markjal...@gmail.com>> wrote: >>

Best practice with NSProgressIndicator

2017-07-28 Thread Mark Allan
are all related to people's progress bars not updating properly because they're blocking the main thread etc. I can't see anything related to best practice. Many thanks Mark PS. It could be that this is a case of premature optimisation...but I don't think so

Re: Why is XCode suddenly doing this?

2017-06-23 Thread Mark Allan
wise/supported but I haven't experienced any issues with all the archives I had to change. Obviously your mileage may vary (and blah blah something about backup blah) but I changed mine so that all archives were in the same correct place. Mark > On 23 Jun 2017, at 5:19 am, Graham Cox <gra

Re: Issue with addTitlebarAccessoryViewController on 10.10

2017-03-06 Thread Mark Allan
> On 5 Mar 2017, at 10:35 pm, Kyle Sluder <k...@ksluder.com> 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/tool

Issue with addTitlebarAccessoryViewController on 10.10

2017-03-03 Thread Mark Allan
eeing junk in the log about adding an unknown subview, but I'd rather avoid that if possible! Would appreciate any help. Many thanks Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Running apps compiled for newer OS X versions on older versions (rant)

2016-09-05 Thread Mark Allan
utomatically set their deployment target to that of the project's main target. If you're careful, there's no reason why you can't create and compile something on 10.11 and have it run happily on 10.6 (or even further back if you're feeling adventurous!) Mark _

Communication with privileged helper crashes my main application

2016-07-18 Thread Mark Allan
experienced this? If so, do you have any suggestions please? Many thanks Mark ___ 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

Re: Prioritize my own app's disk access

2016-07-05 Thread Mark Allan
see if it also works to increase priority. Mark > On 5 Jul 2016, at 1:36 pm, Jonathan Taylor <jonathan.tay...@glasgow.ac.uk> > wrote: > > This is a long shot, but I thought I would ask in case an API exists to do > what I want. One of the roles of my code i

Re: Very basic need, very difficult to achieve.

2016-05-04 Thread Mark Allan
___ 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:

Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
tried, and the search on CocoaBuilder.com isn't working. Am I missing something? Is there a way to do what I'm looking for, or am I just barking up the wrong tree entirely? Thanks Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do n

Re: Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
hed by launchd, however if I add the MachService name to the plist, won't that mean the connection is going the wrong way? I want the GUI to listen for connections from the helper tool. Thanks again Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
On 03 Jun 2015, at 19:54, Alex Zavatone z...@mac.com wrote: On Jun 3, 2015, at 2:30 PM, Mark Wright wrote: The only potential problem is ivars that don’t have the leading underscore. My project has 377 of them. All named the same as the property, if there is a property to begin

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
That’s a ‘Class Extension’. Furthermore, it’s under the title Class Extensions Extend the Internal Implementation”. It also mentions that it goes in the @implementation block… On 03 Jun 2015, at 15:11, Alex Zavatone z...@mac.com wrote: Apple's Programming with Objective-C reference

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
out of the class @interface and (if still needed) into the @implementation or class extension. There’s a clang warning that can be enabled to help you if desired: -Wobjc-interface-ivars Le 3 juin 2015 à 17:15, Mark Wright blue.bucon...@virgin.net a écrit : Sorry, yes, I misread

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/ProgrammingWithObjectiveC.pdf On Jun 3, 2015, at 10:22 AM, Mark Wright wrote: That’s a ‘Class Extension’. Furthermore, it’s under the title Class Extensions Extend the Internal Implementation”. It also

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
On 03 Jun 2015, at 17:08, Alex Zavatone z...@mac.com wrote: One point I haven't looked at is, if @properties are declared within the @implementation or the class extension, are they private? And if so, shouldn't they be preceded with an underscore and in that case, what does that

Re: Understanding the declaration of instance variables in the interface is deprecated warning.

2015-06-03 Thread Mark Wright
On 03 Jun 2015, at 18:59, Uli Kusterer witness.of.teacht...@gmx.net wrote: On 03 Jun 2015, at 19:09, Alex Zavatone z...@mac.com wrote: On Jun 3, 2015, at 12:59 PM, Uli Kusterer wrote: So you're not supposed to use the underscore convention even for your private ivars, as Apple could add

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Mark Wright
I’m afraid I may not be too helpful here because in my case I’m not using an NSTextView, rather mine is a custom view that displays text in various ‘cells’ so I had to implement the full textFinderClient protocol and build a corpus of searchable text for it to query against. On 14 Apr 2015,

Re: How to convert a UTF-8 byte offset into an NSString character offset?

2014-05-06 Thread Mark Munz
://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Non-breaking hyphen in UILabel?

2014-01-24 Thread Mark Woollard
hyphenated words unbroken and assign to the labels attributedText property. Wrapping is property of NSParagraphStyle, set with NSParagraphStyleAttributeName attribute on the string. Regards Mark On 24 Jan 2014, at 07:59, Rick Mann rm...@latencyzero.com wrote: I have a UILabel that breaks lines

Re: NSTextView - stopping conversion of quotation marks

2013-11-12 Thread Mark Munz
%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: SKIndexAddDocument crashing

2013-11-08 Thread Mark Wright
FWIW it crashes on mine too (not too surprising, same Xcode and OS). It doesn’t crash if you replace the crashing line with: SKIndexAddDocumentWithText(searchIndexFile, doc, NULL, false); I don’t know if that’s any use to you (never used the framework). I think it’s failing because it’s

Re: NSTextView without word wrap

2013-10-16 Thread Mark Wright
Shouldn't that be: - (BOOL) wrapsLines { return ![self isHorizontallyResizable]; } Otherwise if you set it to YES the getter will return NO because of the [self setHorizontallyResizable: !wraps] line in the setter? On 16 Oct 2013, at 06:55, Jens Alfke wrote: On Oct 12, 2013, at 2:42

Re: 64-bit iOS

2013-09-12 Thread Mark Munz
are quite familiar with this: 24-bit-32-bit, 68K-PPC, Mac OS 8-OS X, PPC-Intel, Carbon-Cocoa, 32bit-64-bit (on Intel), QuickTime - AVFoundation. I'm sure I missed a few there. A few years from now you'll wonder how we ever managed to write software in a tiny 32-bit world. -- Mark Munz unmarked

Re: 32bit vs 64bit and QuickTime/AVFoundation

2013-09-09 Thread Mark Munz
for the past. That means moving to 64-bit apps as quickly as possible. My guess, 32-bit frameworks will go away in the not too distant future, see: 68K code PPC code, Carbon APIs, etc. Mark On Mon, Sep 9, 2013 at 12:56 PM, Trygve Inda cocoa...@xericdesign.comwrote: I have a helper tool that needs

NSDraggingInfo protocol, -slideDraggedImageTo: hair-pulling woes

2013-07-24 Thread Mark Wright
Hi all, Has anyone, anywhere, ever, gotten -slideDraggedImageTo: to actually work as described in the docs or otherwise do anything at all? The docs lay it out in black and white: Slides the image to a specified location. - (void)slideDraggedImageTo:(NSPoint)aPoint Parameters aPoint A

Re: NSWorkspace launchApplicationAtURL:options:configuration:error cannot launch a app

2013-05-11 Thread Mark Munz
behavior has changed since it was introduced. And there are inconsistencies between the versions of the OS, which can make sandboxing supporting older versions of OS X tricky. Mark On Fri, May 10, 2013 at 11:54 PM, Andy Lee ag...@mac.com wrote: On May 10, 2013, at 10:50 PM, Zhuang Xu stron

Re: Providing a Service without activating an app

2013-04-05 Thread Mark Munz
the second approach. Mark On Thu, Apr 4, 2013 at 5:02 AM, Uli Kusterer witness.of.teacht...@gmx.netwrote: I wrote CodingService a while ago ( http://the-void-software.com/codingservice/), and as far I can see from a quick glance at the sources, all a .service is, is a faceless background

Re: Disable iCloud as a save destination

2013-03-07 Thread Mark Munz
this document is in an export-only format and can be saved, but not displayed or edited. Give the user some visible option (button?) to save it to another location. Not the most elegant solution, but should prevent the black hole scenario. Mark On Thu, Mar 7, 2013 at 4:12 PM, Graham Cox graham

Re: Is CoreData on iOS ready for prime time for serious work?

2013-02-13 Thread Mark Woollard
. Regards Mark On 14 Feb 2013, at 07:34, Laurent Daudelin laur...@nemesys-soft.com wrote: I just added CoreData to an app I'm working on. I've been working with CoreData for about a year, not exclusively but pretty regularly so I think I'm experienced enough to set it up properly. However, our

Re: NSUserUnixTask and the sandbox

2012-11-30 Thread Mark Munz
cannot use NSUserScriptTask for scripts inside your bundle and need to stick with NSTask. Session 206 from the WWDC 2012 videos covers this in much better detail. Mark On Fri, Nov 30, 2012 at 12:10 AM, jonat...@mugginsoft.com jonat...@mugginsoft.com wrote: Has anyone much experience

Re: WWDC videos vs. slides?

2012-11-19 Thread Mark Allan
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 z

Re: Harnessing Perl Scripts within a Project

2012-11-06 Thread Mark Aufflick
that to become a productive Cocoa developer anyway). Take a look at perlcall and perlembed http://perldoc.perl.org/perlcall.html http://perldoc.perl.org/perlembed.html and feel free to ping me with any questions. -- Mark Aufflick http://mark.aufflick.com/about/contact http://pumptheory.com/about

Re: CALayer still has no constraints on iOS

2012-11-06 Thread Mark Aufflick
And not even custom layout managers. I can imagine not having wanted to support the constraint layout originally for performance reasons, but custom layout managers are going to be exactly the same overhead as fully custom code, but nicely abstracted and consistent. -- Mark Aufflick http

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Mark Munz
. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com

Re: Problem enumerating a directory

2012-07-30 Thread Mark Allan
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 markjal...@blueyonder.co.uk wrote: Hi all, Apologies for asking a question which has been asked many times before, but I can't seem to find an answer

Re: Problem enumerating a directory

2012-07-30 Thread Mark Allan
On 30 Jul 2012, at 11:37, Mike Abdullah cocoa...@mikeabdullah.net 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 block doesn't

Problem enumerating a directory

2012-07-27 Thread Mark Allan
/Users/mark, it works for a while, but then sometimes it forgets to add /Users/mark and starts scanning directories at the root of my HD! Hard coding the C string works perfectly but obviously isn't an option. -(void) scan: (char *)theDir{ struct dirent **namelist; int n

Re: Sharing a file between Mac and iOS

2012-07-19 Thread Mark Munz
/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: Write Finder plugin

2012-07-13 Thread Mark Munz
://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

Re: Quit helper app when main app terminates

2012-07-12 Thread Mark Munz
to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ 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

Re: Quit helper app when main app terminates

2012-07-12 Thread Mark Munz
2012 10:54:13 -0700, Mark Munz said: If you're on 10.6 or later: - (void)applicationWillTerminate:(NSNotification *)aNotification { NSRunningApplication* helperApp = [NSRunningApplication runningApplicationsWithBundleIdentifier:@bundle.id]; [helperApp terminate]; } Although rare

Re: Sandboxing and calling Launchctl

2012-06-01 Thread Mark Allan
process it forked also gets terminated doesn't it? Mark On 1 Jun 2012, at 02:30, Alex Zavatone wrote: If you haven't watched the video for Session 204 - App Sandbox and the Mac App Store from the WWDC 2011 videos, there might be some info in there that will help you around the 9 minute mark

Re: Sandboxing and calling Launchctl

2012-05-31 Thread Mark Allan
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 and Xcode/run log still gives

Sandboxing and calling Launchctl

2012-05-29 Thread Mark Allan
but I've just hit a problem. I don't appear to be able to use launchctl to schedule tasks any more. With my app sandboxed, I'm launching an NSTask with the following launch path and arguments: /bin/launchctl load -w /Users/mark/Library/Containers/my app identifier/Data/Library/LaunchAgents

Re: Sandboxing and calling Launchctl

2012-05-29 Thread Mark Allan
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 too. Sorry for the cross-post if you're

Re: Sandboxing and calling Launchctl

2012-05-29 Thread Mark Allan
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 this from sandboxd

Re: WWDC

2012-04-25 Thread Mark D. Gerl
Incorrect. Moscone West Conference Center is not same venue as North/South Convention Center. Apple sells to Fire-Marshall capacity of the venue. Mark Sent from my iOS device On Apr 25, 2012, at 1:45 PM, Rob Ross rob.r...@gmail.com wrote: Java One regularly had 15,000 in its heyday

Problem with Scripting Bridge under Snow Leopard

2012-04-07 Thread Mark Munz
be able to use the bridge under 10.6? Did the scripting bridge change between SL and Lion? Am I missing something that's needed under SL, but not under Lion? I appreciate any help with this. Mark -- Mark Munz unmarked software http://www.unmarked.com

Re: creating a favorites bar

2012-03-19 Thread Mark Munz
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.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http

Re: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion

2012-02-22 Thread Mark Munz
to afraid to just come out and say it, but instead used internal tracking option for the same effect. Mark On Fri, Feb 17, 2012 at 10:30 AM, Patrick Robertson robertson.patr...@gmail.com wrote: I've also filed a bug at least 3 months ago, and it appears Apple have been ignoring it. I have come

Re: Difficulty Calling NSTableView's validateDrop: Method for Unit Testing

2012-02-07 Thread Mark Szymczyk
I found a solution. The solution was to create a second mock object that implements the NSTableViewDataSource protocol and use that mock object to call validateDrop:. Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Difficulty Calling NSTableView's validateDrop: Method for Unit Testing

2012-02-06 Thread Mark Szymczyk
examples on how to write a validateDrop: method to handle drag and drop in my code. I didn't find any examples of calling validateDrop:. Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Predicate search across Core Data entities.

2012-02-01 Thread Mark Woollard
to the entity to display. Mark On 1 Feb 2012, at 22:39, David Delmonte wrote: Hello Everyone! I am trying to understand if it's possible (and then how to do it) to employ a UISearchBar to find data that cuts across core data entities. I have a model that basically has one mainEntity

Re: Full-Height Toolbar Item

2012-01-28 Thread Mark Alldritt
). Done: 10770991 Cheers -Mark ___ 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

Full-Height Toolbar Item

2012-01-26 Thread Mark Alldritt
and NSToolbarItem definitions don't appear to make this possible, but perhaps there is something I've overlooked. Thanks -Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: My services in my own app

2012-01-16 Thread Mark Munz
will fix them, maybe by the time Mac OS XIII comes out (it took ~10 years for Apple to take a look at issues in Services dating back to 10.0). Mark On Mon, Jan 16, 2012 at 1:10 PM, Georg Seifert georg.seif...@gmx.de wrote: Yes, I’m on Snow Leopard. I just had a another look at the specs

Re: My services in my own app

2012-01-15 Thread Mark Munz
into your app to do whatever task you need it to do. Mark On Sun, Jan 15, 2012 at 9:09 AM, Georg Seifert georg.seif...@gmx.de wrote: Hi, My app registers some services and they work just fine. Only if I invoke then from within the same application, the app hangs. I tried with other apps

What makes OS X generate a hang report?

2012-01-11 Thread Mark Woods
Does anyone know the criteria OS X uses to determine an application has hung? The reason I ask is that I've seen lots of inconsistencies. For example, OS X will kill a process and show the log if it hangs for 5 seconds, other times less than 1 second (is this even counted as a hang?) and

Re: What makes OS X generate a hang report?

2012-01-11 Thread Mark Woods
Thanks Jean. According to this article all QTMovie objects must be created on the main thread: http://developer.apple.com/library/mac/#technotes/tn2138/_index.html Mark. On Jan 11, 2012, at 1:48 PM, Jean Suisse wrote: Hi ! Well, I am no expert, so I can't answer your question. But I do

Re: Updating an app's help

2011-12-15 Thread Mark Munz
://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Mark Munz
Subscription: http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Any success with SMLoginItemSetEnabled?

2011-11-07 Thread Mark Munz
comes. Mark -- Mark Munz unmarked software http://www.unmarked.com/ ___ 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

Re: Sandboxing disallows AppleEvents?

2011-11-03 Thread Mark Munz
that kind of functionality has made Windoze such a security hole forever, but there are so many Mac applications that depend on being able to send AppleEvents, especially within a suite of applications (all from the same vendor). Is there no facility for doing this? Thanks, -- Mark Munz

Re: Future for Mac applications

2011-10-31 Thread Mark Munz
to use the sandbox, it quickly becomes a hindrance both in making your app available and supporting things like iCloud. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Future for Mac applications

2011-10-31 Thread Mark Munz
support from Apple to enable me to sandbox it without losing significant functionality. On Mon, Oct 31, 2011 at 8:40 PM, Mark Munz unmar...@gmail.com wrote: On Mon, Oct 31, 2011 at 12:11 PM, Sean McBride s...@rogue-research.com wrote: It's also worth remembering that the Mac App Store

Re: 'Customize Toolbar...' menu item disabled

2011-10-16 Thread mark
On Oct 15, 2011, at 3:47 PM, mark wrote: I have a nib based toolbar in a window. I have set the customise toolbar flag to YES (in IB and programmatically). I have set the View menu items 'Customise Toolbar...' and 'Hide/Show Toolbar' to the first responder as directed

'Customize Toolbar...' menu item disabled

2011-10-15 Thread mark
in the window and all the toolbar items work as expected. How do I get the menu items enabled? What am I missing? Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

Re: using AppKit additions in background threads

2011-09-06 Thread Mark Munz
...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ 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

Re: using AppKit additions in background threads

2011-09-06 Thread Mark Munz
PM, Michael Thon m...@michaelrthon.com wrote: On Sep 7, 2011, at 4:22 AM, Glenn L. Austin wrote: I would ship the files pre-converted. If I could do that I wouldn't have any of these problems in the first place.   The app is converting users' documents. On Sep 6, 2011, at 4:29 PM, Mark Munz

Re: rightMouseDown: never called in NSView subclass

2011-08-26 Thread Mark Munz
-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev

Re: rightMouseDown: never called in NSView subclass

2011-08-26 Thread Mark Munz
to it by NSToolbarView without that little hack. I could, as you said, circumvent NSToolbar completely, but when a view is placed outside of the toolbar, it disappears when Lion goes into fullscreen mode. I don't know if this is a bug or intended behaviour. On 2011-08-26, at 12:03 AM, Mark Munz wrote

Re: NSTableView: move rows through drag and drop?

2011-08-10 Thread Mark Munz
your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com This email sent to unmar...@gmail.com -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Debugger() and iOS

2011-07-13 Thread mark
Is the Debugger() function supported in iOS? (This is for testing purposes only.) I get a 'Symbol not found' error from the linker. What framework do I have to include? If not, is there an equivalent? Mark TIA ___ Cocoa-dev mailing list (Cocoa-dev

What is returned from CFLocaleGetSystem?

2011-07-06 Thread Mark Schisler
CFLocaleGetSystem returns the root, canonical locale, which contains fixed backstop settings for all locale information. Clearly, this appears to be something different from the current user locale. My question is: is this a valid locale for anything? What is its use-case? Thanks in advance! Mark

How to tell if NSServices launched my app

2011-07-01 Thread Mark Munz
Is there any way to know (at app startup) if my app's launch was initiated because a user invoked one of my NSServices items? Any insight into this would be much appreciated. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev

Re: TransformProcessType() still doesn't show menu (Bug ID# 5905139)

2011-05-27 Thread Mark Munz
that I've found. But, IMHO, it is also the ugliest approach. I really hope Apple just fixes this issue once and for all. Mark On Fri, May 27, 2011 at 11:01 AM, Jerry Krinock je...@ieee.org wrote: Thank you, Jim.  Unfortunately your workaround doesn't work in my app either. I presume it will work

Re: No more .ibplugins in Xcode 4, so now what...?

2011-05-13 Thread Mark Munz
release. It is harder to use, less flexible, completely un-extendable, and I've yet to see any real benefit from this change as a developer. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

  1   2   3   4   >