Re: MapKit location authorization

2014-09-20 Thread dangerwillrobinsondanger
On 2014/09/19, at 22:21, Roland King r...@rols.org wrote: use google, or Dash. Yes! Those and Open Quickly to peruse the headers. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Re: Defer opening documents until app is fully inited

2014-09-20 Thread Jerry Krinock
On 2014 Sep 19, at 09:12, Mills, Steve smi...@makemusic.com wrote: Our app init (called from applicationWillFinishLaunching) needs to put up some modal dialogs. I’m surprised that works. I think I was in a similar situation about 4 years ago.

return string that is the difference between two other strings

2014-09-20 Thread 2551
I've searched high and low (or roundabouts in circles) for a built in method that will return the difference between two strings as a string. I hacked up this solution below, but it feels cludgy and isn't very robust (punctuation will mess it up a little); worse, I can't help feeling I must be

Re: return string that is the difference between two other strings

2014-09-20 Thread SevenBits
On Sep 20, 2014, at 1:01 PM, 2551 2551p...@gmail.com wrote: I've searched high and low (or roundabouts in circles) for a built in method that will return the difference between two strings as a string. I hacked up this solution below, but it feels cludgy and isn't very robust

Re: return string that is the difference between two other strings

2014-09-20 Thread 2551
Really? OK. On 21 Sep 2014, at 00:05, SevenBits sevenbitst...@gmail.com wrote: On Sep 20, 2014, at 1:01 PM, 2551 2551p...@gmail.com wrote: I've searched high and low (or roundabouts in circles) for a built in method that will return the difference between two strings as a string. I

Re: return string that is the difference between two other strings

2014-09-20 Thread Keary Suska
On Sep 20, 2014, at 11:13 AM, 2551 2551p...@gmail.com wrote: For example: NSString *mary = @mary had a little lamb, a little lamb she had; NSString *scary = @mary had a little lamb, a little naughty fella of a lamb she had for sure; NSString *isDifferent = [self getDifference:mary

Re: return string that is the difference between two other strings

2014-09-20 Thread Scott Ribe
On Sep 20, 2014, at 11:13 AM, 2551 2551p...@gmail.com wrote: For example: NSString *mary = @mary had a little lamb, a little lamb she had; NSString *scary = @mary had a little lamb, a little naughty fella of a lamb she had for sure; NSString *isDifferent = [self getDifference:mary

Re: return string that is the difference between two other strings

2014-09-20 Thread Jens Alfke
On Sep 20, 2014, at 10:43 AM, Scott Ribe scott_r...@elevated-dev.com wrote: There is no simple definition of the difference between two strings, and I don't think it's a basic need at all. Usually when programmers talk about differences they're referring to something like what a 'diff'

Re: return string that is the difference between two other strings

2014-09-20 Thread SevenBits
On Sep 20, 2014, at 1:43 PM, Scott Ribe scott_r...@elevated-dev.com wrote: On Sep 20, 2014, at 11:13 AM, 2551 2551p...@gmail.com wrote: For example: NSString *mary = @mary had a little lamb, a little lamb she had; NSString *scary = @mary had a little lamb, a little naughty fella of a

Re: return string that is the difference between two other strings

2014-09-20 Thread 2551
Definition: On 21 Sep 2014, at 00:53, Jens Alfke j...@mooseyard.com wrote: a set of the words that are in the second string but not in the first That's close. Any words that are in one string but not in the other. Yup, that is what I'm after. I'll pass if people start asking me what I mean

Re: return string that is the difference between two other strings

2014-09-20 Thread Kyle Sluder
On Sep 20, 2014, at 11:54 AM, 2551 2551p...@gmail.com wrote: I'll pass if people start asking me what I mean by a 'word', though I'm well aware that that is a genuine question at certain levels and across different localisations. Take it that for the purpose of the inquiry I mean any

Re: return string that is the difference between two other strings

2014-09-20 Thread Gerd Knops
NSLinguisticTagger might be worth a look. And if you don't care about word counts, NSMutableSet -minusSet: or -intersectSet: could be of help as well. Gerd On Sep 20, 2014, at 1:54 PM, 2551 2551p...@gmail.com wrote: Definition: On 21 Sep 2014, at 00:53, Jens Alfke j...@mooseyard.com

Re: MapKit location authorization

2014-09-20 Thread Roland King
On 20 Sep 2014, at 12:08 pm, Gerriet M. Denkmann gerr...@mdenkmann.de wrote: On 20 Sep 2014, at 01:30, Rick Mann rm...@latencyzero.com wrote: On Sep 19, 2014, at 11:06 , John Tsombakos johnt...@gmail.com wrote: You also need to add items to your Info.plist file:

Question on OS X app submission

2014-09-20 Thread Jim Geist
Hi all - I’ve submitted iOS apps before, working on my first desktop app. My app runs as a status area icon, so I have a helper launcher app that takes care of launching at login. Do I need to do anything special with the bundle ID of the helper app with regards to the submission portal? Or

Re: Question on OS X app submission

2014-09-20 Thread Graham Cox
On 21 Sep 2014, at 10:12 am, Jim Geist velocity...@rodentia.net wrote: My app runs as a status area icon, so I have a helper launcher app that takes care of launching at login I'm not sure if things have changed, but this type of app isn't permitted on the App Store. --Graham

Re: return string that is the difference between two other strings

2014-09-20 Thread 2551
On 21 Sep 2014, at 02:56, Ludovic Nicolle lnico...@chezludo.com wrote: Once we (and maybe yourself? :p ) know what you truly want OK, I should have presented the problem, rather than a solution that needed improving. If you have two text files written out at different times, how do you guys

Re: Question on OS X app submission

2014-09-20 Thread Jim Geist
From the app store guidelines, 2.26. My app does allow the user to set this in the preferences pane. Or is it the status area aspect you think will get me rejected? I guess all I can do is submit it and see what happens. Apps that are set to auto-launch or to have other code automatically run

Re: return string that is the difference between two other strings

2014-09-20 Thread Jens Alfke
On Sep 20, 2014, at 7:54 PM, 2551 2551p...@gmail.com wrote: OK, I should have presented the problem, rather than a solution that needed improving. If you have two text files written out at different times, how do you guys determine the difference between their contents to produce a third

Re: Question on OS X app submission

2014-09-20 Thread Jens Alfke
On Sep 20, 2014, at 8:53 PM, Jim Geist velocity...@rodentia.net wrote: Or is it the status area aspect you think will get me rejected? What's the status area — the menu bar? Any app can show an icon/menu in the menu bar using NSStatusItem. Fantastical is a good example, and it's in the App

Re: Question on OS X app submission

2014-09-20 Thread Jim Geist
Yes, and that’s what I thought. Any idea on my original question, though? If I have a helper app embedded in my bundle, with a bundle ID of its own, does the app store need to know about that bundle ID, or just the main one? Thanks!! On Sep 20, 2014, at 9:02 PM, Jens Alfke j...@mooseyard.com

Re: return string that is the difference between two other strings

2014-09-20 Thread 2551
On 21 Sep 2014, at 10:58, Jens Alfke j...@mooseyard.com wrote: What I'd want is something that shows the combined text with the deleted words crossed out and the new words highlighted. Thanks, Jens. You've hit the nail on the head. That's exactly what I want to achieve. I said order didn't