pod 'SWRevealViewController', '~> 2.3'
- Set up a
SWRevealViewControlleras the parent VC - Custom
reveal setsegue to menu with idsw_rear - Custom
reveal setsegue to main view with idsw_front
| TAGS="TODO:|FIXME:" | |
| echo "searching ${SRCROOT} for ${TAGS}" | |
| find "${SRCROOT}" \( -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" |
| @.*[a-zA-z0-9_]$ |
| static var audioPlayer : AVPlayer? |
| // Play sound through speakers | |
| do { | |
| try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayAndRecord) | |
| } catch _ { | |
| } | |
| do { | |
| try AVAudioSession.sharedInstance().setActive(true) | |
| } catch _ { | |
| } | |
| do { |
| enum CIFilterType : String { | |
| case BoxBlur = "CIBoxBlur" | |
| case DiscBlur = "CIDiscBlur" | |
| case GaussianBlur = "CIGaussianBlur" | |
| case MaskedVariableBlur = "CIMaskedVariableBlur" | |
| case MedianFilter = "CIMedianFilter" | |
| case MotionBlur = "CIMotionBlur" | |
| case NoiseReduction = "CINoiseReduction" | |
| case ZoomBlur = "CIZoomBlur" | |
| case ColorClamp = "CIColorClamp" |
| worker: python3 tweetbot.py |
| extension Dictionary where Key: ExpressibleByStringLiteral, Value:Any { | |
| } |
| func tableView(_ tableView: UITableView, willDisplayHeaderView view:UIView, forSection: Int) { | |
| if let headerView = view as? UITableViewHeaderFooterView { | |
| headerView.textLabel?.textColor = .white | |
| } | |
| } |