Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I ios-sdk
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • rosefire
  • ios-sdk
  • Issues
  • #2

Closed
Open
Created May 12, 2020 by Xusheng Liu@liux6

Error prompt by XCode in WebviewController

There is error prompt by XCode, when using Rosefire in Swift 5, stating

"WebviewController" has no initializers

Stored property 'callback' without initial value prevents synthesized initializers

Screen_Shot_2020-05-12_at_23.40.37 Since all the codes using callback in that class is force unwrapping with !, one solution towards this issue is to change line 110 from var callback: RosefireCallback to var callback: RosefireCallback!

Edited May 12, 2020 by Xusheng Liu
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking