libs-base/Tests/base/KVC
Hugo Melder 6eef1c3289
NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] (#445)
* KVC Caching Implementation

* Do not ignore struct name when comparing type encoding as NSPoint and NSSize have the same layout

* Use fast-path when using Objective-C 2

* Guard old ValueForKey function when using the fast-path

* Add basic NSKeyValueCoding tests

* Update Copyright Years

* NSKeyValueCoding+Caching: Add Versioning to IVar Slot

* safe_caching: Remove Guards

* Add type encoding helper header

* Rename geometry structs (NSRect, NSPoint, NSSize) for toll-free bridging with CoreGraphics

* Move CG struct definitions to CFCGTypes.h

* Update known struct encoding prefixes

* Windows 64-bit is LLP64 and not LP64

* Re-order to avoid complier warning

---------

Co-authored-by: rfm <richardfrithmacdonald@gmail.com>
2024-10-29 14:12:34 +01:00
..
array.m Remove warnings generated by tests. 2011-08-03 08:41:26 +00:00
basic.m Fix missing includes 2016-03-25 10:10:53 +00:00
mutable.m Update tests to cover removeObserver:fromObjectsAtIndexes:forKeyPath:context: 2023-10-07 20:51:47 -04:00
nil.m import testsuite 2011-02-16 08:21:17 +00:00
nsnull.m Remove redefinition in Tests/KVC/nsnull.m 2023-12-28 12:02:04 +01:00
path.m Remove warnings generated by tests. 2011-08-03 08:41:26 +00:00
safe_caching.m NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] (#445) 2024-10-29 14:12:34 +01:00
search_patterns.m NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] (#445) 2024-10-29 14:12:34 +01:00
TestInfo Add TestInfo markers 2011-02-23 18:34:39 +00:00
type_encoding.m NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] (#445) 2024-10-29 14:12:34 +01:00
types.m NSKeyValueCoding: Safe-Caching for -[NSObject valueForKey:] (#445) 2024-10-29 14:12:34 +01:00