Skip to content

Commit

Permalink
select first
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragaie alfy authored and Ragaie alfy committed Nov 22, 2017
1 parent ceaa4d5 commit 8106806
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions RadioGroup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ import UIKit
radioText.font = UIFont.systemFont(ofSize: fontSize)

allButton.append(radioButton)


if indexPath.row == 0 {
radioButton.setBackgroundImage(selectImage, for: .normal)


}
return cell


Expand Down

0 comments on commit 8106806

Please sign in to comment.