Skip to content

Commit

Permalink
It works!
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Jun 20, 2024
1 parent 31696d7 commit 3e89cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "react-native-nitro.hpp"

#include <react-native-nitro-modules/react-native-nitro-modules-umbrella.h>
#include <swift/bridging>
#include "NitroModules-Swift.h"

namespace nitro {
double multiply(double a, double b) {
auto exampleClass = NitroModules::HybridObject::init("Heyo!");

return a * b;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Foundation

public class HybridObject {

init(value: String) {
public init(value: String) {
print("Hey \(value)!")
}
}

0 comments on commit 3e89cf8

Please sign in to comment.