beta

Unable to compile AWS CustomIdentityProvider on xcode 8 beta 6

喜欢而已 提交于 2019-12-07 06:31:57
问题 I am using Amazon Cognito and Facebook login in an ios app. Up until beta 5 this code from this SO thread worked: class CustomIdentityProvider: NSObject, AWSIdentityProviderManager { var tokens: [NSString: NSString]? init(tokens: [NSString: NSString]) { self.tokens = tokens } @objc func logins() -> AWSTask<NSDictionary> { return AWSTask(result: tokens) // Compile error in beta 6 } } In beta 6 I get this compile error: Cannot convert value of type '[NSString:NSString]?' to expected argument

Both Production and Beta versions in Google Play

纵饮孤独 提交于 2019-12-07 03:24:10
问题 I have published an app in Google Play in Production mode. Now, I have a new version which I want to be release in Beta mode for my limited number of private beta users. Is it possible to have them both? i.e. version 1.0 in production mode and version 1.1 in beta mode? Or should I maintain a different app for beta (which is not convenient, as I need to change package names). 回答1: you can have both, technically you can have 4 apks available to users and depending on other requirements can have

Parse BaaS iOS LoginFields in Swift - .value should be changed to?

蓝咒 提交于 2019-12-06 16:15:31
问题 When using the Parse BaaS with Swift, we used to be able to list out the login fields with a pipe delimiter. Each value that was added to the list of fields for the login view, needed to have a .value on it for Swift to compile it. The ".value" solution is not working anymore on Xcode 6 beta 4 error : 'PFLogInFields' does not have a member named 'value' Is anyone else seeing this issue, or does anyone know what we need to change to get around this? Thanks. 回答1: The right way that worked to me

Swift 4: tableView and scopeButtons slide under searchBar in iOS 11

只谈情不闲聊 提交于 2019-12-06 06:06:21
I made an App in Swift 3 with a tableView that has a searchBar in its header. The searchBar also has a bar with a scopeButton. In iOS 10 the searchBar slid up to where the navigationBar was and everything worked fine. In iOS 11 however the tableView slides under the searchBar when it becomes active, so that the first cell is almost completely covered. When I now tap a cell to move to another View and go back, the scopeButton moved under the searchBar. Now the first cell is visible again but the distance to the searchBar is a little to big and of course the scopeButton is completely unusable. I

Where to set unsafe mode in Safari 10 to made java plugin access local file

别等时光非礼了梦想. 提交于 2019-12-06 02:17:58
I just updated my Safari from Safari 9 to safari 10 beta version. My client is a java applet runs from a page. In Safari 9 and before version, it runs OK. But in Safari 10 beta, it fails. I found that safari 10 blocks access to local files from Java applet. So I think it is because the java plugin runs under safe mode. But in Safari ->preferences->security->Plug-in Settings. there is no unsafe mode option to check. there is only three option :Ask,Off,On. So my client can not access local file in safe mode now. My mac system is OS X El Capitan version 10.11.6 and Safari version is version 10.0

Unable to compile AWS CustomIdentityProvider on xcode 8 beta 6

。_饼干妹妹 提交于 2019-12-05 11:24:25
I am using Amazon Cognito and Facebook login in an ios app. Up until beta 5 this code from this SO thread worked: class CustomIdentityProvider: NSObject, AWSIdentityProviderManager { var tokens: [NSString: NSString]? init(tokens: [NSString: NSString]) { self.tokens = tokens } @objc func logins() -> AWSTask<NSDictionary> { return AWSTask(result: tokens) // Compile error in beta 6 } } In beta 6 I get this compile error: Cannot convert value of type '[NSString:NSString]?' to expected argument type '_?' When I change the line to return AWSTask(result: tokens! as [AnyObject: AnyObject]) I get the

Both Production and Beta versions in Google Play

我的梦境 提交于 2019-12-05 06:17:23
I have published an app in Google Play in Production mode. Now, I have a new version which I want to be release in Beta mode for my limited number of private beta users. Is it possible to have them both? i.e. version 1.0 in production mode and version 1.1 in beta mode? Or should I maintain a different app for beta (which is not convenient, as I need to change package names). you can have both, technically you can have 4 apks available to users and depending on other requirements can have even more than that. Alpha - alpha testers who opt in can test it Beta - beta testers who opt in can test,

ASP.Net 5 Beta 8 xproj cannot be opened

独自空忆成欢 提交于 2019-12-05 03:22:26
I just installed the new release of ASP.Net 5 beta 8. I ran DotNetVersionManager-x64.msi and then WebToolsExtensionsVS14.msi. I tried to open a simple app that worked in beta 7 and it won't load the project with a message This project is incompatible with the current edition of Visual Studio: Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL Microsoft .NET Framework Version 4.6.00079 I then tried to create a new ASP.Net 5 web project and got this: The project file 'c:\users\myfolder\documents\visual studio 2015\Projects\WebApplication3\src\WebApplication3\WebApplication3.xproj

Parse BaaS iOS LoginFields in Swift - .value should be changed to?

谁说我不能喝 提交于 2019-12-04 20:51:06
When using the Parse BaaS with Swift, we used to be able to list out the login fields with a pipe delimiter. Each value that was added to the list of fields for the login view, needed to have a .value on it for Swift to compile it. The ".value" solution is not working anymore on Xcode 6 beta 4 error : 'PFLogInFields' does not have a member named 'value' Is anyone else seeing this issue, or does anyone know what we need to change to get around this? Thanks. The right way that worked to me in the last ios 8.1 and xcode 6.1 and latest parse 1.5 was: By example, if you want only username and

Vapor 3 Beta Example Endpoint Request

▼魔方 西西 提交于 2019-12-04 11:17:07
问题 I am trying to find a simple example of how inside a router a person would send a request to the vapor sample endpoint http://example.vapor.codes/json , receive a response and map it to a struct or class. I've seen examples elsewhere for Vapor 2 but they are no longer relevant with Vapor 3 and the current Vapor 3 beta documentation isn't clear. Something like... router.get("sample") { req in //1. create client //2. send get request to sample endpoint at http://example.vapor.codes/json //3.