Giter Site home page Giter Site logo

jeskaibeta's People

Contributors

lukeskywokka avatar markeymarke avatar mwmichaelwang avatar

Stargazers

 avatar

jeskaibeta's Issues

Keyboard not launching

On the main storyboard the keyboard will not open with the textview. I think its a issue with xcode4 not working with my assigning the view delegate to the text input but im not sure
screen shot 2018-11-07 at 11 53 22 am

Maps not working

in the event.swift model the maps locations are not working. The issues is that to call the map kit it has a asynchronous call to get location so the return value is being returned before the value is retrieved.

For example

  • call calculateLat()
  • executes call to get location
  • returns value before location is got

I need to add a completion handler to this code to wait for the location before returning, but I'm not to sure how to do that and have been trying for some time now.

func calculateLat() -> CLLocationDegrees{
        var lat: CLLocationDegrees?
        let geocoder = CLGeocoder()
        geocoder.geocodeAddressString(address) {
            placemarks, error in
            let placemark = placemarks?.first
            lat = (placemark?.location?.coordinate.latitude)!
           // need to wait for location to be received 
        }
        return lat!
    }

Its pushed to the most current version of dev, will be working on this more tomorrow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.