! # The name! caption = UILabel.alloc.initWithFrame [[20,100],[90,22]]! caption.text = 'Name'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! nameLabel = UILabel.alloc.initWithFrame [[110,100],[300,22]]! nameLabel.text = 'Alex Rothenberg'! view.addSubview nameLabel! ! # The title! caption = UILabel.alloc.initWithFrame [[20,130],[90,22]]! caption.text = 'Title'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! titleLabel = UILabel.alloc.initWithFrame [[110,130],[300,22]]! titleLabel.text = 'Rubyist'! view.addSubview titleLabel! ! # Email! caption = UILabel.alloc! .initWithFrame [[20,160],[90,22]]! caption.text = 'Email'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! emailLabel = UILabel.alloc.initWithFrame [[110,160],[300,22]]! emailLabel.text = '
[email protected]'! view.addSubview emailLabel! ! # Mobile Phone! caption = UILabel.alloc.initWithFrame [[20,190],[90,22]]! caption.text = 'Mobile'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! phoineLabel = UILabel.allocinitWithFrame [[110,190],[300,22]]! phoineLabel.text = '555-1212'! view.addSubview phoineLabel! ! # Office Phone! caption = UILabel.alloc.initWithFrame [[20,220],[90,22]]! caption.text = 'Office'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! phoineLabel = UILabel.allocinitWithFrame [[110,220],[300,22]]! phoineLabel.text = '555-1212'! view.addSubview phoineLabel! ! # Office Address! caption = UILabel.alloc.initWithFrame [[20,250],[90,22]]! caption.text = 'Address'! caption.font = UIFont.boldSystemFontOfSize(20)! view.addSubview caption! phoineLabel = UILabel.allocinitWithFrame [[110,250],[300,22]]! phoineLabel.text = '123 Office Drive'! view.addSubview phoineLabel! end! ! end!