Mads Marquart
|
e33d2bee6c
|
Update objc2 version (#2936)
* Upgrade to objc2 v0.4.0 and icrate v0.0.3
* Fix `touchBar` method
* Use ClassType::alloc
* Use #[method_id(...)] functionality in declare_class!
|
2023-07-29 00:33:03 +02:00 |
|
Amr Bashir
|
a88d2e079d
|
On Windows and MacOS, add Window::has_focus
|
2023-01-17 04:30:14 +03:00 |
|
Mads Marquart
|
ee88e38f13
|
Reduce amount of unsafe on iOS (#2579)
* Use objc2::foundation CG types
* Add safe abstraction over UIApplication
* Add safe abstraction over UIDevice
* Add safe abstraction over UIScreen
* Add safe abstraction over UIWindow
* Add safe abstraction over UIViewController
* Add safe abstraction over UIView
* Appease clippy
|
2022-12-28 18:36:32 +01:00 |
|
Mads Marquart
|
fb248eaadc
|
Clean up iOS class declaration (#2462)
* Begin abstraction over UIKit
* Clean up UIWindow override declaration
* Clean up UIApplication delegate declaration
* Clean up UIViewController override declaration
* Finalize objc -> objc2 rename
|
2022-09-08 20:30:34 +02:00 |
|