data binding using shared user default controller

2009-05-07 Thread pan xuan
Hello, I have had a question regarding how to bind my data with "Shared User Default Controller". Usually, I can establish a binding between the data and with a controller key, Values with the specified key path in the user default controller. I wonder is it possible that I bind my data with a

How to handle NetworkConnections apart from PPP

2009-02-03 Thread pan xuan
Hi,Apple System Configuration Framework references includes a SCNetworkConnection API that is restricted to handle PPP connection. Is there any other API that the developer can use to deal with other type of network connectivities such as Wireless LAN and LAN. I basically need to connect, disc

kCFErrorDomainCFNetwork error -1009

2008-11-17 Thread pan xuan
Hi, I have a piece of code to perform accessing a server with a test URL. The server I try to access is actually an wifi access point. It is supposed to respond with a login page before the user can be authenticated. Sometimes, the replied data from the server is NULL and the error printed o

duplicate decalration for protocol

2008-11-10 Thread pan xuan
Hi, I have two classes that both conform to a protocol ABC. Now the third class needs to import those two classes and I got a warning duplicate declaration for protocol ABC. Could anybody tell me how to reduce this kind of warning? Thanks BR, Pan _

unrecognized selector sent to instance

2008-09-26 Thread pan xuan
Hi, I am having a strange problem of my class declaration. I used to declare some methods of a class in a category, "Private". After I have done some refactoring work (basically moving some classes into another framework), it seems those methods declared in the category, "Private" do not belong

RE: how to create the special modal dialog

2008-08-07 Thread pan xuan
to are "sheets".> > See:> http://developer.apple.com/documentation/Cocoa/Conceptual/Sheets/Sheets.html> > Good luck =]> > - Andy> > > On Aug 6, 2008, at 8:41 AM, pan xuan wrote:> > >> > Hi,> >> > In some of Preferences's pane, when clicking

how to create the special modal dialog

2008-08-06 Thread pan xuan
Hi, In some of Preferences's pane, when clicking a "+" sign, a modal dialog comes up not separately but as a child shadowed dialog sticking out from the bottom of the tool bar. What is that kind of dialog called? and how to program it? Thanks for the help. Pan _