-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathViewController.m
More file actions
45 lines (35 loc) · 1.11 KB
/
ViewController.m
File metadata and controls
45 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// ViewController.m
// WritingAnimationMessageView
//
// Created by Alok on 30/04/13.
// Copyright (c) 2013 Konstant Info Private Limited. All rights reserved.
//
#import "ViewController.h"
#import "AppDelegate.h"
@interface ViewController ()
@end
@implementation ViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
}
-(void)viewDidAppear:(BOOL)animated
{
[((AppDelegate*)[[UIApplication sharedApplication]delegate]) aksInfoMessageFor:5 withMessage:@"This is a demo text message....with lots of options to configure" withFontSize:30 ShowTextOnly:YES IsAnimationRequired:NO ClearPreviousMessages:YES ColorWithR:255 G:0 B:0 IsBlinking:NO IsWritingAnimation:YES Frame:CGRectZero];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end