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
Copy file name to clipboardExpand all lines: ChangeLog.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ Change Log
7
7
8
8
**Warning:** This version requires Swift 3; it will not compile with Swift 2.x.
9
9
10
+
You can find a detailed change log and migration instructions in the [Migration guide to version 4.x](https://github.com/algolia/algoliasearch-client-swift/wiki/Migration-guide-to-version-4.x).
11
+
10
12
Add support for **Swift 3**:
11
13
12
14
- Adapt to the new Foundation API
@@ -18,14 +20,16 @@ Add support for **Swift 3**:
18
20
- Method names:
19
21
-`browse` is now overloaded: `browse(query:)` and `browse(from:)`.
20
22
- Rename enum members to lower camel case
23
+
- Rename constants to lower camel case (except notification names)
21
24
- Better Objective-C mappings
22
25
- Adjust method names when necessary for a better fit with this language
23
26
- Objective-C specific types are no longer visible in Swift (well, technically, they still are, but you have to look harder...)
24
27
- No underscore-suffixed properties any longer
25
-
- Use `Error` instead of `NSError` in completion handlers
26
-
- Use dedicated error types
27
-
- Use `@discardableResult` for methods returning `Operation`
28
-
- Notifications are typed `Notification.Name`
28
+
- Better typing
29
+
- Use `Error` instead of `NSError` in completion handlers
30
+
- Use dedicated error types
31
+
- Use `@discardableResult` for methods returning `Operation`
32
+
- Use `Notification.Name` for notifications
29
33
- Prevent subclassing by *not* adopting the `open` access modifier
0 commit comments