iphone Programming Glossary: label.textcolor
IPhone Text Glow Effect http://stackoverflow.com/questions/1420131/iphone-text-glow-effect share improve this question As of 3.2 you there is direct support for shadows in the SDK. label.layer.shadowColor label.textColor CGColor label.layer.shadowOffset CGSizeMake 0.0 0.0 Play with the parameters label.layer.shadowRadius 3.0 label.layer.shadowOpacity..
UITableView : crash when adding a section footer view in empty section http://stackoverflow.com/questions/1893712/uitableview-crash-when-adding-a-section-footer-view-in-empty-section section 0 UILabel label UILabel alloc initWithFrame CGRectMake 200 10 50 44 label.backgroundColor UIColor clearColor label.textColor UIColor colorWithWhite 0.6 alpha 1.0 label.textAlignment UITextAlignmentCenter label.lineBreakMode UILineBreakModeWordWrap..
UITableView section header and section footer not updating (redraw problem) http://stackoverflow.com/questions/2713884/uitableview-section-header-and-section-footer-not-updating-redraw-problem myView.backgroundColor UIColor clearColor myView.adjustsImageWhenHighlighted NO myView.showsTouchWhenHighlighted YES label.textColor FONTCOLOR label.font UIFont systemFontOfSize 14 label.numberOfLines 1 label.textAlignment UITextAlignmentCenter label.backgroundColor..
Fixed labels in the selection bar of a UIPickerView http://stackoverflow.com/questions/367471/fixed-labels-in-the-selection-bar-of-a-uipickerview UILabel label UILabel alloc initWithFrame CGRectMake x top 1 rightX height label.text labelString label.font font label.textColor UIColor whiteColor label.backgroundColor UIColor clearColor label.opaque NO label.alpha PICKER_LABEL_ALPHA self.view addSubview..
How to specify decimal places when formatting NSNumber objects? http://stackoverflow.com/questions/524827/how-to-specify-decimal-places-when-formatting-nsnumber-objects UILabel label UILabel alloc initWithFrame CGRectMake 80.0f 90.0f 225.0f 40.0f label.backgroundColor UIColor clearColor label.textColor UIColor whiteColor NSNumberFormatter formatter NSNumberFormatter alloc init formatter setNumberStyle NSNumberFormatterDecimalStyle..
UIPicker sizing in landscape mode http://stackoverflow.com/questions/535164/uipicker-sizing-in-landscape-mode initWithFrame CGRectMake 10 20 270 100 autorelease label.text @ I am a label label.textAlignment UITextAlignmentCenter label.textColor UIColor blackColor label.font font label.backgroundColor UIColor clearColor label.opaque NO viewForRow addSubview label..
Change the navigation bar's font http://stackoverflow.com/questions/5832036/change-the-navigation-bars-font
Change Navigation bar Background image on each navigation http://stackoverflow.com/questions/6692517/change-navigation-bar-background-image-on-each-navigation 20.0 label.shadowColor UIColor colorWithWhite 0.0 alpha 1 label.textAlignment UITextAlignmentCenter label.textColor UIColor whiteColor label.text self.topItem.title self.topItem.titleView label else UIImage imageNamed @ wood.png drawInRect..
How to change font color of the title in grouped type UITableView? http://stackoverflow.com/questions/7105747/how-to-change-font-color-of-the-title-in-grouped-type-uitableview nil UILabel label UILabel alloc init label.frame CGRectMake 20 8 320 20 label.backgroundColor UIColor clearColor label.textColor UIColor whiteColor label.shadowColor UIColor grayColor label.shadowOffset CGSizeMake 1.0 1.0 label.font UIFont boldSystemFontOfSize..
Transparent Modal View on Navigation Controller http://stackoverflow.com/questions/849458/transparent-modal-view-on-navigation-controller UIColor blackColor colorWithAlphaComponent 0.5f UILabel label UILabel alloc init autorelease label.text @ Modal View label.textColor UIColor whiteColor label.backgroundColor UIColor clearColor label.opaque NO label sizeToFit label setCenter CGPointMake..
cellForRowAtIndexPath memory management http://stackoverflow.com/questions/8859735/cellforrowatindexpath-memory-management CGRectMake 59 11 244 13 UILabel label UILabel alloc initWithFrame frame label.font UIFont boldSystemFontOfSize 13 label.textColor UIColor blackColor label.text musicList.list objectAtIndex indexPath.row objectAtIndex artistIndex cell addSubview label.. frame CGRectMake 60 30 244 11 label UILabel alloc initWithFrame frame label.font UIFont boldSystemFontOfSize 11 label.textColor UIColor darkGrayColor label.text musicList.list objectAtIndex indexPath.row objectAtIndex albumIndex cell addSubview label.. CGRectMake 59 49 244 10 label UILabel alloc initWithFrame frame label.font UIFont fontWithName @ Helvetica size 10.0 label.textColor UIColor darkGrayColor label.textAlignment UITextAlignmentRight label.text musicList.list objectAtIndex indexPath.row objectAtIndex..
Incorrect number of objects getting added to mutable array http://stackoverflow.com/questions/9091647/incorrect-number-of-objects-getting-added-to-mutable-array addSubview checkboxButton UILabel label UILabel alloc initWithFrame CGRectMake 55 10 225 24 label.text @ Every Year label.textColor UIColor whiteColor label.backgroundColor UIColor clearColor cell addSubview label cell.textLabel.textColor UIColor whiteColor..
Load all cells in UITableView before scrolling http://stackoverflow.com/questions/9414746/load-all-cells-in-uitableview-before-scrolling addSubview checkboxButton UILabel label UILabel alloc initWithFrame CGRectMake 55 10 225 24 label.text @ Every Year label.textColor UIColor whiteColor label.backgroundColor UIColor clearColor cell addSubview label cell.textLabel.textColor UIColor whiteColor..
Reusable TableView header views http://stackoverflow.com/questions/960119/reusable-tableview-header-views initWithFrame CGRectMake 0 0 320 44 autorelease UILabel label UILabel alloc initWithFrame headerView.frame autorelease label.textColor UIColor redColor label.text NSString stringWithFormat @ Section i section headerView addSubview label return headerView..
iOS - Linker Error, Duplicate Symbol http://stackoverflow.com/questions/9881721/ios-linker-error-duplicate-symbol UIImage imageNamed @ navCellDivider UILabel label UILabel alloc initWithFrame CGRectMake 5 5 100 20 label.textColor UIColor grayColor label.backgroundColor UIColor clearColor label.font UIFont fontWithName @ AGaramondPro Regular size 12.0..
|