Find Jobs
Hire Freelancers

[micro tasks] translation from swift code to objective c

$10-30 USD

En curso
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
the swift codes is below. you should translated this : func checkAuthorizationStatus () { switch [login to view URL]() { case .Restricted, .Denied: //Device does not allowed [login to view URL] = "Restricted/denied" let alert = UIAlertView(title: "Location Service Setting", message: "The access to location services on this app is restricted/denied. Go to Settings > Privacy > Location Services to change the setting on your phone.", delegate: self, cancelButtonTitle: "OK" ) alertnumber = 2 [login to view URL]() case .NotDetermined: [login to view URL] = "Restart the app" //Asking permission if([login to view URL]().[login to view URL](advance([login to view URL]().[login to view URL],1)).toInt() >= 8){ //iOS8 and later: call a function to request authorization [login to view URL]() }else{ [login to view URL]([login to view URL]) } let alert = UIAlertView(title: "Location Service", message: "Checking the availability of Location Service on the app.", delegate: self, cancelButtonTitle: "OK" ) alertnumber = 3 [login to view URL]() case .AuthorizedAlways, .AuthorizedWhenInUse: //Start monitoring println("Monitoring") [login to view URL] = "Playing " + toString(beaconID["version"]!) for i=0;i<27;i++ { [login to view URL][i].volume = 0 } //[login to view URL][0].volume = 1 [login to view URL][0].playFileAsync("[login to view URL]", target: self, selector: "PTDidStartPlay") //SoundFileLoader() [login to view URL]([login to view URL]) default: //unknown error println("Unknown Error") [login to view URL] = "Unknown Error" } } the [login to view URL] is the class we are trying to use the snip above. the WebViewController we have, and on this class, we should call this method on this web view. this class is need to call beacons listener on this web view. whole project desc:s [login to view URL] target devices: smartphones . iOS and android. lang for iOS : native app. code is objective c + swift. ( not js base code gen like phongap or cordoba or those ) langu for android : / Android java. but we use web views: the part you do is native iOS part.
ID del proyecto: 8358569

Información sobre el proyecto

Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos

Sobre este cliente

Bandera de JAPAN
Minato-ku, Japan
4,9
10
Miembro desde ago 27, 2015

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.