Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (26 sloc) 0.8 kb
// ScrollingTextSampleAppDelegate.m
// ScrollingTextSample
// Created by maicki on 24.11.10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
#import "ScrollingTextSampleAppDelegate.h"
#import "CustomTextScrollView.h"
@implementation ScrollingTextSampleAppDelegate
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
// Insert code here to initialize your application
self.textField.stringValue = @"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque";
[self updateTextScrollView];
- (IBAction)changeText:(id)sender
[self updateTextScrollView];
- (void)updateTextScrollView
NSString *txt = self.textField.stringValue;
[self.scrollView setText:txt];
Jump to Line
Something went wrong with that request. Please try again.