Skip to content

Commit

Permalink
Fix class references.
Browse files Browse the repository at this point in the history
  • Loading branch information
rismay committed Nov 15, 2024
1 parent 3c128fc commit 50a3863
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ extension Notification {
/// - Parameters:
/// - token: The observer token returned by the notification center.
/// - center: The notification center where the observer is registered.
public class Token {
public final class Token {
public let token: NSObjectProtocol
public let center: NotificationCenter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import Foundation
#endif

/// An extension to the `String` class to add functionality for converting strings to title case.
/// An extension to the `String` struct to add functionality for converting strings to title case.
extension String {
/// Converts a string from camelCase or PascalCase to a human-readable title case format.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

/// An extension to the `String` class providing a method to expand the tilde in file paths.
/// An extension to the `String` struct providing a method to expand the tilde in file paths.
extension String {
/// Expands the tilde (`~`) in the string to the user's home directory path.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

/// An extension to the `String` class to provide additional functionality related to file paths.
/// An extension to the `String` struct to provide additional functionality related to file paths.
extension String {
/// Computes the file extension from the string representing a file path.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import Foundation
#endif

/// An extension to the `URL` class to facilitate the addition of query parameters.
/// An extension to the `URL` struct to facilitate the addition of query parameters.
extension URL {
/// Creates a new URL by adding the specified query items to the existing URL.
///
Expand Down

0 comments on commit 50a3863

Please sign in to comment.