Am 05.09.2009 um 03:16 schrieb Francisco Tolmasky:
I am have a custom window look that I accomplish by having a
borderless window with a view that paints its contents. This works
fine, however, for some reason the shadow on this window is less
pronounced than on normal aqua windows. I've inc
Am 04.09.2009 um 14:31 schrieb Michael Domino:
My Mac has a single enter/return key (both words appear on the key,
I hate
not having a separate enter key). What would you do in that case?
It has return and enter written on it because it doubles as both.
Usually, most Mac notebooks, for exa
This is a normal window, except it is borderless, which means it falls
under the category of windows that Dave described. I'm beginning to
get a bit desperate and considering making a normal titled window and
ripping out the root view.
On Sep 5, 2009, at 12:53 AM, Uli Kusterer wrote:
Am 0
Hi all,
I'm returning to Cocoa after a bit of a break, and seem to be running
into problems that I'm sure must have an obvious solution...
Just for a bit of fun I'm trying to write a fake heads up display by
using a QTCaptureView's delegate method - (CIImage *)view:
(QTCaptureView *)view w
Just starting to play with code signing.
I followed the instructions ( in the ADC docs ) to create my own
certificate - I seem to have succeeded and a certificate has appeared
in my login keychain.
Using the certificate Common Name as the identifier, I run:
codesign -s -v MyCertificate
Le 5 sept. 2009 à 06:06, Development a écrit :
I'm using opengl to do screen captures because that seems to be the
fastest way. The problem is that I need the cursor to be visible but
it is not. Is there a flag I can set with opengl to make the cursor
visible? Or am I going to have to attac
Le 5 sept. 2009 à 06:26, Gerriet M. Denkmann a écrit :
I have an app which provides info about files, folders, symlinks, etc.
In Leopard the Services Menu of e.g. Finder did show my "Get
Information" regardless whether a file or a folder was selected.
In Snow Leopard the Services Menu of F
Peter Hudson wrote:
Using the certificate Common Name as the identifier, I run:
codesign -s -v MyCertificate TestApp.app
Try
codesign -v -s MyCertificate TestApp.app
You can also just set the Code Signing Identity build property in
Xcode and it will do the signing as it builds t
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuff specific to A object type...
}
---
Let's say I then subclass A and override -handleTask:
---
@interface
On 5 Sep 2009, at 11:25, Alex Reynolds wrote:
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuff specific to A object type...
}
---
Let's say I then subcl
Le 5 sept. 2009 à 12:33, jonat...@mugginsoft.com a écrit :
On 5 Sep 2009, at 11:25, Alex Reynolds wrote:
Let's say I have a class interface and implementation, as follows:
---
@interface A : NSObject {
...
}
- (void) handleTask;
@end
@implementation A
...
- (void) handleTask {
// do stuf
On 5 Sep 2009, at 11:42, Kyle Sluder wrote:
On Sep 4, 2009, at 9:26 PM, "Gerriet M. Denkmann" > wrote:
But, as I said, it IS working for files - only folders don't work.
You need to declare that your service is valid in a UTI context that
covers all your needs. Perhaps public.item?
Does
I've done some testing, but I just can't make this work...
I have an NSWindowController that manages a pop-up window and a button
in the main window that launches the pop-up window when it's pressed.
I need to pass a managedObjectContext to the window controller.
If I create the NSWindowCo
Generally, all root objects such as NSWindowController that are placed in a
NIB (and aren't the File's Owner) will have +alloc and -init called to
initialize them. I've not heard of NSWindowController having
-initWithWindow: called instead when inside a NIB in this way, but then
again, I've also no
Perhaps you would like to compare your code to some open source code
that's out there. I've got a persistent document-based app available
here:
http://bitbucket.org/bgulanowski/branchline/
The app is alpha and moribund, but the Core Data part works fine. It
uses SQLite, not XML, but you could cha
@implementation B
- (void)handleTask {
if(condition) {
[super handleTask];
return;
}
// B implementation
return;
}
@end
On Sat, Sep 5, 2009 at 6:25 AM, Alex Reynolds wrote:
> Let's say I have a class interface and implementation, as follows:
>
> ---
> @interface A : NSObject {
>
You will probably want to use KVO to observe changes to the array
holding the list of column names to show. You can subclass
NSArrayController. You could go all-out and add support for a new
binding, or the custom controller could just add itself as an observer
of the arranged objects property of t
Hi,
anybody knows how I can get the width of a string?
I'm doing a "ticker like" scrolling text and it works but it always
scrolls even if the string is smaller than frame width.
I want the scroll starts only if the string is wider than frame.
Thanks,
Max
__
http://lists.apple.com/archives/Cocoa-dev/2001/Nov/msg01347.html
___
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
H
On 4 Sep 2009, at 12:04 am, Greg Parker wrote:
On Sep 3, 2009, at 3:41 PM, Mark Allan wrote:
I've been battling with this intermittent crash for about two weeks
now and can't figure it out for the life of me. I've got try/catch
blocks around nearly all my code, and definitely around any code
hello,
i'm just looking for a confirmation here. if i'm getting this crash:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[NSCFString appendString:]: nil argument'
is it definitely crashing on my NSMutableString appendString: method or is it
possibl
I've searched on cocoabuilder before post. I swear.
Thanks a million.
Max
Il giorno 05/set/09, alle ore 16:32, Dave Keck ha scritto:
http://lists.apple.com/archives/Cocoa-dev/2001/Nov/msg01347.html
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
thanks joshua. yes i will try that. i'm having trouble to recreate the crash
and that's why i asked. :-)
thanks,
rick
From: Joshua Pennington
To: Rick C.
Cc: "cocoa-dev@lists.apple.com"
Sent: Saturday, September 5, 2009 11:17:28 PM
Subject: Re: crash qu
This error is not indicating that the receiver is invalid, but rather than
your argument is nil. Thus, perform some kind of check to verify it's not
nil, before passing it as an argument to the method, lest you get this
error.
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.or
On Sep 5, 2009, at 10:55 AM, Rick C. wrote:
i'm just looking for a confirmation here. if i'm getting this crash:
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '*** -[NSCFString
appendString:]: nil argument'
is it definitely crashing on my NSMutableStr
Thanks for this Carl - it works fine !
I'll post a documentation bug on this as the command line I was using
( -s -v ) is straight out of the doc.
Peter
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mo
thank you all for the help. yes i will do that to confirm exactly what method
it's coming from. i appreciate it,
rick
From: Andy Lee
To: Rick C.
Cc: cocoa dev
Sent: Saturday, September 5, 2009 11:38:31 PM
Subject: Re: crash question NSString
On Sep 5, 2
How would I make a rows children be deleted when the parent is deleted?
Cheers,
Josh.
___
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-adm
On Sep 5, 2009, at 11:14 AM, Joshua Garnham
wrote:
How would I make a rows children be deleted when the parent is
deleted?
This is a model behavior, not a view behavior.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
On Sep 5, 2009, at 11:07 AM, "Rick C." wrote:
thank you all for the help. yes i will do that to confirm exactly
what method it's coming from. i appreciate it,
If you want to know why you crashed, look at the backtrace. That's the
one and only definitive source of this information. Poking
On Sep 5, 2009, at 11:45, Kyle Sluder wrote:
On Sep 5, 2009, at 11:14 AM, Joshua Garnham > wrote:
How would I make a rows children be deleted when the parent is
deleted?
This is a model behavior, not a view behavior.
Well, yes, but OP's question wasn't phrased very well, so it may in
fa
On Sep 5, 2009, at 2:50 PM, Kyle Sluder wrote:
On Sep 5, 2009, at 11:07 AM, "Rick C." wrote:
thank you all for the help. yes i will do that to confirm exactly
what method it's coming from. i appreciate it,
If you want to know why you crashed, look at the backtrace. That's
the one and
If you are interested in mouse events in your entire window area, then
you can use
[NSWindow setIgnoresMouseEvents:NO] and not have to worry about "faint
paint" issues.
Thanks for your response, but I don't see how that would help me.
Maybe that's just because I am a newbie, maybe I didn’t descr
That depends on your meaning.
Do you only want them deleted visibly in the table/outline view OR do
you want the data to be deleted permanently
The table/outline is SEPARATE from the actual data.
On Sep 5, 2009, at 2:14 PM, Joshua Garnham wrote:
How would I make a rows children be deleted
Hi all,
I'm returning to Cocoa after a bit of a break, and seem to be running
into problems that I'm sure must have an obvious solution...
Just for a bit of fun I'm trying to write a fake heads up display by
using a QTCaptureView's delegate method - (CIImage *)view:
(QTCaptureView *)view w
I have a simple Core Data model with two entities, A and B. Each
entity has several attributes but no relationships.
I need a single array controller which contains all A and B objects in
the model.
In Interface Builder this works.
File's Owner (managedObjectContext)
A Array Cont
On Thu, 03 Sep 2009 18:57:07 -0400, Gregory Weston said:
>Matt Neuburg wrote:
>
>> I wonder whether someone (preferably from Apple) could provide
>> details on
>> how Snow Leopard has changed its algorithm for how a document is
>> bound to an
>> application, esp. when double-clicking the doc in th
On Fri, 4 Sep 2009 11:54:17 +0700, "Gerriet M. Denkmann"
said:
>I would like to modifiy apps (e.g.
>TextEdit) to put miniaturized windows NOT into the dock, but on the
>bottom of the screen (the way it was done in NeXTstep).
I would like you not to. m.
--
matt neuburg, phd = m...@tidbits.com, <
On Sep 5, 2009, at 13:43, Gabriel Zachmann wrote:
If you are interested in mouse events in your entire window area,
then
you can use
[NSWindow setIgnoresMouseEvents:NO] and not have to worry about
"faint
paint" issues.
Thanks for your response, but I don't see how that would help me.
Mayb
Custom windows not getting the default document shadow is a known issue:
radar 6446459 "Cocoa need document style shadow for custom windows"
Jesper Storm Bache
On Sep 5, 2009, at 1:02 AM, Francisco Tolmasky wrote:
> This is a normal window, except it is borderless, which means it falls
> under t
On 5 Sep 2009, at 17:08, Jean-Daniel Dupas wrote:
Le 5 sept. 2009 à 06:26, Gerriet M. Denkmann a écrit :
I have an app which provides info about files, folders, symlinks,
etc.
In Leopard the Services Menu of e.g. Finder did show my "Get
Information" regardless whether a file or a folder
thanks again everyone i will do that.
rick
From: Kyle Sluder
To: Rick C.
Cc: cocoa dev
Sent: Sunday, September 6, 2009 2:50:14 AM
Subject: Re: crash question NSString
On Sep 5, 2009, at 11:07 AM, "Rick C." wrote:
> thank you all for the help. yes i will
On 30-Aug-2009, at 5:53 PM, Roland King wrote:
On 30-Aug-2009, at 17:46, Andreas Grosam
wrote:
b. The release notes say that it was wrong for this message to
appear "when an object observed by a second object was
deallocated, its deallocation caused the release of the second
obj
A big thanks, Dave, Jens and Greg.
The example code looks particularly promising.
There's so much buried in the various Apple samples, but finding what
you want is nigh impossible without having stumbled on thing before
(and having a good memory).
Some sort of concept index for all samples w
On Sat, Sep 5, 2009 at 5:46 PM, Matt Neuburg wrote:
> Yeah, that's just FUD. It supports creator codes, but not in the same *way*
> that Leopard did. And since this is a major undocumented change, which has
> broken the way apps like BBEdit and Nisus (and I guess some Adobe apps)
> work, I'm hopin
On Sep 5, 2009, at 20:37, Roland King wrote:
Following up on this thread from a week ago. Singapore did stop
being sold out of Snow Leopard and I compiled a little test project
under 10.6 to see what happened. Here's what I found.
1) If you recall the original thread, the error message abou
Does anyone know of a way to change the font size of the keyboard
shortcut text in an NSMenuItem?
I use NSAttributedString to set the text on a menu item in order to
change the size. But the keyboard shortcut text stays the same size.
Thanks
___
Cocoa-
Tip: Measuring string widths is fairly expensive. (It's basically like
drawing the string, minus the actual rendering of the pixels.) If you
can, cache the result instead of calling it frequently.
Also, keep in mind that character shapes may stick out of either edge
by a few pixels, especia
48 matches
Mail list logo