mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			15 lines
		
	
	
		
			317 B
		
	
	
	
		
			Swift
		
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			317 B
		
	
	
	
		
			Swift
		
	
| 
								 
											9 years ago
										 
									 | 
							
								//  Created by Michael Kirk on 12/23/16.
							 | 
						||
| 
								 | 
							
								//  Copyright © 2016 Open Whisper Systems. All rights reserved.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import Foundation
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								struct Platform {
							 | 
						||
| 
								 | 
							
								    static let isSimulator: Bool = {
							 | 
						||
| 
								 | 
							
								        var isSim = false
							 | 
						||
| 
								 | 
							
								        #if arch(i386) || arch(x86_64)
							 | 
						||
| 
								 | 
							
								            isSim = true
							 | 
						||
| 
								 | 
							
								        #endif
							 | 
						||
| 
								 | 
							
								        return isSim
							 | 
						||
| 
								 | 
							
								    }()
							 | 
						||
| 
								 | 
							
								}
							 |