I am working on below scenario:
1. User A generates public key and private key
2. User A shares public key to user B
3. User B encrypts some data using shared public key
4. User B sends encrypted data to user A
5. User A decrypts data using related private key
(Note: this is a part of problem
On 21 May 2014, at 5:41 pm, Devarshi Kulshreshtha devarshi.bluec...@gmail.com
wrote:
am working on below scenario:
1. User A generates public key and private key
2. User A shares public key to user B
3. User B encrypts some data using shared public key
4. User B sends encrypted data to
I need to share generated public key to other ios device, what is the
best way to share that?
On Wed, May 21, 2014 at 1:34 PM, Graham Cox graham@bigpond.com wrote:
On 21 May 2014, at 5:41 pm, Devarshi Kulshreshtha
devarshi.bluec...@gmail.com wrote:
am working on below scenario:
1.
On May 21, 2014, at 12:41 AM, Devarshi Kulshreshtha
devarshi.bluec...@gmail.com wrote:
Is there any method to generate .cer file in cocoa?
Not unless you already have a SecCertificateRef (which is just a wrapper around
the same data that goes in a .cer file.)
Generating X.509 certificates
On May 21, 2014, at 1:04 AM, Graham Cox graham@bigpond.com wrote:
Probably, but why bother? Just use SecKeyGeneratePair(), part of the security
functions (assuming this is something private to an app of yours and not
needed for compatibility with an existing security protocol). A search
And Quinn has given the official can't do that on devforums.
I rarely say embed openssl but .. you if this is the cross platform you need,
embed openssl.
On 21 May, 2014, at 9:54 pm, Jens Alfke j...@mooseyard.com wrote:
On May 21, 2014, at 1:04 AM, Graham Cox graham@bigpond.com
On May 20, 2014, at 6:33 PM, Eric Schlegel eri...@apple.com wrote:
On May 20, 2014, at 5:06 PM, Lee Ann Rucker lruc...@vmware.com wrote:
The setFrame issue might be an Apple bug which we reported but I don't have
the rdar handy - it's applying the constraints as if there was a menu
On May 21, 2014, at 8:34 AM, Kyle Sluder k...@ksluder.com wrote:
On May 20, 2014, at 6:33 PM, Eric Schlegel eri...@apple.com wrote:
On May 20, 2014, at 5:06 PM, Lee Ann Rucker lruc...@vmware.com wrote:
The setFrame issue might be an Apple bug which we reported but I don't have
the
Hey,
I am experiencing some really weird behavior with CGDisplaySetDisplayMode
behavior on osx 10.9.3 on a late 2013 retina mbp.
if I call CGDisplaySetDisplayMode only once, it seems to end up in weird
display modes, that are not even listed through CGDisplayCopyAllDisplayModes
i.e.
Okay,
I just investigated this issue a little more. It only happens under one
condition for me, which is that I created an NSOpenGLPixelFormat before the
CGDisplay calls, i.e. this does not work as expected:
#import AppDelegate.h
#include CoreGraphics/CoreGraphics.h
@implementation
Question:
I have an NSOpenGLView with a “3D” table and a ball on top. The ball will move.
Is it more efficient to use setNeedsDisplayInRect() and if so how would I do it
for this 3D application? Thanks.
___
Cocoa-dev mailing list
On Wed, May 21, 2014, at 04:00 PM, Peters, Brandon wrote:
Question:
I have an NSOpenGLView with a “3D” table and a ball on top. The ball will
move. Is it more efficient to use setNeedsDisplayInRect() and if so how
would I do it for this 3D application? Thanks.
1. Objective-C methods don't
On May 21, 2014, at 5:45 PM, Matthias Dörfelt wrote:
I just investigated this issue a little more. It only happens under one
condition for me, which is that I created an NSOpenGLPixelFormat before the
CGDisplay calls, i.e. this does not work as expected:
while the same code without the
Hey Ken,
Capturing the display does not make a difference. Anyways, your guess about the
GPU switching was spot on! If I disable it, the issue disappears. Is there any
way to fix this in my code? I.e. an NSOpenGLPixelFormat flag that would take
that into account?
Thanks!
Matthias
Am
The more I think about this, the more I think this deserves a bug report. If
the automatic GPU switching gets triggered by switching the display mode in the
first place, and the newly active GPU supports the same display format,
shouldn’t it make sure it keeps the same format? I don’t see how
I have an iOS app which can talk (using AVSpeechSynthesizer).
The problem: when music is playing, it will stop (good), and my app will talk.
But: the music will NOT resume afterwards, which is rather annoying.
So I need something like:
id previousPlayingApp = [ UIWorkspace
I'm using NSOutlineView with view-based rows. I've set it up to allow drag and
drop of a row. When the drag is initiated, it throws an exception with the
following stack trace:
#0 0x7fff8b6d4e4a in objc_exception_throw ()
#1 0x7fff8d00412d in -[NSObject(NSObject)
According to the documentation:
xcdoc://?url=developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTableView_Class/Reference/Reference.html#
Specifying a Custom Row View In a NIB
The NSTableViewRowViewKey is the key that NSView-based table view instances use
to
On May 22, 2014, at 12:15 AM, Graham Cox graham@bigpond.com wrote:
So I want to use a custom subclass of NSTableRowView so I can use an in-house
UI highlighting style. It's far from obvious how to do this, even though
other documentation states that this is the 'correct' approach to
Got an NSError with:
Error Domain=NSOSStatusErrorDomain Code=560030580 The operation couldn’t be
completed. (OSStatus error 560030580.)
Have:
if ( [ [ outError domain ] isEqualToString: NSOSStatusErrorDomain ]
[ outError code ] == 560030580 )
but would like to have:
if ( [
560030580 = 0x21616374 which is '!act'
I believe that's the pattern for Audio stuff, you turn it to a 4-char string.
There's a rumour on the internet that used to be kAudioSessionNotActiveError
but I'm banana-ed if I can find that in the current SDK.
On 22 May, 2014, at 1:17 pm, Gerriet M.
I have this code:
- (void)speechSynthesizer:(AVSpeechSynthesizer *)synthesizer
didFinishSpeechUtterance:(AVSpeechUtterance *)utterance
{
NSTimeInterval delay = 5;
NSLog(@%s will resume music in %g sec.,__FUNCTION__, delay );
NSRunLoop *currentRunLoop = [ NSRunLoop
and of course as soon as I sent the message I do in fact find it
AudioToolbox.framework/Headers/AudioSession.h
On 22 May, 2014, at 1:32 pm, Roland King r...@rols.org wrote:
560030580 = 0x21616374 which is '!act'
I believe that's the pattern for Audio stuff, you turn it to a 4-char string.
If that is indeed the context in which Gerriet is receiving the error, it
sounds as though the routine generating it is assigning an inappropriate error
domain then, no? Surely it should be a CoreAudio-related domain (specifically
for the reason illustrated by this thread).
b
Sent from my
If you read the documentation for NSObject's
performSelector:withObject:afterDelay it tells you which method you need to use
to cancel it again, and it's not NSRunLoop's
cancelPerformSelector:target:argument.
On 22 May, 2014, at 1:34 pm, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I
On 22 May 2014, at 12:34, Roland King r...@rols.org wrote:
and of course as soon as I sent the message I do in fact find it
AudioToolbox.framework/Headers/AudioSession.h
I found:
kAudioSessionNotActiveError = '!act',
in:
26 matches
Mail list logo