You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Decide which OS version we should run the simulator tests in.
264
+
# Note that this may not necessarily match the SDK version, if there are OS releases with no API changes, then there wouldn't necessarily be a corresponding SDK version.
265
+
# If the errors below trigger, update the hardcoded Xcode version check (currently 26.3) to use the current Xcode version, and assign the corresponding max simulator versions.
266
+
ifeq ($(XCODE_VERSION),26.3)
267
+
MAX_IOS_SIMULATOR_VERSION=26.3
268
+
MAX_TVOS_SIMULATOR_VERSION=26.2
269
+
else ifneq ($(XCODE_VERSION),$(IOS_SDK_VERSION))
270
+
$(error Check if a max iOS simulator is different than the current SDK version (this happens when there's a new iOS release, with no API changes so no new SDK))
271
+
else ifneq ($(XCODE_VERSION),$(TVOS_SDK_VERSION))
272
+
$(error Check if a max tvOS simulator is different than the current SDK version (this happens when there's a new tvOS release, with no API changes so no new SDK))
/// <summary>Creates a new CGFont representing the specified PostScript or full name.</summary>
116
-
/// <returns>To be added.</returns>
117
-
/// <remarks>To be added.</remarks>
112
+
/// <summary>Creates a new <see cref="CGFont" /> representing the specified PostScript or full name.</summary>
113
+
/// <param name="name">The PostScript or full name of the font.</param>
114
+
/// <returns>The new <see cref="CGFont" />, or <see langword="null" /> if <paramref name="name" /> is <see langword="null" /> or no matching font is found.</returns>
115
+
/// <remarks>
116
+
/// <para>
117
+
/// This method looks up a font by its PostScript name or full
118
+
/// name. If no font matching <paramref name="name" /> is found,
119
+
/// the method returns <see langword="null" />.
120
+
/// </para>
121
+
/// </remarks>
118
122
publicstaticCGFont?CreateWithFontName(stringname)
119
123
{
120
124
// the API accept a `nil` argument but returns `nil`, we take a shortcut (no native call)
121
125
// and have a unit tests to make sure this behavior does not change over time
0 commit comments