On 2014 Sep 19, at 09:12, Mills, Steve 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.
http://www.cocoabuilder.com/archive/cocoa/293279-very-simple-de
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
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
> (punc
Really? OK.
On 21 Sep 2014, at 00:05, SevenBits 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 hacked up this s
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 getDiff
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 getDiff
> On Sep 20, 2014, at 10:43 AM, Scott Ribe 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' tool produces, which i
On Sep 20, 2014, at 1:43 PM, Scott Ribe 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
>> lamb she h
Definition:
On 21 Sep 2014, at 00:53, Jens Alfke 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 by a 'word', thoug
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
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 wrote:
>
>> a
> On 20 Sep 2014, at 12:08 pm, Gerriet M. Denkmann wrote:
>
>
> On 20 Sep 2014, at 01:30, Rick Mann wrote:
>
>>
>> On Sep 19, 2014, at 11:06 , John Tsombakos wrote:
>>
>>> You also need to add items to your Info.plist file:
>>>
>>> NSLocationAlwaysUsageDescription
>>>
>>> and/or
>>>
>>>
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 is
On 21 Sep 2014, at 10:12 am, Jim Geist 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
__
On 21 Sep 2014, at 02:56, Ludovic Nicolle 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 determine the differen
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 a
> 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
> On Sep 20, 2014, at 8:53 PM, Jim Geist 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
Store.
—Jens
_
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 wrote:
>
>
>> O
On 21 Sep 2014, at 10:58, Jens Alfke 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 matter because I f
On Sep 20, 2014, at 9:08 PM, 2551 <2551p...@gmail.com> wrote:
>
> As I've been saying all along, this is such a common operation, I'd have
> thought there must be a common cocoa method or API for doing it. So the
> question is, can anyone tell me what that is?
No, it is nowhere near a common op
I do a lot of text data mining and need similar functions a lot. I would start
on a word by word level, to have whatever it returns be more meaningfull
Verstuurd vanaf mijn iPhone
> Op 20 sep. 2014 om 19:43 heeft Scott Ribe het
> volgende geschreven:
>
>> On Sep 20, 2014, at 11:13 AM, 2551 <2
Meaning I would compare words and their index in an array of words created from
the two strings. The first mismatch is easily found, but the tricky part is
finding the last one. Here a context driven comparison may help. Instead of
comparing word N in both strings, you compare words N and N-1, t
On 21 Sep 2014, at 13:38, Diederik Meijer | Ten Horses
wrote:
> Meaning I would compare words and their index in an array of words created
> from the two strings.
Thanks, Diederik. That's exactly the approach I took by using NSMutableArray's
-removeObject.
signature.asc
Description: Mess
On 21 Sep 2014, at 13:03, Kyle Sluder wrote:
>
> No, it is nowhere near a common operation to perform on strings.
I stand corrected on that front, then (apparently...). Doesn't change the fact
that I need to know how to do it, unless someone is willing to point me in the
direction of a bett
On 21 Sep 2014, at 6:08, 2551 wrote:
As I've been saying all along, this is such a common operation, I'd
have thought there must be a common cocoa method or API for doing it.
So the question is, can anyone tell me what that is?
The general problem you’re dealing with is that of finding the lo
On 21 Sep 2014, at 13:45, Allan Odgaard wrote:
> One solution is the UNIX diff command which, as Jens
> previously mentioned, works on lines and is commonly used by version control
> systems and programmers. You can call out to this command from Cocoa (e.g.
> via NSTask).
>
Thanks, Allan, f
Note that there are two differences, I would want to know: where string A says
"this", string B says "that." So you have both "this" and 'that" for a
difference. A lot of times, pre-optimizing your strings helps, meaning you
first take out punctuation (mostly comma's) and remember where to put t
28 matches
Mail list logo