Last active
          September 15, 2019 03:57 
        
      - 
      
- 
        Save aqubi/8ea764537e10da9560270cb093a2a7de to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //MARK:- Accessibility | |
| override var accessibilityLabel: String? { | |
| get { | |
| return activityTypeLabel.accessibilityLabel | |
| } | |
| set { } | |
| } | |
| override var accessibilityValue: String? { | |
| get { | |
| var params:[String] = [] | |
| if !locationLabel.isHidden, let value = locationLabel.accessibilityLabel { params.append(value) } | |
| if let value = dateLabel?.accessibilityLabel { params.append(value) } | |
| if let value = timeLabel?.accessibilityLabel { params.append(value) } | |
| if let value = sourceLabel?.accessibilityLabel { params.append(value) } | |
| return params.joined(separator: ", ") | |
| } | |
| set { } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment