Questions tagged [swiftmessages]

Use for questions about SwiftMessages - message bar for iOS written in Swift. Do NOT use this tag for SWIFT Message Type; instead, use the [swift-mt] tag.

6 questions
23
votes
19 answers

Xcode 10 build fails with 'Command CompileSwift failed with a nonzero exit code

I updated Xcode to version 10 recently and started to receive a strange error when trying to build my project. I'm currently on Swift 4.0 and I did try to upgrade to swift Version 4.2. But when I did I received this same error in many of my…
Spencer Shelton
  • 391
  • 1
  • 2
  • 8
4
votes
7 answers

How to present programmatically a view controller from a UIVIew

I am using a Class which is a subclass of MessageView (Swift Message Library) which is inherit from UIView. Inside, I have a UIButton and I want to present programmatically another ViewController through it. Here is my code below : import…
Blisko
  • 107
  • 2
  • 9
1
vote
1 answer

SwiftMessage: how to handle action when user tap on outside of message view?

I'm using SwiftMessage in my project. when the specific message is showing on the screen, I want when the user tap on outside of the message view (anywhere else on message view), some actions happening. how can I do this? update I forgot to say I'm…
behrad
  • 596
  • 1
  • 5
  • 19
1
vote
1 answer

SwiftMessages Two Buttons

I have the following function in swift 5 to display a message with confirm button using the SwiftMessages cocoapod. But I need to have 2 separate buttons (ex: confirm and cancel). How can I accomplish this? public static func…
jakumpe
  • 41
  • 2
  • 4
0
votes
1 answer

Extracting UETR from SwiftMX Using Prowide Java Library

I am pretty new to processing swift messages in java, I am trying with prowide-iso20022 software java library to parse the SwiftMX messages (https://github.com/prowide/prowide-iso20022) I want to extract UETR (OrgnlUETR) of a message and other…
0
votes
1 answer

SwiftMessages Exec Bad Access using SwiftMessages.defaultConfig

I try to use SwiftMessages into my Swift iOS project. SwiftMessages has been installed with pod in version 6.0 When I use a sample code like this : let error = MessageView.viewFromNib(layout: .cardView) error.configureTheme(.error) …
gduh
  • 1,079
  • 12
  • 30