Hans.

Hans.

Lid sinds 04 september 2005

Blog: Hans Pinckaers

  • KVO+Blocks Just found out this little NSObject category. It’s awesome. A must #include in your project. “To get observation notices, you have to override a lengthy selector (observeValueForKeyPath:ofObject:change:context:), provide a static context pointer, and essentially implement a big switch statement on the key path. That’s unwieldy, but I think it also makes for unmaintainable code: the [...]
  • Multi-line/Autoresizing UITextView similar to SMS-app I’ve been tinkering around the last days, creating a multi-line UITextView. I wanted a SMS-app like experience and needed a growing (and shrinking) textView. I tried using three20′s TTTextEditor, but it disables the bounces of the scroll (which is ugly) and has this big white margin on the bottom when you scroll down manually. So [...]
  • Routes/Lines on a MKMapView (as a MKAnnotationView) – Part 2.5 Download available after the jump. First, I should credit Craig for his example of drawing lines on a MKMapView (http://spitzkoff.com/craig/?p=108), that’s where you can find part 1 and part 2. This post is a teaser of what I am going to post later this month. It’s a improvement on his code and makes overlays on [...]
  • meer artikelen...