On Apr 25, 2008, at 1:29 AM, Joan Lluch (casa) wrote:
I have implemented a NSButtonCell subclass in the usual way to
catch mouse tracking. I get the startTrackingAt and stopTracking
messages called correctly on the first click of the mouse. However
the startTrackingAt is not quickly called a
I may have the bug isolated. I fixed a bug in my own code, and the
deadlock is no longer happening. It may be related to a situation
involving removing a sublayer from it's super. In my code I was
removing a layer that I didn't intend to remove, and the deadlock
would result.
I still thin
I am trying to draw a line with 1 pixel width. No matter whether the view is
scaled or scrolled, I want to see a 1 pixel thick line. I scale the view
with
NSRect frameSize = [self frame].size;
NSSize newSize = NSMakeSize(frameSize.width / mScaleFactor,
frameSize .heigh
Hi Jeff,
thanks for writing http://iphonedevelopment.blogspot.com/2008/04/web-services-fun_18.html
It is a very good writeup of many of the things we've discussed. :-)
What's very relevant to our discussion is the fact that you don't
mention having to delete half of the generated code. I'v
Try offsetting the final result by 0.5, so that you draw the actual
pixel, not anti-alias across two.
G.
On 25 Apr 2008, at 5:19 pm, Lorenzo wrote:
I am trying to draw a line with 1 pixel width. No matter whether the
view is
scaled or scrolled, I want to see a 1 pixel thick line. I scale th
Thanks. But it seems you haven't read to the end. As I said in my first mail:
> Besides, I found the value returned by [NSKeyedUnarchiver
> unarchiveObjectWithData:data] was nil, but I didn't understand why,
> since it was normal when I saved the file using [NSKeyedArchiver
> archivedDataWithRootOb
I have a CALayer subclass, set to redraw on bounds change, with the
following draw code (I don't expect it to be meaningful, but I'm
pasting it here for the sake of completeness.)
- (void)drawInContext:(CGContextRef)ctx
{
CGRect bounds = CGContextGetClipBoundingBox(ctx);
CGContextDra
Hi,
I need to have something that behaves like a table where each cell
could be a quite complex view with standard controls and sub views
etc. It needs to run on 10.4 and above, so NSCollectionView is not an
option.
I seem to have two choices:
1. Implement my own custom view that is inde
On Fri, Apr 25, 2008 at 4:11 AM, an0 <[EMAIL PROTECTED]> wrote:
> Thanks. But it seems you haven't read to the end. As I said in my first mail:
>
> > Besides, I found the value returned by [NSKeyedUnarchiver
> > unarchiveObjectWithData:data] was nil, but I didn't understand why,
> > since it was
I have five textured NSButtons that are set to operate in "On Off"
mode. All of them are value-bound to different bools in my application.
Somehow the first button starts in the "On"-state and the others in
the off state, no matter which button I bind to which bool. If I
remove the bindings,
Well, I'm glad I had an excuse to play around with Quartz Composer; I
knew about it but had never spent any time with it, very cool!
Unfortunately, it doesn't solve my immediate problem. As far as I
can tell, compositions won't play streaming video at all. They work
great with movies fro
Sorry for my careless, I though Jens was talking about the `read' part.
However, as I said, the error occurred when reading not when writing.
So it was not because
> NSKeyedArchiver returned nil
but because
`[NSKeyedUnarchiver unarchiveObjectWithData:data]' returned nil, and
my `readFromData:(NSDat
Message: 9
Date: Thu, 24 Apr 2008 13:43:26 +1200
From: David Wilson <[EMAIL PROTECTED]>
I'm running Xcode 3.1 (actually iPhone SDK Beta 3) on Mac OS 10.5.2
My application doesn't launch when I click the run button in Xcode
(note it is NOT an iPhone app). It's an application to control USB
devices
On 4/25/08, Lorenzo <[EMAIL PROTECTED]> wrote:
> I am trying to draw a line with 1 pixel width. No matter whether the view is
> scaled or scrolled, I want to see a 1 pixel thick line.
I highly, highly recommend reading this article:
http://wincent.com/a/about/wincent/weblog/archives/2007/01/offb
Hey,
thank you very much. it helped a lot. but i still got one problem.
The image I derive from
NSBitmapImageRep initWithCIImage
is much smaller than the original pixel size of the video. Because of
that i can't use this method for production use. Is there another way
to do this?
re
I am working on a Computer Vision project that uses real-time image
processing. I am grabbing frames using QTKit, then converting the
resulting CVImageBufferRef into a CIImage, and then converting that
into an NSBitmapImageRep. I know that my resulting NSBitmapImageRep is
fine, since I am v
Bob,
re: Quartz Composer
Did you check the "Asynchronous Mode" checkbox on the Movie Loader
patch's Settings panel? This box is specifically available to allow
for playback of streaming material.
re: QT flaw
The supposition that QuickTime is fundamentally flawed is not
accurate. If yo
Nikolai,
Can you post a snippet of the code you are using for the conversion?
regards,
douglas
On Apr 25, 2008, at 9:04 AM, Nikolai Hellwig wrote:
Hey,
thank you very much. it helped a lot. but i still got one problem.
The image I derive from
NSBitmapImageRep initWithCIImage
is much
Hi,
how do you "convert" CIImage to NSBitmapImageRep ?
Raphael
On Fri, Apr 25, 2008 at 4:34 PM, Nick Forge <[EMAIL PROTECTED]> wrote:
> I am working on a Computer Vision project that uses real-time image
> processing. I am grabbing frames using QTKit, then converting the resulting
> CVImageBuffe
> all resources can be stored in the data fork
> resource manager perfectly understands it
> there is no reason whatsoever to use resource fork
Presumably the other applications that open these files would not be happy
with the data fork's data contents being replaced by a resource file ;-)
--
S
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I want to get the raw data bytes for. My code
is below:
CGImageRef sectionToCache = CGImageCreateWithImageInRe
Hey,
I´m a new developer in iphone´s world, develop in actionScript (flash OOP)
and build adGames and python too.
I always wanted to develop for mobile plataform, and now, with the iphone,
wich is a good gadget, I decided to join in new and long journey.
I´m studying objective-C around one month
> I´m a new developer in iphone´s world, develop in actionScript (flash OOP)
> and build adGames and python too.
The iPhone SDK is under non-disclosure agreement as you should know
if you've downloaded it. It cannot be discussed publicly.
--
I.S.
__
On Fri, Apr 25, 2008 at 3:59 PM, Sidnei Vladisauskis <[EMAIL PROTECTED]> wrote:
> I always wanted to develop for mobile plataform, and now, with the iphone,
> wich is a good gadget, I decided to join in new and long journey.
>
> I´m studying objective-C around one month and have some doubts.
A
Folks,
How can I use a WebView in a modal dialog? I understand that WebViews
don't work in the modal runloop mode, so is there a way to fake this?
Run my own nextEventMatchingMask: loop (I have tried this with very
limited success)? Run the window containing the WebView in a separate
thread with
HOWEVER, I have found a solution which is to look at the "Stop on
Debugger()/DebugStr()" menu item in the Run menu. For some reason,
this got checked when I installed the iPhone SDK beta. If you
uncheck this item, then sanity will be restored, and xCode will
start behaving normally agai
What do you want to do with you captured images ? Just display them or
record them ?
If you just want to display it, you should use an NSOpenGLView and
draw the CVBuffer or the CIImage directly.
If this is for recording or processing the pixels (without CoreImage),
you can try to generate a
On Apr 25, 2008, at 1:20 AM, Colin Cornaby wrote:
I have a CALayer subclass, set to redraw on bounds change, with the
following draw code (I don't expect it to be meaningful, but I'm
pasting it here for the sake of completeness.)
…
It's parent view is set up to change the layers frame to al
Using CGImageRef is not a realiable way to access pixel data of an
image.
You should create a CGBitmapContextCreate() instead and draw the part
you want in this context.
http://developer.apple.com/qa/qa2007/qa1509.html
Le 25 avr. 08 à 16:51, Carter R. Harrison a écrit :
This bug in my
Joe, thank you. That page helps. I succeeded, but I had to set the width to
0.01 because if I set it to zero I get a 2 pixels thick line when the scale
is different than 1.0. Don't know why. Please follow me.
After scaling the view with
scale = 1.33;
[self setBoundsSize:NSMakeSize((int)([self
Hi,
the image comes from:
- (CIImage*) view: (QTMovieView *)view willDisplayImage: (CIImage
*)image
{
...
// this is the conversion code
NSBitmapImageRep* bitmap = [[NSBitmapImageRep alloc] initWithCIImage:
image];
...
}
regards,
nikolai
Am 25.04.2008 um 16:43 schrieb douglas a
On Friday, April 25, 2008, at 08:58AM, "Jean-Daniel Dupas" <[EMAIL PROTECTED]>
wrote:
>
>Using CGImageRef is not a realiable way to access pixel data of an
>image.
>You should create a CGBitmapContextCreate() instead and draw the part
>you want in this context.
>
>http://developer.apple.com
I tweaked one of my format parameters somewhere in the processing
chain, and it started working. I think I was accidentally initing my
NSBitmapImageRep in 2 places. I can't explain why it was acting how it
was, but it works now.
On 26/04/2008, at 1:49 AM, Jean-Daniel Dupas wrote:
What do y
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I want to get the raw data bytes for. My code
is below:
I realize that my buttons are generally not affected by the changes I
make to the bool-values. Only the other way around.
Can I not bind bools to the value of NSButtons? Or am I missing
something else?
Thanks for your help,
Yann
Yann Disser wrote:
I have five textured NSButtons that are s
Nikolai,
Perhaps you might try creating an "empty" NSBitmapImageRep with the
size and pixel attributes you need. Then, use the resultant object as
a graphic context and draw your CIImage into that. The Reducer sample
code does something similar to this. I can imagine that this process
On Apr 25, 2008, at 12:12 PM, David Duncan wrote:
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I wan
On Fri, Apr 25, 2008 at 5:13 PM, Yann Disser <[EMAIL PROTECTED]> wrote:
> I realize that my buttons are generally not affected by the changes I make
> to the bool-values. Only the other way around.
>
> Can I not bind bools to the value of NSButtons? Or am I missing something
> else?
Are you bind
Position: Media Application Developer - MacOS Expert
Location: Northern, NJ
Duration: Contract 2 3 months with possible extension
To apply for this position please forward your resume in WORD format
referring the position the position title above to:
[EMAIL PROTECTED]
Due t
Hi,
for hours I thought on this without coming to a working solution.
I have an NSImage I need to draw (correctly scaled) in a pecifc
drawRect. (got that of course)
Now whenever I draw it I want to mask it so it appears beveled,
rounded and (to make it harder) kinda '3d-isch'
--> see an IPho
I know I saw something somewhere in reference to these methods getting
called twice on app launch, but can't find it with searching.
Is this expected behavior for vanilla -init and (void) awakeFromNib
methods? I'm doing some short loops in these methods and calling other
instance methods. F
On Apr 25, 2008, at 9:37 AM, Dominik Pich wrote:
I have an NSImage I need to draw (correctly scaled) in a pecifc
drawRect. (got that of course)
Now whenever I draw it I want to mask it so it appears beveled,
rounded and (to make it harder) kinda '3d-isch'
--> see an IPhoto event for what I w
Hi,
I'm trying to get keyDown events from the contentView of a sheet window.
I overrided the acceptsFirstResponder method to return YES, and added
a - (void) keyDown: (NSEvent *) event.
The problem is that when the sheet becomes visible and I press a key I
hear a system alert and the keyDow
On 4/24/08 9:37 PM, Christopher Henrich said:
>Have Uniform Type Indicators (UTIs) been defined for VRML, X3d, of
>POVray files?
First, it's "Uniform Type Identifiers". :)
Apple does not keep a list of 3rd party UTIs. No one else does either,
that I know of. Does anyone know of one? The commu
I.S. is correct
discussion of the SDK is not allowed on this list.
Scott
(Moderator)
On Apr 25, 2008, at 11:21 AM, I. Savant wrote:
I´m a new developer in iphone´s world, develop in actionScript
(flash OOP)
and build adGames and python too.
The iPhone SDK is under non-disclosure agree
is there a list in apple somewhere which is restricted to people who
are registered developers where this SDK can be discussed?
On Apr 26, 2008, at 1:04 AM, Scott Anguish wrote:
I.S. is correct
discussion of the SDK is not allowed on this list.
Scott
(Moderator)
On Apr 25, 2008, at 11:2
On Fri, Apr 25, 2008 at 1:17 PM, Roland King <[EMAIL PROTECTED]> wrote:
> is there a list in apple somewhere which is restricted to people who are
> registered developers where this SDK can be discussed?
Nope. Apple still has not provided any forum in which NDA-covered
material / technologies ca
Please forgive my interruption of the technical discussion.
Our direct client, a Video-over-IP development co. located in NJ, has
entrusted me to locate a top-level Mac OS programmer with expertise in Cocoa
and OpenGL, as well as cross-platform knowledge with Min32 API's. This is a
3 months con
That there are so many new job openings for Cocoa developers is very
exciting.
However, please send drafts of job offers to the [EMAIL PROTECTED]
first for approval.
Thanks!
Scott (moderator)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
Could it be the CGImage references a compressed image format rather
than a bitmap?
On Apr 25, 2008, at 8:51 AM, Carter R. Harrison wrote:
What is killing me here is that the CGImage has dimensions 417x234
and 1668 bytes per row. That to me means that the CFDataRef that I
am obtaining sho
Sorry to come in late, but this is something that occasionally comes
up on quicktime-api and quicktime-java. To get text or images on top
of a movie, sometimes it's easier to skip the programming approach and
achieve the effect with authoring. Using the old QuickTime API, you
could add a
I am new to programming in Mac OSX. I need to do a very simple screen
recording application similar to uShow, ScreenFlow and others, but
with very basic settings and simple features. I would like some
directions on where can I get some references on API areas, sample
code, or some other inf
Le 25 avr. 08 à 18:12, David Duncan a écrit :
On Apr 25, 2008, at 7:51 AM, Carter R. Harrison wrote:
This bug in my code has been driving me nuts for days, but I have
finally isolated the issue - only problem now is I don't understand
what I'm doing wrong.
I have a CGImage that I want to
Check out:
CGRegisterScreenRefreshCallback(), and
CGWindowListCreateImage()
Documentation is a bit limited at this point, but they're pretty easy
to figure out.
j o a r
On Apr 25, 2008, at 11:35 AM, Marcio Castilho wrote:
I am new to programming in Mac OSX. I need to do a
Le 25 avr. 08 à 20:35, Marcio Castilho a écrit :
I am new to programming in Mac OSX. I need to do a very simple
screen recording application similar to uShow, ScreenFlow and
others, but with very basic settings and simple features. I would
like some directions on where can I get some refer
On Apr 25, 2008, at 08:35:53, David Springer wrote:
Folks,
How can I use a WebView in a modal dialog? I understand that WebViews
don't work in the modal runloop mode, so is there a way to fake this?
Run my own nextEventMatchingMask: loop (I have tried this with very
limited success)? Run the
On Apr 24, 2008, at 5:01 PM, Ken Thomases wrote:
On Apr 24, 2008, at 6:39 PM, Steve Christensen wrote:
I'm rewriting an old legacy app in Cocoa and have run into a
stumbling block. The app is supposed to support having multiple
windows open, but the window content is unrelated to the concept
Ken, you're Genius !!
Overriding the mouseDown method of a subclassed control containing
the cell and passing to its 'super' an identical NSEvent with
clickCount always 1 did it !
Thank you for your help, I really appreciate it
Joan
El 25/04/2008, a las 09:02, Ken Thomases escribió:
On
Le 25 avr. 08 à 21:00, David Sinclair a écrit :
On Apr 25, 2008, at 08:35:53, David Springer wrote:
Folks,
How can I use a WebView in a modal dialog? I understand that
WebViews
don't work in the modal runloop mode, so is there a way to fake this?
Run my own nextEventMatchingMask: loop (
On Apr 25, 2008, at 11:45 AM, Jean-Daniel Dupas wrote:
I didn't find any documentation about CGDataProviderCopyData()
except this comment in the header:
/* Return a copy of the data specified by provider. Returns NULL if a
* complete copy of the data can't be obtained (for example, if the
* u
Le 25 avr. 08 à 21:06, Steve Christensen a écrit :
On Apr 24, 2008, at 5:01 PM, Ken Thomases wrote:
On Apr 24, 2008, at 6:39 PM, Steve Christensen wrote:
I'm rewriting an old legacy app in Cocoa and have run into a
stumbling block. The app is supposed to support having multiple
windows op
On 25 Apr 08, at 08:23, Hamish Allan wrote:
On Fri, Apr 25, 2008 at 3:59 PM, Sidnei Vladisauskis <[EMAIL PROTECTED]
> wrote:
I always wanted to develop for mobile plataform, and now, with the
iphone,
wich is a good gadget, I decided to join in new and long journey.
I´m studying objective-C ar
I've got a framework project, currently set up to create an embedded
framework for an application, with a view class that I'd like to turn
into an IB Plugin. Can the framework be embedded in the IB Plugin?
If so, how? Embedding it like in an app doesn't seem to work: IB
doesn't seem to see
I'm new to cocoa, I'm trying to display an alertbox. This is the code:
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
[alert addButtonWithTitle:@"OK"];
[alert addButtonWithTitle:@"Cancel"];
[alert setMessageText:@"Delete the record?"];
[alert setInformativeText:@"Deleted records cannot be
> I cannot find out how to refer to the window of my single window program in
> the method: beginSheetModalForWindow
> Some help would be appreciated!
Where (in what object) is this code located? That'd probably be a
good place to add an IBOutlet to your window (and connect it in
Interface Bui
On Apr 25, 2008, at 1:53 PM, Daniel DeCovnick wrote:
I've got a framework project, currently set up to create an embedded
framework for an application, with a view class that I'd like to
turn into an IB Plugin. Can the framework be embedded in the IB
Plugin?
If so, how?
The easiest wa
Am 25.04.2008 um 17:23 schrieb Hamish Allan:
2) There are some pretty fundamental gaps in your understanding of
Objective-C. Coming from a scripting background, you should probably
learn C first. Search the archives for recommendations on books and
online tutorials.
This may be a good opportu
Greetings,
I do not know if others have come up with a reasonable solution for
this that doesn't require software to be installed on the host
computer -- but my iphone application will create a file that I want
to get back to the main PC or Mac. I can see no way to do this in the
SDK.
A
I was 100% sure the doc stated that NSURLCache handled file://, and
since it worked under 10.4, I didnt look further. But I just found
only http and https are cached.
I didnt want a cache for local file: in my app, I display files which
are located locally and remotely. In addition, the loc
On Apr 25, 2008, at 2:53 PM, Daniel DeCovnick wrote:
I've got a framework project, currently set up to create an embedded
framework for an application, with a view class that I'd like to
turn into an IB Plugin. Can the framework be embedded in the IB
Plugin?
If so, how? Embedding it like
I´m studying objective-C around one month and have some doubts.
Have you studied the Objective-C 2.0 document? It should answer your
questions about Properties and the @synthesize directive as these are
new additions to the language. Although handy in the long run, they do
make things mor
On 25.04.2008, at 20:26, Chris Adamson wrote:
Sorry to come in late, but this is something that occasionally comes
up on quicktime-api and quicktime-java. To get text or images on
top of a movie, sometimes it's easier to skip the programming
approach and achieve the effect with authoring.
On 25.04.2008, at 11:17, Bob Smith wrote:
Well, I'm glad I had an excuse to play around with Quartz Composer;
I knew about it but had never spent any time with it, very cool!
Unfortunately, it doesn't solve my immediate problem. As far as I
can tell, compositions won't play streaming vid
But you can't then embed the framework in the app, AFAICT. IB gives a
"plugin corrupted" error message when you change the settings in the
target to those for an embedded framework and click Build & Run.
Huh, turns out it doesn't anymore. Cool. :-)
-Dan
On Apr 25, 2008, at 5:28 PM, Ricky Sh
Hey John -
If init is being called twice on the same instance, that sounds like a
bug. It should be pretty easy to figure out with a backtrace in the
debugger. Of course, you should make sure there aren't two different
instances.
AwakeFromNib on the other hand will be called once each tim
Once again, the iPhone SDK is under a non-disclosure agreement,
which you should know if you've downloaded it. It cannot be discussed
publicly.
--
I.S.
On Apr 25, 2008, at 5:24 PM, Mark Manes wrote:
Greetings,
I do not know if others have come up with a reasonable solution for
thi
That was supposed to be struck-through. Oops.
-Dan
On Apr 25, 2008, at 6:09 PM, Daniel DeCovnick wrote:
But you can't then embed the framework in the app, AFAICT. IB gives
a "plugin corrupted" error message when you change the settings in
the target to those for an embedded framework and cli
No, should I?
Yann
On 25. Apr 2008, at 18:32, Hamish Allan wrote:
On Fri, Apr 25, 2008 at 5:13 PM, Yann Disser <[EMAIL PROTECTED]> wrote:
I realize that my buttons are generally not affected by the changes
I make
to the bool-values. Only the other way around.
Can I not bind bools to the v
Never mind on that, it still doesn't work. I don't know why it worked
one time, but it doesn't now. Suggestions?
-Dan
On Apr 25, 2008, at 6:43 PM, Daniel DeCovnick wrote:
That was supposed to be struck-through. Oops.
-Dan
On Apr 25, 2008, at 6:09 PM, Daniel DeCovnick wrote:
But you can't th
On Apr 25, 2008, at 12:45 PM, Erik Verbruggen wrote:
On 25 Apr 2008, at 20:06, Steve Christensen wrote:
I put both the window and NSWindowController subclass in
MainMenu.nib since some of the menu items control behavior in the
window (and some of the window's current state is reflected in t
Hi Mike,
Are you assigning the entities to different configurations?
Wil
On Apr 23, 2008, at 4:28 PM, Mike Donovan wrote:
Hello everybody!
In my document-based core data application I have a outline view which
displays a list of departments like this (similar to iTunes):
COMPANY [Item]
-- Al
Here's what I'm doing:
- (void)endEditingSavingCurrentResponder
{
NSResponder *currentResponder = [self firstResponder];
if ([currentResponder isKindOfClass:[NSTextView class]])
{
if( [(NSTextView *) currentResponder isFieldEditor] )
I'm getting this message. I think I know what all the words mean, and
I've crawled the KVC and KVO manuals again just to be certain, but I'm
not getting any inspirations on what I'm supposed to do about this
situation. Having seen this message, if I let the program continue
very much long
Le 26 avr. 08 à 01:44, Steve Christensen a écrit :
On Apr 25, 2008, at 12:45 PM, Erik Verbruggen wrote:
On 25 Apr 2008, at 20:06, Steve Christensen wrote:
I put both the window and NSWindowController subclass in
MainMenu.nib since some of the menu items control behavior in the
window (an
Hello All,
I have a very strange error with a project I've been working on. I've
been trying different designs to try to work out a particular problem,
and over that time I've been making different subclasses of a
particular object. Suddnely, for no reason that I can see, *any*
subclass o
On Apr 25, 2008, at 7:41 AM, douglas a. welton wrote:
Bob,
re: Quartz Composer
Did you check the "Asynchronous Mode" checkbox on the Movie Loader
patch's Settings panel? This box is specifically available to
allow for playback of streaming material.
Eh? I don't see a patch called "Movi
I also began learning Objective-C programming about a month ago,
without any prior C experience. I've found Stephen Kochan's
Programming in Objective-C to be very useful. He claims readers will
be able to follow along without prior knowledge of C. That's been
true for me so far (I'm abou
How exactly would I go about replacing the DefaultDesktop.jpg image in
core services with a objective c cocoa app. I'm just starting with
cocoa, so any help is greatly appreciated.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
on 4/25/08 7:15 PM, [EMAIL PROTECTED] purportedly said:
> I have a very strange error with a project I've been working on. I've
> been trying different designs to try to work out a particular problem,
> and over that time I've been making different subclasses of a
> particular object. Suddnely, fo
On 26/04/2008, at 4:50 AM, j o a r wrote:
Check out:
CGRegisterScreenRefreshCallback(), and
CGWindowListCreateImage()
Documentation is a bit limited at this point, but they're pretty
easy to figure out.
There's some good sample code for this:
http://developer.apple.com/
on 4/25/08 6:49 PM, [EMAIL PROTECTED] purportedly said:
> - (void) setEntry:(SVNWCEntry *)value
> {
> [self willChangeValueForKey:@"entry"];
>
> [value retain];
> [entry release];
> entry = value;
>
> [self didChangeValueForKey:@"entry"];
> }
If you haven't turned off automatic KVO notification
On Apr 25, 2008, at 7:37 PM, Yann Disser wrote:
Are you binding via an NSObjectController?
No, should I?
Yes (or one of its subclasses). You have to make sure "everyone is
on the same page" as mindless corporate and government automatons are
wont to say. In Cocoa, this is done easiest
On Apr 25, 2008, at 5:51 PM, Jean-Daniel Dupas wrote:
Le 26 avr. 08 à 01:44, Steve Christensen a écrit :
On Apr 25, 2008, at 12:45 PM, Erik Verbruggen wrote:
On 25 Apr 2008, at 20:06, Steve Christensen wrote:
I put both the window and NSWindowController subclass in
MainMenu.nib since some
How exactly would I go about replacing the DefaultDesktop.jpg image
in core services with a objective c cocoa app. I'm just starting
with cocoa, so any help is greatly appreciated.
You'd want to write an application that uses AuthServices to obtain
permission to use NSFileManager to back
Thanks.
I had two instances of one of my classes in my IB document.
Removing the extra one solved my problem.
On Apr 25, 2008, at 9:36 PM, [EMAIL PROTECTED] wrote:
Hey John -
If init is being called twice on the same instance, that sounds like a
bug. It should be pretty easy to figure out w
Setting a line width of 0 on NSBezierPath means "draw it 1 pixel wide
at whatever resolution the destination device is". 1 pixel on the
screen aligned to an integer coordinate will draw two pixels wide at
half the brightness (anti-aliasing).
Thus, 1. offset your coordinates by 0.5 to avoid
Problem solved, I had to fill in: [NSApp mainWindow]
I cannot find out how to refer to the window of my single window
program in
the method: beginSheetModalForWindow
Some help would be appreciated!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
I've been having a fair few issues with NSBezier boxes lately (a.k.a
boxes with rounded corners)
I've created a NSView subclass that contains the following code, then
threw a few on a window with some controls over the top:
- ( void ) drawRect: ( NSRect ) rect
{
NSBezierPath* thePath
On Apr 25, 2008, at 1:17 PM, Roland King wrote:
is there a list in apple somewhere which is restricted to people who
are registered developers where this SDK can be discussed?
Sorry, not currently, no.
___
Cocoa-dev mailing list (Cocoa-dev@lists
99 matches
Mail list logo