Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Events are displayed in such case.

Objective-C
- (void)viewDidLoad
{    
    [super viewDidLoad];   
    self.data = @[
	@[@"Hamburger Bliss", @"Wendys", @15, @0, @18, @0], 
	@[@"Fishy Fishy Fishfelayyyyyyyy", @"McDonalds", @5, @30, @6, @0]]; 
}


But if hours are greater than @500
Objective-C
- (void)viewDidLoad
{
    [super viewDidLoad];    
    self.data = @[
	@[@"Meeting with five random dudes", @"Five Guys", @960, @0, @1000, @30],
	@[@"Unlimited bread rolls got me sprung", @"Olive Garden", @500, @0, @510, @0]];
}


Events are not displayed.

I want to know the reason why events are not shown and how to show the events.

Is there another way to add events?
Posted
Updated 19-May-15 23:22pm
v2

1 solution

Looks like invalid data gets thrown out. So you should verify your input. (it is always good style to do it).

This creation of a dataset looks very static. You better read in the documentation and some sample code to get it running smoothly.
 
Share this answer
 
Comments
Ravindra K Gurung 20-May-15 7:26am    
Thanks for your reply..

I have verify my input its correct.

Please can you share some sample code it will be greatly appreciated.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900