This file contains 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
Términos de Servicio de Voto Social™ | |
El siguiente es un documento legal que explica como cuidamos tus datos y los términos de servicio cuando utilizas Voto Sociual. Gracias por tu confianza. | |
POLÍTICA DE PRIVACIDAD | |
Última Actualización: Diciembre 01, 2017 | |
INTRODUCCIÓN | |
Bienvenido a Voto Sociual, un servicio en Internet ("El Servicio" o el "Website") proveído por Voto Social ("votosocial.org"). Respetamos su privacidad y queremos que sepa qué información recolectamos sobre usted y qué hacemos con esa información. La siguiente Política de Privacidad fue creada para ayudarlo a entender cómo será usada la información que usted provee a votosocial.org.com. Esta Política de Privacidad aplica para toda la información que recolectamos sobre usted. Por favor sepa que votosocial.org puede contener hipervínculos a otros sitios de Internet y ocasionalmente estos sitios podrían compartir la marca votosocial.org o la marca de uno de nuestros afiliados. Sitios que están conectados a El Servicio o poseen la marca de votosoc |
This file contains 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
//Create TapGesture Recognizer | |
let tap = UITapGestureRecognizer(target: self, action: #selector(handleTap(rec:))) | |
//Add recognizer to sceneview | |
sceneView.addGestureRecognizer(tapRec) | |
//Method called when tap | |
@objc func handleTap(rec: UITapGestureRecognizer){ | |
This file contains 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
node.localRotate(by: SCNQuaternion(x: 0, y: 0, z: 0.7071, w: 0.7071)) |
This file contains 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
axis = transform.up; | |
pos += transform.right * Time.deltaTime * MoveSpeed; | |
transform.position = pos + axis * Mathf.Sin (Time.time * frequency ) * magnitude; | |
This file contains 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
func addTapGesture(){ | |
//creates tap gesture recognizer | |
let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(handleTap(recognizer:))) | |
//add recognizer to a view | |
view.addGestureRecognizer(tapImageRec) | |
} | |
//function called when tap detected |
This file contains 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
[[UIBarButtonItem appearanceWhenContainedIn:[UIImagePickerController class], nil] setTitleTextAttributes:@{ NSFontAttributeName : [UIFont fontWithName:@"AmericanTypewriter" size:14.0] } forState:UIControlStateNormal]; |
This file contains 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
# Xcode | |
# | |
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | |
## Build generated | |
build/ | |
DerivedData/ | |
## Various settings | |
*.pbxuser |
This file contains 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
# Xcode | |
# | |
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore | |
## Build generated | |
build/ | |
DerivedData/ | |
## Various settings | |
*.pbxuser |
This file contains 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
-(void) downloadVideo:(NSString *) urlToDownload | |
{ | |
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ | |
NSLog(@"Downloading Started"); | |
NSURL *url = [NSURL URLWithString:urlToDownload]; | |
NSData *urlData = [NSData dataWithContentsOfURL:url]; | |
if ( urlData ) | |
{ | |
NSString *outputURL = NSTemporaryDirectory(); |
This file contains 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
UIBarButtonItem *back = [[UIBarButtonItem alloc] initWithTitle:@"CustomText" UIBarButtonItemStylePlain target:self action:nil]; | |
back.tintColor = [UIColor themeColor]; | |
self.navigationController.navigationBar.topItem.backBarButtonItem = back; | |