¡@

Home 

2014/10/15 ¤U¤È 10:10:01

iphone Programming Glossary: heightofview

Add Array Objects to Programmatically Creratings Views

http://stackoverflow.com/questions/7901397/add-array-objects-to-programmatically-creratings-views

inside labels.text. my code is int amountOfViewsHorizontally 10 int amountOfViewsVertically 10 int widthOfView 60 int heightOfView 60 for int index 0 index amountOfViewsHorizontally index for int j 0 j amountOfViewsVertically j tempLabel UILabel alloc.. for int j 0 j amountOfViewsVertically j tempLabel UILabel alloc initWithFrame CGRectMake 15 index widthOfView 690 j heightOfView 50 20 tempLabel.backgroundColor UIColor clearColor tempLabel.textColor UIColor blackColor tempLabel.text @ DENST tempLabel.font.. tempLabel.font UIFont systemFontOfSize 12 tempNumber UILabel alloc initWithFrame CGRectMake 29 index widthOfView 660 j heightOfView 50 20 tempNumber.backgroundColor UIColor clearColor tempNumber.textColor UIColor blackColor tempNumber.text @ 25 tempNumber.font..