I'm struggling and maybe tired, but how do you set the state of and
NSMatrix with radio buttons and NSPopUpButton ?
Does it go in windowDidLoad or should it be in awakeFromNIB ?
This is in a Preference window for my app.
I'm having a hard time figuring out how to get it to set state to
reflect
On 4 May '08, at 3:35 PM, Steve Steinitz wrote:
Cannot remove an observer for the key path
"name" from because it is not registered as
an observer.
"It" refers to the observer. -removeObserver:forKeyPath: raises this
exception if told to remove an object that isn't currently registered
Bah, yes, I missed Michael Ash's correct answer at the end of
yesterday's digest.Setting the window backing store to "buffered"
fixed the control drawing and even a coupe of other interface issues I
hadn't realized were related.
Thanks to everyone for your help.
--Christopher Kempke
__
On Sun, May 4, 2008 at 6:47 PM, Adam Leonard <[EMAIL PROTECTED]> wrote:
> Just change backing:NSBackingStoreRetained to NSBackingStoreBuffered and
> see if that works.
You're also displaying your window before NSApplication starts pumping
the runloop. Perhaps you should consider making a delegat
On May 4, 2008, at 3:53 PM, Damien Cooke wrote:
Region="South Australia" MediaType="Photo">
multi-laned
non-water-based
I can easily get the keywords out but have found no way of getting
the attributes out of the tag. Can someone make some
suggestions?
If you're usin
On May 4, 2008, at 2:28 AM, Jere Gmail wrote:
I have implemented this code:
if(!AXAPIEnabled ())
{
NSLog(@"API not enabled");
return;
}
if(!AXIsProcessTrusted ())
{
NSLog(@"PROCESS not trusted");
}
An
On May 3, 2008, at 3:52 PM, Jere Gmail wrote:
I want to list all the running apps and their windows.
Why, what do you hope to do with this information?
The answer to that will probably help us help you much better.
-- Chris
___
Cocoa-dev maili
I am porting a tool from Java to Cocoa. I am reasonably new to XML
and I am having some difficulties.
my Items in the XML look like this:
Region="South Australia" MediaType="Photo">
multi-laned
non-water-based
I can easily get the keywords out but have found no wa
Hi,
Did you see Michael Ash's message?
That certainly seems like the problem to me.
Just change backing:NSBackingStoreRetained to NSBackingStoreBuffered
and see if that works.
Adam Leonard
On May 4, 2008, at 3:23 PM, Christopher Kempke wrote:
Thanks to those folks who have tried (unsuccessf
Hello,
I now have two projects where I am getting the error below.
I've tried some obvious things like adding calls to will|did
Access|Change ValueForKey to my custom methods and also ensuring
key-value compliance by adding dummy setters. Here is the error.
Cannot remove an observer for t
Thanks to those folks who have tried (unsuccessfully) to help me. My
first post clearly contained too many magenta mackerels, so I've done
what I should have started with and reduced it to a shorter example.
Given the following complete, nibless, and astoundingly uninteresting
app:
#impo
On 4 May '08, at 1:35 PM, Richard Wolf wrote:
Your next task is to learn XQuery. If you are going to deal with
searching XML data for values, this is a MUST, but you will be amply
rewarded for all your efforts.
XQuery's powerful, all right, but it's kind of complicated, so I
thought it
On 4 May '08, at 1:28 AM, lorenzo wrote:
I'm thinking to trasform svg data in xml plain data and managing an
nsxmldocument for storing changes but I don't know how render the
web-view with xml
Call [[webView mainFrame] loadHTMLString: xml baseURL: nil];
There's a related method that loads
On May 4, 2008, at 18:34, I. Savant wrote:
I assume this should be possible with Core Data ...but there are
different types of accounts in the list of accounts. So the UI
needs to change depending on what type of account has been
selected. Any pointers on how to accomplish this?
This c
Thanks for the reply.
I've been doing research and found the NSURL... classes appear to do what I was
looking for:
Accessing data from a server using a SOAP envelope.
1) The server provides me with a URL (no port# given; just the http URL).
2) I can set/adjust the authority parameters via NSURL.
Is there any like framework that will let you do that?
Is there an example for how to read xml?
Is there a tutorial?
Yes, yes, and yes.
Mr. Gecko,
In answer to your queries ... one word. XQuery.
NSXMLNode's objectsForXQuery:error: and
objectsForXQuery:constants:error: do exactly what you w
On May 4, 2008, at 4:55 AM, Jean-Daniel Dupas wrote:
Le 4 mai 08 à 05:18, Jens Alfke a écrit :
On 3 May '08, at 8:13 PM, Bruce Sherwood wrote:
Thanks! I'm really glad to hear that this is a known problem, and
that there are solutions, even if it is "pretty tricky stuff". Can
you or someo
That was it.
Many thanks,
Joseph
Hamish Allan wrote:
On Sun, May 4, 2008 at 4:14 PM, Joseph Ayers <[EMAIL PROTECTED]> wrote:
Indeed the NIB tableWindow has file's Owner set to tableController and
there is a connection made to dataTable
from a TableController object.
Do you mean y
On Sun, May 4, 2008 at 4:14 PM, Joseph Ayers <[EMAIL PROTECTED]> wrote:
> Indeed the NIB tableWindow has file's Owner set to tableController and
> there is a connection made to dataTable
> from a TableController object.
Do you mean you have another TableController instantiated in your nib?
In
The method that loads the NIB is:
-(void)loadTableController{
if (tableController == NULL) {
tableController = [[TableController alloc] init];
if (![NSBundle loadNibNamed:@"tableWindow" owner:tableController]) {
NSLog(@"Error loading TableController");}
else{
Greetings Jeff & fellow Cocoa Developers:
I need to access a SOAP/WSDL server.
I'm trying to convert some Java code to its ObjC equivalent.
Client (Mac) <--- SOAP > WSDL server.
Here's where I'm coming from:
1) I need to make a POST connection.
2) Content type is SOAP (text/
I assume this should be possible with Core Data ...but there are
different types of accounts in the list of accounts. So the UI needs
to change depending on what type of account has been selected. Any
pointers on how to accomplish this?
This could be solved with Cocoa Bindings and one or
on 5/4/08 9:14 AM, [EMAIL PROTECTED] purportedly said:
> I have a NSTableView as an instance of a NSWindowController declared as:
>
> @interface TableController : NSWindowController {
> IBOutlet NSWindow* tableWindow;
> IBOutlet NSTableView*dataTable;
>
Hey guys,
I am looking for an example on how to implement something like the
Mail accounts preferences.
I assume this should be possible with Core Data ...but there are
different types of accounts in the list of accounts. So the UI needs
to change depending on what type of account has be
I have a Cocoa app presenting a classic master-detail view of managed
objects, each of which represents a machine on a network and has a
string property "address". I also have a class which monitors the
status of a networked machine whose initialiser takes such an address.
Therefore in awakeFromIns
I have a NSTableView as an instance of a NSWindowController declared as:
@interface TableController : NSWindowController {
IBOutlet NSWindow* tableWindow;
IBOutlet NSTableView*dataTable;
IBOutlet NSTableHeaderView* headers;
IBOutlet NSTableCo
Oops, ok sorry I posted this question, please disregard until NDA is
no longer in effect.
___
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-
Am 04.05.2008 um 13:25 schrieb Daniel:
Basically I wanted to display a window which modifies "graphically"
another window. Under graphically I mean for example zooming of some
parts of the window or change colors and so on and also to preserve
the funcionality of the original window.
So, basic
Well I'm not willing to switch to AT&T for my cell, but I would like
to develop for iPod and iPhone. I've been messing with the SDK and it
seems fairly straight forward, however I am in love with my PPC
and unwilling to give it up until Apple stops making OSes for it.
Therefore I am usi
Hi,
I'm having a problem with the retain count of CALayers. It seems that
when changing geometry related properties, such as bounds or position,
the retain count is decremented. Below is a simple example that
exhibits the problem. In the example, if changeName is called, the
retain count of the la
On Sun, May 4, 2008 at 12:30 AM, Jean-Daniel Dupas
<[EMAIL PROTECTED]> wrote:
>
> Override the -[NSWindow sendEvent:] method and pass the event parameter to
> the target window sendEvent: method.
>
Thank you very much!
On Sun, May 4, 2008 at 12:34 AM, Jean-Daniel Dupas
<[EMAIL PROTECTED]> wrot
You need 10.4 support ?
The SonOfGrab sample is able to list all windows without AXAPI !
Le 4 mai 08 à 11:33, Jere Gmail a écrit :
PD: I have tried the UIElementInspector code and it also says that the
App is not trusted, but it succeeds in geting other apps info. Instead
when I run
AXUIEle
Are you sure you're running the event loop correctly? It sounds to me
that Cocoa is not getting a chance to do its usual behaviour of
calling -displayIfNeeded at the end of the event loop. What if you
manually call that method yourself?
Mike.
On 4 May 2008, at 10:19, Christopher Kempke wro
Le 4 mai 08 à 05:18, Jens Alfke a écrit :
On 3 May '08, at 8:13 PM, Bruce Sherwood wrote:
Thanks! I'm really glad to hear that this is a known problem, and
that there are solutions, even if it is "pretty tricky stuff". Can
you or someone else point me to a sample piece of code that could
PD: I have tried the UIElementInspector code and it also says that the
App is not trusted, but it succeeds in geting other apps info. Instead
when I run
AXUIElementRef ref=AXUIElementCreateApplication(pid);
AXUIElementCopyAttributeNames(ref, (CFArrayRef *)&theNames);
theNames is empty.
Why is this
I have implemented this code:
if(!AXAPIEnabled ())
{
NSLog(@"API not enabled");
return;
}
if(!AXIsProcessTrusted ())
{
NSLog(@"PROCESS not trusted");
}
And it enters the second if, so my app is not trust
Yes, it appears that I want an NSPanel instead of an NSWindow for my
modal dialogs, but I think the modality is a red herring here: I just
tried adding the same checkbox and button controls to a floating
window and a document window: they don't visibly update based on
mouse clicks there, e
Hi,
I'm using web-kit for loading an svg map in my application, I want to
store the map data in memory for redisplay with some mods (like
changing the colors at given population data etc.).
I'm thinking to trasform svg data in xml plain data and managing an
nsxmldocument for storing changes
38 matches
Mail list logo