ashrobo / googlewearalert Goto Github PK
View Code? Open in Web Editor NEWAn Android Wear style confirmation view for iOS
License: MIT License
An Android Wear style confirmation view for iOS
License: MIT License
On an iPhone 5s with iOS 7.1.2 there's a bug connected with shadow overlay, that causes blinking while animation.
When you comment out these lines everything is fine:
self.layer.shadowColor = UIColor.blackColor().CGColor
self.layer.shadowOffset = CGSizeMake(0, 0)
self.layer.shadowOpacity = 0.8
But you lose the nice shadow effect. Any other workaround?
I got the following error message in Xcode-beta 6:
GoogleWearAlert.swift:126:33: 'AnyObject?' does not have a member named 'objectForKey'
How to fix it?
Thanks
Could you port it to Objective-C ?
I had added the folder of GoogleWearAlertView to my project as you say in your tutorial, and calling an alert like the following:
GoogleWearAlert.showAlert(title:"Error", image:nil, type: .Error, duration: 1.0, inViewController: self)
But it tells me unresolved identifier for GoogleWearAlertView
Xcode 6.3
I cannot build the same project, errors
I've attached the alert to my callback method for reloading. It works for the first load but not the ones after.
I get his error :
GoogleWearAlertView.swift:41:9: Getter for 'viewController' with Objective-C selector 'viewController' conflicts with method 'viewController()' from superclass 'UIView' with the same Objective-C selector
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.