开发者

UITextView like iPhone Notes application

I am trying to recreate the Notes application. So far I got the following:

    textView                 = [[UITextView alloc] initWithFrame:CGRectMake(25.0, 30.0, 295.0, 214.0)];
textView.delegate        = self;
textView.backgroundColor = [UIColor clearColor];
textView.font            = [UIFont fontWithName:@"MarkerFelt-Thin" size:19.0];  
开发者_运维百科[self.view addSubview:textView];

The thing I dont know is how they were able to put the date on top like a header (it is within the UIScrollView that is obvious). Also under every text there is a line where did that came from.

Does someone have an idea or a sample project I can take a look at?


Look at this: Stuff you learn from reverse-engineering Notes.app

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜