On 20/11/2008, at 5:40 PM, M Pulis wrote:
ICARegisterEventNotificationPB is deprecated in 10.5.
What is the recommended replacement?
ICARegisterForEventNotificationPB
--
Rob Keniger
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Ple
Thanks, Rob!
Gary
On Nov 20, 2008, at 1:02 AM, Rob Keniger wrote:
On 20/11/2008, at 5:40 PM, M Pulis wrote:
ICARegisterEventNotificationPB is deprecated in 10.5.
What is the recommended replacement?
ICARegisterForEventNotificationPB
--
Rob Keniger
__
Hi everyone.
I'm battling against a very strange behaviour of NSCollectionView. To tell
the truth this is not the first time that I have problems with this new
class, but other times I have always found a workaround.
I tried to search the web for more information, but all I can find are very
basic
Le 20 nov. 08 à 05:48, Kyle Sluder a écrit :
On Wed, Nov 19, 2008 at 11:38 PM, Michael Ash
<[EMAIL PROTECTED]> wrote:
Seriously, this kind of hysteria does nobody any good. Nothing you do
besides explicitly releasing/draining an NSAutoreleasePool instance
that you explicitly created is going
Austin,
I’d go for #1.
If you have an error in status, throw an exception.
What is the reason to put those functions in a class anyway if you
just mimic the c-function? Are you adding anything?
atze
Am 20.11.2008 um 06:27 schrieb Austin Ziegler:
For a project that I'm working on,
Just to clarify:
Am 19.11.2008 um 23:43 schrieb Joseph Crawford:
NSString blah = [[[NSString alloc] init] autorelease]
is identical to
NSString blah = [NSString string];
atze
___
Cocoa-dev mailing list (Cocoa-dev@lists
Thats true, but we are discussing this topic on a apple mailing list...
So I do not think many people without OS X (and the
Foundation.framework that comes along) are replying to this list.
On 20 Nov 2008, at 05:18, Michael Ash wrote:
On Wed, Nov 19, 2008 at 6:06 PM, Filip van der Meeren
<[E
@interface KOptionString : NSCharacterSet
{
}
@end
KOptionString *whiteTest = [KOptionString whitespaceCharacterSet],
*hexTest = [KOptionString characterSetWithCharactersInString:
@"0123456789abcdefABCDEFxX"];
NSLog(@"whiteTest %@", [whiteTest class]);
NSLog(@"hexTest %@", [hexTe
On 19 Nov 2008, at 23:16, "Michael Ash" <[EMAIL PROTECTED]> wrote:
On Wed, Nov 19, 2008 at 7:04 AM, Gerriet M. Denkmann
<[EMAIL PROTECTED]> wrote:
I know that InputManagers are "now officially unsupported." And
also that
"this functionality is likely to be disabled in a future release."
But
Am 19.11.2008 um 19:27 schrieb Kyle Sluder:
On Wed, Nov 19, 2008 at 7:51 AM, Alexander Spohr <[EMAIL PROTECTED]>
wrote:
I am trying to make a subclass of NSControl that is capable of
showing
variable width (and maybe height) content.
Not entirely sure what you're trying to describe here.
As I said, NSCharacterSet is a class cluster, you cannot subclass it
as you do for simple classes.
Le 20 nov. 08 à 11:37, Ken Tozier a écrit :
@interface KOptionString : NSCharacterSet
{
}
@end
KOptionString *whiteTest = [KOptionString whitespaceCharacterSet],
*hexTest = [KOpti
Ken,
Your Mails title says „[MyClass class] returning superclass's class“
which is not true and Andy just proved that.
You are talking to a class-cluster. The whitespaceCharacterSet call is
answered by NSCharacterSet, not by your subclass. And NSCharacterSet
will return a subclass that NS
On Nov 20, 2008, at 6:46 AM, Alexander Spohr wrote:
Ken,
Your Mails title says „[MyClass class] returning superclass's class“
which is not true and Andy just proved that.
I guess if you never instantiate any actual objects then Andy "proved"
it, but try to create an object using one of t
Hi all,
I need to make further developments of my project with multiple developers.
By googling I got one solution as using CVS. I'm using Leopard and Xcode3.1.
My project resides on the folder Desktop/myProject. In Terminal I did like
this.
newtoks-mac-mini:~ Newtok$ mkdir first_cvs
newtoks-mac-mi
On Thu, Nov 20, 2008 at 4:54 AM, Alexander Spohr <[EMAIL PROTECTED]> wrote:
> I'd go for #1.
> If you have an error in status, throw an exception.
>
> What is the reason to put those functions in a class anyway if you just
> mimic the c-function? Are you adding anything?
Yes, I am. The C function
not really a cocoa question at all.
I'm a huge CVS fan, have been for years, and finally switched to
subversion at home and will probably never look back.
If you want to put a repository on a mac mini, as it seems you do from
the machine name, that's what I have at home, I access it over th
On Nov 20, 2008, at 7:52 AM, Ken Tozier wrote:
I guess if you never instantiate any actual objects then Andy
"proved" it, but try to create an object using one of the
superclass's methods and I think I proved that it doesn't in fact
return expected results.
As Jean-Daniel said, this is a c
On Nov 20, 2008, at 6:52 AM, Ken Tozier wrote:
On Nov 20, 2008, at 6:46 AM, Alexander Spohr wrote:
Your Mails title says „[MyClass class] returning superclass's
class“ which is not true and Andy just proved that.
I guess if you never instantiate any actual objects then Andy
"proved" it, b
On Nov 20, 2008, at 6:58 AM, Austin Ziegler wrote:
result = [calc addDoubleA:a withDoubleB:b]; // #1
Why not -addDouble:withDouble: ?
That is, why are you promoting the argument names into the method
signature? Especially since you're aware that the names are (most
often) useless.
res
On Nov 20, 2008, at 3:21 AM, Gerriet M. Denkmann wrote:
On 19 Nov 2008, at 23:16, "Michael Ash" <[EMAIL PROTECTED]> wrote:
You need the correct permissions as well, not just the correct owner.
Does "chown -R go-w" even work?
Why should it not?
Because "-R go-w" are "chmod" options. :-)
sh
On Nov 20, 2008, at 8:43 AM, Ken Thomases wrote:
You keep mentioning [MyClass class], except that's not what you're
calling. You're invoking -class (the instance method, rather than
the class method, by the way) on some object. That object is not an
instance of MyClass or, in the case of
I found this function. But it doesn't respond to reopen application. I just
declare it in class MainMenu.nib. This is my code:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
hasVisibleWindows:(BOOL)flag
{
NSLog(@"Reopen");
return YES;
}
or I should create notificat
Hi,
I'm working on a piece of code that connects to a RESTful webservice
and authenticates via HTTP basic. This works great, I get the
- (void)connection:(NSURLConnection *)connection
didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge
*)challenge
message, provide my credentials and ge
Hi,
I have two popups which I want to bind together; the first popup
contains a list of Categories, which has an array of reports. The
reports array is a content array of the second popup.
I want to select a Category in the first popup and get a list of
reports in the second popup. When user chan
I'm very tempted to use the new 64-bit Objective-C ABI in my next
project. Primarily because of the improved interoperability with C++
destructors, that are now called when unwinding Objective-C exceptions
and should make it possible to use RAII designs in Objective-C++
programs.
If I were to requ
On Nov 20, 2008, at 6:50 AM, Påhl Melin wrote:
If I were to require the use of the 64-bit ABI in my next project,
which mac models would the application run on?
All currently shipping Macs are 64-bit capable. The Mac mini was the
last one to be updated, in August of 2007.
And is it pos
On Thu, Nov 20, 2008 at 6:50 AM, Påhl Melin <[EMAIL PROTECTED]> wrote:
> I'm very tempted to use the new 64-bit Objective-C ABI in my next
> project. Primarily because of the improved interoperability with C++
> destructors, that are now called when unwinding Objective-C exceptions
> and should mak
On Nov 20, 2008, at 10:41 AM, j o a r wrote:
On Nov 20, 2008, at 6:50 AM, Påhl Melin wrote:
If I were to require the use of the 64-bit ABI in my next project,
which mac models would the application run on?
All currently shipping Macs are 64-bit capable.
Also G5 Macs. G4s and 1st-generatio
On Thu, Nov 20, 2008 at 7:43 AM, Shawn Erickson <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 20, 2008 at 6:50 AM, Påhl Melin <[EMAIL PROTECTED]> wrote:
>> I'm very tempted to use the new 64-bit Objective-C ABI in my next
>> project. Primarily because of the improved interoperability with C++
>> destruc
On Thu, Nov 20, 2008 at 6:37 AM, Macarov Anatoli
<[EMAIL PROTECTED]> wrote:
> I found this function. But it doesn't respond to reopen application. I just
> declare it in class MainMenu.nib. This is my code:
> - (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
> hasVisibleWindows:(BOOL
How does one get plist data into an array to be displayed in a tableview?
Thanks, Richard.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-ad
On Thu, Nov 20, 2008 at 10:59 AM, Richard S. French
<[EMAIL PROTECTED]> wrote:
> How does one get plist data into an array to be displayed in a tableview?
http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/ReadWritePlistData/chapter_7_section_2.html
http://developer.apple.com
please file a bug on the doc.. it should tell you this.
bugreporter.apple.com
On 20-Nov-08, at 3:40 AM, M Pulis wrote:
Thanks, Rob!
Gary
On Nov 20, 2008, at 1:02 AM, Rob Keniger wrote:
On 20/11/2008, at 5:40 PM, M Pulis wrote:
ICARegisterEventNotificationPB is deprecated in 10.5.
What
Just a question about doc bug.
We can submit them using bugreporter.apple.com
And we can submit them using the "Did this document help you? > It’s
good, but" link at bottom of all online doc page.
Is there a prefered way to submit them ?
Le 20 nov. 08 à 17:22, Scott Anguish a écrit :
plea
On Wed, Nov 19, 2008 at 11:53 PM, mmalcolm crawford <[EMAIL PROTECTED]> wrote:
>
> On Nov 19, 2008, at 8:40 PM, Michael Ash wrote:
>
>> On Wed, Nov 19, 2008 at 5:41 PM, mmalcolm crawford <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> On Nov 19, 2008, at 2:29 PM, Michael Ash wrote:
Because there's
On Nov 20, 2008, at 7:50 AM, Påhl Melin wrote:
I'm very tempted to use the new 64-bit Objective-C ABI in my next
project. Primarily because of the improved interoperability with C++
destructors, that are now called when unwinding Objective-C exceptions
and should make it possible to use RAII de
On Wed, Nov 19, 2008 at 11:48 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 11:38 PM, Michael Ash <[EMAIL PROTECTED]> wrote:
>> Seriously, this kind of hysteria does nobody any good. Nothing you do
>> besides explicitly releasing/draining an NSAutoreleasePool instance
>> that
On 20-Nov-08, at 11:31 AM, Jean-Daniel Dupas wrote:
Just a question about doc bug.
Ah! Thanks for asking!
We can submit them using bugreporter.apple.com
And we can submit them using the "Did this document help you? > It’s
good, but" link at bottom of all online doc page.
Is there a pr
On Nov 20, 2008, at 10:54 AM, Alexander Spohr wrote:
I’d go for #1.
If you have an error in status, throw an exception.
In this case, an exception might actually be OK, given that the
library is in isolation.
However, it goes against the design patterns of Cocoa and if the code
is ever re
On Thu, Nov 20, 2008 at 12:27 AM, Austin Ziegler <[EMAIL PROTECTED]> wrote:
> For a project that I'm working on, I have a need to write a code
> generator that will wrap certain kinds of C functions as Objective C
> messages on an Objective C proxy. Because I don't ultimately control
> the input, t
On Nov 19, 2008, at 11:51 PM, Ken Ferry wrote:
however I found out that just using the setSize: method of NSImage
was unreliable
-[NSImage setSize:] doesn't change the pixels of an image, it changes
the natural size that the image is drawn at. If you try to write the
NSImage back out as a TIF
I have to disable all toolbar items during a long process... I did it
basically by overriding
- (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem
{
return !longProcessIsRunning;
}
So that everything is disabled when my process is running, however,
once the process is done, the t
It didn't actually
The problem was that, with certain images (only a small percentage) I
would get a size that is *totally* off...
keep in mind I have to draw them anyway because I'm also drawing a
border around the image (basically just resizing the image down a bit
and filling the b
Last year when I moved to 10.5 and Objective C 2.0, I made the decision
to move to garbage collection (GC). After seemingly working ok, I deleted
most of my pre-GC code, e.g., retain, release, dealloc. I am now regretting
that decision. I am running into major problems in working with images
On Nov 20, 2008, at 9:26 AM, Jean-Nicolas Jolivet wrote:
I have to disable all toolbar items during a long process... I did
it basically by overriding
- (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem
{
return !longProcessIsRunning;
}
So that everything is disabled when my pro
I'm away till 24th November and may not be near the internet.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
He
On Nov 20, 2008, at 10:32 AM, Gordon Apple wrote:
Has anyone else had to go through this reverse transition?
I've usually done both at once, just in case.
Is GC really
that problematic?
It's not problematic per se, although it has some bugs here and there.
It's just different, and work
On Nov 20, 2008, at 9:26 AM, Jean-Nicolas Jolivet wrote:
I have to disable all toolbar items during a long process... I did
it basically by overriding
- (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem
{
return !longProcessIsRunning;
}
So that everything is disabled when my pr
Thank you, guys, for all your replies!
Donnie.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
I'm trying to change the color of a button's text by setting it's title using
an attributed string; there are code snippets on the web, but I'm seeing a crash
NSAttributedString *attrTitle;
NSDictionary *dict;
dict = [NSDictionary dictionaryWithObjectsAndKeys:
colr, NSForegroundColorA
On Thu, Nov 20, 2008 at 12:15 PM, Michael Ash <[EMAIL PROTECTED]> wrote:
> Please excuse a foolish question, but Why wrap this in Objective-C
> at all? Looks like the resulting ObjC code is essentially the same,
> except uglier, slower, and harder to use. Why not just keep the C and
> use it di
Thank you, that's good to know! :)
I was more worried about the fact that there might be a "better" way
to do it (i.e. in the same way that you don't call
"becomeFirstResponder" on an NSResponder, you call the
makeFirstResponder method of NSWindow... but then again, NSResponder
doc insist
On Thu, Nov 20, 2008 at 10:52 AM, Russ <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to change the color of a button's text by setting it's title using
> an attributed string; there are code snippets on the web, but I'm seeing a
> crash
Make sure to file bug reports (if you haven't already)...
ht
On Thu, Nov 20, 2008 at 7:43 AM, Shawn Erickson <[EMAIL PROTECTED]> wrote:
> The decision between 64b and 32b is made at compile time for your
> compiled code. As a result your 64b executable wont run under the 32b
> runtime not matter what you do.
>
> ...however you can of course (normally you wou
On Thu, Nov 20, 2008 at 8:55 AM, Shawn Erickson <[EMAIL PROTECTED]> wrote:
>On Thu, Nov 20, 2008 at 8:39 AM, Påhl Melin <[EMAIL PROTECTED]> wrote:
>> On Thu, Nov 20, 2008 at 7:43 AM, Shawn Erickson <[EMAIL PROTECTED]> wrote:
>>> The decision between 64b and 32b is made at compile time for your
>>>
On Wed, Nov 19, 2008 at 7:18 PM, Arnab Ganguly <[EMAIL PROTECTED]> wrote:
> I am going to develop audio codec.Want to support AACplus file streaming.The
> player I have developed using QT SDK.So can you tell me what would be best
> approach to develop the codec.
For this type of question you shoul
2008/11/20 Nick Zitzmann <[EMAIL PROTECTED]>:
>
> On Nov 20, 2008, at 7:50 AM, Påhl Melin wrote:
>
>> I'm very tempted to use the new 64-bit Objective-C ABI in my next
>> project. Primarily because of the improved interoperability with C++
>> destructors, that are now called when unwinding Objectiv
I'm away till 24th November and may not be near the internet.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
He
On Nov 20, 2008, at 9:41 AM, Påhl Melin wrote:
But if I create a universal project with both x86-64 and i386 code and
run the application on a 32-bit system, is it possible to detect in
the code that I'm running the 32-bit ABI?
Use the __LP64__ preprocessor definition to differentiate between
Thanks for your reply, Ken. I did search the archives (and other places to) but
didn't see the recent discussion you mentioned, so I must have missed it. The
window controller method isn't a great solution for me, unfortunately - I tried
it but it causes all sorts of responder issues given how d
On Thu, Nov 20, 2008 at 12:36 PM, Keith Blount <[EMAIL PROTECTED]> wrote:
> Thanks for your reply, Ken. I did search the archives (and other places to)
> but didn't see the recent discussion you mentioned, so I must have missed it.
> The window controller method isn't a great solution for me, unf
Hi,
I've had some bug reports from users saying that accented characters don't
always work correctly in my software, but I've never been able to reproduce it
- until now. It seems that calling NSTextView's -rangeOfUserTextChange: and
-rangeOfUserCharacterAttributeChange: wipes out marked text i
Just to clarify:
They probably are identical, but not in the way everyone seems to be
assuming.
To make sure I don't misrepresent anything, I'll just quote the rule:
"You take ownership of an object if you create it using a method whose
name begins with "alloc" or "new" or contains "copy" (
On Nov 20, 2008, at 12:59 PM, Keith Blount wrote:
I've had some bug reports from users saying that accented characters
don't always work correctly in my software, but I've never been able
to reproduce it - until now. It seems that calling NSTextView's -
rangeOfUserTextChange: and -rangeOfUs
Thanks for the reply. I did consider that but from what I had read I only
thought that was a fix for the retain cycles created when file's own is an
NSWindowController. I already manuallet setContent: and setContent:nil on my
NSArrayController, does that not have the same effect? I'll certainly
I'm using an NSImageView to preview an image result (i.e. you adjust
brightness etc.. then click preview and the image is displayed in the
NSImaveView)...
Basically everytime the image is previewed, a new NSImage object is
created... right now I'm using:
NSImage *displayPreviewImage = [[[
On Nov 19, 2008, at 9:27 PM, Austin Ziegler wrote:
For a project that I'm working on, I have a need to write a code
generator that will wrap certain kinds of C functions as Objective C
messages on an Objective C proxy. Because I don't ultimately control
the input, the parameters on the C functio
My program compiled and ran once. Appeared that possible run away where
table view was just being populated over and over again. I did a force quit.
Now I am getting a debug error of ³BAD_EXC_ACCESS². All that¹s displayed on
the debug screen is greek to me. How do I determine the error and correct?
I feel compelled to wade in here, to clarify a point. I'll pick on
Luke's comment but there were some other similar ones ...
On Nov 19, 2008, at 15:44, Luke the Hiesterman wrote:
It's simply not true that you have "no idea" when an object will be
autoreleased. If you're on the main thread,
On Nov 20, 2008, at 4:04 PM, Adam Leonard wrote:
Now, I agree that it is mostly paranoia, but it is simply incorrect
to say that any object you send autorelease to, or get through a
method "whose name [DOES NOT] begins with "alloc" or "new" or
contains "copy"" will be sent release in the ne
On Thu, Nov 20, 2008 at 1:11 PM, Keith Blount <[EMAIL PROTECTED]> wrote:
> Thanks for the reply. I did consider that but from what I had read I only
> thought that was a fix for the retain cycles created when file's own is an
> NSWindowController. I already manuallet setContent: and setContent:ni
On Nov 20, 2008, at 2:10 PM, Jean-Nicolas Jolivet wrote:
However it seems like something is not getting released properly...
I'm looking at Activity Monitor and the memory usage is climbing
fast each time I click the preview button... (like 2-3mb each time)...
Is there a better way to do i
Just a quick update...
I ran Leaks (From the Instruments utility)... apparently the only
"leaks" I have are not related to images (some NSPathStore and strings
that I am not responsible for...those appear to be the only leaks)
So basically should I assume I am not doing anything wrong?
Maybe the problem is that your last name is French; try launching it in
English rather than in Greek. ;-p
Okay, seriously, maybe you should start by looking at the code in your
NSTableDataSource protocol methods for an infinite loop.
On 11/20/2008 2:28 PM, "Richard S. French" <[EMAIL PROTECTED]>
On Nov 20, 2008, at 2:28 PM, Richard S. French wrote:
My program compiled and ran once. Appeared that possible run away
where
table view was just being populated over and over again. I did a
force quit.
Now I am getting a debug error of “BAD_EXC_ACCESS”. All that’s
displayed on
the debug s
given the following sequence of events:
1) load a window (NSWindow subclass) from a nib using an
NSWindowController subclass
2) the window contains an NSOutlineView, and the delegate of the
outline view is the window
3) in the window's awakeFromNib call:
[[NSNotificationCenter defaultC
Well, I posted my other msg before I saw your reply... but I guess
you're right, it would explain the unreliable results I am getting...
I'll trust Instrument on that one! :)
From what I can see... it seems like OS X (or BSD or whatever manages
that) will use a lot of memory if it has a lot
I'm away till 24th November and may not be near the internet.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
He
On Nov 20, 2008, at 2:43 PM, Jean-Nicolas Jolivet wrote:
From what I can see... it seems like OS X (or BSD or whatever
manages that) will use a lot of memory if it has a lot of memory
available (I have 4gb)... and use less if it has less... I might be
wrong about that but it seems to be wo
On Thu, Nov 20, 2008 at 1:04 PM, Adam Leonard <[EMAIL PROTECTED]> wrote:
> However, I think it *would* be a bad idea to call [[[NSWorkspace
> sharedWorkspace]retain]autorelease]
> A good singleton will override -retain, -release, and -autorelease to do
> nothing and return an appropriate value. Bu
On Nov 20, 2008, at 4:28 PM, Richard S. French wrote:
My program compiled and ran once. Appeared that possible run away
where
table view was just being populated over and over again. I did a
force quit.
Now I am getting a debug error of ³BAD_EXC_ACCESS². All that¹s
displayed on
the debug sc
On Thu, Nov 20, 2008 at 1:23 PM, Jonathon Kuo
<[EMAIL PROTECTED]> wrote:
> Just my 2 cents, but it seems an abuse to turn functions into objects.
> Functions don't retain state; objects do. Objective C very gracefully allows
> objects to call C functions. If you're doing something like [calc
> add
Great, thank you. I've changed the validation code as per your suggestion and
everything seems to be working fine now; I had been under the mistaken
impression that these methods were always the right ones to call when checking
the text that *could* be changed, so I had changed many references t
Hi,
I'm trying to get a MD5 Checksum of a file. This is my code:
__
#import
- (NSString*)getMD5ChecksumOfFile:(NSString*)pathOfFile {
const char *cStr = [[NSData dataWithContentsOfFile:pathOfFile] bytes];
unsigned char result[CC_MD5_DIGEST_LENGTH];
On 20 Nov 08, at 14:12, Sebastian Pape wrote:
Hi,
I'm trying to get a MD5 Checksum of a file. This is my code:
[...]
CC_MD5(cStr, strlen(cStr), result);
Does your file contain any null bytes? If so, strlen() will return the
wrong length. (It'll just return the length of everything up to th
It turned out that the problem was really occurring in the setAttributedTitle
--- a bad control value was getting passed in. Pretty sure I single-stepped
through it a dozen different time, but whatever.
- Original Message
From: Shawn Erickson <[EMAIL PROTECTED]>
To: Russ <[EMAIL PRO
Le Nov 20, 2008 à 1:42 PM, [EMAIL PROTECTED] a écrit :
given the following sequence of events:
1) load a window (NSWindow subclass) from a nib using an
NSWindowController subclass
2) the window contains an NSOutlineView, and the delegate of the
outline view is the window
3) in the window'
Just out of curiosity, why do you need to send such common math
operations to a soap request? Wouldn't it be easier to do simple stuff
like calculations in your Soap class and only make requests for the
unique services the endpoint provides?
On Nov 20, 2008, at 12:27 AM, Austin Ziegler wro
I've got a GC-only document-based application and I'm trying to add
basic print operations to my documents. I've reduced this down to what
I think is the absolute minimum required here and I'm still seeing
this bug.
With a completely new Document-based application I'm adding these 3
metho
Once I fixed the color of my checkboxes and radio buttons to match the overall
light on dark UI scheme (user-configurable), my NSBox text stuck out as a sore
thumb. NSBox does not support setAttributedTitle, but fortunately there is an
incredibly simple way to set the color of NSBox text:
I'm away till 24th November and may not be near the internet.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
He
Please file a bug. It may also be that something is CFRetaining the
document that shouldn't be.
On Nov 20, 2008, at 5:13 PM, Ashley Clark wrote:
I've got a GC-only document-based application and I'm trying to add
basic print operations to my documents. I've reduced this down to
what I thi
I've tried searching and didn't see anything relevant.
I'm placing custom views in a menu. These views respond to mouse
events, and -acceptsFirstResponder returns YES. When I click on one of
the views, however, -mouseDown: is not sent to the view. When I double-
click on one of the views, -m
In Interface builder I have a TableView that I want to stay fixed in
relation to items above and below.
The table does not show any scroll bars until I resize the window and the
items above and below sometimes get overlaid.
How do I fix this in IB? I¹ve tried changing the size on NSScrollView in th
Filed: rdar://6390443
I was kind of hoping it was something I was doing though. Any ideas
for a workaround?
Ashley
On Nov 20, 2008, at 5:21 PM, Bill Bumgarner wrote:
Please file a bug. It may also be that something is CFRetaining the
document that shouldn't be.
On Nov 20, 2008, at 5:1
If you do decide to go to ref counting, you should check out the llvm
static analyzer. It can help keep easy common cases from falling
through the cracks.
http://clang.llvm.org/StaticAnalysis.html
-Ken
On Thu, Nov 20, 2008 at 9:32 AM, Gordon Apple <[EMAIL PROTECTED]> wrote:
>Last year when
On Thu, Nov 20, 2008 at 6:38 PM, Richard S. French <[EMAIL PROTECTED]> wrote:
> The table does not show any scroll bars until I resize the window and the
> items above and below sometimes get overlaid.
I'm assuming this isn't what you want. In that case, make sure you've
set up your UI so that th
On Nov 20, 2008, at 2:07 PM, Shawn Erickson wrote:
On Thu, Nov 20, 2008 at 1:23 PM, Jonathon Kuo
<[EMAIL PROTECTED]> wrote:
Just my 2 cents, but it seems an abuse to turn functions into
objects.
Functions don't retain state; objects do. Objective C very
gracefully allows
objects to call C
The header documentation for NSPointerArray says:
Fast enumeration, copying, and archiving protocols are applicable
only when NSPointerArray is configured for Object uses. Since the
array may contain NULLs, fast enumeration (for..in) will yield
NULLs. As a convenience, fast enumeration wil
i process the color from a colorPanel further around in my app and don't
know the appropriate place where to handle some conversion.it seems
neccessary since i wan't to get the components.
don't know what kind of NSColor is the color, NSColorPanels "color" method
delivers.
thanks for your help
__
1 - 100 of 134 matches
Mail list logo