NSNetServiceBrowser - can one instance do domains and services?

2009-12-13 Thread Roland King
I have one instance of an NSNetServicesBrowser in my application. I set it to go find browsedomains (only) and it happily goes and finds both of them. I thought that I could use the same instance to find services in the domains it finds, but if I add [ browser searchForServicesOfType: inDomain:

add documentation?

2009-12-13 Thread Chunk 1978
is it possible to add documentation to xcode? i'd like to add the documentation for OpenAL, as i'm just starting to learn about it, and would like the connivence of command+double click. also, how can i toggle the left side frame (Doc Sets, Bookmarks) of the documentation browser? thanks ___

Re: add documentation?

2009-12-13 Thread Evadne Wu
Doxygen might help; Apple has a page on that ( http://developer.apple.com/tools/creatingdocsetswithdoxygen.html ). On the second issue —€” asserting that you’€™re on Xcode 3.x —€” if you’€™re not searching (i.e. there is nothing in the search field) the sidebar automatically goes away. Short

Re: add documentation?

2009-12-13 Thread Chunk 1978
humm... there's nothing in the search field and the side panel is still there. can't get that shortcut to work either: i'm using xcode 3.1.4 with 10.5.8. the panel just suddenly appeared, although i may have accidently pressed or dragged something, but i can't seem to toggle it's visibility. On

Re: add documentation?

2009-12-13 Thread Andy Lee
On Dec 13, 2009, at 6:18 AM, Chunk 1978 wrote: > is it possible to add documentation to xcode? i'd like to add the > documentation for OpenAL, as i'm just starting to learn about it, and > would like the connivence of command+double click. In the Xcode documentation window, search for "docsets".

Re: Bluetooth failure

2009-12-13 Thread Alexander Spohr
Am 13.12.2009 um 03:15 schrieb Rob Keniger: > On 12/12/2009, at 11:24 PM, Alexander Spohr wrote: > >> As far as I know, the Simulator has no GameKit as it does not exist under >> Mac OS. > > That's actually not quite true, GameKit exists on the simulator but it (very > unfortunately) cannot us

Re: Bindings question...

2009-12-13 Thread Keary Suska
On Dec 12, 2009, at 2:37 PM, Quincey Morris wrote: > 2. Bindings that we set in IB, such as NSTableColumn's "value" binding, are > what the documentation calls "Cocoa bindings", as opposed to just plain > "bindings". Presumably, all Cocoa bindings have the ability to recognize > certain predefi

Re: Problem with setMarkedText:selectedRange:

2009-12-13 Thread Benjamin Stiglitz
> Hi, I have a view which implements the NSTextInputClient protocol, and my > implementation of > > - (void)setMarkedText:(id)aString selectedRange:(NSRange)selectedRange > replacementRange:(NSRange)replacementRange > > creates an NSTextView, adds it as a subview, makes it first responder, >

Re: Binding an Array of Dictionaries

2009-12-13 Thread Keary Suska
On Dec 12, 2009, at 10:35 PM, Gerriet M. Denkmann wrote: > Well, not quite. > As I stated in some previous post in this thread, the NSDictionaryController > (bound to "currentDictionary") fills an editable NSTableView. > And if the user edits some key or value in this NSTableView the > NSDiction

Re: Binding an Array of Dictionaries

2009-12-13 Thread Keary Suska
On Dec 13, 2009, at 9:50 AM, Keary Suska wrote: >> Well, not quite. >> As I stated in some previous post in this thread, the NSDictionaryController >> (bound to "currentDictionary") fills an editable NSTableView. >> And if the user edits some key or value in this NSTableView the >> NSDictionaryC

NSCoder with network

2009-12-13 Thread James Maxwell
Hello All, I've got a potentially tricky problem here. My app is backed by a network-like data structure based on three objects: a Network_Controller, a Network, and a set of Nodes. The network is arranged in a hierarchy of levels, with each level having at least one node. The Network object st

Re: Bindings question...

2009-12-13 Thread Matt Neuburg
On or about 12/12/09 12:02 PM, thus spake "cocoa-dev-requ...@lists.apple.com" : > Date: Sat, 12 Dec 2009 13:03:02 -0600 > From: Jim Majure > Subject: Bindings question... > > What I don't understand is how the TableColumn is > specifying the particular instance in the "arrangedObjects" array tha

quick question about OpenAL

2009-12-13 Thread Chunk 1978
i'm currently aware that openAL permits the changing of volume and pitch of a sound source, but what other changes are possible? sustain? attack/release? echo? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Printing to a ipp printer discovered with bonjour

2009-12-13 Thread Dave Camp
You have to read all the IPP RFC's (plus the CUPS unique extensions) and write a functioning IPP client. It's not trivial, but I've done it. Dave On Dec 11, 2009, at 2:59 PM, Development wrote: > I'm trying to figure out how to print using IPP from an iphone. > I'm able to get bits of info from

Re: Binding an Array of Dictionaries

2009-12-13 Thread Gerriet M. Denkmann
On 13 Dec 2009, at 23:50, Keary Suska wrote: > On Dec 12, 2009, at 10:35 PM, Gerriet M. Denkmann wrote: > >> Well, not quite. >> As I stated in some previous post in this thread, the NSDictionaryController >> (bound to "currentDictionary") fills an editable NSTableView. >> And if the user edits

Re: Bluetooth failure

2009-12-13 Thread Development
I think that the bug report is a good idea because it really is important to be able to test when you are an impoverished developer that can only afford either and ipod or iphone but not both. On Dec 13, 2009, at 5:13 AM, Alexander Spohr wrote: > Am 13.12.2009 um 03:15 schrieb Rob Keniger: >

Re: NSCoder with network

2009-12-13 Thread James Maxwell
Brilliant. Thanks! J. On 2009-12-13, at 11:50 AM, A.M. wrote: > > On Dec 13, 2009, at 12:29 PM, James Maxwell wrote: > >> Hello All, >> >> I've got a potentially tricky problem here. My app is backed by a >> network-like data structure based on three objects: a Network_Controller, a >> Net

Re: quick question about OpenAL

2009-12-13 Thread Mike Abdullah
And this ties in with Cocoa in what way? On 13 Dec 2009, at 19:03, Chunk 1978 wrote: > i'm currently aware that openAL permits the changing of volume and > pitch of a sound source, but what other changes are possible? > sustain? attack/release? echo? > __

Smooth Scrolling for NSScrollView

2009-12-13 Thread PCWiz
There was a smooth scrolling feature that was introduced in 10.3 which seems to be automatically enabled for NSTextViews, but it doesn't seem to work for NSScrollViews with custom views. Is there anything I need to do to enable this? Or is this enabled by default now (I'm using the 10.5 SDK, ru

Re: Smooth Scrolling for NSScrollView

2009-12-13 Thread Jeff Johnson
This may be related to REGRESSION: smooth scrolling doesn't work in NSTableView. I found that smooth scrolling doesn't work in an NSTableView enclosed in an NSScrollView. This regression was in Leopard: smooth scrolling worked in Tiger. -Jeff On Dec 13, 2009, at 4:35 PM, PCWiz wrote:

Re: NSCoder with network

2009-12-13 Thread Graham Cox
On 14/12/2009, at 4:29 AM, James Maxwell wrote: > I've got a potentially tricky problem here. My app is backed by a > network-like data structure based on three objects: a Network_Controller, a > Network, and a set of Nodes. The network is arranged in a hierarchy of > levels, with each level h

Re: Smooth Scrolling for NSScrollView

2009-12-13 Thread PCWiz
Thats a bummer. Are there any 3rd party implementations of the smooth scrolling feature? For example, there's this shareware app called "Smart Scroll" (http://marcmoini.com/sx_en.html) that does a wonderful job of adding smart scroll to every app (I think its an InputManager plugin). The scroll

Re: Smooth Scrolling for NSScrollView

2009-12-13 Thread Graham Cox
On 14/12/2009, at 10:08 AM, PCWiz wrote: > Thats a bummer. Are there any 3rd party implementations of the smooth > scrolling feature? > > For example, there's this shareware app called "Smart Scroll" > (http://marcmoini.com/sx_en.html) that does a wonderful job of adding smart > scroll to eve

Detect links in UITextView fails on email addresses?

2009-12-13 Thread Randall Meadows
I have 2 UITextViews in a view; one contains a web address, the other an email address. The former, when touched, launches Mobile Safari and loads the web page. The latter, the email address, when touched, does nothing, even though the view has colored it blue and underlined it. If I touch-an

Re: Smooth Scrolling for NSScrollView

2009-12-13 Thread PCWiz
Sounds like good reasoning to me :-) On 2009-12-13, at 4:18 PM, Graham Cox wrote: > > On 14/12/2009, at 10:08 AM, PCWiz wrote: > >> Thats a bummer. Are there any 3rd party implementations of the smooth >> scrolling feature? >> >> For example, there's this shareware app called "Smart Scroll"

Re: NSCoder with network

2009-12-13 Thread James Maxwell
Thanks Graham. Good info to have. cheers, J. On 2009-12-13, at 3:02 PM, Graham Cox wrote: > > On 14/12/2009, at 4:29 AM, James Maxwell wrote: > >> I've got a potentially tricky problem here. My app is backed by a >> network-like data structure based on three objects: a Network_Controller, a

NSMutableAttributedString & Links color

2009-12-13 Thread PCWiz
Hi, I am, for lack of a better word, "enabling" links in my NSMutableAttributedString by applying the NSLinkAttributeName attribute to them, and I'm changing their color from the default blue to a different color using NSForegroundColorAttributeName. This all works fine. The only issue: When y

App Launches in Finder, Hangs While Launching in Debugger

2009-12-13 Thread Joe Programmer
I made a similar post to the Xcode list originally, but it was suggested that I redirect it to the Cocoa list. Here it is: I'm working with a Cocoa app compiling with gcc 4.0 in Xcode 3.2.1. Both the debug and the release builds launch fine from the Finder, but the app does not launch through

Re: App Launches in Finder, Hangs While Launching in Debugger

2009-12-13 Thread Joar Wingfors
On 13 dec 2009, at 22.26, Joe Programmer wrote: > Two occurrences of the following massage are appearing in the console: > -[NSCFArray _getCString:maxLength:encoding:]: unrecognized selector sent to > instance 0x4016e0 That's almost certainly an indication of a memory management error in your

Re: App Launches in Finder, Hangs While Launching in Debugger

2009-12-13 Thread Joe The Programmer
On Dec 14, 2009, at 12:06 AM, Joar Wingfors wrote: > That's almost certainly an indication of a memory management error in your > application. If you're not using Garbage Collection in your app, I'd suggest > that you troubleshoot this using zombies. Search for "NSZombieEnabled" to > find help

Re: App Launches in Finder, Hangs While Launching in Debugger

2009-12-13 Thread Kyle Sluder
On Sun, Dec 13, 2009 at 11:44 PM, Joe The Programmer wrote: > Great, thanks.  Garbage Collection is not currently being used.  This code > previously was built with the 10.4 SDK which did not support GC.  Now it > builds with the 10.5 SDK, so I would assume is GC capable. Turning on GC is not t

Re: App Launches in Finder, Hangs While Launching in Debugger

2009-12-13 Thread Joar Wingfors
On 13 dec 2009, at 23.44, Joe The Programmer wrote: > Is GC as easy to implement as toggling the GCC_ENABLE_OBJC_GC build setting > to either supported or required? For a trivial app it might be. For anything else, it would not be. GC and RC are fundamentally different memory management model