-
Notifications
You must be signed in to change notification settings - Fork 991
FAQ
See Memory Management. We continue to refine generated code to improve how memory is managed, using Xcode's leak detection and profiling tools. We encourage projects using J2ObjC to also monitor performance and leak detection (as all iOS projects should), and to report any issues found.
See Dead Code Eliminator.
j2objc uses the Eclipse JDT as its front-end, so all imports are read as any Java compiler would do. To specify where to find imported classes, use the same -classpath and -sourcepath options you would use with javac. When generating Objective-C files, external class references are gathered, and #import directives are added to either the generated header (.h) or implementation (.m) files as appropriate.
Why are some of the minimum and maximum values for numeric types different from the Java specification?
These values are different from what Java returns because they are outside what the Objective-C compiler will accept as valid. We instead use the minimum and maximum values defined in /usr/include/values.h.