Le 26 juin 11 à 07:22, Richard Somers a écrit :
On Jun 24, 2011, at 1:19 AM, Bernard Desgraupes wrote:
I need to detect if the shift key is pressed by the user during the
startup of my app. How would I do that in Cocoa (targetting 10.5
and greater) ?
Try this.
I am trying to playback video in my iOS app while I am loading and caching it
at the same time. I fetch the video using a NSURLConnection and then store it
in a local file, I start video playback of the local video file after a certain
number of bytes are received. I have it working great in
On Jun 25, 2011, at 7:52 PM, Andy Lee wrote:
get application id com.yourcompany.TrivialScriptable
set myApp to result
tell myApp
It has been true since the beginning of time (1993) that you cannot 'tell' a
variable but must instead 'tell' the application, at least in most cases. It's
one
On 6 Jun 2011, at 16:10, Philip Mötteli wrote:
I really appreciate how BN support is implemented in ParseKit:
http://parsekit.com/grammars.html. I like it very much, that there are no
numbers, but call backs for every token, using method-names (c. f. above URL
under Instantiating Grammar
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
@implementation SpecialMatrix
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
numberOfColumns:(NSInteger)numColumns {
int x;
x = 0; // I put a breakpoint here
On 26 Jun 2011, at 6:18 AM, Ari Black wrote:
Second step: Maybe an NSBrowser doesn't instantiate any matrices until you
have responded to browser:numberOfRowsInColumn: with a non-zero value?
— F
That's possible, but I've tested adding items to the columns and
SpecialMatrix's
On Jun 26, 2011, at 6:09 AM, Bill Cheeseman wrote:
On Jun 25, 2011, at 7:52 PM, Andy Lee wrote:
get application id com.yourcompany.TrivialScriptable
set myApp to result
tell myApp
It has been true since the beginning of time (1993) that you cannot 'tell' a
variable but must instead
I wrote a small test case that exhibits the problem:
http://pastie.org/2124066
It can be compiled and run like this:
killall -KILL dotest; gcc -framework Foundation dotest.m -o dotest; ./dotest
When independentConversationQueueing is disabled (see EnableICQ()),
ProcessC receives the
Ok I will check in Photoshop and create the animation there.
Thanks all for the reply
G
On Jun 25, 2011, at 4:47 AM, Scott Anguish wrote:
I don’t think it’s the amount of page space, rather the quantity of the
alphabet.
If this is just for an effect for an about screen or soemthing, I’d
Hello,
I have an application that has two windows. Each window is associated to a
controller class. On one method of each class I load another NIB that has a
subordinate window. That subordinate NIB has outlets and actions that should be
associated to the loading class, so on the NIB I set the
On Sun, Jun 26, 2011 at 11:16 AM, Daniel Luis dos Santos
daniel.d...@gmail.com wrote:
My problem is that I need to load the same NIB from two different classes, so
the owner is different according to which class I load it from.
Is there another way to do it without the file's owner ?
Any opinions on which approach is better.
NSData *data = [NSURLConnection sendSynchronousRequest:request
returningResponse:response
On 26 Jun 2011, at 11:37 AM, R wrote:
Any opinions on which approach is better.
NSData *data = [NSURLConnection sendSynchronousRequest:request
returningResponse:response
error:error];
OR
The asynchronous option allows you to report progress and utilize your data
immediately and do with it whatever you wish while the synchronous option
requires you wait until the entire data has been retrieved, possibly an issue
if you have data of any size. Also, for UI responsiveness, the
Hi.
I have a few custom views of three kind inside a custom UIScrollview. I'm
trying to resize these custom views as the device change the orientation.
I added these custom views programatically to the custom UIScrollView. I
implemented in the custom UIScrollview the below method
-
Yes, scroll views layout during scroll. But the reSl problem is likely in your
use of device orientation. Specifically unlike interface orientation, not being
landscape is not the same ad bring portrait, as device orientation has 3
additional orientations. If you want to match your interface
Well, I used the macro UIDeviceOrientationIsLandscape, I'm assuming that this
is for both sides:
#define UIDeviceOrientationIsPortrait(orientation) ((orientation) ==
UIDeviceOrientationPortrait || (orientation) ==
UIDeviceOrientationPortraitUpsideDown)
#define
I've been reading and experimenting and browsing and reading and experimenting
but mostly failing miserably here and I need to ask the hive mind for some
assistance.
In a nutshell, I'm just trying to take a range of white colors out of a UIImage
and make those colors transparent. From what
On Jun 26, 2011, at 3:06 PM, James Miller jmiller3...@gmail.com wrote:
I've been reading and experimenting and browsing and reading and
experimenting but mostly failing miserably here and I need to ask the hive
mind for some assistance.
In a nutshell, I'm just trying to take a range of
Hi,is there a way to reference the attached data within the HTML
body?[mailController addAttachmentData:pngDataFooter mimeType:@image/png
fileName:@footer.png];[mailController setMessageBody:@htmlbodyimg
src=\footer.png\/body/html isHTML:TRUE];When running such code, I get a
blue question
I've noticed that Mac OS sometimes silently changes the UNIX mount name of
network volumes. For example, if I mount a network volume of Media, it would
normally be /Volumes/Media, but sometimes it isn't. For example, if another
user
on the same machine mounts Media first, then you might end up
On Jun 26, 2011, at 8:08 PM, Chris Idou wrote:
I've noticed that Mac OS sometimes silently changes the UNIX mount name of
network volumes. For example, if I mount a network volume of Media, it would
normally be /Volumes/Media, but sometimes it isn't. For example, if another
user
on the
You could base64 your image data and use a data url to refer to it
within your HTML. Then, you wouldn't have to attach it.
-Heath Borders
heath.bord...@gmail.com
Twitter: heathborders
http://heath-tech.blogspot.com
On Sun, Jun 26, 2011 at 6:14 PM, Pierre Fournier shir...@hotmail.com wrote:
On 11-06-26 7:04 AM, Fritz Anderson wrote:
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
@implementation SpecialMatrix
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
numberOfColumns:(NSInteger)numColumns {
int x;
On 2011 Jun 26, at 09:52, Fritz Anderson wrote:
Synchronous network operations are almost always a bad idea. …, …, …, …,
and the error object that you get from
-sendSynchronousRequest:returningResponse:error: if it fails is quite
nondescript.
___
Hello,
If you have access to the Developer Forums, check the very first entry in Core
OS named Five Reasons Why Synchronous Networking Is Bad, by Apple's Quinn
The Eskimo!:
https://devforums.apple.com/thread/9606?tstart=0
Cheers,
-- Tito
On Jun 26, 2011, at 9:51 PM, Jerry Krinock wrote:
26 matches
Mail list logo