Following the advice of Kevin Ballard on StackOverflow, I created IGIsolatedCookieWebView, a subclass of WebView that does not access or affect the system-wide shared cookie storage (shared among all WebKit apps). Each instance of IGIsolatedCookieWebView has its own cookie storage so that, for example, multiple instances of IGIsolatedCookieWebView within the same application can be logged in [...]
¶
Posted 11 March 2010
† 2718.us
§
Mac OS X § Programming
‡
°
Also tagged: cookie, cookies, IGIsolatedCookieWebView, isolated cookies, mac, mac os x, mit, mit license, os x, stackoverflow, subclass, webkit, WebView
IGResizableComboBox is a drag-resizable subclass of NSComboBox—that is, IGResizableComboBox should be usable in place of NSComboBox and it adds a small bar at the bottom of the pop-up list that can be dragged to resize the pop-up list. IGResizableComboBox is published under a 3-clause BSD an MIT license. It still has some quirks: behavior is [...]
¶
Posted 10 March 2010
† 2718.us
§
Mac OS X § Programming
‡
°
Also tagged: combo box, combobox, drag, drag-resizable, IGResizableComboBox, mac, mac os x, mit, mit license, nscombobox, os x, resizable, resizable combo box, resizable combobox, subclass
I’ve just spent a total of about 2 hours taking apart and rebuilding an interface window because those little red dotted underlines on misspelled words in an NSTextView were appearing about a line and a half too high and about 4em to the right. Net result? It seems that if core animation is enabled for [...]
¶
Posted 25 July 2009
† 2718.us
§
Programming
‡
°
Also tagged: asLJ, check spelling as you type, content view, core animation, custom view, dotted underline, misspelling, misspelling underline, nstextview, red underline, spelling, underline, view
This took over an hour for me to hash out, in part because there are a few mailing list archives and whatnot that I came across while looking into this issue that led me down the wrong path. I have an NSDocument subclass for which I want a sheet to display modal to the window [...]
¶
Posted 17 July 2009
† 2718.us
§
Programming
‡
°
Also tagged: attached, beginSheet, detached, interface builder, modal, nsdocument, nspanel, obj, objective c, sheet, xco, xcode
asLJ is a new client for Macs running Leopard that easily handles multiple accounts on LiveJournal and other LJ-based sites and facilitates cross-posting across accounts. Release notes and download link are in aslj_client. The community for users is aslj_users. (As it is very LJ-centric, most of the information about it will be over at LJ, [...]
¶
Posted 09 February 2009
† 2718.us
§
asLJ
‡
°
Also tagged: applescript, applescript studio, asLJ, client, keychain, keychain.framework, leopard, livejournal, livejournal client, lj, lj client, mac, Mac OS X, macintosh, objective c, os x, sparkle, xcode