Skip to content

Commit 350522c

Browse files
egorzhdancompnerd
authored andcommitted
App and Environment: fix a couple of typos in the function names
1 parent 45e2f21 commit 350522c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/SwiftWin32/App and Environment/ApplicationDelegate.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public protocol ApplicationDelegate: AnyObject, _TriviallyConstructible {
111111
/// Informs the delegate that the application has become active.
112112
func applicationDidBecomeActive(_ application: Application)
113113

114-
/// Informs the delgate that the application is about to become inactive.
114+
/// Informs the delegate that the application is about to become inactive.
115115
func applicationWillResignActive(_ application: Application)
116116

117117
/// Informs the delegate that the application is now in the background.
@@ -126,14 +126,14 @@ public protocol ApplicationDelegate: AnyObject, _TriviallyConstructible {
126126
// MARK - Responding to Environment Changes
127127

128128
/// Tells the delegate that protected files are available now.
129-
func applicationProtectedDataDidBecomeAavailable(_ application: Application)
129+
func applicationProtectedDataDidBecomeAvailable(_ application: Application)
130130

131131
/// Tells the delegate that the protected files are about to become
132132
/// unavailable.
133133
func applicationProtectedDataWillBecomeUnavailable(_ application: Application)
134134

135135
/// Tells the delegate when the app receives a memory warning from the system.
136-
func applicationDidRecieveMemoryWarning(_ application: Application)
136+
func applicationDidReceiveMemoryWarning(_ application: Application)
137137

138138
/// Tells the delegate when there is a significant change in the time.
139139
func applicationSignificantTimeChange(_ application: Application)
@@ -215,13 +215,13 @@ extension ApplicationDelegate {
215215
}
216216

217217
extension ApplicationDelegate {
218-
public func applicationProtectedDataDidBecomeAavailable(_ application: Application) {
218+
public func applicationProtectedDataDidBecomeAvailable(_ application: Application) {
219219
}
220220

221221
public func applicationProtectedDataWillBecomeUnavailable(_ application: Application) {
222222
}
223223

224-
public func applicationDidRecieveMemoryWarning(_ application: Application) {
224+
public func applicationDidReceiveMemoryWarning(_ application: Application) {
225225
}
226226

227227
public func applicationSignificantTimeChange(_ application: Application) {

0 commit comments

Comments
 (0)