Vasilis

fixes

No preview for this file type
......@@ -901,7 +901,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_ASSET_PATHS = WarplySDKFrameworkIOS/Media;
DEVELOPMENT_ASSET_PATHS = Media.xcassets;
DEVELOPMENT_TEAM = VW5AF53FLP;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
......@@ -937,7 +937,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_ASSET_PATHS = WarplySDKFrameworkIOS/Media;
DEVELOPMENT_ASSET_PATHS = Media.xcassets;
DEVELOPMENT_TEAM = VW5AF53FLP;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
......
......@@ -12,6 +12,7 @@
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="Coupons" customModule="WarplySDKFrameworkIOS" customModuleProvider="target">
<connections>
<outlet property="myScrollView" destination="SHV-Vg-A8P" id="dzS-Na-cRH"/>
<outlet property="view" destination="iN0-l3-epB" id="wLC-JN-Nyj"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
......
......@@ -98,7 +98,7 @@ struct Previews_CouponsView_Previews: PreviewProvider {
static var uiscreen = UIScreen.main.bounds
static var previews: some View {
ZStack {
Image("ic_back", bundle: Bundle(identifier: "framework.warp.ly.WarplySDKFrameworkIOS"))
Image("ic_back", bundle: Bundle(for: MyEmptyClass.self))
.resizable()
.frame(width: self.uiscreen.height * 0.025, height: self.uiscreen.height * 0.02)
.offset(x: -self.uiscreen.width / 2 + self.uiscreen.width * 0.05, y: self.uiscreen.height * 0.07)
......
......@@ -12,7 +12,7 @@ import SwiftUI
@objc public class CouponsViewInterface : NSObject {
@objc static public func couponsViewController() -> UIViewController {
return UIHostingController(rootView: CouponsView())
return Coupons()
}
}
......