objcGenerator method

  1. @override
void objcGenerator()
override

Implementation

@override
void objcGenerator() {
  final nativeHeaderFile =
      File('${options.objcOutput}/${module.inputFile.objcHeaderPath()}');
  nativeHeaderFile.createSync(recursive: true);
  nativeHeaderFile
      .writeAsStringSync(ModuleGenerator.ocHeader(module, options));

  final nativeSourceFile =
      File('${options.objcOutput}/${module.inputFile.objcSourcePath()}');
  nativeSourceFile.createSync(recursive: true);
  nativeSourceFile
      .writeAsStringSync(ModuleGenerator.ocSource(module, options));
}