Embeddinator-4000/objcgen
Sebastien Pouliot 27e5f34941 [objc] Add basic (readonly) support for fields (#129)
We cannot access them directly but we can provide (ObjC) property
wrappers around them, making them usable from ObjC code.
2017-04-17 10:03:46 -04:00
..
.gitignore
ErrorHelper.cs
Make.config
Makefile [objc] Use msbuild instead of xbuild. (#106) 2017-04-12 08:49:38 -04:00
README.md [objc][README] Recommend usage of objcgen.exe instead of MonoEmbeddinator4000.exe (#92) 2017-04-11 08:33:38 +02:00
driver.cs [object][processor] Filter and warn about unsupported C# features/types (#117) 2017-04-13 15:21:39 -04:00
error.cs
extensions.cs [objc] Add support for enums and [Flags] (#119) 2017-04-13 21:07:52 -04:00
generate-version.sh
generator.cs
objcgen.csproj [objc] Add support for enums and [Flags] (#119) 2017-04-13 21:07:52 -04:00
objcgenerator-helpers.cs [objc] Add support for structs / valuetype (#118) 2017-04-13 17:59:28 -04:00
objcgenerator-processor.cs [objc] Add basic (readonly) support for fields (#129) 2017-04-17 10:03:46 -04:00
objcgenerator.cs [objc] Add basic (readonly) support for fields (#129) 2017-04-17 10:03:46 -04:00
packages.config
system-dependencies.sh

README.md

ObjC generator

Build

Simply run make in Embeddinator-4000/objcgen.

Run

Don't use MonoEmbeddinator4000.exe.

Use mono ./bin/Debug/objcgen.exe --gen=Obj-C -o ./Output ManagedAssembly1.dll.

Generated API of questionable usability

Whenever we generate a working API that is not optimal (in ObjC) we should update the docs/BestPracticesObjC.md document to explain the situation and provide guidance to get the best ObjC API output.

Missing .NET features

Unimplemented, but planned, features should throw a NotImplementedException with the feature name. The generator will report it as a missing feature that does not require a bug report (and test case).

Unsupported .NET features

Anything that cannot be supported should be added to the docs/Limitations.md document.

The tool should issue warnings (which users can turn into errors) when it cannot generate ObjC to match any given .NET code. The warnings must be added to the docs/errors.md document.