{"action":"created","issue":{"url":"https://api.github.com/repos/ortuman/SwiftForms/issues/160","repository_url":"https://api.github.com/repos/ortuman/SwiftForms","labels_url":"https://api.github.com/repos/ortuman/SwiftForms/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/ortuman/SwiftForms/issues/160/comments","events_url":"https://api.github.com/repos/ortuman/SwiftForms/issues/160/events","html_url":"https://github.com/ortuman/SwiftForms/issues/160","id":241902784,"number":160,"title":"Swift4 version crash","user":{"login":"appsird","id":8471833,"avatar_url":"https://avatars2.githubusercontent.com/u/8471833?v=4","gravatar_id":"","url":"https://api.github.com/users/appsird","html_url":"https://github.com/appsird","followers_url":"https://api.github.com/users/appsird/followers","following_url":"https://api.github.com/users/appsird/following{/other_user}","gists_url":"https://api.github.com/users/appsird/gists{/gist_id}","starred_url":"https://api.github.com/users/appsird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appsird/subscriptions","organizations_url":"https://api.github.com/users/appsird/orgs","repos_url":"https://api.github.com/users/appsird/repos","events_url":"https://api.github.com/users/appsird/events{/privacy}","received_events_url":"https://api.github.com/users/appsird/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-07-11T02:04:12Z","updated_at":"2017-10-13T13:57:59Z","closed_at":"2017-10-13T13:57:59Z","author_association":"NONE","body":"I compiled and ran your example, and all appeared to work.\r\n\r\nThough, I continued to crash when running my loadform(), receiving exceptions. On closer inspection,  I click on your project file in Xcode 9 beta3, and notice the Swift Language version was set to \"unspecified\". Though, I click each SwiftFormsApplication and SwiftForms targets and note these were set to use Swift4.\r\n\r\nWith the above setting, I then compile and see compile warnings and runtime errors. See images below. Note the error on line 136 of FormViewController.swift.\r\n\r\nTHis is the exact same place where I experience a crash when running in my application. Specifically if I set a cell.appearance, like:\r\n\r\n        let row2 = FormRowDescriptor(tag: Static.subtitleTag, type: .text, title: \"Subtitle\")\r\n        row2.configuration.cell.appearance = [\"textField.placeholder\" : \"Classification\" as AnyObject,\r\n                                             \"textField.textAlignment\" : NSTextAlignment.right.rawValue as AnyObject]\r\n\r\nThen, I will receive a crash on the line 136.\r\n\r\nAppears there is something new in Swift4 regarding key/value changes which was not present in Swift 3. \r\n\r\nWould appreciate any assistance. I can send you my modified project if you would like to take a look.\r\n\r\n\r\n\r\n![pic1](https://user-images.githubusercontent.com/8471833/28047856-f57d4f66-65a1-11e7-90bd-f8d28e8a42c2.png)\r\n![pic2](https://user-images.githubusercontent.com/8471833/28047858-f7005c7a-65a1-11e7-838d-6b0cc5e6ed7a.png)"},"comment":{"url":"https://api.github.com/repos/ortuman/SwiftForms/issues/comments/336459900","html_url":"https://github.com/ortuman/SwiftForms/issues/160#issuecomment-336459900","issue_url":"https://api.github.com/repos/ortuman/SwiftForms/issues/160","id":336459900,"user":{"login":"ortuman","id":888899,"avatar_url":"https://avatars0.githubusercontent.com/u/888899?v=4","gravatar_id":"","url":"https://api.github.com/users/ortuman","html_url":"https://github.com/ortuman","followers_url":"https://api.github.com/users/ortuman/followers","following_url":"https://api.github.com/users/ortuman/following{/other_user}","gists_url":"https://api.github.com/users/ortuman/gists{/gist_id}","starred_url":"https://api.github.com/users/ortuman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ortuman/subscriptions","organizations_url":"https://api.github.com/users/ortuman/orgs","repos_url":"https://api.github.com/users/ortuman/repos","events_url":"https://api.github.com/users/ortuman/events{/privacy}","received_events_url":"https://api.github.com/users/ortuman/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T13:57:59Z","updated_at":"2017-10-13T13:57:59Z","author_association":"OWNER","body":"Current master version has been adapted to Swift4. Sorry for the issues."}}
{"actor":{"display_login":"ortuman"}}