Skip to content

PencilKit macOS xcode14.0 rc

Israel Soto edited this page Sep 7, 2022 · 1 revision

#PencilKit.framework

diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PencilKit.framework/Headers/PKStroke.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PencilKit.framework/Headers/PKStroke.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PencilKit.framework/Headers/PKStroke.h	2022-08-05 12:40:04.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/PencilKit.framework/Headers/PKStroke.h	2022-08-03 21:05:17.000000000 -0500
@@ -23,7 +23,7 @@
 ///
 /// @param ink The ink for the stroke.
 /// @param strokePath The B-spine stroke path for the stroke.
-/// @param transform The affine transform of the stroke.
+/// @param transform The affine transform of the stroke. Defaults to `.identity`.
 /// @param mask The mask for the stroke.
 #if TARGET_OS_IPHONE
 - (instancetype)initWithInk:(PKInk *)ink strokePath:(PKStrokePath *)strokePath transform:(CGAffineTransform)transform mask:(nullable UIBezierPath *)mask;
@@ -31,19 +31,6 @@
 - (instancetype)initWithInk:(PKInk *)ink strokePath:(PKStrokePath *)strokePath transform:(CGAffineTransform)transform mask:(nullable NSBezierPath *)mask;
 #endif
 
-/// Create a new stroke.
-///
-/// @param ink The ink for the stroke.
-/// @param strokePath The B-spine stroke path for the stroke.
-/// @param transform The affine transform of the stroke.
-/// @param mask The mask for the stroke.
-/// @param randomSeed The random seed for the stroke.
-#if TARGET_OS_IPHONE
-- (instancetype)initWithInk:(PKInk *)ink strokePath:(PKStrokePath *)strokePath transform:(CGAffineTransform)transform mask:(nullable UIBezierPath *)mask randomSeed:(uint32_t)randomSeed API_AVAILABLE(ios(16.0), macos(13.0));
-#else
-- (instancetype)initWithInk:(PKInk *)ink strokePath:(PKStrokePath *)strokePath transform:(CGAffineTransform)transform mask:(nullable NSBezierPath *)mask randomSeed:(uint32_t)randomSeed API_AVAILABLE(ios(16.0), macos(13.0));
-#endif
-
 /// The ink used to render this stroke.
 @property (nonatomic, readonly) PKInk *ink;
 
@@ -70,9 +57,6 @@
 /// that intersect the stroke's mask.
 @property (nonatomic, readonly) NSArray<PKFloatRange *> *maskedPathRanges;
 
-/// The random seed for drawing strokes that use randomized effects.
-@property (nonatomic, readonly) uint32_t randomSeed API_AVAILABLE(ios(16.0), macos(13.0));
-
 @end
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally