• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[ANN] RendezCon v0.1 - Rendezvous and Controller Sample Code and Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ANN] RendezCon v0.1 - Rendezvous and Controller Sample Code and Application


  • Subject: [ANN] RendezCon v0.1 - Rendezvous and Controller Sample Code and Application
  • From: Dominik Wagner <email@hidden>
  • Date: Mon, 24 Nov 2003 19:56:41 +0100

Hi List,

please do have a look at my recent effort in evaluating the Controller layer:

http://www.dasgenie.com/scrap/archives/000026.html
http://www.codingmonkeys.de/techpubs/rendezcon/RendezCon.dmg

RendezCon is a low level Rendezvous browser with 3 intentions:
1) do Rendezvous browsing right (multihoming, resolving, etc.)
2) use the Controller Layer
3) provide this as complete and really good sample code for others

Especially point 3 is important. Every line of code in this example should be correct and the right way of doing the thin it does. If you find something fishy, or not good style, please do inform me and discuss the matter. If you find potential points where good use of other Controller or Rendezvous technology can be added and shown, please contact me.

Comparision between RendezCon and the "DNS Service Browser" example shipped with the mDNSResponder source code:
- Lines of Code 390 to 540,
- "DNS Service Browser" has some display update issues that RendezCon has not
- "DNS Service Browser" is using Low Level rendezvous API, I'm using NSNetServiceBrowser/NSNetService
- My TableViews can all be sorted
- I can browse for many services at once, "DNS Service Browser" always searches just for one type

Notes:
- A reproducible exception is thrown when in the found services table view no column is sorted, the last line is selected and you press "Stop and Restart". However I am not aware of any error I made on this subject, so this may be a bug in the Controller Layer.
- The NSTextFields in the Detail area are bound to the NSArrayController's selection property and show the correct Data. However if you acitvate the textfields to select something, then "No selection" is printed in grey underneath the activated textfield. Bug?
- The NSTableView has redraw issues when you saved a Table state with columns that are wider than its NSScrollView and you get more Entries than rows available
- If you doubleclick the resolved addressses in the detail view you get a simple <service type>://<address:port>/ url opened. In case of ssh terminal sends the :22 as bash command. doh.

--
Dominik Wagner Mail: email@hidden
TheCodingMonkeys http://www.codingmonkeys.de/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Unsafe SSH URLs? (Was Re: [ANN] RendezCon v0.1 - Rendezvous and Controller Sample Code and Application)
      • From: René Puls <email@hidden>
  • Prev by Date: Width of a menu (or menu item)
  • Next by Date: Re: Stop editing a table cell
  • Previous by thread: Width of a menu (or menu item)
  • Next by thread: Unsafe SSH URLs? (Was Re: [ANN] RendezCon v0.1 - Rendezvous and Controller Sample Code and Application)
  • Index(es):
    • Date
    • Thread