Questions tagged [bridging]
39 questions
0
votes
0 answers
IBInspectable not recognized when using NS_REFINED_FOR_SWIFT
I have a custom Objective-C class that contains two CGFloats:
@property (nonatomic, assign) IBInspectable CGFloat minimumConstant NS_REFINED_FOR_SWIFT;
@property (nonatomic, assign) IBInspectable CGFloat maximumConstant NS_REFINED_FOR_SWIFT;
Both…

naglerrr
- 2,809
- 1
- 12
- 24
0
votes
2 answers
How to use swift function that returns a value - in objective C?
I am using IBM Watson APIs - Alchemy Data news
The problem is, I am using swift - objective C bridging and in between I am stuck with the function that returns a value. How do I use that value in my objective C code?
Here is my swift class
@objc…

Krutika Sonawala
- 1,065
- 1
- 12
- 30
-1
votes
1 answer
Is it possible to use polygon custom token as payment on an ethereum contract?
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
contract MintWithERC20Test {
IERC20 token = IERC20(0x2de52C26AED95e4E618ec91b7F1cfb651214a4d8);
uint256 public cost =…

Blockchain Kid
- 315
- 2
- 9
-1
votes
1 answer
Dynamic bridging with $BRIDGE/new
I followed instructions found here Mosquitto-Dynamic Bridging and here https://github.com/Tifaifai/mosquitto#to-dynamically-createdeleteshow-a-bridge-use about dynamic bridging in MQTT with Mosquitto.
The last link is the forked version of…

Erwan
- 86
- 1
- 8
-1
votes
2 answers
Mosquitto-Dynamic Bridging
I wanted to know if any of you have tried this - https://github.com/eclipse/mosquitto/pull/535/files
Mosquitto is working fine but what payload to be sent with this topic? - $SYS/broker/bridge/new
I am unable to implement dynamic bridging, please…

Surabhi Sharma
- 31
- 5
-1
votes
1 answer
Accessing Objective-C #define constant from Swift
I have an existing project with Swift and Objective C .h and .m files. In one of the .h files are numerous
#define kSomeConstant @"some string"
How can I make these available to Swift files in the project when the Swift file is in a framework…

bhartsb
- 1,316
- 14
- 39
-1
votes
1 answer
how to check packet flooding in bridging
I am a newbie in networking and learned about bridging concepts .I have a device which functions as bridge which works in transparent mode and filter mode.In the latter mode , whenever the packet is received to Ethernet port (which is bind to bridge…

sudeep
- 81
- 7
-1
votes
1 answer
How to reach web server within a VM?
I'm using virtualbox to set up two VMs, one debian one fedora.
Both are configured with network acces through bridge, and from each VM I can reach 127.0.0.1 through mozzila.
Here comes the trouble, I can reach the debian one just fine through its…

Pierre-Antoine Guillaume
- 1,047
- 1
- 12
- 28
-1
votes
1 answer
No such module error when using bridging header
I created a sample app, and added an Objective-C class called "TestFile".
My bridging header simply says,
#import "TestFile.h"
And my view controller includes an import statement:
Why am I getting an error message saying No such module…

William Grand
- 1,033
- 2
- 12
- 24