perfect

Xcode build Perfect failure — COpenSSL not found

寵の児 提交于 2019-12-22 04:38:11
问题 Xcode: 8.0 Swift toolchain: 3.0 release Perfect: .Package(url:"https://github.com/PerfectlySoft/Perfect-HTTPServer.git", majorVersion: 2, minor: 0), There is fine to run swift build in terminal. But I'm run swift package generate-xcodeproj and open project with Xcode, Run it, then get error when build PerfectNet framework. ld: library not found for -lCOpenSSL for architecture x86_64 回答1: You need to add the following line to your project's (not target) "Library Search Paths" setting: "$

How to call update() method of in Angular 2 Perfect Scrollbar wrapper?

佐手、 提交于 2019-12-13 12:20:25
问题 I try to implement Perfect Scrollbar to my Angular 2 Application and use Angular 2 Perfect Scrollbar wrapper: https://github.com/zefoy/angular2-perfect-scrollbar If i have large content at application start moment my scrollbar appears and works normally. But if my content grows dynamically - scrollbar is not appear. I think I have to call the update() method of Scrollbar object when content is added. How can i call Perfect Scrollbar methods from Angular 2 components? 回答1: One can do it like

Connecting to Oracle Database Using Server Side Swift

99封情书 提交于 2019-12-11 07:28:12
问题 Is it possible yet to connect to an Oracle Database using Swift (raw or a Swift framework) on Linux? What I have done is tried to build a Docker VM, install the Oracle binaries, add the OCILIB package and then connect [tried] using a package called SwiftOracle, which seems unsupported (lots of build issues) and just exposes the OCILIB C code to Swift using a module map and wrapper. I tried this using the Kitura framework and none of this seemed to work - Xcode can't compile because it isn't

How to build Swift Perfect Server using Xcode for Ubuntu?

会有一股神秘感。 提交于 2019-12-11 00:48:21
问题 So I understand how we can build it for OSX but how do we build perfect server http on Linux? Is there a way we can build the source code using Xcode but have it compile for Ubuntu? 回答1: You cannot build in Xcode for Linux, however you can just develop in xCode and then build sources on Ubuntu. In release-1.0 brunch both PerfectLib and PerfectServer contain makefiles. Take a look on description in these links. PerfectLib-1.0, PerfectServer-1.0 However during the development you will need to

How to call update() method of in Angular 2 Perfect Scrollbar wrapper?

送分小仙女□ 提交于 2019-12-04 20:18:51
I try to implement Perfect Scrollbar to my Angular 2 Application and use Angular 2 Perfect Scrollbar wrapper: https://github.com/zefoy/angular2-perfect-scrollbar If i have large content at application start moment my scrollbar appears and works normally. But if my content grows dynamically - scrollbar is not appear. I think I have to call the update() method of Scrollbar object when content is added. How can i call Perfect Scrollbar methods from Angular 2 components? One can do it like this. First, insert perfect-scrollbar selector and give it a custom ID inside an HTML template: <perfect