
Go的吉祥物 Gordon田鼠
繼Chrome OS 以後, Google 似乎欲求不滿, 總是不鳴則己, 一鳴驚人, 再次拋出個震撼的新聞, Google 自己研發的新語言 -- GO, 以加速程式開發。 Go結合了像是Python動態語言的開發速度,以及擁有C及C++語言等編譯語言的效能及安全性,同時也是一個開放源碼計畫。
Continue reading 喜歡搞怪創新的Google又出招了, Go 語言出擊!.

繼Chrome OS 以後, Google 似乎欲求不滿, 總是不鳴則己, 一鳴驚人, 再次拋出個震撼的新聞, Google 自己研發的新語言 -- GO, 以加速程式開發。 Go結合了像是Python動態語言的開發速度,以及擁有C及C++語言等編譯語言的效能及安全性,同時也是一個開放源碼計畫。
|
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];// 套用自己的圖片做為背景 CGRect CellFrame = CGRectMake(0, 0, 300, 60); CGRect Label1Frame = CGRectMake(10, 5, 288, 38); UILabel *lblTemp; UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:CellFrame reuseIdentifier:cellIdentifier] autorelease]; lblTemp = [[UILabel alloc] initWithFrame:Label2Frame]; lblTemp.backgroundColor = [UIColor clearColor];//清除預設的背景顏色 lblTemp.tag = 1; lblTemp.font = [UIFont boldSystemFontOfSize:15]; lblTemp.numberOfLines = 2; [cell.contentView addSubview:lblTemp]; [lblTemp release]; } UILabel *lblTemp1 = (UILabel *)[cell viewWithTag:1]; lblTemp1.text = @"AAAAA"; return cell; } |