Differences From Artifact [789b07e235]:
- File src/OFXMLParser.h — part of check-in [52011fbfd6] at 2017-09-26 21:53:44 on branch trunk — Many nullability fixes (user: js, size: 7090) [annotate] [blame] [check-ins using]
To Artifact [42011eb439]:
- File
src/OFXMLParser.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 7030) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
175 176 177 178 179 180 181 182 183 184 185 186 187 188 | /*! * The delegate that is used by the XML parser. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) id <OFXMLParserDelegate> delegate; /*! * The depth limit for the XML parser. * * If the depth limit is exceeded, an OFMalformedXMLException is thrown. * * The default is 32. 0 means unlimited (insecure!). */ | > > > > > > > > > > | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | /*! * The delegate that is used by the XML parser. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) id <OFXMLParserDelegate> delegate; /*! * The current line number. */ @property (readonly, nonatomic) size_t lineNumber; /*! * @return Whether the XML parser has finished parsing. */ @property (readonly, nonatomic) bool hasFinishedParsing; /*! * The depth limit for the XML parser. * * If the depth limit is exceeded, an OFMalformedXMLException is thrown. * * The default is 32. 0 means unlimited (insecure!). */ |
︙ | ︙ | |||
222 223 224 225 226 227 228 | /*! * @brief Parses the specified file. * * @param path The path to the file to parse */ - (void)parseFile: (OFString *)path; #endif | < < < < < < < < < < < < < < | 232 233 234 235 236 237 238 239 240 241 | /*! * @brief Parses the specified file. * * @param path The path to the file to parse */ - (void)parseFile: (OFString *)path; #endif @end OF_ASSUME_NONNULL_END |