Documenting class extension in objective c using doxygen - ios

I have an objective-C class with a class extension in the implementation file. This class extension contains a property. When I run doxygen, in the output I don't see the property that was declared in the class extension. I only see the properties declared in the main header file.
I am running doxygen version 1.8.2, which is supposed to support class extensions in objective C. Do you know what I could be doing wrong in terms of configuration?
Thanks,

The extension was not listed under the class name in the class index, but under ClassName(Private), I just missed it.

Related

How to add a reference of a class to another class in documentation with markup language in Xcode

I'm trying to write a documentation for my class like apple classes: UIVIEW, I want to add a reference to another class in documentation like the image below
Here is my current documentation:
but When I press it shows me this
Per the Apple Documentation you can link to another one of your classes in your documentation by enclosing the absolute path to the file with double backticks, i.e.
/// Extends ``weg_ios/EquipmentViewModel`` so that the ``wegApp`` can inject the ``weg_ios/wegApp/sdk`` for making network and database requests.
class SdkEquipmentViewModel: EquipmentViewModel {

Class NmeaGpsDriver in AndroidThings

I don't find the class NmeaGpsDriver in any androidthings: https://mvnrepository.com/artifact/com.google.android.things/androidthings
Do you have a jar? or what class I cound used instead?
That class is an extension of the built in GNSS driver. It's in fact available as one of the provided sample drivers on GitHub.
You can import it with:
implementation 'com.google.android.things.contrib:driver-gps:1.0'

Class name conflict with class in Framework

In main project, I have a class named: Result.
And I import a third framework through Cocoapods which is also named Result. The Result framework has a class named Result.
In project, how can I use the Result class in Result framework?
You need to put the package name in front of the class name.
ThirdPartyFrameworkName.Result
and
YourTargetName.Result

Swift and Obj-c Interoperability issues while unit testing

I have an iOS application written in Obj-C which has unit tests defined as well. Now, i am adding a new feature where i am using a swift class (S) in an Obj-C class(O). I have the bridging header in place for both the main target and the test target. Till this point everything works really well.
Here's the problem,
If i want to create an unit test class(U) for class O in swift and run it, i get an issue saying bridging header not found. I am assuming this is because O uses S and these details are in the bridging header file and then again i am trying to use both S and O in U resulting the failure. If i add any other Obj-C class which doesn't use S, it works perfectly fine.
Here's what i have already done just make sure you know whats happening,
I have a forward declaration in O.h for class S because i know the O.h file will not support holding the -Swift.h import statement and hence it is in O.m file.
Is this scenario supported?
Class O uses Class S.
Class U can test class O by using class S.
Note: O->Objective-C
S->Swift Class
U->Unit test class in swift.
The answer was simple but not very evident. I had to place the import statements in the bridging header files in the order of the usage. For example: if one class has dependency on the other, then its important that you place the dependency's import statement first and then the calling class' file in the bridging header

What is the equivalent class for GrailsControllerHandlerMapping in Grails3

I was migrating a grails2 plugin to the grails3, There is a class
org.codehaus.groovy.grails.web.servlet.GrailsControllerHandlerMapping
in grails2.x version, I did not find this class in grails3.
Has this class has been replaced with any other class, or it just has been removed?
There are 2 more classes which I did not find in grails3, these are
org.codehaus.groovy.grails.commons.metaclass.BeanBinding
org.codehaus.groovy.grails.commons.metaclass.PropertyExpression
There is no direct equivalent of GrailsControllerHandlerMapping this area has been refactored and is now implemented as UrlMappingsHandlerMapping
https://github.com/grails/grails-core/blob/master/grails-web-url-mappings/src/main/groovy/org/grails/web/mapping/mvc/UrlMappingsHandlerMapping.groovy
The metaclass package has also been removed as all metaprogramming has been replaced by the use of Traits.

Resources