Re: Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
e script to workaround it. For 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 gre

Setting app icon in NSWorkspace

2024-03-22 Thread Mark Allan via Cocoa-dev
is please? 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 t

Re: Xcode 14 minimum deployment target

2022-10-28 Thread Mark Allan via Cocoa-dev
t, and if it fails 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,

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

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
! > Most 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
e being 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 th

Exception not being caught in try statement

2021-03-26 Thread Mark Allan via Cocoa-dev
MyAppHere 0x000105fa18a7 MyAppHere+ 227495 > 17 AppKit 0x7fff230af7fd > -[NSApplication(NSResponder) sendAction:to:from:] + 283 > 18 AppKit 0x7fff231b2611 -[NSMenuItem > _corePerform

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 J

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 wh

Updating localised auth-prompt strings

2020-06-15 Thread Mark Allan via Cocoa-dev
ue, but web searches and StackOverflow aren't giving 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-

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, Ga

[Slightly OT] Cocoa developer job ad

2019-11-20 Thread Mark Allan via Cocoa-dev
ease get in touch with me 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 j

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
definitely changed with the dev-tools setup 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 o

10.15 command line tools headers missing

2019-09-13 Thread Mark Allan via Cocoa-dev
ning I'm unable 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/do

Re: Mojave Privileged Helper Tool - full disk access

2018-09-07 Thread Mark Allan
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 &

Mojave Privileged Helper Tool - full disk access

2018-09-06 Thread Mark Allan
mitted access to the full disk. Any 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-

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 r

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 <mailto:j...@mooseyard.com>> wrote: > >> On Oct 19, 2017, at 9:04 AM, Mark Allan > <mailto:markjal...@gmail.com>> wrote: >> >> Initial

Re: Problem using NSTimer in privileged helper tool

2017-10-20 Thread Mark Allan
> 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

Problem using NSTimer in privileged helper tool

2017-10-19 Thread Mark Allan
and feels like it would be the wrong way round! Grateful for any 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

Re: Best practice with NSProgressIndicator

2017-07-28 Thread Mark Allan
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

Best practice with NSProgressIndicator

2017-07-28 Thread Mark Allan
y problems/solutions I can see 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 p

Re: Why is XCode suddenly doing this?

2017-06-23 Thread Mark Allan
be 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

Re: Issue with addTitlebarAccessoryViewController on 10.10

2017-03-06 Thread Mark Allan
> 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

Issue with addTitlebarAccessoryViewController on 10.10

2017-03-03 Thread Mark Allan
uld just have to put up with seeing 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 a

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

2016-09-05 Thread Mark Allan
get 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 ___ Co

Communication with privileged helper crashes my main application

2016-07-18 Thread Mark Allan
going wrong. Has anyone else 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 mod

Re: Prioritize my own app's disk access

2016-07-05 Thread Mark Allan
st to see if it also works to increase priority. Mark > On 5 Jul 2016, at 1:36 pm, Jonathan Taylor > 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 is to record video to disk as it is > receive

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: https://lists.apple.co

Re: Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
nchd, 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.app

Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
dn't turn up anything I hadn't already 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 ___ C

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 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

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 wrote: > > On 03 Jun 2015, at 19:09, Alex Zavatone 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 secret stuff to NSObject or

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 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 make the

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

2015-06-03 Thread Mark Wright
of moving ivars 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 a écrit : > >> Sorry, yes, I misr

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

2015-06-03 Thread Mark Wright
ossible to use a class extension to add custom instance >>> variables. These are declared inside braces in the class extension >>> interface." >>> >>> So, I don't know how you see that it goes in the @implementation block >>> since

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 wrote: > > Apple's Programming with Objective-C reference document © 2

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, a

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

2014-05-06 Thread Mark Munz
rs 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: 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 wrote: > I have a UILabel that breaks lines if the text gets too l

Re: NSTextView - stopping conversion of quotation marks

2013-11-12 Thread Mark Munz
derator 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 so

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 not

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:4

Re: 64-bit iOS

2013-09-12 Thread Mark Munz
n you're the *last* 32-bit app on a 64-bit system. And welcome to the world of Apple transitions. Long time Apple developers 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&

Re: 32bit vs 64bit and QuickTime/AVFoundation

2013-09-09 Thread Mark Munz
future and less 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 wrote: > I have a helper tool tha

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 p

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

2013-05-11 Thread Mark Munz
oxing 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 wrote: > On May 10, 2013, at 10:50 PM, Zhuang Xu wrote

Re: Providing a Service without activating an app

2013-04-05 Thread Mark Munz
te). I use the second approach. Mark On Thu, Apr 4, 2013 at 5:02 AM, Uli Kusterer wrote: > 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 > app

Re: Disable iCloud as a save destination

2013-03-07 Thread Mark Munz
indicating 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 wrot

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

2013-02-13 Thread Mark Woollard
hope this helps. Regards Mark On 14 Feb 2013, at 07:34, Laurent Daudelin 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

Re: NSUserUnixTask and the sandbox

2012-11-30 Thread Mark Munz
s you 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 wrote: > Has anyone much experience with NSUserUnixTask to run

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 Zav

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: Harnessing Perl Scripts within a Project

2012-11-06 Thread Mark Aufflick
27;re going to want 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 htt

Re: App rejection due to app-sandboxing invalid entitlement

2012-11-01 Thread Mark Munz
bscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/cocoa-dev/erik.stainsby%40roaringsky.ca >> >> This email sent to erik.stain...@roaringsky.ca > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple

Re: Problem enumerating a directory

2012-07-30 Thread Mark Allan
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

Re: Problem enumerating a directory

2012-07-30 Thread Mark Allan
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

Problem enumerating a directory

2012-07-27 Thread Mark Allan
hard-coded C-string "/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 *)th

Re: Sharing a file between Mac and iOS

2012-07-19 Thread Mark Munz
e/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/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.appl

Re: Write Finder plugin

2012-07-13 Thread Mark Munz
ple.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/ ___ Coc

Re: Quit helper app when main app terminates

2012-07-12 Thread Mark Munz
hu, 12 Jul 2012 10:54:13 -0700, Mark Munz said: > >>If you're on 10.6 or later: >> >>- (void)applicationWillTerminate:(NSNotification *)aNotification >>{ >> NSRunningApplication* helperApp = [NSRunningApplication >>runningApplicationsWithBundleIdenti

Re: Quit helper app when main app terminates

2012-07-12 Thread Mark Munz
> > 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

Re: Sandboxing and calling Launchctl

2012-06-01 Thread Mark Allan
app terminates, any 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 t

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 > &g

Re: Sandboxing and calling Launchctl

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

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 >&g

Sandboxing and calling Launchctl

2012-05-29 Thread Mark Allan
ndboxing my app 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/ iden

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 wrote: > Java One regularly had 15,000 in its heyday, at the exact s

Problem with Scripting Bridge under Snow Leopard

2012-04-07 Thread Mark Munz
ething to additional 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://ww

Re: creating a favorites bar

2012-03-19 Thread Mark Munz
a-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: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion

2012-02-22 Thread Mark Munz
e apparently 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 wrote: > I've also filed a bug at least 3 months ago, and it appears Apple have been > ignoring it. I hav

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
found were 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 mod

Re: Predicate search across Core Data entities.

2012-02-01 Thread Mark Woollard
back through the inverse relationship 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 dat

Re: Full-Height Toolbar Item

2012-01-28 Thread Mark Alldritt
them > (hint hint). 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/Unsubs

Full-Height Toolbar Item

2012-01-26 Thread Mark Alldritt
tion. The NSToolbar 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

Re: My services in my own app

2012-01-16 Thread Mark Munz
at hopefully someone 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 wrote: > Yes, I’m on Snow Leopard. > > I just had a another look at

Re: My services in my own app

2012-01-15 Thread Mark Munz
back into your app to do whatever task you need it to do. Mark On Sun, Jan 15, 2012 at 9:09 AM, Georg Seifert 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 an

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 ques

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 sometim

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Mark Munz
gt; 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: > http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > > This email sent to unma

Re: Updating an app's help

2011-12-15 Thread Mark Munz
ost admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-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 -- M

Re: Any success with SMLoginItemSetEnabled?

2011-11-07 Thread Mark Munz
e the Mar 1 deadline 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-admin

Re: Sandboxing disallows AppleEvents?

2011-11-03 Thread Mark Munz
ionality 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, >

Re: Future for Mac applications

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

Re: Future for Mac applications

2011-10-31 Thread Mark Munz
en't required 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)

Stepwise articles

2011-10-17 Thread Mark Taeery
Hi all, does anybody have a copy of the following article: http://www.stepwise.com/Articles/Technical/MemoryManagement.html archive.org appears not to have it. Thanks, Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

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

'Customize Toolbar...' menu item disabled

2011-10-15 Thread mark
em) are disabed. The toolbar shows up 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

Re: using AppKit additions in background threads

2011-09-06 Thread Mark Munz
, Sep 6, 2011 at 9:37 PM, Michael Thon 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' d

Re: using AppKit additions in background threads

2011-09-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 a

Re: rightMouseDown: never called in NSView subclass

2011-08-26 Thread Mark Munz
events are not passed 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 inten

Re: rightMouseDown: never called in NSView subclass

2011-08-25 Thread Mark Munz
gt;> class of its view. >> >> > > ___ > > 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-adm

Re: NSTableView: move rows through drag and drop?

2011-08-10 Thread Mark Munz
__ > > 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: > http://lists.apple.com/m

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

What is returned from CFLocaleGetSystem?

2011-07-06 Thread Mark Schisler
ation states 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 us

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/ ___ Coco

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

2011-05-27 Thread Mark Munz
d app 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 wrote: > Thank you, Jim.  Unfortunately your workaround doesn't work in my app either. > > I p

  1   2   3   4   >