Tuesday, March 11, 2014

Monitor network activity in OS X using CocoaPacketAnalyzer

I found the app CocoaPacketAnalyzer for Mac OS X which does Packet capturing and display etc. Seems to be very easy to use - at least for the simple tcpdump(packet capture) and viewing, searching etc. Would recommend it any day over the tcpdump command/wireshark etc for ease of use.

Friday, January 31, 2014

Resizing/Repositioning TextView (NSTextView in NSScrollView) in OS X Cocoa

In case of manipulating TextViews(NSTextView in NSScrollView) in Cocoa (OS X), when resizing/repositioning the TextView, remember to resize/reposition the associated NSScrollView also.   Since they are two different controls, setFrame should be called on both, separately.