Thursday, February 16, 2012

How to store CGRect in an Array or Dictionary ?

Here is the code snippet

CGRect a = CGRectMake(0, 0, 720, 465);
CGRect b = CGRectMake(0, 465, 720, 465);
NSArray *array=[[NSArray alloc]initWithObjects:[NSValue valueWithCGRect:a],[NSValue valueWithCGRect:b], nil];




2 comments:

  1. Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.




    Mobile Application Development

    ReplyDelete
  2. Nice blogs
    thank for sharing information.
    Durga MaaTo Activate just dial*500*73# for Mai Durga and for Deactivation dial*500*74#
    Charges
    Rs. 30/30days

    ReplyDelete