Skip to content

Commit b5022c5

Browse files
committed
update chapter 7 examples
1 parent 7653b2c commit b5022c5

File tree

25 files changed

+253
-104
lines changed

25 files changed

+253
-104
lines changed

bk2ch06p282navigationInterfaceStoryboard/ch19p615navigationInterface/ViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class ViewController : UIViewController, UINavigationControllerDelegate {
1010
self.title = "First"
1111

1212
// how to customize back button
13-
let b3 = UIBarButtonItem(image:UIImage(named:"files.png"), style:.plain, target:nil, action:nil)
13+
let b3 = UIBarButtonItem(image: UIImage(named: "files.png"))
1414
self.navigationItem.backBarButtonItem = b3
1515

1616
}

bk2ch07p360scrollViewInCode/ch20p570scrollViewInCode/ViewController.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ class ViewController : UIViewController {
9999
// the adjustedContentInset is _added_ to any content inset we explicitly provide
100100
// thus in most cases the best option is to do nothing!
101101
print(sv.contentInset) // zero
102-
print(sv.scrollIndicatorInsets) // zero
102+
// deprecated getter
103+
// print(sv.scrollIndicatorInsets) // zero
104+
print(sv.horizontalScrollIndicatorInsets) // zero
105+
print(sv.verticalScrollIndicatorInsets) // zero
103106
print(sv.contentOffset) // 0, -20
104107
}
105108

bk2ch07p360scrollViewInCode/ch20p670scrollViewInCode.xcodeproj/project.pbxproj

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -101,7 +101,7 @@
101101
};
102102
};
103103
buildConfigurationList = C957330417DE1152005E6B5A /* Build configuration list for PBXProject "ch20p670scrollViewInCode" */;
104-
compatibilityVersion = "Xcode 3.2";
104+
compatibilityVersion = "Xcode 9.3";
105105
developmentRegion = English;
106106
hasScannedForEncodings = 0;
107107
knownRegions = (
@@ -264,7 +264,11 @@
264264
GCC_PRECOMPILE_PREFIX_HEADER = YES;
265265
GCC_PREFIX_HEADER = "ch20p570scrollViewInCode/ch20p670scrollViewInCode-Prefix.pch";
266266
INFOPLIST_FILE = "ch20p570scrollViewInCode/ch20p670scrollViewInCode-Info.plist";
267-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
267+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
268+
LD_RUNPATH_SEARCH_PATHS = (
269+
"$(inherited)",
270+
"@executable_path/Frameworks",
271+
);
268272
ONLY_ACTIVE_ARCH = NO;
269273
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
270274
PRODUCT_NAME = ch20p670scrollViewInCode;
@@ -282,7 +286,11 @@
282286
GCC_PRECOMPILE_PREFIX_HEADER = YES;
283287
GCC_PREFIX_HEADER = "ch20p570scrollViewInCode/ch20p670scrollViewInCode-Prefix.pch";
284288
INFOPLIST_FILE = "ch20p570scrollViewInCode/ch20p670scrollViewInCode-Info.plist";
285-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
289+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
290+
LD_RUNPATH_SEARCH_PATHS = (
291+
"$(inherited)",
292+
"@executable_path/Frameworks",
293+
);
286294
ONLY_ACTIVE_ARCH = NO;
287295
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
288296
PRODUCT_NAME = ch20p670scrollViewInCode;

bk2ch07p362scrollViewInCode2b/ch20p670scrollViewInCode2b.xcodeproj/project.pbxproj

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C957334517DE1944005E6B5A /* Build configuration list for PBXProject "ch20p670scrollViewInCode2b" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,8 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2b-Info.plist";
266-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
267-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
268271
ONLY_ACTIVE_ARCH = NO;
269272
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
270273
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -282,8 +285,11 @@
282285
GCC_PRECOMPILE_PREFIX_HEADER = YES;
283286
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2-Prefix.pch";
284287
INFOPLIST_FILE = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2b-Info.plist";
285-
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
286-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
288+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
289+
LD_RUNPATH_SEARCH_PATHS = (
290+
"$(inherited)",
291+
"@executable_path/Frameworks",
292+
);
287293
ONLY_ACTIVE_ARCH = NO;
288294
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
289295
PRODUCT_NAME = "$(TARGET_NAME)";

bk2ch07p362scrollViewInCode2c/ch20p670scrollViewInCode2c.xcodeproj/project.pbxproj

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C957334517DE1944005E6B5A /* Build configuration list for PBXProject "ch20p670scrollViewInCode2c" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,8 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2c-Info.plist";
266-
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
267-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
268271
ONLY_ACTIVE_ARCH = NO;
269272
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
270273
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -282,8 +285,11 @@
282285
GCC_PRECOMPILE_PREFIX_HEADER = YES;
283286
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2-Prefix.pch";
284287
INFOPLIST_FILE = "ch20p670scrollViewInCode2/ch20p670scrollViewInCode2c-Info.plist";
285-
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
286-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
288+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
289+
LD_RUNPATH_SEARCH_PATHS = (
290+
"$(inherited)",
291+
"@executable_path/Frameworks",
292+
);
287293
ONLY_ACTIVE_ARCH = NO;
288294
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
289295
PRODUCT_NAME = "$(TARGET_NAME)";

bk2ch07p363scrollViewInCode3/ch20p670scrollViewInCode3.xcodeproj/project.pbxproj

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C98755C117DE2CF800578DCB /* Build configuration list for PBXProject "ch20p670scrollViewInCode3" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,7 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode3/ch20p670scrollViewInCode3-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p670scrollViewInCode3/ch20p670scrollViewInCode3-Info.plist";
266-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
267271
ONLY_ACTIVE_ARCH = NO;
268272
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
269273
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -281,7 +285,11 @@
281285
GCC_PRECOMPILE_PREFIX_HEADER = YES;
282286
GCC_PREFIX_HEADER = "ch20p670scrollViewInCode3/ch20p670scrollViewInCode3-Prefix.pch";
283287
INFOPLIST_FILE = "ch20p670scrollViewInCode3/ch20p670scrollViewInCode3-Info.plist";
284-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
288+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
289+
LD_RUNPATH_SEARCH_PATHS = (
290+
"$(inherited)",
291+
"@executable_path/Frameworks",
292+
);
285293
ONLY_ACTIVE_ARCH = NO;
286294
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
287295
PRODUCT_NAME = "$(TARGET_NAME)";

bk2ch07p366scrollViewInNib/ch20p673scrollViewInNib.xcodeproj/project.pbxproj

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C987560217DE4FE200578DCB /* Build configuration list for PBXProject "ch20p673scrollViewInNib" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,7 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNib-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNib-Info.plist";
266-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
267271
ONLY_ACTIVE_ARCH = NO;
268272
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
269273
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -281,7 +285,11 @@
281285
GCC_PRECOMPILE_PREFIX_HEADER = YES;
282286
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNib-Prefix.pch";
283287
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNib-Info.plist";
284-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
288+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
289+
LD_RUNPATH_SEARCH_PATHS = (
290+
"$(inherited)",
291+
"@executable_path/Frameworks",
292+
);
285293
ONLY_ACTIVE_ARCH = NO;
286294
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
287295
PRODUCT_NAME = "$(TARGET_NAME)";

bk2ch07p367scrollViewInNibAutolayout/ch20p673scrollViewInNibAutolayout.xcodeproj/project.pbxproj

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C987560217DE4FE200578DCB /* Build configuration list for PBXProject "ch20p673scrollViewInNibAutolayout" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,8 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout-Info.plist";
266-
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
267-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
268271
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
269272
PRODUCT_NAME = ch20p673scrollViewInNibAutolayout;
270273
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -281,8 +284,11 @@
281284
GCC_PRECOMPILE_PREFIX_HEADER = YES;
282285
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout-Prefix.pch";
283286
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout-Info.plist";
284-
IPHONEOS_DEPLOYMENT_TARGET = 12.2;
285-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
287+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
288+
LD_RUNPATH_SEARCH_PATHS = (
289+
"$(inherited)",
290+
"@executable_path/Frameworks",
291+
);
286292
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
287293
PRODUCT_NAME = ch20p673scrollViewInNibAutolayout;
288294
SWIFT_VERSION = 5.0;

bk2ch07p367scrollViewInNibAutolayout2/ch20p673scrollViewInNibAutolayout2.xcodeproj/project.pbxproj

+12-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 50;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -100,7 +100,7 @@
100100
};
101101
};
102102
buildConfigurationList = C987560217DE4FE200578DCB /* Build configuration list for PBXProject "ch20p673scrollViewInNibAutolayout2" */;
103-
compatibilityVersion = "Xcode 3.2";
103+
compatibilityVersion = "Xcode 9.3";
104104
developmentRegion = English;
105105
hasScannedForEncodings = 0;
106106
knownRegions = (
@@ -263,7 +263,11 @@
263263
GCC_PRECOMPILE_PREFIX_HEADER = YES;
264264
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout2-Prefix.pch";
265265
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout2-Info.plist";
266-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
266+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
267+
LD_RUNPATH_SEARCH_PATHS = (
268+
"$(inherited)",
269+
"@executable_path/Frameworks",
270+
);
267271
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
268272
PRODUCT_NAME = ch20p673scrollViewInNibAutolayout2;
269273
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -280,7 +284,11 @@
280284
GCC_PRECOMPILE_PREFIX_HEADER = YES;
281285
GCC_PREFIX_HEADER = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout2-Prefix.pch";
282286
INFOPLIST_FILE = "ch20p673scrollViewInNib/ch20p673scrollViewInNibAutolayout2-Info.plist";
283-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
287+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
288+
LD_RUNPATH_SEARCH_PATHS = (
289+
"$(inherited)",
290+
"@executable_path/Frameworks",
291+
);
284292
PRODUCT_BUNDLE_IDENTIFIER = "com.neuburg.matt.${PRODUCT_NAME:rfc1034identifier}";
285293
PRODUCT_NAME = ch20p673scrollViewInNibAutolayout2;
286294
SWIFT_VERSION = 5.0;

bk2ch07p367scrollViewInNibXcode11/scrollViewInNibXcode11.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@
287287
CODE_SIGN_STYLE = Automatic;
288288
DEVELOPMENT_TEAM = W3LHX5RGV2;
289289
INFOPLIST_FILE = scrollViewInNibXcode11/Info.plist;
290+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
290291
LD_RUNPATH_SEARCH_PATHS = (
291292
"$(inherited)",
292293
"@executable_path/Frameworks",
@@ -305,6 +306,7 @@
305306
CODE_SIGN_STYLE = Automatic;
306307
DEVELOPMENT_TEAM = W3LHX5RGV2;
307308
INFOPLIST_FILE = scrollViewInNibXcode11/Info.plist;
309+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
308310
LD_RUNPATH_SEARCH_PATHS = (
309311
"$(inherited)",
310312
"@executable_path/Frameworks",

bk2ch07p367scrollViewInNibXcode11b/scrollViewInNibXcode11b.xcodeproj/project.pbxproj

+2
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@
287287
CODE_SIGN_STYLE = Automatic;
288288
DEVELOPMENT_TEAM = W3LHX5RGV2;
289289
INFOPLIST_FILE = scrollViewInNibXcode11/Info.plist;
290+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
290291
LD_RUNPATH_SEARCH_PATHS = (
291292
"$(inherited)",
292293
"@executable_path/Frameworks",
@@ -305,6 +306,7 @@
305306
CODE_SIGN_STYLE = Automatic;
306307
DEVELOPMENT_TEAM = W3LHX5RGV2;
307308
INFOPLIST_FILE = scrollViewInNibXcode11/Info.plist;
309+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
308310
LD_RUNPATH_SEARCH_PATHS = (
309311
"$(inherited)",
310312
"@executable_path/Frameworks",

bk2ch07p370contentInset2/ch20p670scrollViewInCode2/ViewController.swift

+4-2
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ class ViewController : UIViewController {
100100
// sv.scrollIndicatorInsets = self.sv.contentInset
101101
print("content inset", sv.contentInset)
102102
print("adjusted content inset", sv.adjustedContentInset)
103-
print("indicator insets", sv.scrollIndicatorInsets)
103+
print("vertical scroll indicator insets", sv.verticalScrollIndicatorInsets)
104+
print("horizontal scroll indicator insets", sv.horizontalScrollIndicatorInsets)
104105
print("content offset", sv.contentOffset)
105106
print("nav bar height", self.navigationController?.navigationBar.bounds.height as Any)
106107
}
@@ -116,7 +117,8 @@ extension ViewController : UIScrollViewDelegate {
116117
print("did change inset!")
117118
print("content inset", sv.contentInset)
118119
print("adjusted content inset", sv.adjustedContentInset)
119-
print("indicator insets", sv.scrollIndicatorInsets)
120+
print("vertical scroll indicator insets", sv.verticalScrollIndicatorInsets)
121+
print("horizontal scroll indicator insets", sv.horizontalScrollIndicatorInsets)
120122
print("content offset", sv.contentOffset)
121123
print("behavior", sv.contentInsetAdjustmentBehavior.rawValue)
122124
// deprecated, just checking

0 commit comments

Comments
 (0)