Hello, list
I try to check my Cocoa application memory leak issue using Instruments.
here I have a question here:
for example:
if(conditions == true){
void *buffer1 = malloc(32);
buffer1 = NULL;
} else {
void *buffer2 = malloc(32);
buffer2 = NULL;
}
the Instruments (leak
On 27 Apr 2009, at 02:41, Jon wrote:
it appears there is a bug in Apple's date formatter:
NSDateFormatter *inputFormatter = [[NSDateFormatter
alloc] init];
[inputFormatter setDateFormat:@"MMM-dd-yy HH:mm:ss
zzz"];
NSDate *theDate = [inputForm
Hi all,
In my application I use a NSColorWell instance. I use this to set the
background color of the textview.
I use an action method to do this task,
-(IBAction)setBGcolor:(id)sender;
{
[txtview setBackgroundColor:[colwel color]];
}
This works only when I activate and pick
On Apr 27, 2009, at 6:44 AM, Michael Ash wrote:
The correct approach here is to define a property, or a set of
properties, on your table view subclass to control its appearance,
then set up those properties in your controller in awakeFromNib.
It is entirely baffling to me that people are so rel
I think you're expecting a bit too much from Instruments. I may be
wrong, but I think Instruments is not a static analyzer. It only
checks for leaks as they occur, that is, at runtime. Thus, if parts of
your code do not execute at runtime during a given session,
Instruments won't see them a
I used launchd to schedule my application. I created plist in LaunchAgents
by setting the keys Label, onDemand, ProgramArguments and
startCalenderInterval. Then I loaded the plist using the terminal. It is
working fine. Now I need to launch the application without using terminal.
How can I do it?
.. but speaking of static analyzers, try <
http://clang.llvm.org/StaticAnalysis.html>.
I don't think it reasons about malloc and free, but it does reason about
-retain and -release.
-Ken
On Mon, Apr 27, 2009 at 3:14 AM, WT wrote:
> I think you're expecting a bit too much from Instruments. I ma
On Apr 27, 2009, at 2:10 AM, WT wrote:
On Apr 27, 2009, at 6:44 AM, Michael Ash wrote:
The correct approach here is to define a property, or a set of
properties, on your table view subclass to control its appearance,
then set up those properties in your controller in awakeFromNib.
It is enti
On Apr 27, 2009, at 1:19 PM, Jonathan Hess wrote:
That cleared things up and sounds much more reasonable.
Did I sound less reasonable before? I surely hope not. :)
To take this a step further, if you're going to take the time to
define constants like kTable1Tag, and then use them in IB, why
On 27/04/2009, at 10:37 PM, WT wrote:
(c) went overboard with the whole tags-as-bitfields idea
Well, sorry! It was just a suggestion. Maybe it's a hangover from my
hardware days trying to cram a complete OS into 32K of on-chip ROM.
--Graham
_
I was not using the term Data Source properly most likely, this is
what i was doing..
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:theDate forKey:@"the date"];
in a different Class object at a later time, i retrieve it like this.
oh wait, you are saying the Australia has an EST... I see.
in that case, do you think Apple should have this work, which i
tried, of having this line before making the final format call of
just using PDT.
[inputFormatter setLocale:[[NSLocale alloc]
initWithLocaleIdentifier:@"en_US"]]
On 27 Apr 2009, at 15:13, jon wrote:
oh wait, you are saying the Australia has an EST... I see.
in that case, do you think Apple should have this work, which i
tried, of having this line before making the final format call of
just using PDT.
[inputFormatter setLocale:[[NSLocale alloc
On Apr 27, 2009, at 2:10 AM, WT wrote:
On Apr 25, 2009, at 6:47 PM, David Scheidt wrote:
I've got a sub-class of NSTableView. I have windows that have more
than one instance of this TableView in them, which need to behave
slightly differently, based on which one they are.
The way I unde
Put the plist in /Library/LaunchDaemons, and make sure owner is root, and
only owner has write access.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On 4/26/09 3:22 PM, Iceberg-Dev said:
>Is it possible to copy a symbolic link (the symbolic link file and
>not the item it references) using the FSPathCopyObjectSync API?
>
>No valuable info was found in the documentation, the list archive,
>google results.
The carbon-dev list would be a better p
On 27 Apr 2009, at 14:54, jon wrote:
I was not using the term Data Source properly most likely, this is
what i was doing..
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:theDate forKey:@"the date"];
in a different Class object at a lat
Hi all,
This might be more of a C problem than a Cocoa problem per se.
Enumerating the values of an attribute dictionary in NSXMLReader I try to
set some members of a currentNode object (which does not represent an XML
node, confusingly):
NSEnumerator *enumerator = [attributeDict keyEnume
On Apr 27, 2009, at 4:42 PM, Adam R. Maxwell wrote:
On Apr 27, 2009, at 2:10 AM, WT wrote:
On Apr 25, 2009, at 6:47 PM, David Scheidt wrote:
I've got a sub-class of NSTableView. I have windows that have
more than one instance of this TableView in them, which need to
behave slightly diffe
On Mon, Apr 27, 2009 at 5:10 AM, WT wrote:
> On Apr 27, 2009, at 6:44 AM, Michael Ash wrote:
>
>> The correct approach here is to define a property, or a set of
>> properties, on your table view subclass to control its appearance,
>> then set up those properties in your controller in awakeFromNib.
According to Martijn van Exel:
> Hi all,
>
> This might be more of a C problem than a Cocoa problem per se.
> Enumerating the values of an attribute dictionary in NSXMLReader I try to
> set some members of a currentNode object (which does not represent an XML
> node, confusingly):
>
> NS
On 28/04/2009, at 1:12 AM, WT wrote:
Of course the tag is a container for *a*/*one* property, the tag
itself, but it's not a container for multiple properties, as others
had interpreted it.
In my original response suggesting bitfields, I was responding solely
to the post which outlined
What is current thinking on the value of allocateGState? This method
dates from 10.0, when memory was for sure dearer. Nowadays, with gigs
of memory, it would seem prudent to avoid graphics state object
allocate / deallocate cycles for views that tend to get frequent
focus.
Comments?
David
_
On Apr 27, 2009, at 08:10, Martijn van Exel wrote:
currentNode.lat = (double)[attributeDict
objectForKey:key];
...
Member 'lat' is a double. The above does not work. 'Pointer value
used where
float was expected'. So I should dereference?
currentNode.lat = (dou
On Apr 27, 2009, at 11:12 AM, WT wrote:
Perhaps it's time the OP clarified what exactly he had in mind.
Sure. I've got a window. (Actually, there are several windows, but
they're all similar.) It's got a table view along the top. that
table will always have instances of an entity, ca
David Scheidt wrote:
switch ([self tag]){
case 0: //catches the default IB Tag
evenColor = uglyColor;
break;
case 1: // Foo Tables
evenColor = FooColor;
break;
default: // catches invalid tag in IB
evenColor = uglyColor2;
}
// d
Thanks Richard, that's really helpful!
I seem to have it working, though I'm actually still having problems
with stuttering, which I don't really understand. Any thoughts on
where I should start looking? Could it be because some of the classes
in my worker thread are using shared instances?
How can I get notification if the Selection changed in a NSTextField. This
works with a NSTextView by setting up the delegate -
(void)textViewDidChangeSelection:(NSNotification *)aNotification
A NSTextField uses a NSTextView for its editing. And the NSTextField is the
delegate to the NSTextView. I
How can I get notification if the Selection changed in a NSTextField. This
works with a NSTextView by setting up the delegate -
(void)textViewDidChangeSelection:(NSNotification *)aNotification
A NSTextField uses a NSTextView for its editing. And the NSTextField is the
delegate to the NSTextView. I
On Apr 26, 2009, at 6:02 AM, Peter Hudson wrote:
When I try to print a document ( to PDF ) the app can sometimes hang
- and I get a long message which looks like debug printout from the
OS in the debug console.
The last section of the message seems to contain the crux of the
problem : -
On Apr 26, 2009, at 2:29 PM, Rowan Nairn wrote:
Thanks for the pointers. I actually figured out a way to do it. If
you [NSView setWantsLayer:NO] and render the layer yourself like
so.
- (void)drawRect:(NSRect)dirty {
CGContextRef ctx = [[NSGraphicsContext currentContext] graphicsP
Thanks Alastair and Graham for responding, and apologies for the delay in
following up.
I think that, at best, the documentation is ambiguous. It would be clearer
specifically saying "If no value was set explicitly for the receiver, this
method [lineWidth] returns the default line width ->at the
Does anyone know if Apple provides a download of the full 10.4.x
install DVD for developers? I need to test 10.4 on an intel machine,
but my install of 10.4 only works on PPC.
Rich Collyer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
On Apr 27, 2009, at 12:17 PM, iseecolors wrote:
Does anyone know if Apple provides a download of the full 10.4.x
install DVD for developers? I need to test 10.4 on an intel
machine, but my install of 10.4 only works on PPC.
You should see a disk image in your ADC account, under "Downloads"
The downloads are all Updates which assume I already have a full
install of 10.4 for Intel.
There is a download of 10.4, but that is for PPC only.
Rich
On Apr 27, 2009, at 11:33 AM, Randall Meadows wrote:
On Apr 27, 2009, at 12:17 PM, iseecolors wrote:
Does anyone know if Apple provides a
On Mon, Apr 27, 2009 at 2:17 PM, iseecolors wrote:
> Does anyone know if Apple provides a download of the full 10.4.x install DVD
> for developers? I need to test 10.4 on an intel machine, but my install of
> 10.4 only works on PPC.
The minimum OS requirement for any given Mac model is nearly al
On Apr 27, 2009, at 12:44 PM, iseecolors wrote:
The downloads are all Updates which assume I already have a full
install of 10.4 for Intel.
There is a download of 10.4, but that is for PPC only.
The Intel version of 10.4.x was OEM only. It wasn't sold or
distributed on ADC.
Besides th
I did search the archives, and saw no one else had asked this question.
I have an NSNumberFormatter (10.4 behavior) attached to an
NSTextField, and I'm setting the text field's object value to an
NSDecimalNumber that can be of any length. But when I load in an
NSDecimalNumber that is at lea
ugh... Okay, so I got rid of all the shared instances (of my own
classes, that is) but I'm still getting stuttering. Is there anything
in the settings of the thread itself that I should check? Or is there
some other newbie "gotcha" that I should be aware of?
thanks in advance for any though
Just checking to see if anyone has created a Obj-C wrapper for the RED
camera SDK before starting I start to do so
Thanks in advance
Todd Freese
The Filmworkers Club
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
On Apr 27, 2009, at 11:48 AM, David Alter wrote:
How can I get notification if the Selection changed in a
NSTextField. This
works with a NSTextView by setting up the delegate -
(void)textViewDidChangeSelection:(NSNotification *)aNotification
A NSTextField uses a NSTextView for its editing. A
Thanks for the suggestion. I tried it, but no go.
It's core data based, but not document-based
I've just got the application loading all its data from core data
I'm running 10.5.6 with Xcode 3.1.2
I'm relatively new to Core Data, but I've been developing this
application for a few months now an
Ken,
That did work but I found that I had to keep providing the descriptor
for some reason. Are you using a different API fro the Launch Services?
My only other problem now is switching the default printer to a
specific one and switching back to the original default. lpoptions
seemed prom
Is your call to save: the managed object context succeeding?
... what does that managed object context return for hasChanges?
... and are the objects you expect to be saved in the
insertedObjects, updatedObjects, deletedObjects collections?
... is save returning an error?
And
All I've done is bind controls in IB to values in Core Data. (I'm not
very experienced with it yet)
Core-Data-Wise, I have a data model and an AppDelegate file where I
specified addPersistenStoreWithType: etc.
The persistent store is now empty when I look at it, although I know
it's had data
On Mon, Apr 27, 2009 at 4:50 PM, Walker Argendeli
wrote:
> All I've done is bind controls in IB to values in Core Data. (I'm not very
> experienced with it yet)
Learn to use the debugger. Set a breakpoint on your save routine and
step through the code, examining the results.
We can't do any
Hi,
I have an application that contains 2 tableviews populated by a
property list file. A selection in one changes what is displayed in
the next, which in turn loads an html-file in my webview.
Q: How do I load the tableviews progressively so that when I select
the item from the second tabl
Hi,
I have an application that contains 2 nstableviews populated by a
property list file. A selection in one changes what is displayed in
the next, which in turn loads an html-file in my webview.
How do I load the tableviews progressively so that when I select the
item from the first tabl
All,
I am using a couple of methods that use NSError ** pointers to
communicate error conditions. These methods run on background threads
and so have their own autorelease pools set up. I pass an NSError
pointer down a couple of method calls -- by the time it comes back up,
it has been de
Hello - I've done multiple searches and seen this topic discussed, but
none with a solution that doesn't feel like a hack. I have an
NSTableView, and one column that contains an NSButtonCell. I would
like the user to be able to interact with this cell without the
selection in the table ch
On Mon, Apr 27, 2009 at 19:05, Quincey Morris
wrote:
> On Apr 27, 2009, at 08:10, Martijn van Exel wrote:
>
>currentNode.lat = (double)[attributeDict objectForKey:key];
>> ...
>> Member 'lat' is a double. The above does not work. 'Pointer value used
>> where
>> float was expected'.
Namaste!
Well, if all you've done is bind controls, does unbinding the changed
controls fix the issue (do your bound controls function properly is a good
follow-on)? If not, then I'd suggest binding isn't the problem...
Peace, Love, and Light,
/s/ Jon C. Munson II
> -Original Message-
Well, this is an interesting problem, because there are still people
running
Tiger out there, and some with earlier OSes, and even developers who
just bought
a shiny new Leopard machine might wish to support them. And it has
always seemed
a little like tempting fate to me, just to set Xcode
On 27 Apr 2009, at 22:20, Jay Reynolds Freeman wrote:
Well, this is an interesting problem, because there are still people
running
Tiger out there, and some with earlier OSes, and even developers who
just bought
a shiny new Leopard machine might wish to support them. And it has
always see
I am trying to create a framework out of some files that I use in a
few apps. I expected this to be easy, but instead got a kazillion
warnings, all of which take the form:
objc_class_name_ referenced from
in .o
[MANY METHODS AND FILES LISTED]
or
objc_msgSend referenced from
in .o
or
NSL
Symphonik wrote:
Am I overthinking this? Anyone else have better suggestions?
You could give it a distinct name and store the NSError* in the
current NSThread's -threadDictionary.
Is this better? You'll have to evaluate the tradeoffs.
-- GG
___
On Apr 27, 2009, at 12:17 PM, Symphonik wrote:
I am using a couple of methods that use NSError ** pointers to
communicate error conditions. These methods run on background
threads and so have their own autorelease pools set up. I pass an
NSError pointer down a couple of method calls -- by th
On Apr 27, 2009, at 2:20 PM, Jay Reynolds Freeman wrote:
Well, this is an interesting problem, because there are still people
running
Tiger out there, and some with earlier OSes, and even developers who
just bought
a shiny new Leopard machine might wish to support them. And it has
always se
On 2009 Apr 27, at 14:31, Daniel Child wrote:
I am trying to create a framework out of some files that I use in a
few apps. I expected this to be easy,
-- Sorry to interrupt you in mid-sentence, but your expectation is
wrong --
but instead got a kazillion warnings, all of which take the
On Apr 27, 2009, at 3:18 PM, Bill Bumgarner wrote:
On Apr 27, 2009, at 2:20 PM, Jay Reynolds Freeman wrote:
Well, this is an interesting problem, because there are still
people running
Tiger out there, [snip]
Yes, but how many of the Tiger users are actually buying new software?
Most of t
After reading through the archives I learned how to turn off word
wrapping in NSTextView by calling a few methods in both NSText and
NSTextContainer but calling them in reverse order (reverting the
effect) did not restore word wrapping properly.
In particular I think the problem is setConta
On 28/04/2009, at 3:54 AM, Tobias Zimmerman wrote:
I think that, at best, the documentation is ambiguous. It would be
clearer
specifically saying "If no value was set explicitly for the
receiver, this
method [lineWidth] returns the default line width ->at the time the
receiver
was create
Hi all. I was hoping I could possibly get some quick feedback on a
problem I'm having.
I have a cocoa app in which I do the following:
- Load a QTMovie with +movieWithFile
- Ensure it is editable
- Delete two segments with -deleteSegment
- Update the file on disk with -updateMovieFile
Everything
in my app, i allow the user to specify keyboard shortcuts for menu
items (in a manner similar to xcode). for the string passed to
-[MenuItem setKeyEquivalent], i pass the string obtained from the
current event via [NSEvent charactersIgnoringModifiers]. this works
fine almost all the time. howev
Thank you, WT and Ken Ferry.
Yes, I also think Instruments is a static analyzer, so I am seeking a better
tool for memory leak check, which support both static and dynamic checker.
Hi, Ken, I have tried the static analyzers you mentioned. But it can not
handle this kind of case, for example:
//code
On Apr 27, 2009, at 7:10 AM, Philip Juel Borges wrote:
Hi,
I have an application that contains 2 nstableviews populated by a
property list file. A selection in one changes what is displayed in
the next, which in turn loads an html-file in my webview.
How do I load the tableviews progress
On Apr 27, 2009, at 1:43 PM, Dan Rowley wrote:
Hello - I've done multiple searches and seen this topic discussed,
but none with a solution that doesn't feel like a hack. I have an
NSTableView, and one column that contains an NSButtonCell. I would
like the user to be able to interact with
Sorry, I didn't post code because it was in Pascal, but it's easy
enough to read (remember the old Inside Macintosh books?). I could re-
write in Objective-C if anyone needed...
setMaxSize: and setWidthTracksTextView: are the culprits here and
simply reversing them doesn't work because I don
On Apr 28, 2009, at 3:05 AM, XiaoGang Li wrote:
Yes, I also think Instruments is a static analyzer, so...
I suppose you meant to say that you also think that it is NOT a static
analyzer. :)
Wagner
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
Not directly a Cocoa question - apologies if that's inappropriate, but
I could do with some brain power to bear on this design problem and
there are lots of smart people here...
I have an object that represents a road, say. It has a path that gets
drawn to show the road. Typically there are
Hello, I'm trying to parse out urls in a string and make them into
html links so when I put the string into webview people can click them.
Any help?
Thanks,
Mr. Gecko
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
On 2009 Apr 22, at 01:26, Ben Trumbull wrote:
"The Core Data SQL store supports only one to-many operation per
query; therefore in any predicate sent to the SQL store, there may be
only one operator (and one instance of that operator) from ALL, ANY,
and IN."
Do you have a specific scenario in
I have a field editor which I need to reposition in my tableView –
specifically, I need to move it a few pixels to the right. The
following post:
http://www.cocoabuilder.com/archive/message/cocoa/2009/3/16/232513
makes two suggestions: (i) implement the move in -viewWillDraw in the
field
On Apr 27, 2009, at 3:22 PM, Laurent Daudelin wrote:
That did work but I found that I had to keep providing the
descriptor for some reason.
_What_ did work? What specifically did you try?
You "had to keep providing the descriptor" or else... what? What
happened (or didn't happen) differe
Hi guys,
I'm new here and I would like to ask something. I have a Cocoa
application that is reduced to StatusItem - no dock, no main menu. Now
there is an issue with textfields in my preferences window. Since
there is no main menu, there is no Edit menu with Copy, Cut and Paste.
Because o
Hi:
I am writing an app with several windows. It seems that they are randomly
located
when I start the app. Is it possible to line them up nicely?
Thanks.
Tony Wong
_
Windows Live™ Hotmail®:…more than just e-mail.
Hey Tony -
Here's a link the Interface Builder User Guide which explains the
sizing of NSWindow's and where they appear at runtime.
http://tuvix.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/Layout/Layout.html#//apple_ref/doc/uid/TP40005344-CH19-SW14
)
Hopefully you'll fin
On Apr 27, 2009, at 9:47 PM, Graham Cox wrote:
Something tells me I'm missing a trick here. A data structure that
is intended to manage exactly this sort of interconnected network of
objects without the awkwardness I'm running into with this ad-hoc
approach. The problem is I don't know
On Apr 27, 2009, at 7:46 PM, kvic...@pobox.com wrote:
in my app, i allow the user to specify keyboard shortcuts for menu
items (in a manner similar to xcode). for the string passed to -
[MenuItem setKeyEquivalent], i pass the string obtained from the
current event via [NSEvent charactersIgno
On Apr 27, 2009, at 8:57 PM, Mr. Gecko wrote:
Hello, I'm trying to parse out urls in a string and make them into
html links so when I put the string into webview people can click
them.
Any help?
I haven't done any work with WebKit, but NSTextView and
NSAttributedString have facilities f
On 28/04/2009, at 11:47 AM, Graham Cox wrote:
Not directly a Cocoa question - apologies if that's inappropriate,
but I could do with some brain power to bear on this design problem
and there are lots of smart people here...
I have an object that represents a road, say. It has a path that
Hey everyone,
Is there a way to get the second frontmost app? For example, right
now Mail.app is the frontmost, then Safari, because Safari was the
active app before I switched to Mail. Is there any sort of API to
that tells me that if I were to cmd-tab, that Safari would be the new
fro
Is there a macro for defining an NSString constant as a previously defined C
string constant without having to actually define the string in two places? I
have something like the following:
#define kTempQuagmireHackFilePathCString
"/private/tmp/quagmire.dat"
#define k
#define kConstCString "This is a const c string"
#define kConstNSString @kConstCString
HTH,
Dave
On Apr 27, 2009, at 9:35 PM, Erg Consultant wrote:
Is there a macro for defining an NSString constant as a previously
defined C string constant without having to actually define the
string in t
One thing I can try is to put every word in a array, go through them,
see if they contain http or https in the beginning, if so add href="URL">URL to it.
On Apr 27, 2009, at 10:01 PM, Ken Thomases wrote:
On Apr 27, 2009, at 8:57 PM, Mr. Gecko wrote:
Hello, I'm trying to parse out urls in a s
Hi all,
I'm trying to understand how the KVC works in Objective-C. It seems to
me that the 'set' method is not case-sensitive? For example, if I define a
class with:
@interface TestClass : NSObject
{
int fido;
int Fido;
}
And have the following set methods:
I write the original STL string to a tmp file, then read it back in. The file
is encoded in MacRoman. I tried UTF8 with both converting and reinterpreting
but if I use UTF8 when I read it back from file, the read returns nil. If I use
MacRoman, the string reads back fine, but when I go to conver
FSPathMakeRef did not work - which drove me to find some other way such an
NSString->CFURL->FSRef. Reading the string in from a file as an NSString does
however work for making the original path string without magling the characters
- reading the same string from the same file as a CFStringRef h
One other thing I should mention - the mangled char in question is the tm
symbol (option-2). In its string form, the debugger shows it as the tm char.
But when I convert the string to an NSURL using fileURLWithPath, and then do a
CFShow, the tm is converted to *three* hex chars:
%E2%84%A2
Are
On Tue, Apr 28, 2009 at 12:09 AM, DairyKnight wrote:
> And have the following set methods:
>
> -(void) setfido ...
> -(void) setFido ...
>
> Both by calling [self setValue: ... forKey:@"fido"] or [self setValue:...
> forKey:@"Fido"], the runtime would call the same 'setFido' method. How c
On Apr 27, 2009, at 11:09 PM, DairyKnight wrote:
I'm trying to understand how the KVC works in Objective-C. It
seems to
me that the 'set' method is not case-sensitive? For example, if I
define a
class with:
@interface TestClass : NSObject
{
int fido;
int Fido;
}
On Apr 27, 2009, at 11:26 PM, Erg Consultant wrote:
One other thing I should mention - the mangled char in question is
the tm symbol (option-2). In its string form, the debugger shows it
as the tm char.
But when I convert the string to an NSURL using fileURLWithPath, and
then do a CFShow,
On Tue, Apr 28, 2009 at 12:26 AM, Erg Consultant
wrote:
> One other thing I should mention - the mangled char in question is the tm
> symbol (option-2). In its string form, the debugger shows it as the tm char.
>
> But when I convert the string to an NSURL using fileURLWithPath, and then do
> a
Ok so then it should be working:
1) Forget the STL - the string as read in from the temp file is correct - with
the tm where it should be (and shown correctly in the debugger).
2) When I convert it to the NSURL using +fileURLWithPath it works and doesn't
return an error - the tm is converted an
On Mon, Apr 27, 2009 at 9:05 PM, XiaoGang Li wrote:
> Thank you, WT and Ken Ferry.
> Yes, I also think Instruments is a static analyzer, so I am seeking a better
> tool for memory leak check, which support both static and dynamic checker.
> Hi, Ken, I have tried the static analyzers you mentioned.
On Tue, Apr 28, 2009 at 12:51 AM, Erg Consultant
wrote:
> So why isn't it working? Why does LSOpenApplication give me an error?
It is impossible to answer questions of this nature if you do not post
your code.
Mike
___
Cocoa-dev mailing list (Cocoa-de
On Mon, Apr 27, 2009 at 5:31 PM, Daniel Child wrote:
> I am trying to create a framework out of some files that I use in a few
> apps. I expected this to be easy, but instead got a kazillion warnings, all
> of which take the form:
>
> objc_class_name_ referenced from
> in .o
> [MANY METHODS AND F
On Mon, Apr 27, 2009 at 3:17 PM, Symphonik wrote:
> All,
>
> I am using a couple of methods that use NSError ** pointers to communicate
> error conditions. These methods run on background threads and so have their
> own autorelease pools set up. I pass an NSError pointer down a couple of
> method
On Mon, Apr 27, 2009 at 6:17 PM, meosoft wrote:
> Hi guys,
>
> I'm new here and I would like to ask something. I have a Cocoa application
> that is reduced to StatusItem - no dock, no main menu. Now there is an issue
> with textfields in my preferences window. Since there is no main menu, there
>
BOOLresult = YES;
Booleanconverted = false;
unsignedi = 0;
pid_tpid = -1;
NSBundle*glBundle = [ NSBundle mainBundle ];
NSDictionary*d = nil;
NSDict
1 - 100 of 108 matches
Mail list logo