ObjFW  Changes To API Review for 1.0

Changes to "API Review for 1.0" between 2021-04-07 18:38:48 and 2021-04-07 18:48:28

1
2
3
4
5
6
7
8
9
10
11
12


13
14
15
16
17
18
19


20
21
22
23
24
25
26
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18


19
20
21
22
23
24
25
26
27











-
+
+





-
-
+
+







# API Review for 1.0

For the 1.0 release, all APIs should be reviewed, as starting 1.0, they are supposed to be stable.

Right now, we have fhe following:

## Protocols

* ❌ OFApplicationDelegate 
* ✅ OFCollection 
* ❌ OFComparing
  * Should be removed to improve type safety (instead of taking `id`, every class should have a method that takes its own type)
  * Classes implementing it should b e changed to override it with a more specific type
  * Documentation should say that it should be overridden
* ✅ OFCopying
* ❌ OFCryptoHash 
* ❌ OFDatagramSocketDelegate 
* ❌ OFDNSResolverHostDelegate 
* ❌ OFDNSResolverQueryDelegate 
* ❌ OFEnumerating
  * Should be renamed to OFEnumeration to align with OFFastEnumeration
* ❌ OFEnumeration
  * Documentation should say that it should be overridden with a more specific type
* ✅ OFFastEnumeration
  * API given by the compiler
* ❌ OFHTTPClientDelegate 
* ❌ OFHTTPServerDelegate 
* ❌ OFIPSocketAsyncConnecting
* ❌ OFIPXSocketDelegate 
* ❌ OFJSONRepresentation