I got fed up by Apple already and found a little BSD-licensed CXX crypto
library called Botan. I will either wrap it in Objective-C or rewrite it for my
later projects.
Sent from my iPhone
> On May 15, 2014, at 8:00 PM, Roland King wrote:
>
> I try not to 'screw' the Apple crypto libraries, I
I am seeing a crash in an iOS app and while I can reproduce it I am
still struggling to find the location in my code because the debugger
only stops in UIApplicationMain. What I am seeing in the log is
2014-05-16 09:46:56.796 MyApp[30998:60b] -[__NSCFString CGColor]:
unrecognized selector sent to
Strings does not have CGColor methods so it is not caught. Try break on
[NSObject doesNotRecognizeSelector:]
Sent from my iPhone
> On May 16, 2014, at 4:01 PM, Torsten Curdt wrote:
>
> I am seeing a crash in an iOS app and while I can reproduce it I am
> still struggling to find the location i
On May 16, 2014, at 01:01 , Torsten Curdt wrote:
> the debugger only stops in UIApplicationMain.
That’s most likely because your “level of detail” slider (the horizontal slider
below the call stack in the Debug pane) isn’t at the extreme right end.
> What I am seeing in the log is
>
> 2014-05
If you wish to follow UNIX standards, store generated files in a sub directory
in /var/lib (global files) or dot-files in user home directory. NeXTSTEP use
/Library/Application Support for globals and ~/Library/Application Support for
user-specific.
Sent from my iPhone
> On May 16, 2014, at 2:
On Apr 8, 2014, at 5:31 PM, BareFeetWare
wrote:
>> One option is to use SQLite. I've been putting together an open source
>> "BFWQuery" library to hopefully simplify the whole thing, by letting you
>> treat a database query just like an array of dictionaries. It uses FMDB
>> (thanks Gus).
>>
Hey,
thanks Jens and Ben for your advice. I will try to play around with that. If
it’s true that enabling client side authentication in the streams invalidates
the app that is really a pity. Isn’t the optional client side authentication
part of the SSL/TLS rfc?
@Jens: What about the if !TARGET
> the debugger only stops in UIApplicationMain.
>
> That’s most likely because your “level of detail” slider (the horizontal
> slider below the call stack in the Debug pane) isn’t at the extreme right
> end.
OMG! There is slider!? That's a revelation. Thanks!
> The last 2 won’t help. NSString do
Try implementing rightMouseDown: instead for that.
Eric Shepherd
> On May 15, 2014, at 12:39 PM, Tim Hewett wrote:
>
> I have a NSMenuItem with a custom view (inheriting from NSImageView) which
> needs to react to mouseDown: events. An NSTrackingArea has been setup for the
> view’s frame to e
On May 16, 2014, at 3:07 AM, Torsten Curdt wrote:
>> the debugger only stops in UIApplicationMain.
>>
>> That’s most likely because your “level of detail” slider (the horizontal
>> slider below the call stack in the Debug pane) isn’t at the extreme right
>> end.
>
> OMG! There is slider!? That'
I have tried that too, no message for that either.
Tim.
On 16 May 2014, at 14:30, Eric Shepherd wrote:
> Try implementing rightMouseDown: instead for that.
>
> Eric Shepherd
>
>> On May 15, 2014, at 12:39 PM, Tim Hewett wrote:
>>
>> I have a NSMenuItem with a custom view (inheriting from N
I’ve been doing some more testing and I attempted to save the file to the hard
drive first (instead of pulling the data from a URL) and then load it into
NSImage. The results are the same, however, as it just attaches the image as a
PNG instead of a GIF.
I’m really stumped here...
Charles Carv
On May 16, 2014, at 2:55 AM, Bastian Hafer wrote:
> @Jens: What about the if !TARGET_OS_IPHONE. Is this implemented in your
> framework to prevent someone using your framework on the iphone in a way that
> their app gets rejected? Did I got that right?
Right. In fact I think I added that #if
I have 2 NSColorWells and 1 NSTextView.
The 1st colorWell displays the color the selected text.
The 2nd colorWell displays the "visited "color of the selected text ONLY if
this text contains a link. I have bound it to mLink.mVisitedColor.
In the textView method textViewDidChangeSelection: I set th
On May 16, 2014, at 12:37 AM, ChanMaxthon wrote:
> I got fed up by Apple already and found a little BSD-licensed CXX crypto
> library called Botan. I will either wrap it in Objective-C or rewrite it for
> my later projects.
I’m cautious of ‘alternative’ crypto implementations; there’s a lot o
Keychain is okay, I just cannot bear the crypto libraries.
Sent from my iPhone
> On May 17, 2014, at 1:08 AM, Jens Alfke wrote:
>
>
>> On May 16, 2014, at 12:37 AM, ChanMaxthon wrote:
>>
>> I got fed up by Apple already and found a little BSD-licensed CXX crypto
>> library called Botan. I w
On May 16, 2014, at 16:46 , William Squires wrote:
> Why doesn't NSData have a +[NSData dataWithString:(NSString *)] or -[NSData
> initWithString:(NSString *)] method?
Because strings consist of *encoded* data, which (in principle) has no meaning
outside the internals of the string itself**,
On Fri, May 16, 2014 at 4:46 PM, William Squires wrote:
> Why doesn't NSData have a +[NSData dataWithString:(NSString *)] or
> -[NSData initWithString:(NSString *)] method? i.e. how do I convert the
> contents of an NSString object into an NSData object?
Try -[NSString dataUsingEncoding:] or
-
Is there a Cocoa way to get get and set the status of the built-in OS X
Firewall? At the moment I'm using an NSTask and extracting the relevant part of
the string from
system_profiler SPFirewallDataType
to get the status, but it's slow.
Is there a better way?
TIA
Phil
signature.asc
Des
[NSString dataUsingEncoding:]
sometimes you have to look at the source object, not the destination (in fact
usually, I'd say).
Also, in this case, [NSData initWithString:] would lack the information needed
to perform the conversion - you need to pass in what encoding you require.
--Graham
On 17 May 2014, at 9:46 am, William Squires wrote:
> Also, how come NSFileHandle doesn't have a -[NSFileHandle
> readFileWithSeparator:(NSString *)] method so one can read in only chunks of
> a file (of varying size, such as CSV records, or lines in a text file,
> separated by \n, as opposed
On 17 May 2014, at 9:46 am, William Squires wrote:
> how do I convert the contents of an NSString object into an NSData object?
> Why? Because -[NSFileHandle writeData:(NSData *)] takes an NSData object, not
> an NSString object. Arrrgg. :(
BTW, is there some reason you can't just use [N
Ken,
Thanks for the response. NSImage never ended up working, but your suggestion of
attaching the local URL worked:
NSString *fileUrl = @"http://i.imgur.com/V8w9fKt.gif";;
NSString *fileName = [fileUrl lastPathComponent];
NSURL *saveUrl = [NSURL URLWithString:[NSString stringWithFormat:@"file:/
I believe the intention of the slider is that it won't drop you to stack frames
that does not have your code (and show you with assembler) but it can be
troublesome.
When LLDB break your program at signal your program could have already
progressed past where the exception happened and already p
On Sat, May 17, 2014 at 12:41 AM, Charles Carver wrote:
> NSURL *saveUrl = [NSURL URLWithString:[NSString stringWithFormat:@"file://%@",
> NSTemporaryDirectory()]];
> saveUrl = [saveUrl URLByAppendingPathComponent:fileName];
>
You shouldn't construct file URLs like this. There has been an approve
On May 17, 2014, at 12:41 AM, Charles Carver wrote:
> Thanks for the response. NSImage never ended up working, but your suggestion
> of attaching the local URL worked:
I'm glad you got something working, but…
> NSString *fileUrl = @"http://i.imgur.com/V8w9fKt.gif";;
Probably best to not name t
26 matches
Mail list logo