Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Recent Comments
													
											
												
												
													Link
													
											
									| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | 
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | 
| 26 | 27 | 28 | 29 | 30 | 31 | 
													Tags
													
											
												
												- 리눅스
- Excel
- 라즈베리파이
- MySQL
- 함수
- GIT
- pandas
- 맛집
- Unity
- node.js
- 유니티
- flutter
- PyQt
- MS-SQL
- urllib
- ubuntu
- tensorflow
- Linux
- python
- PER
- 날짜
- PyQt5
- ASP
- sqlite
- javascript
- mssql
- swift
- port
- IOS
- 다이어트
													Archives
													
											
											
											
											목록셀의 배경색 변경 (1)
아미(아름다운미소)
			
			
				[Swift] 셀 선택시, 셀의 배경색깔을 바꾸고 싶을때
				
	
	
               
           
					
					
					
					
					
					
						
					
				셀의 배경색깔을 바꾸고 싶을때 셀 을 선택하면 뒷 배경색깔이 나타나게 되는데 다음의 코드를 넣어주시면, 아래와 같이 셀의 배경색이 변경이 됩니다. override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { var cell = tableView.cellForRowAtIndexPath(indexPath)! cell.contentView.backgroundColor = UIColor.whiteColor() }
				랭귀지/SWIFT
				
				2018. 5. 6. 12:14