安装蒸汽后,我得到以下错误
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/vapor
Reason: image not found
Abort trap: 6
这是我的问题,我不知道如何解决。即使我无法创建新项目。请帮忙。
我正在尝试使用 swift 5 将数组中的多个元素与另一个字符串连接起来:例如:
MyArray = ["Bat","Foot","Basket"]
MyString = "Ball"
output = ["BatBall","FootBall","BasketBall"]
Run Code Online (Sandbox Code Playgroud)
或者
output = ["BallBat","BallFoot","BallBasket"]
Run Code Online (Sandbox Code Playgroud)
我该怎么做?请帮忙。