Re: Laying out text in NSTextView around a subview

2013-04-30 Thread Jason Brennan
Yeah what I'm trying to do mostly is a "block" element in the text, "inline" is just a side thing, not essential. What I'm trying to do is best described as an analogy with HTML. Let's say I've got the following HTML: This is a paragraph Another paragraph I'm only using as an example because i

Laying out text in NSTextView around a subview

2013-04-28 Thread Jason Brennan
) an arbitrary NSView. I feel like this should be possible though, where do I start? Thanks! Jason Brennan ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

[NSDate dateWithNaturalLanguageString:] on iPhone 3.0

2009-08-28 Thread Jason Brennan
;]; NSDate *tomorrow = [NSDate dateWithNaturalLanguageString:@"tomorrow at 23:59:59"]; With something suitable for iPhone OS 3.0, but I'm at a complete loss. Basically I want a date which is "tonight just a second before midnight" and another time "just a second before m