WWDC 2005: Tuesday Wrap-Up

There weren't a lot of sessions I wanted to check on Tuesday, so I spent more time meeting up with people that I've only known over email. I did go to a Cocoa session which talked about some things I hadn't heard much about last year.

NSError: I vaguely knew about the improvements in this class, but there are some interesting changes which makes room for much more useful usererror messages.

NSText: This class is more capable than I realized. I already knew it could handle HMTL, but it actually understands WebKit's archive format. It's also possible to control the type of HTML that it generates.

There was also a lot of talk about what kind of considerations to take into account for Intel. No secrets or magic here. It's pretty easy to figure out the kinds of things that are processor dependent. In most cases, Cocoa shields the developer from just about everything.
Design Element
WWDC 2005: Tuesday Wrap-Up
Posted Jun 8, 2005 — 2 comments below




 

kristof — Jun 09, 05 214

Can you give some hints on how NSText can handle HTML? I don't seem to find anything in the docs?

thx, kristof

Scott Stevenson — Jun 09, 05 215 Scotty the Leopard

The AppKit additions to NSAttributedString define some constants like NSHTMLTextDocumentType, which can be set as the "documentType" value in a document attributes dictionary.




 

Comments Temporarily Disabled

I had to temporarily disable comments due to spam. I'll re-enable them soon.





Copyright © Scott Stevenson 2004-2015