안녕하세요 "소스 파일에서 스위프트 편집기 자리 표시 자"신속한 오류와 문제가 이 내 코드스위프트 편집기 자리 표시 자
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell{
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: <#T##IndexPath#>) as! CustomBrandCell
let brandImage: UIImage = UIImage(named: self.brands[indexPath.row].name)!
cell.brandImageView.image = brandImage
return cell
}
으로 검색 했습니까? – KAR
예를 들어 여기를보십시오 : http://stackoverflow.com/questions/37352738/swift-editor-placeholder-in-source-file. 귀하의 경우 문제는이 줄에 있습니다., , CustomBrandCell'. 귀하의 경우에는 "indexPath"유형의 매개 변수 인 –
pbodsk
| |
을 "실제"코드로 대체해야하는 자리 표시자인 <# T ## IndexPath #>을 확인하십시오. 오류는 매우 간단하고 명백합니다 두 번째 줄에 자리 표시 자. 나는이 질문을 "간단한 인쇄 오류"로 끝내기로했다. – EmilioPelaez