Le 7 avr. 09 à 18:32, Michael Ash a écrit :
On Tue, Apr 7, 2009 at 11:09 AM, Jo Phils jo_p...@yahoo.com wrote:
Hello,
My apologies if this has been answered before but isn't there a
simple way to get the file size as it shows under Size in Finder
without using Carbon and without
This is not the var arg, it append with all functions (on Intel Mac).
Evaluation order in argument passing is undefined.
Someone in this thread (Mike IIRC) quoted the sentence in the C
standard that states this.
Le 4 avr. 09 à 08:14, Eric Hermanson a écrit :
A comma is a sequence yet the
Is it related in anyway to Cocoa ?
You should try installer-dev instead of cocoa-dev.
http://lists.apple.com/mailman/listinfo/installer-dev
Le 5 avr. 09 à 18:35, John Nairn a écrit :
I cannot get my app installation to run a postflight script.
1. The script runs fine in terminal app and
Le 27 mars 09 à 03:39, Adam R. Maxwell a écrit :
On Mar 26, 2009, at 7:14 PM, Gregory Weston wrote:
Jean-Daniel Dupas wrote:
An other way may be to convert them into FSRef (using
FSPathMakeRef())
and then compare them using FSCompareFSRefs()
There's a risk to that solution, though
Le 26 mars 09 à 13:22, Jerry Krinock a écrit :
On 2009 Mar 26, at 01:04, Oleg Krupnov wrote:
Am I missing a method specifically intended for path comparison?
Not that I know of. But you are missing the method for
preprocessing them before comparison. Look at:
-[NSString
If this is a small file, just create an NSString and iterate over lines.
Here is a simple snippet that count number of lines in a string. You
can modify it for your purpose.
NSString *string;
unsigned numberOfLines, index, stringLength = [string length];
for (index = 0, numberOfLines = 0;
Le 25 mars 09 à 11:15, Abdul Sattar a écrit :
Hello All,
Is there any way to uniquely identify the mounted volumes.
What information from the mounted drive can help to identify the
same, the next time it mounts.
With Regards
Abu
Search archives…
The answer was already post three hours
Le 23 mars 09 à 14:25, Horst Jäger a écrit :
Hi,
I noticed that NSNumber objects with the same value are all have the
same address.
But since they are created at runtime they must all be held in a big
container - or am I mistaken?
Thanks in advance
Horst
Only commonly used values
Le 22 mars 09 à 23:37, mm w a écrit :
Because I am like this I won't do the job for you, I will only point
you directions, that's it
Google garbage collection, it's naive to think that's a linear
tree.
What Bill told you is right, and my comment is following his thought
Avoiding circular
Le 18 mars 09 à 05:45, Jerry Krinock a écrit :
On 2009 Mar 15, at 09:03, Jean-Daniel Dupas wrote (in thread GUI
Calls in Tool Executable...):
Just to complete the answer, the correct way to display alert from
a background process is to use the CFUserNotification API.
Thanks, I wasn't
Le 17 mars 09 à 03:46, Jeff Laing a écrit :
I have seen a couple of fairly nice solutions, and lots of really
awful ones. Generally speaking, the awful ones try to go to great
lengths to be sneaky and hide files or other data in places in your
computer they shouldn't be messing with.
Its
Le 16 mars 09 à 04:42, Chris Suter a écrit :
Hi Clark,
If your keys are integers, then you've got the best hash function
possible: the identity function :)
I know what you mean, but that's not strictly speaking true. If your
integers were congruent modulo your hash table size, it wouldn't
Le 16 mars 09 à 12:22, Jeremy Pereira a écrit :
On 14 Mar 2009, at 04:27, Roland King wrote:
As NSObject is also a protocol you could probably also do
id NSObject, Protocol to say the object supports NSObject and
Protocol methods but I never do, partly because it doesn't seem as
Le 16 mars 09 à 13:04, Mike Abdullah a écrit :
On 16 Mar 2009, at 11:43, Jean-Daniel Dupas wrote:
Le 16 mars 09 à 12:22, Jeremy Pereira a écrit :
On 14 Mar 2009, at 04:27, Roland King wrote:
As NSObject is also a protocol you could probably also do
id NSObject, Protocol to say
Le 16 mars 09 à 15:21, Jeremy Pereira a écrit :
On 16 Mar 2009, at 12:10, Jean-Daniel Dupas wrote:
No, you can't, else the compiler will complains if you do not
override all NSObject protocol methods in classes that conform to
the Foo protocol.
No it shouldn't. The compiler should
Le 16 mars 09 à 16:37, Bill Bumgarner a écrit :
On Mar 16, 2009, at 7:05 AM, Dave DeLong wrote:
You could swizzle the objectForKey: and setObject:forKey: methods
with your own that just lowercase the passed in string and then
call the actual methods with the new key.
Wile certainly a
Le 15 mars 09 à 13:00, Graham Cox a écrit :
On 14/03/2009, at 7:42 PM, Philip Kime wrote:
I am trying to work out how to flash two rects in a frame. I have it
working with one rect using the view cacheImageInRect method but this
only works on one rect. I tried putting two such calls in
Le 15 mars 09 à 16:49, Michael Ash a écrit :
On Sun, Mar 15, 2009 at 10:36 AM, Jerry Krinock je...@ieee.org
wrote:
Now, I understand that this design may not look good from the high
level --
for example, what if the user really needed to see that alert. But
has
anyone ever gotten into
Probably superseded by NSNumberFormatter in generatesDecimalNumbers
mode.
Le 15 mars 09 à 19:12, Luca Pazzerello a écrit :
Probably Apple has removed that function with tiger...I remember
having used
it some years ago.
--Luca C.
2009/3/15 Keary Suska cocoa-...@esoteritech.com
Hmm, I
Le 15 mars 09 à 19:33, Oleg Krupnov a écrit :
I need to use a dictionary inside a long, time-consuming operation.
The keys of the dictionary are integers, the values are NSObjects.
I could use NSDictionary, but I don't like the overhead of creating
NSNumbers for the keys and then comparing
Le 14 mars 09 à 21:24, Uribe Emiro a écrit :
Hello my name is Emiro Uribe and I am new to Cocoa. My system is OS
X 10.4 and Xcode 2.5.
I am trying to make PDFView a source for drag and drop.
I would like to be able to drag the inner view into other
applications.
I see that I can set it to
The Oobj runtime is a C library loaded by each ObjC application, it's
not an autonome entity that lives beyond your application termination.
Le 13 mars 09 à 11:54, Mic Pringle a écrit :
But I thought that it was best practice to remove yourself from the
notification center before terminating
Le 12 mars 09 à 17:54, Frank Illenberger a écrit :
And what prevent you to simply declare the ivar in the interface
instead of letting the compiler generating it ?
I second Andreas. For most cases, the correct place to declare
instance variables should be the .m file as they are an
Le 11 mars 09 à 13:10, Andreas Känner a écrit :
Hi there,
does anybody know if there is an efficient way to directly access
instance variables which have been synthesized for the 64bit
runtime? Using object_getInstanceVariable is 10 times slower than
the code the compiler generates for
Le 11 mars 09 à 16:03, Andreas Känner a écrit :
Hi,
Am 11.03.2009 um 13:27 schrieb Jean-Daniel Dupas:
Le 11 mars 09 à 13:10, Andreas Känner a écrit :
Hi there,
does anybody know if there is an efficient way to directly access
instance variables which have been synthesized for the 64bit
Killing it from the terminal is probably preferred, as it does not
require you alter the code.
Le 9 mars 09 à 23:17, Rick Mann a écrit :
Yeah, something like that. I didn't know if there was a more
preferred way.
Thanks!
On Mar 9, 2009, at 15:15:18, davel...@mac.com wrote:
On Mar 9,
Le 7 mars 09 à 05:50, Michael Ash a écrit :
On Fri, Mar 6, 2009 at 1:38 PM, Jonathan Dann j.p.d...@gmail.com
wrote:
Hi All,
In my application I want to create an image of a document window as a
preview prior to displaying the window to the user. To obtain the
CGImage of
a displayed window
Le 7 mars 09 à 12:11, Jonathan Dann a écrit :
On 7 Mar 2009, at 10:20, Jean-Daniel Dupas wrote:
Le 7 mars 09 à 05:50, Michael Ash a écrit :
On Fri, Mar 6, 2009 at 1:38 PM, Jonathan Dann j.p.d...@gmail.com
wrote:
Hi All,
In my application I want to create an image of a document window
Le 7 mars 09 à 12:25, Jonathan Dann a écrit :
On 7 Mar 2009, at 12:20, Jean-Daniel Dupas wrote:
Le 7 mars 09 à 12:11, Jonathan Dann a écrit :
On 7 Mar 2009, at 10:20, Jean-Daniel Dupas wrote:
Le 7 mars 09 à 05:50, Michael Ash a écrit :
On Fri, Mar 6, 2009 at 1:38 PM, Jonathan Dann
Le 6 mars 09 à 20:33, Sebastian Morsch a écrit :
Hello,
I wrote a delegate that draws a bezel inside a CALayer using
NSDrawNinePartImage. The drawing happens inside the
drawLayer:inContext: method and it works well. The only problem is
that it redraws really slow when the layers frame
Le 6 mars 09 à 20:42, Jean-Daniel Dupas a écrit :
Le 6 mars 09 à 20:33, Sebastian Morsch a écrit :
Hello,
I wrote a delegate that draws a bezel inside a CALayer using
NSDrawNinePartImage. The drawing happens inside the
drawLayer:inContext: method and it works well. The only problem
Le 6 mars 09 à 20:47, Joar Wingfors a écrit :
On Mar 6, 2009, at 11:21 AM, Paul Sanders wrote:
Yes, that one gets me every time. Why, when you do
@selector(oops_i_forgot_the_colon) does the compiler not flag it as
an error
(or at least a warning). Can you put any old thing in the
Le 6 mars 09 à 21:25, Paul Sanders a écrit :
I'd suggest using:
-Wundeclared-selector
j o a r
Excellent. Thank you.
Of course you can put anything. Else how would you be able to
create a
method and a selector at runtime ?
So how does the compiler map any old string to a SEL (which
Le 26 févr. 09 à 00:13, Graham Cox a écrit :
On 26/02/2009, at 10:03 AM, Erg Consultant wrote:
Are there any classes in Cocoa for simple text file or plist file
encryption? I just need something I can point at a file on disk and
do simple encryption without a password or key and then
Le 22 févr. 09 à 11:56, Gerriet M. Denkmann a écrit :
There are two ways an app can become active:
1. by explicit user action (clicking in Finder, clicking in Dock,
using Command-Tab)
or:
2. without user action (frontmost app is closed or hidden, so the
next app becomes active).
I would
Le 22 févr. 09 à 15:14, Ken Tozier a écrit :
Hi
I need to get unique identifiers for all objects I'm passed for use
as keys in an NSMutableDictionary. I tried using hash but I don't
know if that would really be unique. It seems like the console
printout for classes with no description
Le 21 févr. 09 à 16:00, Christopher Nagel a écrit :
Anyone have a copy of the old Chess example? I forgot its source
was discontinued.
Thanks,
Chris
Really ?
http://www.opensource.apple.com/darwinsource/10.5.6/Chess-109.0.3/
___
Cocoa-dev
Le 21 févr. 09 à 19:39, Stuart Malin a écrit :
I've seen the idiom [[property retain] autorelease] used in getter
accessors, and just re-read the Memory Management Programming Guide
(MMPG) to understand this. Now I do, and see how the perhaps once
canonical approach of having a setter
Le 20 févr. 09 à 01:42, Ken Thomases a écrit :
On Feb 19, 2009, at 6:26 PM, Dave DeLong wrote:
We've got an app that splits off two threads: one to play some
background music, and the other to count the beats that have passed
so far. We're doing beat counting with a timer (we know the
QuickTime (and OS X) does not provide an MP3 encoder (for licensing
issue).
The only provided Mac OS X MP3 encoder is iTunes.
Le 18 févr. 09 à 10:43, Mike Abdullah a écrit :
You almost certainly want QTKit. Read up on it in the documentation.
On 18 Feb 2009, at 09:36, Anshul jain wrote:
I
Le 16 févr. 09 à 10:51, Graham Cox a écrit :
I have a script that runs during my distribution build that
compresses my app using zip. If I use the Finder's Compress
command I get almost twice as much compression. Isn't the Finder
using zip? If so, what command-line arguments would give me
Le 16 févr. 09 à 11:53, Graham Cox a écrit :
On 16 Feb 2009, at 9:48 pm, Jean-Daniel Dupas wrote:
man zip ?
-# Regulate the speed of compression using the specified
digit #, where -0 indicates no compression (store all files), -1
indicates the fastest com-
pression
Le 16 févr. 09 à 11:57, Graham Cox a écrit :
On 16 Feb 2009, at 9:53 pm, Graham Cox wrote:
man zip ?
-# Regulate the speed of compression using the specified
digit #, where -0 indicates no compression (store all files), -1
indicates the fastest com-
pression method
Le 16 févr. 09 à 13:44, Andreas Grosam a écrit :
Hello,
how does a NSTimer object that has been setup with a repeating time
interval calculate the time when it fires an event?
There may be two possibilities:
Say, the initial time is at t0, the interval is T, and the time when
it fires
Le 13 févr. 09 à 21:54, Alexander Cohen a écrit :
Hi,
Not sure if this is the right place to ask since my question is
about CFRunLoop, not Cocoa but CoreFoundation. If not, please direct
me to the right list.
I'm looking for a way to get the main CFRunLoop on tiger. On
leopard, there
Le 12 févr. 09 à 16:31, Smith, Steven (MCP) a écrit :
Hi folks,
I'm relatively new to Cocoa and need some direction on creating .png
files.
I need to create 365 png files (one for each day of the year)
to be used as tags by other folks (eg JAN01.png
JAN2.png...DEC31.png).
I think I
Le 11 févr. 09 à 11:43, Trygve Inda a écrit :
I call
ProcessInformationCopyDictionary
(psn, kProcessDictionaryIncludeAllInformationMask);
but if the application has moved since it was launched, the result
of this
call in the CFBundleExecutable and BundlePath keys is wrong. The
values
Le 11 févr. 09 à 12:54, Trygve Inda a écrit :
I think it exists a standard Apple Event to retrieve a process
version. (get «vers»)
But you can also add a custom get version Apple Event handler to
your helper and use it to retrieve the version from your pref pane.
Hmmm... It seems
Le 11 févr. 09 à 12:46, Trygve Inda a écrit :
I think it exists a standard Apple Event to retrieve a process
version. (get «vers»)
But you can also add a custom get version Apple Event handler to
your helper and use it to retrieve the version from your pref pane.
This works great for
Le 10 févr. 09 à 17:23, Michael Ash a écrit :
On Tue, Feb 10, 2009 at 10:31 AM, Jonathan Hendry
jonhen...@mac.com wrote:
Is there any way to predict how the displays will be numbered? Or
to force
the Mimo to be screen 3?
(I'd rather not add code to the app to account for my toy monitor.)
Le 10 févr. 09 à 18:33, I. Savant a écrit :
On Tue, Feb 10, 2009 at 12:26 PM, Mike Abdullah
cocoa...@mikeabdullah.net wrote:
Read the documentation on -isKindOfClass: again. It does exactly
what you
want. -isMemberOfClass: performs the more specific test of excluding
subclasses.
In
Le 9 févr. 09 à 06:37, Rob Keniger a écrit :
On 08/02/2009, at 9:52 PM, Gerriet M. Denkmann wrote:
When I build a Cocoa Project with 32/64 bit, this line gets a
warning:
NSSize a = NSMakeSize( 11.2, 22.4);
which went away using:
NSSize a = NSMakeSize( (CGFloat)11.2,
Le 9 févr. 09 à 09:50, Rob Keniger a écrit :
On 09/02/2009, at 6:33 PM, Jean-Daniel Dupas wrote:
NSSize a = NSMakeSize( 11.2f, 22.4f);
The f suffix is a hint to the compiler that it's a float value.
A very bad idea as it would force usage of float in 64bits
applications where NSSize
Le 9 févr. 09 à 10:14, Rob Keniger a écrit :
On 09/02/2009, at 7:07 PM, Jean-Daniel Dupas wrote:
Which warning flag have you enabled to have this warning. I don't
see it by default ?
Hmm, I think it might be Implicit Conversion to 32 bit
type (GCC_WARN_64_TO_32_BIT_CONVERSION
Le 9 févr. 09 à 19:04, Sean McBride a écrit :
On 2/9/09 11:59 AM, Jean-Daniel Dupas said:
Hmm, I think it might be Implicit Conversion to 32 bit
type (GCC_WARN_64_TO_32_BIT_CONVERSION).
IMHO, this flag is recommended only to compile 64 bits code. On 32
bits arch, as you saw, most
Le 30 janv. 09 à 13:30, Ashish Tiwari a écrit :
Hi All,
Please name me code review tool (Freeware preferred) that is
commonly used
by Mac/ObjectiveC/XCode developer community.
There is the as-yet-unnamed clang static analyzer that can help you
to find common error.
It's not full
Le 29 janv. 09 à 22:20, Jeremy Pereira a écrit :
On 29 Jan 2009, at 19:33, Mr. Gecko wrote:
I'm just going to use sscrypto framework for it...
If a malicious person can replace an executable with his own, he can
probably also replace a framework...
Why using a library when the
it? is there any example
applications out there?
On Jan 29, 2009, at 3:35 PM, Jean-Daniel Dupas wrote:
Le 29 janv. 09 à 22:20, Jeremy Pereira a écrit :
On 29 Jan 2009, at 19:33, Mr. Gecko wrote:
I'm just going to use sscrypto framework for it...
If a malicious person can replace
Le 27 janv. 09 à 06:03, Slava Pestov a écrit :
On Mon, Jan 26, 2009 at 10:43 PM, Michael Ash
michael@gmail.com wrote:
Actually it's pretty easy to avoid exiting due to EXC_BAD_ACCESS,
just
install a signal handler for SIGSEGV.
In my experience, setting a handler for SIGSEGV is
Le 27 janv. 09 à 06:48, Bill Bumgarner a écrit :
On Jan 26, 2009, at 8:43 PM, Michael Ash wrote:
Actually it's pretty easy to avoid exiting due to EXC_BAD_ACCESS,
just
install a signal handler for SIGSEGV.
Of course, doing something rational in such a signal handler is ever
so slightly
Le 27 janv. 09 à 12:03, Gregory Weston a écrit :
Scott Ribe wrote:
I have given up on NSWorkspace, LaunchServices and now send the path
via Distributed Objects.
Hey, that surprises me ;-) Give what you said, my next attempt
would have
been constructing an open Apple Event... (Don't know
Le 27 janv. 09 à 12:25, Jean-Daniel Dupas a écrit :
Le 27 janv. 09 à 12:03, Gregory Weston a écrit :
Scott Ribe wrote:
I have given up on NSWorkspace, LaunchServices and now send the
path
via Distributed Objects.
Hey, that surprises me ;-) Give what you said, my next attempt
would
Le 27 janv. 09 à 12:37, rajesh a écrit :
Hi all,
For my application to know whats the current active application
( for each time there's a switch between application ) do I have to
Enable access for assistive devices ? and then proceed with
AX. API's ?
Any other solution or
Le 27 janv. 09 à 23:52, Michael Ash a écrit :
On Tue, Jan 27, 2009 at 5:15 PM, William Jon Shipley
w...@delicious-monster.com wrote:
Will thanks for the heads up, for my purposes this time around, the
input stream will be coming in off the file system, but I did not
want
to load the whole
Le 26 janv. 09 à 15:02, Horst Jäger a écrit :
First of all: thank you. You solved my problem.
There's no real way to enforce privateness, either in Objective-C
or C++.
Why not in C++?
And why not in Obj-C ? The new runtime (64 bits, non-fragile) declare
a symbol for each ivar.
Le 25 janv. 09 à 14:50, João Varela a écrit :
Olá António
I think your method must be corrected like this:
On 2009/01/25, at 07:28, cocoa-dev-requ...@lists.apple.com wrote:
@implementation PDFDocument (PDFDocument_Alloc)
+ (id)replacementAllocWithZone:(NSZone *)zone
{
if ([self
Le 25 janv. 09 à 19:54, João Varela a écrit :
On 2009/01/25, at 18:02, João Varela wrote:
So you mean that
if ( self == [aReceiver class] )
is the same as
if ( [self class] == [aReceiver class] ) ?
Yes it is.
Just a simple snippet to try to help you to understand.
We are ok to
Le 24 janv. 09 à 18:51, Antonio Nunes a écrit :
On 24 Jan 2009, at 18:09, Bill Bumgarner wrote:
Or, more specifically, why do you want to make some bit of
framework code which currently allocates an instance of A allocate
an instance of SubA instead?
Because of, what I assume to be, a
Le 24 janv. 09 à 19:20, Jean-Daniel Dupas a écrit :
Le 24 janv. 09 à 18:51, Antonio Nunes a écrit :
On 24 Jan 2009, at 18:09, Bill Bumgarner wrote:
Or, more specifically, why do you want to make some bit of
framework code which currently allocates an instance of A allocate
an instance
Le 24 janv. 09 à 19:20, Bill Bumgarner a écrit :
Thanks. I found that a few hours ago and was able to create the
exchange. However, writing a correct replacement method is another
thing altogether. The following doesn't work:
Early in application startup:
Method originalMethod =
Le 24 janv. 09 à 22:13, Antonio Nunes a écrit :
Sorry, sent this before I had finished making the necessary changes,
I don't think I need to exchange any implementations if I add the
method with the correct selector (allocWithZone:)
===
On 24 Jan 2009, at 19:20, Bill Bumgarner wrote:
If
Le 25 janv. 09 à 01:10, Alex Kac a écrit :
UIKit/AppKit are not thread-safe meaning we should never do drawing
on a background thread. Yet, if we have say 5 views and for
performance reasons we want the main view to draw first and then the
other 4 to draw in the background like how
Le 23 janv. 09 à 14:29, Dave a écrit :
Hi,
Is there some sample code anywhere that renders (e.g. applies the
mask etc.) an Icon from a .icns file at a given resolution? I'd then
like to be able to save the rendered image as a JPEG file.
If anyone knows of some sample code to get me
Le 23 janv. 09 à 16:10, fc...@dialup4less.com a écrit :
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via
a key of some sort.
Scenario:
I'm developing a game using
Le 23 janv. 09 à 17:34, Dave a écrit :
Hi Jean,
On 23 Jan 2009, at 13:56, Jean-Daniel Dupas wrote:
An icns file can be opened using NSImage methods.
Then choose the representation you need and convert it to JPEG as
you would do with any image.
If you want to go the hard way
.
On 01/23/2009 07:44 Jean-Daniel Dupas wrote ..
Le 23 janv. 09 à 16:10, fc...@dialup4less.com a écrit :
I would like to:
1) Encrypt/Encode a SQLite DB file from the command line (or via an
application) and
2) De-Encrypt/Decode the same SQLite DB from within Cocoa/iPhone via
a key of some sort
It already does it if debug symbols are available.
For example:
3 libnspr.4.dylib 0x00090636 PR_CreateFileMap + 0
(prmmap.c:52)
4 libnss.3.dylib 0x002b9601
PK11_GetInternalKeySlot + 74 (pk11slot.c:1659)
5 org.shadowlab.MyLibrary 0x00052b5f
Le 23 janv. 09 à 19:53, Dave a écrit :
Hi Jean,
Thank you so much for your help. I've almost got the code in place
now. But please see below.
On 23 Jan 2009, at 17:33, Jean-Daniel Dupas wrote:
Also at this point, I'd like to get a pointer to the Pixel buffer
in the CGContext
Completly untested:
NSString *content = [[myWebView windowScriptObject]
evaluateWebScript
:@document.getElementById('box').contentDocument.body.innerHTML];
And more info about Obj-C/JS integration at:
Did you try -[NSWorkspace iconForFile:] ?
Le 20 janv. 09 à 19:49, Dave a écrit :
Hi,
Yes, that's true. Can I get the Icon with the volume associated with
an iPod? I can form the volume file path no problem.
All the Best
Dave
On 20 Jan 2009, at 18:40, Russell Hancox wrote:
Dave,
Due
Le 19 janv. 09 à 00:56, Justin Carlson a écrit :
John Engelhart wrote:
On Sat, Jan 17, 2009 at 7:44 PM, Scott Ribe em...@hidden wrote:
TBH (and more to the point) I strongly suspect it's true of
everyone
who's expressed an opinion in this thread that it's not so much
about
the
Le 16 janv. 09 à 09:03, Jens Bauer a écrit :
Hi Jeremy,
On Jan 16, 2009, at 04:52, Jeremy Pereira wrote:
On 15 Jan 2009, at 22:16, Jens Bauer wrote:
..often used around 3ms for the empty method -renderObject.
It gave me the terrible result of up to 21ms spent in the empty
method!
-So
Le 16 janv. 09 à 09:27, Jens Bauer a écrit :
Hi Greg,
On Jan 16, 2009, at 08:39, Greg Titus wrote:
The point of what people are trying to tell you is that the result
you are getting (3ms per empty Objective-C call) is approximately
500,000 times longer than the time you ought to be
Le 16 janv. 09 à 11:19, Jens Bauer a écrit :
Hi Jean-Daniel,
On Jan 16, 2009, at 09:32, Jean-Daniel Dupas wrote:
You don't want to understand.
I'm sorry, if it appears to be like I do not want to understand.
I've been working all night on this, and I'm quite sleepy right now.
My results
Le 15 janv. 09 à 23:16, Jens Bauer a écrit :
Hi all,
I just want to let you know that I discovered I did a terrible
mistake today.
In other words: you don't have to learn from your own mistakes, if
you can learn from mine. =)
I investigated this, because my rendering was choppy.
The
jan 2009 kl. 21.07 skrev Chunk 1978:
personally i've used Carbon for this, but i'm not sure if it's the
most standardized way of attaining full screen. check out:
SetSystemUIMode(kUIModeAllHidden, 0); and
SetSystemUIMode(kUIModeAllSuppressed, 0);
On Mon, Jan 12, 2009 at 12:21 PM, Jean-Daniel
Le 14 janv. 09 à 00:11, Diez B. Roggisch a écrit :
Nick Zitzmann schrieb:
On Jan 13, 2009, at 3:45 PM, Diez B. Roggisch wrote:
Just for the record - the timoutInterval of 0 is the culprit. I
don't have the slightest idea why it stopped working, but I don't
care either. It might be worth
Le 12 janv. 09 à 03:29, Graham Cox a écrit :
On 12 Jan 2009, at 1:20 pm, Michael A. Crawford wrote:
I want to force derived classes to implement a given interface
without provided a default implementation. Does the concept exist
in Objective-C (I'm almost sure it does)? If so, what
Le 12 janv. 09 à 05:27, Andrew Farmer a écrit :
On 11 Jan 09, at 13:43, Luca wrote:
I'd want to read the contents of the file iTunes stores in ~/Music/
iTunes/iTunes Library in my Cocoa Application.
How can i do?
You can't; the format isn't documented, and changes frequently. Use
the XML
Le 12 janv. 09 à 01:36, Kyle Sluder a écrit :
On Sun, Jan 11, 2009 at 7:18 PM, Chunk 1978 chunk1...@gmail.com
wrote:
i noticed the window of the OS Install Assistant of Parallels 4.0
only
has a close button in the top left corner of the window. i didn't
know this was possible. how is
Le 12 janv. 09 à 17:00, I. Savant a écrit :
On Mon, Jan 12, 2009 at 10:49 AM, I. Savant
idiotsavant2...@gmail.com wrote:
The fact is, Apple ALREADY put a highly-effective* system into
place: Code signing.
A retraction: From the documentation (quoted below), the user can
apparently run
Le 12 janv. 09 à 17:56, Sean McBride a écrit :
On 1/11/09 2:31 PM, Sandro Noel said:
I'm looking for a way to programatically get the machine icon from my
servers, just like finder does in the finder.
*SNIP*.
Any suggestions on where to look??
NSImage. I think it's NSImageNameComputer.
Le 12 janv. 09 à 18:08, Jonathan Selander a écrit :
Hi,
Is there way to make the whole main windows with all its contents
(including a quartz composition) go full screen, and perhaps even
scale? If so, how?
Thanks
See the archives for a bunch of solutions, and pro and cons for each
Le 12 janv. 09 à 20:24, Donnie Lee a écrit :
I am curious to know more about theses system observers. Can you
explain
us what is it ?
Cocoa observers which sends mouse events, keyboard events etc.
Hardware event are received by the kernel that send them to the window
server that
Le 12 janv. 09 à 20:37, Mohan Parthasarathy a écrit :
Hi,
In places other than dealloc where memory needs to be released (e.g,
reassigning pointer to objects), is there a difference in doing
autorelease
or release of the object in terms of perfomance etc. ? I can see
that the
memory is
Le 10 janv. 09 à 07:03, Brian Bruinewoud a écrit :
Hi,
I'm an experienced C++ developer but a relative newbie to Objective-
C and Cocoa and am learning my way.
I'm porting a program to Mac OS X Cocoa and part of the requirements
is a CAD-like functionality. A substantial part of the rest
Maybe this can be a good starting point:
http://www.catb.org/~esr/faqs/smart-questions.html
Le 9 janv. 09 à 03:11, Parker Logan a écrit :
I am new to all this so if any one can help please do.
Thank you
From: LIL PLO
___
Le 7 janv. 09 à 14:18, Ammar Ibrahim a écrit :
On Wed, Jan 7, 2009 at 2:38 PM, Jason Stephenson ja...@sigio.com
wrote:
Ammar Ibrahim wrote:
The sample you sent is deprecated. This is code from 1992 that
uses old
networking APIs. And I read a complete book about networking
programming
Le 7 janv. 09 à 14:46, Jens Bauer a écrit :
Hi Ashish,
To save you from going down a path you may have to return from:
I've used CoreGraphics fullscreen mode, however that's probably not
a good approach for you, because if the user is pressing cmd+opt
+escape, then the application just
Le 1 janv. 09 à 20:00, Jim Correia a écrit :
On Dec 30, 2008, at 10:28 PM, Jacob Rhoden wrote:
Im still learning cocoa, so I have a question about if this is a
good idea or a crazy noob mistake. Given the following code can I
alter it so that postreader auto releases itself?
[...]
I'm
501 - 600 of 1035 matches
Mail list logo