UiView Displays SkScene

I would like program a Game with the UiKit. For this a SkScene has to be shown by a UiView.My Question: How does this work? Maybe you can send me an example Code in swif 3 .Thanks in advance.