On Wed, Sep 1, 2010 at 1:33 AM, Dave Keck davek...@gmail.com wrote:
Off topic 2: It's strange behavior in the first place, since AFAIK,
there's no efficient way of closing open descriptors short of for(i =
3; i getdtablesize(); i++) close(i);
It's actually normal and necessary behavior for a
On Wed, Sep 1, 2010 at 4:20 AM, Dave Keck davek...@gmail.com wrote:
descriptors are open. On OS X, you could read the contents of /dev/fd/
to accomplish the same thing. It appears that NSTask uses the uglier
getdbtablesize() loop though.
Neat, I wasn't aware of /dev/fd. Are the necessary APIs
I don't mean to cause trouble, but I just want to make sure I
understand this. Asking about how to implement a particular UI look is
off-topic for cocoa-dev?
Mike
On Thu, Sep 2, 2010 at 12:16 AM, Scott Anguish sc...@cocoadoc.com wrote:
Not appropriate to the list folks.
UI issues are defined
On Sun, Aug 29, 2010 at 5:58 PM, Jerry Krinock je...@ieee.org wrote:
On 2010 Aug 23, at 19:02, Daniel DeCovnick wrote:
But it doesn't really matter since you should never be calling dealloc
except from release or dealloc (as [super dealloc];) anyway.
No, I haven't called -dealloc for quite
On Tue, Aug 24, 2010 at 2:42 PM, Scott Andrew
scottand...@roadrunner.com wrote:
I have a question that I have been researching but can't find an answer for.
I have some iOS 3.2 code using NSOperation this doesn't work using
NSOperation but works using NSThread withe detatch thread in iOS4
On Sat, Aug 21, 2010 at 8:39 AM, Tharindu Madushanka
tharindu...@gmail.com wrote:
Hi,
But it seems like iPhone Phone app has some different Default.png images..
When you exit from Keypad menu.. it will load one image..
When you exit from other tabs, Default image is some other.. Is it
On Sat, Aug 21, 2010 at 12:16 PM, Martin Hewitson
martin.hewit...@aei.mpg.de wrote:
Dear list,
I'm building an app which supports a quick-entry dialog triggered by a global
hot-key so that the user can make entries while working in another app. I
have this all working fine except for one
On Wed, Aug 18, 2010 at 6:45 AM, Stuart Rogers stuart.rog...@me.com wrote:
I quite understand this, but the practice doesn't quite fit the theory.
If 'inactive' is effectively available as 'free' for all apps, then it should
be
available to my app. And yet, when 'free' drops to just a few
On Sun, Aug 15, 2010 at 12:05 PM, Ken Thomases k...@codeweavers.com wrote:
On Aug 14, 2010, at 11:36 PM, Michael Ash wrote:
First is the more obvious one, where you have the semantics of doing
an 'rm' on a directory without passing the -r flag. If the directory
is empty, it's deleted. If it's
On Sat, Aug 14, 2010 at 6:28 AM, F van der Meeren
fi...@code2develop.com wrote:
Hello,
The title already asks what I need to know:
How do I setup the SenTesting framework to run a series of unittests against
a series of classes?
For example:
Run testA, testB and testC to all subclasses
On Sat, Aug 14, 2010 at 7:56 AM, Eyal Redler eyred...@netvision.net.il wrote:
Hi,
I can't find any mention of if in the documentation but I need to know: how
safe is it to use the dictionary returned from
attributesAtIndex:effectiveRange after I've made changes to the attributed
string?
On Sat, Aug 14, 2010 at 12:37 PM, Keary Suska cocoa-...@esoteritech.com wrote:
On Aug 14, 2010, at 10:13 AM, Mr. Gecko wrote:
Well this seems to work for everything but floats, I've tried this to fix
the float issue but it didn't work.
case 'f':
case 'g': {
double floatValue =
On Sat, Aug 14, 2010 at 1:10 PM, Mr. Gecko grmrge...@gmail.com wrote:
I may as well just write my own stringWithFormat:arguments: to do what I
need, it'll probably be the best way if I can't do the things in default.
That's probably your best bet. You can probably find the source to an
On Sat, Aug 14, 2010 at 2:28 PM, Tom Jones tjo...@acworld.com wrote:
Thanks, this helps a lot. What I'm looking to remove is my temp directory
where I'm downloading files un-compressing them etc. Just good house keeping.
I must admit having not been doing this long, and after Kyle's remark on
On Sat, Aug 14, 2010 at 7:31 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sat, Aug 14, 2010 at 11:46 AM, Michael Ash michael@gmail.com wrote:
Er, as far as I can tell from a quick look at the docs, every
NSFileManager remove... method is documented to be recursive and there
isn't any
On Thu, Aug 12, 2010 at 10:51 PM, yanghb sprh...@gmail.com wrote:
if the instance is released in delegate, what to perform the following
code?OK, maybe code segment will always be there, but if the code
access some instance vairable, it just will cause EXEC_ACCESS_BAD,
isn't it?
This is
On Fri, Aug 13, 2010 at 9:13 AM, jonat...@mugginsoft.com
jonat...@mugginsoft.com wrote:
My app generates a task using NSTask().
If my app is killed or calls abort() - which equates to raise(SIGABRT) - then
it would be desirable that the child die too.
If I have the code for the launched
On Fri, Aug 13, 2010 at 4:22 PM, Greg Parker gpar...@apple.com wrote:
On Aug 13, 2010, at 1:09 PM, Geoffrey Holden wrote:
Is it possible to store a class object in NSMutableDictionary?
Class objects cannot be used as dictionary keys, because NSDictionary copies
its keys and class objects
On Tue, Aug 10, 2010 at 1:44 PM, Quincey Morris
quinceymor...@earthlink.net wrote:
Excuse me for jumping into this discussion with half a brain, but isn't there
another consideration?
I was under the impression that C does not have symmetric support for
'double' and 'float'. Specifically, I
On Mon, Aug 2, 2010 at 1:20 PM, Fritz Anderson fri...@manoverboard.org wrote:
On 2 Aug 2010, at 11:50 AM, David Duncan wrote:
On Aug 2, 2010, at 9:40 AM, Fritz Anderson wrote:
The didReceiveData: callback asserts that the data accumulator exists. In
certain circumstances (it seems to be
On Sun, Aug 1, 2010 at 3:30 PM, James Maxwell
jbmaxw...@rubato-music.com wrote:
Hello All,
I have a strange problem with NSKeyedArchiver/Unarchiver. I have a very
complex object graph that I want to be persistent, independently of my
document objects, so I'm archiving it into the user's
On Fri, Jul 30, 2010 at 6:24 PM, Nick Zitzmann n...@chronosnet.com wrote:
On Jul 30, 2010, at 4:09 PM, Dave DeLong wrote:
Hi everyone,
I have a seemingly simple question, but I haven't been able to figure it out.
Given a file, how can I determine the NSStringEncoding of the file, without
On Thu, Jul 29, 2010 at 4:26 PM, Tony Romano tony...@hotmail.com wrote:
I have a document based Cocoa App and I am trying to understand what is
causing these residual lines to happen. Attached is a link to what I am
referring to. The solid blue lines are the new lines after they have moved.
On Fri, Jul 16, 2010 at 4:34 AM, Gabriel Zachmann z...@tu-clausthal.de wrote:
In order for a screen saver to be fully compatible with Snow Leopard, you
must add an Intel 64 slice that supports GC. The reason is because both the
screen saver engine and System Preferences run as Intel 64 apps
On Mon, Jul 12, 2010 at 3:34 AM, Giannandrea Castaldi
g.casta...@gmail.com wrote:
Hi,
I want to use blocks to extract the min price and the max price from
an NSArray of trips. I've found the following way:
float minValue = 0.0;
[someTrips enumerateObjectsUsingBlock:^(id obj, NSUInteger
On Mon, Jul 12, 2010 at 11:30 AM, Dave DeLong davedel...@me.com wrote:
That did the trick! Thanks!
Out of curiosity, under what circumstances for sheet displaying should I be
using the NSApplication method?
That method is for when you're building a completely custom sheet.
You'd build the
On Fri, Jul 9, 2010 at 7:21 PM, Dave DeLong davedel...@me.com wrote:
Hi everyone,
I'm working on a preference pane and am having issues getting some sheets to
work.
I have a button that executes:
NSOpenPanel * open = [NSOpenPanel openPanel];
//basic configuration
[NSApp beginSheet:open
On Fri, Jul 9, 2010 at 6:22 PM, Georg Seifert georg.seif...@gmx.de wrote:
Hi,
The thing is, I want to replicate the NSCollectionView but using cells
instead of views. The NSCollectionView has a lot of problems like performance
and I couldn’t find a way to get the rect of the view of an item
On Wed, Jul 7, 2010 at 3:53 PM, Paul Sanders p.sand...@alpinesoft.co.uk wrote:
I have a problem. I need to know when an NSApplicationDefined NSEvent is
deallocated, because it contains a reference to an object in data1 and I want
to release that object at that time. Problem is, you can't
On Wed, Jul 7, 2010 at 2:33 PM, Matt Neuburg m...@tidbits.com wrote:
On or about 7/7/10 11:17 AM, thus spake Bill Bumgarner b...@mac.com:
I missed the OP's post
If the static analyzer is barfing up a false positive, please report it
(http://bugreport.apple.com/ works fine).
Is that
On Wed, Jul 7, 2010 at 8:41 PM, Matt Neuburg m...@tidbits.com wrote:
On Wed, 7 Jul 2010 17:54:58 -0400, Michael Ash michael@gmail.com said:
I get a false positive in *any*
of my apps that uses NSURLConnection, for example:
NSURLConnection* con = [[NSURLConnection alloc
On Wed, Jul 7, 2010 at 6:34 PM, Paul Sanders p.sand...@alpinesoft.co.uk wrote:
If you can require 10.6 (or iOS 4, maybe?) then you can use the new
associated object API. Use objc_setAssociatedObject to attach your
object to the NSEvent object, and the runtime will automatically take
care of
On Fri, Jul 2, 2010 at 6:49 AM, Angelica Grace Tanchico
atanch...@live.com wrote:
Hello Again,
As stated in iPhone App Programming Guide Document, below are the interfaces
that can be used to configure VOIP:
- NSInputStream and NSOutputStream
- NSURLRequest
- CFReadStreamRef and
On Wed, Jun 30, 2010 at 5:44 PM, Dave Carrigan d...@rudedog.org wrote:
On Jun 30, 2010, at 2:35 PM, Laurent Daudelin wrote:
Well, isn't -respondsToSelector: an instance method?
if ([[Someclass class] respondsToSelector:@selector(classSelector)]) {
// yup
}
An extremely minor
On Thu, Jul 1, 2010 at 12:05 PM, Michael Ash michael@gmail.com wrote:
An extremely minor nitpick: the use of +class here is necessary.
Of course I meant to write that the use of +class here is UNnecessary. Sigh.
Mike
___
Cocoa-dev mailing list
On Thu, Jul 1, 2010 at 1:30 PM, Jonathon Kuo
newsli...@autonomy.caltech.edu wrote:
On Jul 1, 2010, at 9:49 AM, Kyle Sluder wrote:
On Jul 1, 2010, at 9:42 AM, Jonathon Kuo newsli...@autonomy.caltech.edu
wrote:
On Jul 1, 2010, at 7:56 AM, Matt Neuburg wrote:
Instance methods defined in a
On Wed, Jun 30, 2010 at 11:11 AM, Alastair Houghton
alast...@alastairs-place.net wrote:
On 30 Jun 2010, at 15:56, Frederick Bartram wrote:
Hope that I am not being too pedantic but imo you should never test for
'equality' ('==') when using machine real data types.
Sometimes you really do
On Wed, Jun 30, 2010 at 1:01 PM, Geoffrey Holden
45rpmli...@googlemail.com wrote:
I realize that this is a hell of a big query, and I'm not entirely sure that
I've given enough information for anyone to help answer it. At the very
least, I guess I'm hoping for a reference to some really
On Mon, Jun 28, 2010 at 6:09 AM, Graham Cox graham@bigpond.com wrote:
On 28/06/2010, at 7:40 PM, Graham Cox wrote:
I recently switched my project from using the 10.5 Base SDK to the 10.6 SDK
(but with minimum deployment target 10.5).
My project links to libcrypto by adding -lcrypto to
On Mon, Jun 28, 2010 at 4:42 PM, Tony Romano tony...@hotmail.com wrote:
Did you happen to read this link? It's clearly documented in the section
Declaring and Using a Block. HTH.
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html
I see
On Mon, Jun 28, 2010 at 11:39 AM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Mon, Jun 28, 2010 at 7:58 AM, Michael Ash michael@gmail.com wrote:
If Apple broke it, they would break every single app built against the
10.5 SDK, so I think you're pretty safe.
Don't be so sure. 10.6 broke
On Mon, Jun 28, 2010 at 4:48 PM, Bill Bumgarner b...@mac.com wrote:
On Jun 28, 2010, at 1:45 PM, Michael Ash wrote:
But I was unable to find any discussion of HOW you explicitly declare
the return value of a block expression.
^ return-type (arg-list) { code};
Sure, but is this documented
On Mon, Jun 28, 2010 at 9:12 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Jun 28, 2010, at 5:52 PM, Graham Cox graham@bigpond.com wrote:
Isn't there a way to link against the latest, whatever it is? Since
there's a symlink for that, at least there's an access point in the file
On Sat, Jun 26, 2010 at 12:45 PM, Jaime Magiera
ja...@sensoryresearch.net wrote:
Hello,
The list search keeps timing out for me, and web searches are not finding
anything. I can see how to tell if an NSNumber was initialized with an int or
boolean (NSCFNumber vs. NSCFBoolean). However, I
On Wed, Jun 23, 2010 at 1:33 PM, Alexander Cohen a...@toomuchspace.com wrote:
Hello,
I have a view in an NSScrollView's document view that has a small child
window attached to it, meaning the window follows that view wherever it goes.
But when i scroll the scrollview, not much changes for
On Tue, Jun 22, 2010 at 9:25 AM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
It's a little weird because this method gets called sometimes on a view
that is not yet installed in a window, so I just make a window then and
there. (This is run in a headless command-line app, I ought to
On Thursday, June 10, 2010, Kyle Sluder kyle.slu...@gmail.com wrote:
On Thu, Jun 10, 2010 at 1:58 PM, Frederick C.Lee
frederick_...@apple.com wrote:
Greetings:
I have a situation where I need to access a member of a mutable array
(max 4 members).
Sometimes I could get an out-of-bounds
I concede that you're technically correct. But pragmatically, the CPU
register used to return integer and pointer values to the caller has always
been the same register for both Motorola and Intel processors since as long
as I can remember programming in C -- and that's been awhile.
No
On Sun, Jun 6, 2010 at 10:21 AM, James Maxwell
jbmaxw...@rubato-music.com wrote:
I have a NSTextView that's displaying MIDI info from my app's current MIDI
input device. I show this info in a couple of places - one is in a MIDI
Setup type window, and the other is in an Inspector window. I
On Fri, Jun 4, 2010 at 11:27 AM, Jerry Krinock je...@ieee.org wrote:
On 2010 Jun 02, at 10:48, BJ Homer wrote:
detachNewThreadSelector:target:withObject: retains both the target and the
object.
Thank you, BJ. That explains everything.
On 2010 Jun 02, at 11:12, Jens Alfke wrote:
It’s
On Tue, Jun 1, 2010 at 3:34 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Tue, Jun 1, 2010 at 12:26 PM, Michael Ash michael@gmail.com wrote:
If your goal is to simulate shutdown/restart termination, this won't
work; the system does not send signals to your app to kill it during
those
On Wed, Jun 2, 2010 at 11:00 AM, Matt Neuburg m...@tidbits.com wrote:
On or about 6/1/10 12:01 PM, thus spake Kyle Sluder
kyle.slu...@gmail.com:
On Tue, Jun 1, 2010 at 11:00 AM, Matt Neuburg m...@tidbits.com wrote:
So... Are nibs just ignorant of protocols?
I don't believe the nib loading
On Tue, Jun 1, 2010 at 3:16 PM, John Joyce jjo...@apple.com wrote:
On Jun 1, 2010, at 2:09 PM, has wrote:
lorenzo7620 wrote:
My question at this point is not about the dialog not displaying, not yet
anyway, but how to tell my app to quit without actually restarting or
shutting down the
On Fri, May 28, 2010 at 10:34 PM, Jens Alfke j...@mooseyard.com wrote:
On May 28, 2010, at 6:59 PM, Michael Ash wrote:
An attacker can execute a man-in-the-middle attack...
An attacker can simply impersonate your app...
Neither of these can be defended against, even theoretically, when
On Sat, May 29, 2010 at 3:04 PM, Jens Alfke j...@mooseyard.com wrote:
This is rapidly heading off-topic, but:
On May 29, 2010, at 4:15 AM, Michael Ash wrote:
Man-in-the-middle: if I execute the attack the first time you talk to
a given peer, you have no way of detecting me.
This is avoided
On Fri, May 28, 2010 at 7:40 PM, Philip Vallone
philip.vall...@verizon.net wrote:
Hi,
Wait, are you archiving and unarchiving data over a network? That’s a bad
idea unless you’re extremely careful. The problem is that a malicious peer
can send you an archive that expands into any codable
On Tue, May 18, 2010 at 12:58 PM, Nick Zitzmann n...@chronosnet.com wrote:
On May 18, 2010, at 8:34 AM, Jonny Taylor wrote:
- I could try acquiring the NSNotificationQueue for the main thread, but
there does not appear to be a standard way of doing that. I have seen this
suggested as a
On Tue, May 18, 2010 at 5:21 PM, Matthew Weinstein mwein...@kent.edu wrote:
My mistake for not being clear:
I have an NSData in an object;
I read that data using a keyedArchiver to get to the chunk I want.
I want to replace a chunk of that data with another using the same key. (the
file
On Sat, May 15, 2010 at 3:48 PM, Philip White philipwh...@mac.com wrote:
On May 15, 2010, at 2:31 PM, Philip White wrote:
I wrote this:
-(void)display
{
/* seems to be unnecessary?
NSGraphicsContext *context = [NSApp context];
NSGraphicsContext *oldContext =
On Fri, May 14, 2010 at 1:12 PM, Ken Ferry kenfe...@gmail.com wrote:
On Wed, May 5, 2010 at 11:33 AM, Michael Ash michael@gmail.com wrote:
On Wed, May 5, 2010 at 2:29 PM, Jens Alfke j...@mooseyard.com wrote:
On May 5, 2010, at 8:50 AM, Michael Ash wrote:
Delegates are the only
On Fri, May 14, 2010 at 5:45 AM, Billy Flatman b.flat...@googlemail.com wrote:
Hi Quincey,
Thanks for you help. I am trying to pass the class reference around for drag
and drop, I think i'll try your idea of converting the pointer to a number,
The best way to pass arbitrary pointers around
On Fri, May 14, 2010 at 4:46 PM, Ken Ferry kenfe...@gmail.com wrote:
Regarding that 10.5 singleton safety bug, is this documented anywhere?
It seems like there are a lot of minor bugs which get fixed in later
OS revisions but persist in earlier ones that we often have to support
for a while.
On Thu, May 13, 2010 at 11:52 AM, Louis Gerbarg lgerb...@gmail.com wrote:
On May 13, 2010, at 11:05 AM, Michael Ash michael@gmail.com wrote:
On Thu, May 13, 2010 at 10:56 AM, Thomas Davie tom.da...@gmail.com wrote:
On 13 May 2010, at 15:33, Eric Gorr wrote:
So long as it is ok
On Thu, May 6, 2010 at 2:12 PM, Jens Alfke j...@mooseyard.com wrote:
An intermediate level would be if the library loads the _compressed_ audio.
This is a lot less memory usage. It may even memory-map the file, which
wouldn't affect your process's heap space at all. (I know the iPhone doesn't
On Wed, May 5, 2010 at 2:37 AM, Ken Ferry kenfe...@gmail.com wrote:
On Tue, May 4, 2010 at 11:27 PM, Quincey Morris quinceymor...@earthlink.net
wrote:
I'm not concerned with the issue of delegates. My question is whether a
single (delegate-less) instance of NSFileManager can be used
On Wed, May 5, 2010 at 2:29 PM, Jens Alfke j...@mooseyard.com wrote:
On May 5, 2010, at 8:50 AM, Michael Ash wrote:
Delegates are the only reason the doc says anything other than go nuts.
This is what both Jens and I were trying to say.
Is this true for all OS X versions, for 10.6
On Sun, May 2, 2010 at 10:09 PM, k...@highrolls.net wrote:
If a director is compressed in the Finder, and added to an app's resources,
and the app wants to copy the compressed director to a location and
uncompress the directory what is the correct process.
I have done unzip and uncompress
On Sun, May 2, 2010 at 1:50 AM, James Maxwell
jbmaxw...@rubato-music.com wrote:
On May 1, 2010, at 21:22, James Maxwell wrote:
If I drop into the debugger arbitrarily, before the crash, and check this
same array, I noticed that it is nicely filled with NSCFNumbers. But,
strangely, there are
On Wed, Apr 28, 2010 at 2:16 PM, Tom Foutz tom.fo...@gmail.com wrote:
I am trying to run a back-up type of unix script whenever a file
changes in the directory. However, my implementation, when viewed in
Instruments with ObjectAlloc, demonstrates an ever-increasing
number of living objects.
On Thu, Apr 29, 2010 at 12:55 AM, Quincey Morris
quinceymor...@earthlink.net wrote:
On Apr 28, 2010, at 20:49, Michael Ash wrote:
Actually, while there are finite decimal numbers with no finite binary
representation, the reverse is not true. Every binary number can be
represented by a finite
On Wed, Apr 28, 2010 at 3:31 PM, Quincey Morris
quinceymor...@earthlink.net wrote:
On Apr 28, 2010, at 11:42, Kyle Sluder wrote:
Er? Unless there's some documentation about the precision of
NSStringFromPoint being less than that of the members,
NSStringFromPoint could certainly include just
On Tue, Apr 27, 2010 at 5:53 AM, Paul Sanders
p.sand...@alpinesoft.co.uk wrote:
Um, actually the menu bar is on the primary display. That's
the definition of the primary display
-- it's the one with the menu bar. Did you perhaps mean the
built-in display?
I was speaking from memory. My
On Tue, Apr 27, 2010 at 11:29 AM, Thomas Clement thoma...@free.fr wrote:
On Apr 27, 2010, at 4:48 PM, Michael Ash wrote:
On Tue, Apr 27, 2010 at 5:53 AM, Paul Sanders
p.sand...@alpinesoft.co.uk wrote:
Um, actually the menu bar is on the primary display. That's
the definition
On Tue, Apr 27, 2010 at 2:05 PM, Keith Blount keithblo...@yahoo.com wrote:
Indeed, I believe that's my problem - currently when I add objects to my
children array I do things such as [[myNode children] addObject:newNode],
meaning I have nowhere to catch it. I'll update my code to add some
On Thu, Apr 22, 2010 at 6:45 PM, Bill Appleton
billapple...@dreamfactory.com wrote:
hi all,
thanks for the great advice
for better or worse i am porting a large piece of enterprise software from
carbon/windows to cocoa/windows
most of the code is platform independent, but i can't make big
On Mon, Apr 19, 2010 at 3:27 AM, Jean-Daniel Dupas
devli...@shadowlab.org wrote:
Le 19 avr. 2010 à 04:21, Michael Ash a écrit :
On Sun, Apr 18, 2010 at 10:15 PM, Dave DeLong davedel...@me.com wrote:
Yes, code should obviously be written with this knowledge in mind. The use
case I have
On Sun, Apr 18, 2010 at 2:09 AM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sat, Apr 17, 2010 at 8:29 PM, Ben Haller
bhcocoa...@sticksoftware.com wrote:
I don't think I'm crazy about this. There are many different subclasses,
so each subclass would have its own corresponding struct, and
On Sun, Apr 18, 2010 at 10:15 PM, Dave DeLong davedel...@me.com wrote:
Yes, code should obviously be written with this knowledge in mind. The use
case I have for it is for macros. I like to use a debugging macro like the
following to ensure that methods are getting called (without having to
On Sun, Apr 18, 2010 at 10:58 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Apr 18, 2010, at 6:52 PM, Michael Ash michael@gmail.com wrote:
If by indirected through the runtime you mean accesses one global
variable to get an offset. It does not, as one might take your
comment to indicate
On Thu, Apr 8, 2010 at 1:21 PM, Patrick M. Rutkowski rutsk...@gmail.com wrote:
Agreed, but there's always the danger the +array method, which might
actually be implemented in NSArray.m, will not properly initialize the
more specific NSMutableArray object.
Of course, in this specific case
On Wednesday, April 7, 2010, Jens Alfke j...@mooseyard.com wrote:
FYI to the OP: If you haven't worked with LGPL code before, be aware that you
must build it into a separate dynamic library or framework that you can
bundle inside your app. Statically linking the code into your app violates
On Thu, Apr 1, 2010 at 7:19 PM, Dave Keck davek...@gmail.com wrote:
Look like a race condition. The man page says getppid() will not fail, but
not what happens after the parent dies. I will test this.
If the parent dies, the process becomes the child of launchd. For a quick
fix I checked for
On Mon, Mar 29, 2010 at 2:15 PM, Philip Mötteli
philip.moett...@tele2.ch wrote:
Hi,
Am 29.03.2010 um 18:52 schrieb A.M.:
On Mar 29, 2010, at 11:07 AM, Philip Mötteli wrote:
I need to temporary save the invocation of a method. For that, I just need
to put the stack frame into an
On Wed, Mar 24, 2010 at 10:02 AM, Oleg Krupnov oleg.krup...@gmail.com wrote:
Hi,
I need to open a bitmap file, perhaps do some filtering, and render it
to the screen with the maximum possible performance.
I am allowed to assume Snow Leopard.
Now I am a bit confused what technology (-ies) I
On Tue, Mar 23, 2010 at 8:48 PM, Graham Cox graham@bigpond.com wrote:
I'm having a problem making settings in a new target apply in my code. I'm
sure this is really simple and I'm missing something obvious.
The point is to permit me to release bugfixes to my existing codebase while
On Thu, Mar 18, 2010 at 8:14 AM, Jeremy Pereira jeremyp...@me.com wrote:
On 18 Mar 2010, at 11:48, Peter Hudson wrote:
Technical QA QA1361
Detecting the Debugger
Does this code report on my app being debugged by any third party, even when
the app has been stripped of symbols ?
Would it
On Wed, Mar 17, 2010 at 11:11 PM, BJ Homer bjho...@gmail.com wrote:
Okay, so that's the setup. Obviously, the problem is that the two user-space
threads are sharing an autorelease pool stack that is intended to be
thread-local. My question, then, is whether there exists a way to get and
set
On Thu, Mar 18, 2010 at 12:05 PM, Jens Alfke j...@mooseyard.com wrote:
On Mar 18, 2010, at 8:35 AM, Michael Ash wrote:
Cocoa keeps around a lot of thread-specific state. In addition to
autorelease pools, you also have exception handlers, graphics
contexts, and possibly others.
Yup. I
On Mon, Mar 15, 2010 at 12:33 AM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sun, Mar 14, 2010 at 9:50 PM, Michael Ash michael@gmail.com wrote:
NSTask is also not like calling the exec family of functions. NSTask
implicitly passes the target path as the first argument, and puts your
On Sun, Mar 14, 2010 at 8:42 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Sun, Mar 14, 2010 at 1:41 PM, gMail.com mac.iphone@gmail.com wrote:
I had to modify just one thing, then it worked: since we invoke directly
hdiutil, I removed hdiutil from the args, so now it looks like:
This is
On Fri, Mar 12, 2010 at 5:41 PM, Gwynne Raskind gwy...@darkrainfall.org wrote:
On Mar 12, 2010, at 4:52 PM, Peter Ammon wrote:
While profiling a project I'm working on, I found that while most of my
time was being spent in glFlush() (which is completely expected for an
OpenGL-based game), a
On Thu, Feb 25, 2010 at 3:00 AM, Billy Flatman b.flat...@googlemail.com wrote:
Hi all,
I've written a custom view and done some optimisation of the drawing calls
so only the exact areas that need redrawing are passed to the
'setNeedsDisplayInRect' function.
All was working well, until I
On Wed, Feb 24, 2010 at 5:05 PM, Graham Cox graham@bigpond.com wrote:
On 25/02/2010, at 9:00 AM, Sherm Pendley wrote:
I've heard good things about Aquatic Prime:
AP is certainly very easy to use, but it's also extremely weak, and has
already been widely cracked, so you might want to
On Wed, Feb 17, 2010 at 4:23 AM, Keith Duncan ke...@33software.com wrote:
On 16 Feb 2010, at 21:40, David Duncan wrote:
Calling it in -initWithFrame: is too early and the view fails to 'draw'.
If you are creating the view programmatically, -initWithFrame: should be
fine. If your loading
On Fri, Feb 12, 2010 at 12:07 AM, Charles Srstka
cocoa...@charlessoft.com wrote:
On Feb 11, 2010, at 10:28 PM, Graham Cox wrote:
On 12/02/2010, at 1:43 PM, Gordon Apple wrote:
My point was that if all Cocoa classes called init
somewhere in their other initializers (or had a two-step
On Wed, Feb 10, 2010 at 11:45 AM, Richard Somers
rsomers.li...@infowest.com wrote:
On Feb 10, 2010, at 2:28 AM, Tharindu Madushanka wrote:
Is there any way I could resume a broken XCode download due to session
expire..
I also have a slow connection. I have never been able to resume a broken
On Sun, Feb 7, 2010 at 5:43 PM, Graham Cox graham@bigpond.com wrote:
On 08/02/2010, at 4:23 AM, Paul Sanders wrote:
do they really have 7 1/2 million bugs outstanding!?
No - this is the total number of reports ever submitted, assuming the
numbering started at 1, which is unlikely
2010/2/6 Frédéric Testuz ftes...@bluewin.ch:
Hi all,
I'm beginning a new application targeting Snow Leopard only. So I want to use
the new tools (blocks) and garbage collection (GC). It will be my first
application using GC.
I read some sites on GC and blocks. In the blog of Mike Ash I
On Wed, Feb 3, 2010 at 1:46 PM, Charles Srstka cocoa...@charlessoft.com wrote:
On Feb 3, 2010, at 8:26 AM, cocoa-dev wrote:
Thanks Graham, here's what I'm thinking. The documents for my app are
fileWrappers. Before the document is saved for the first time I can copy
the files to a temp
On Tue, Feb 2, 2010 at 3:41 PM, Oleg Krupnov oleg.krup...@gmail.com wrote:
Good point, Jesper.
But in this case, how should I catch real unhandled exceptions and
send bug reports? What is the recommended best practice?
As far as I know, you really can't. The problem is that what we would
1 - 100 of 1141 matches
Mail list logo