diff --git a/README.md b/README.md index 62bfd09..15b5724 100644 --- a/README.md +++ b/README.md @@ -264,11 +264,11 @@ Tecnavia provides also the couple "PAPER_SETUP" - "SERVER" which allows you to l Before displaying the ePaper View Controller (ex. during the your app setup), call the `Newsmemory` singleton to set the startup parameters. -1. Import the following header file +1. Add the following import ``` ... -#import +@import Newsmemory; ... ``` @@ -338,18 +338,12 @@ end 2. run again `pod install` -3. Add to you project a `-Bridging-Header.h` file and add there the import of the `Newsmemory` module: +3. Add the import of the `Newsmemory` framework in your `.swift` files ``` -#import +import Newsmemory ``` -4. Remove the import of the `Newsmemory` module from your `.swift` files - - ~~import Newsmemory~~ - -5. Go to `Project`-> `Build Settings`-> `Objective-C Bridging Header` and add the path to the bridging header file. The path should be relative to your project, similar to the way your Info.plist path is specified in Build Settings (see https://developer.apple.com/documentation/swift/importing-objective-c-into-swift for more details). - ## Dependencies This SDK has been tested with `Google-Mobile-Ads-SDK` versions >= `9.6` and < `12`.