diff --git a/.gitignore b/.gitignore index 99e38cb03..1714c7be2 100644 --- a/.gitignore +++ b/.gitignore @@ -71,4 +71,10 @@ fastlane/test_output /build/XCBuildData # Test results -/*.xcresult \ No newline at end of file +/*.xcresult + +# Generated docs intermediates. The sourcekitten JSON embeds absolute build +# paths in key.filepath entries, and jazzy writes the build path into +# undocumented.json. Neither file needs to be tracked. +docs/JSON/ +docs/**/undocumented.json \ No newline at end of file diff --git a/Scripts/generate_docs.sh b/Scripts/generate_docs.sh index 0df4f29e5..8d225c9b3 100755 --- a/Scripts/generate_docs.sh +++ b/Scripts/generate_docs.sh @@ -11,6 +11,9 @@ destination="generic/platform=iOS Simulator" tuist install --path Development/ tuist generate --no-open --path Development/ +# docs/JSON is gitignored — these files are intermediate sourcekitten output +# consumed by jazzy below. +mkdir -p docs/JSON $sourcekitten doc -- -workspace Development/ListableDevelopment.xcworkspace -scheme ListableUI -destination "$destination" > docs/JSON/ListableUI.json $sourcekitten doc -- -workspace Development/ListableDevelopment.xcworkspace -scheme BlueprintUILists -destination "$destination" > docs/JSON/BlueprintUILists.json diff --git a/docs/BlueprintLists/undocumented.json b/docs/BlueprintLists/undocumented.json deleted file mode 100644 index 0aeab5a5d..000000000 --- a/docs/BlueprintLists/undocumented.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "warnings": [], - "source_directory": "/Users/johnnewman/Development/Listable" -} \ No newline at end of file diff --git a/docs/JSON/BlueprintUILists.json b/docs/JSON/BlueprintUILists.json deleted file mode 100644 index 0f165df39..000000000 --- a/docs/JSON/BlueprintUILists.json +++ /dev/null @@ -1,7235 +0,0 @@ -[{ - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 6141, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias BlueprintHeaderContent = BlueprintHeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 218 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Alias to allow less verbose creation of headers.", - "key.doc.column" : 18, - "key.doc.comment" : "Alias to allow less verbose creation of headers.", - "key.doc.declaration" : "public typealias BlueprintHeaderContent = BlueprintHeaderFooterContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "BlueprintHeaderContent<\/Name>s:16BlueprintUILists0A13HeaderContenta<\/USR>public typealias BlueprintHeaderContent = BlueprintHeaderFooterContent<\/Declaration>Alias to allow less verbose creation of headers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 14, - "key.doc.name" : "BlueprintHeaderContent", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 165, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> BlueprintHeaderContent<\/decl.name> = BlueprintHeaderFooterContent<\/ref.protocol><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 63, - "key.line" : 14, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintHeaderContent", - "key.namelength" : 22, - "key.nameoffset" : 235, - "key.offset" : 225, - "key.parsed_declaration" : "public typealias BlueprintHeaderContent = BlueprintHeaderFooterContent", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "BlueprintHeaderFooterContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A19HeaderFooterContent_pmD", - "key.usr" : "s:16BlueprintUILists0A13HeaderContenta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias BlueprintFooterContent = BlueprintHeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 343 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Alias to allow less verbose creation of footers.", - "key.doc.column" : 18, - "key.doc.comment" : "Alias to allow less verbose creation of footers.", - "key.doc.declaration" : "public typealias BlueprintFooterContent = BlueprintHeaderFooterContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "BlueprintFooterContent<\/Name>s:16BlueprintUILists0A13FooterContenta<\/USR>public typealias BlueprintFooterContent = BlueprintHeaderFooterContent<\/Declaration>Alias to allow less verbose creation of footers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "BlueprintFooterContent", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 290, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> BlueprintFooterContent<\/decl.name> = BlueprintHeaderFooterContent<\/ref.protocol><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 63, - "key.line" : 17, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintFooterContent", - "key.namelength" : 22, - "key.nameoffset" : 360, - "key.offset" : 350, - "key.parsed_declaration" : "public typealias BlueprintFooterContent = BlueprintHeaderFooterContent", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "BlueprintHeaderFooterContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A19HeaderFooterContent_pmD", - "key.usr" : "s:16BlueprintUILists0A13FooterContenta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol BlueprintHeaderFooterContent : HeaderFooterContent<\/Type> where Self<\/Type>.BackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.ContentView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.PressedBackgroundView<\/Type> == BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2012 - } - ], - "key.bodylength" : 1017, - "key.bodyoffset" : 2200, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nYou do not need to provide any views; just Blueprint `Elements`. Do not\noverride the `createReusable{...}View` methods.\n\nA non-tappable header that shows a label might look like this:\n```\nstruct MyHeaderContent : BlueprintHeaderFooterContent, Equatable\n{\n var title : String\n\n var elementRepresentation: Element {\n Label(text: self.title) {\n $0.font = .systemFont(ofSize: 20.0, weight: .bold)\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `background` and `pressedBackground` properties:\n```\nvar background : Element? {\n Box(backgroundColor: .white)\n}\n\nvar pressedBackground : Element? {\n Box(backgroundColor: .lightGray)\n}\n```\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `elementRepresentation`\nz-Index 2) `pressedBackground` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `background`\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nA `HeaderFooterContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nYou do not need to provide any views; just Blueprint `Elements`. Do not\noverride the `createReusable{...}View` methods.\n\nA non-tappable header that shows a label might look like this:\n```\nstruct MyHeaderContent : BlueprintHeaderFooterContent, Equatable\n{\n var title : String\n\n var elementRepresentation: Element {\n Label(text: self.title) {\n $0.font = .systemFont(ofSize: 20.0, weight: .bold)\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `background` and `pressedBackground` properties:\n```\nvar background : Element? {\n Box(backgroundColor: .white)\n}\n\nvar pressedBackground : Element? {\n Box(backgroundColor: .lightGray)\n}\n```\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `elementRepresentation`\nz-Index 2) `pressedBackground` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `background`", - "key.doc.declaration" : "public protocol BlueprintHeaderFooterContent : ListableUI.HeaderFooterContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.PressedBackgroundView == BlueprintUI.BlueprintView", - "key.doc.discussion" : [ - { - "Para" : "You do not need to provide any views; just Blueprint `Elements`. Do not override the `createReusable{...}View` methods." - }, - { - "Para" : "A non-tappable header that shows a label might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `background` and `pressedBackground` properties:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `elementRepresentation` z-Index 2) `pressedBackground` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `background`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "BlueprintHeaderFooterContent<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP<\/USR>public protocol BlueprintHeaderFooterContent : ListableUI.HeaderFooterContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.PressedBackgroundView == BlueprintUI.BlueprintView<\/Declaration>A HeaderFooterContent<\/codeVoice> specialized for use with Blueprint. Instead of providing custom views from createReusable{...}View<\/codeVoice>, and then updating them in apply(to:)<\/codeVoice>, you instead provide Blueprint elements, and Listable<\/codeVoice> handles mapping this to an underlying BlueprintView<\/codeVoice>.<\/Para><\/Abstract>You do not need to provide any views; just Blueprint Elements<\/codeVoice>. Do not override the createReusable{...}View<\/codeVoice> methods.<\/Para>A non-tappable header that shows a label might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both background<\/codeVoice> and pressedBackground<\/codeVoice> properties:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The ordering of the elements by z-index is as follows: z-Index 3) elementRepresentation<\/codeVoice> z-Index 2) pressedBackground<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) background<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 61, - "key.doc.name" : "BlueprintHeaderFooterContent", - "key.doc.type" : "Class", - "key.doclength" : 1596, - "key.docoffset" : 416, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 2059 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> BlueprintHeaderFooterContent<\/decl.name> : HeaderFooterContent<\/ref.protocol> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.ContentView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 1199, - "key.line" : 61, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintHeaderFooterContent", - "key.namelength" : 28, - "key.nameoffset" : 2028, - "key.offset" : 2019, - "key.parsed_declaration" : "public protocol BlueprintHeaderFooterContent : HeaderFooterContent\nwhere\n ContentView == BlueprintView,\n BackgroundView == BlueprintView,\n PressedBackgroundView == BlueprintView", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 48, - "key.name" : "MARK: Creating Blueprint Element Representations", - "key.offset" : 2215 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var elementRepresentation: Element<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2406, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Required. Create and return the Blueprint element used to represent the content.", - "key.doc.column" : 9, - "key.doc.comment" : "Required. Create and return the Blueprint element used to represent the content.", - "key.doc.declaration" : "var elementRepresentation: Element { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "elementRepresentation<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP21elementRepresentation0A2UI7Element_pvp<\/USR>var elementRepresentation: Element { get }<\/Declaration>Required. Create and return the Blueprint element used to represent the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "elementRepresentation", - "key.doc.type" : "Other", - "key.doclength" : 85, - "key.docoffset" : 2280, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> elementRepresentation<\/decl.name>: Element<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 72, - "key.modulename" : "BlueprintUILists", - "key.name" : "elementRepresentation", - "key.namelength" : 21, - "key.nameoffset" : 2373, - "key.offset" : 2369, - "key.parsed_declaration" : "var elementRepresentation : Element", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 72, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "any Element", - "key.typeusr" : "$s11BlueprintUI7Element_pD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP21elementRepresentation0A2UI7Element_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var background: Element<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2798, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `pressedBackground`, if your header\nhas an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.\n", - "key.doc.column" : 9, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `pressedBackground`, if your header\nhas an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.", - "key.doc.declaration" : "var background: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no background." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "background<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp<\/USR>var background: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content. You usually provide this method alongside pressedBackground<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no background.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 81, - "key.doc.name" : "background", - "key.doc.type" : "Other", - "key.doclength" : 345, - "key.docoffset" : 2422, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> background<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 81, - "key.modulename" : "BlueprintUILists", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 2775, - "key.offset" : 2771, - "key.parsed_declaration" : "var background : Element?", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 81, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "background<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var pressedBackground: Element<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3210, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed.\nYou usually provide this method alongside `background`, if your header has an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.\n", - "key.doc.column" : 9, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed.\nYou usually provide this method alongside `background`, if your header has an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.", - "key.doc.declaration" : "var pressedBackground: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no selected background." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "pressedBackground<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp<\/USR>var pressedBackground: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed. You usually provide this method alongside background<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no selected background.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 89, - "key.doc.name" : "pressedBackground", - "key.doc.type" : "Other", - "key.doclength" : 358, - "key.docoffset" : 2814, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pressedBackground<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 89, - "key.modulename" : "BlueprintUILists", - "key.name" : "pressedBackground", - "key.namelength" : 17, - "key.nameoffset" : 3180, - "key.offset" : 3176, - "key.parsed_declaration" : "var pressedBackground : Element?", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 89, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "pressedBackground<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp" - } - ], - "key.typename" : "BlueprintHeaderFooterContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A19HeaderFooterContent_pmD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - }, - { - "key.annotated_decl" : "struct Environment<\/Declaration>", - "key.bodylength" : 558, - "key.bodyoffset" : 3244, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Environment is a container for values to be passed down an element tree.\n\nEnvironment values are not resolved until the tree is being rendered, so they do not need to be\nexplicitly passed to elements at the time they are created.\n\nEnvironment key-value pairs are strongly typed: keys are types conforming to the\n`EnvironmentKey` protocol, and each key's value is the type of that key's\n`EnvironmentKey.Value` associated value. Keys must provide a default value.\n\n## Example\n\nTo set an environment value, so that it will cascade to child elements, use\n`AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue`\nvia the key `MyEnvironmentKey`.\n\n AdaptedEnvironment(\n key: MyEnvironmentKey.self,\n value: someValue,\n wrapping: childElement\n )\n\nTo read an environment value, use `EnvironmentReader`. If this element were part of the child\nelement in the previous example, `myValue` would be set to `someValue`. If the key had not\nbeen set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`.\n\n struct MyElement: ProxyElement {\n var elementRepresentation: Element {\n return EnvironmentReader { environment -> Element in\n let myValue = environment[MyEnvironmentKey.self]\n return SomeElement(using: myValue)\n }\n }\n }", - "key.doc.column" : 15, - "key.doc.declaration" : "struct Environment", - "key.doc.discussion" : [ - { - "Para" : "Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created." - }, - { - "Para" : "Environment key-value pairs are strongly typed: keys are types conforming to the `EnvironmentKey` protocol, and each key’s value is the type of that key’s `EnvironmentKey.Value` associated value. Keys must provide a default value." - }, - { - "Para" : "To set an environment value, so that it will cascade to child elements, use `AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue` via the key `MyEnvironmentKey`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To read an environment value, use `EnvironmentReader`. If this element were part of the child element in the previous example, `myValue` would be set to `someValue`. If the key had not been set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.doc.full_as_xml" : "Environment<\/Name>s:11BlueprintUI11EnvironmentV<\/USR>struct Environment<\/Declaration>Environment is a container for values to be passed down an element tree.<\/Para><\/Abstract>Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created.<\/Para>Environment key-value pairs are strongly typed: keys are types conforming to the EnvironmentKey<\/codeVoice> protocol, and each key’s value is the type of that key’s EnvironmentKey.Value<\/codeVoice> associated value. Keys must provide a default value.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML>To set an environment value, so that it will cascade to child elements, use AdaptedEnvironment<\/codeVoice>. Here, every element in childElement<\/codeVoice> will have access to someValue<\/codeVoice> via the key MyEnvironmentKey<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To read an environment value, use EnvironmentReader<\/codeVoice>. If this element were part of the child element in the previous example, myValue<\/codeVoice> would be set to someValue<\/codeVoice>. If the key had not been set in an ancestor element, the value would be MyEnvironmentKey.defaultValue<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered> Element in]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 37, - "key.doc.name" : "Environment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Environment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 582, - "key.line" : 37, - "key.modulename" : "BlueprintUI", - "key.name" : "Environment", - "key.namelength" : 11, - "key.nameoffset" : 3231, - "key.offset" : 3221, - "key.parsed_declaration" : "extension Environment", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public internal(set) var applyHeaderFooterContentInfo: ApplyHeaderFooterContentInfo<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.internal", - "key.length" : 13, - "key.offset" : 3437 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3430 - } - ], - "key.bodylength" : 134, - "key.bodyoffset" : 3517, - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ApplyHeaderFooterContentInfo` which was passed to the `HeaderFooter` before it was\nlast displayed or updated. Nil if not in a Listable `HeaderFooter`.", - "key.doc.column" : 30, - "key.doc.comment" : "The `ApplyHeaderFooterContentInfo` which was passed to the `HeaderFooter` before it was\nlast displayed or updated. Nil if not in a Listable `HeaderFooter`.", - "key.doc.declaration" : "public internal(set) var applyHeaderFooterContentInfo: ApplyHeaderFooterContentInfo? { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "applyHeaderFooterContentInfo<\/Name>s:11BlueprintUI11EnvironmentV0A7UIListsE28applyHeaderFooterContentInfo08ListableB005ApplyfghI0VSgvp<\/USR>public internal(set) var applyHeaderFooterContentInfo: ApplyHeaderFooterContentInfo? { get set }<\/Declaration>The ApplyHeaderFooterContentInfo<\/codeVoice> which was passed to the HeaderFooter<\/codeVoice> before it was last displayed or updated. Nil if not in a Listable HeaderFooter<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 97, - "key.doc.name" : "applyHeaderFooterContentInfo", - "key.doc.type" : "Other", - "key.doclength" : 168, - "key.docoffset" : 3258, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> internal<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> applyHeaderFooterContentInfo<\/decl.name>: ApplyHeaderFooterContentInfo<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 201, - "key.line" : 97, - "key.modulename" : "BlueprintUILists", - "key.name" : "applyHeaderFooterContentInfo", - "key.namelength" : 28, - "key.nameoffset" : 3455, - "key.offset" : 3451, - "key.parsed_declaration" : "public internal(set) var applyHeaderFooterContentInfo : ApplyHeaderFooterContentInfo?", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ApplyHeaderFooterContentInfo?", - "key.typeusr" : "$s10ListableUI28ApplyHeaderFooterContentInfoVSgD", - "key.usr" : "s:11BlueprintUI11EnvironmentV0A7UIListsE28applyHeaderFooterContentInfo08ListableB005ApplyfghI0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum ApplyHeaderFooterContentInfoKey : EnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3662 - } - ], - "key.bodylength" : 75, - "key.bodyoffset" : 3725, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 3709 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ApplyHeaderFooterContentInfoKey<\/decl.name> : EnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "EnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 131, - "key.line" : 102, - "key.modulename" : "BlueprintUILists", - "key.name" : "ApplyHeaderFooterContentInfoKey", - "key.namelength" : 31, - "key.nameoffset" : 3675, - "key.offset" : 3670, - "key.parsed_declaration" : "private enum ApplyHeaderFooterContentInfoKey : EnvironmentKey", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static let defaultValue: ApplyHeaderFooterContentInfo<\/Type>?<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value\nhas been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/EnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from EnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> defaultValue<\/decl.name>: ApplyHeaderFooterContentInfo<\/ref.struct>?<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 61, - "key.line" : 103, - "key.modulename" : "BlueprintUILists", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3745, - "key.offset" : 3734, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.parsed_declaration" : "static let defaultValue : ApplyHeaderFooterContentInfo? = nil", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.typename" : "ApplyHeaderFooterContentInfo?", - "key.typeusr" : "$s10ListableUI28ApplyHeaderFooterContentInfoVSgD", - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.typename" : "Environment.ApplyHeaderFooterContentInfoKey.Type", - "key.typeusr" : "$s11BlueprintUI11EnvironmentV0A7UIListsE31ApplyHeaderFooterContentInfoKey33_02A79BC97C366F3BDEC29D56D447731DLLOmD", - "key.usr" : "s:11BlueprintUI11EnvironmentV0A7UIListsE31ApplyHeaderFooterContentInfoKey33_02A79BC97C366F3BDEC29D56D447731DLLO" - } - ], - "key.typename" : "Environment.Type", - "key.typeusr" : "$s11BlueprintUI11EnvironmentVmD", - "key.usr" : "s:11BlueprintUI11EnvironmentV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol BlueprintHeaderFooterContent : HeaderFooterContent<\/Type> where Self<\/Type>.BackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.ContentView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.PressedBackgroundView<\/Type> == BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3806 - } - ], - "key.bodylength" : 1997, - "key.bodyoffset" : 3853, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nYou do not need to provide any views; just Blueprint `Elements`. Do not\noverride the `createReusable{...}View` methods.\n\nA non-tappable header that shows a label might look like this:\n```\nstruct MyHeaderContent : BlueprintHeaderFooterContent, Equatable\n{\n var title : String\n\n var elementRepresentation: Element {\n Label(text: self.title) {\n $0.font = .systemFont(ofSize: 20.0, weight: .bold)\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `background` and `pressedBackground` properties:\n```\nvar background : Element? {\n Box(backgroundColor: .white)\n}\n\nvar pressedBackground : Element? {\n Box(backgroundColor: .lightGray)\n}\n```\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `elementRepresentation`\nz-Index 2) `pressedBackground` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `background`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol BlueprintHeaderFooterContent : ListableUI.HeaderFooterContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.PressedBackgroundView == BlueprintUI.BlueprintView", - "key.doc.discussion" : [ - { - "Para" : "You do not need to provide any views; just Blueprint `Elements`. Do not override the `createReusable{...}View` methods." - }, - { - "Para" : "A non-tappable header that shows a label might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `background` and `pressedBackground` properties:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `elementRepresentation` z-Index 2) `pressedBackground` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `background`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "BlueprintHeaderFooterContent<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP<\/USR>public protocol BlueprintHeaderFooterContent : ListableUI.HeaderFooterContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.PressedBackgroundView == BlueprintUI.BlueprintView<\/Declaration>A HeaderFooterContent<\/codeVoice> specialized for use with Blueprint. Instead of providing custom views from createReusable{...}View<\/codeVoice>, and then updating them in apply(to:)<\/codeVoice>, you instead provide Blueprint elements, and Listable<\/codeVoice> handles mapping this to an underlying BlueprintView<\/codeVoice>.<\/Para><\/Abstract>You do not need to provide any views; just Blueprint Elements<\/codeVoice>. Do not override the createReusable{...}View<\/codeVoice> methods.<\/Para>A non-tappable header that shows a label might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both background<\/codeVoice> and pressedBackground<\/codeVoice> properties:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The ordering of the elements by z-index is as follows: z-Index 3) elementRepresentation<\/codeVoice> z-Index 2) pressedBackground<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) background<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 61, - "key.doc.name" : "BlueprintHeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> BlueprintHeaderFooterContent<\/decl.name> : HeaderFooterContent<\/ref.protocol> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.ContentView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2038, - "key.line" : 61, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintHeaderFooterContent", - "key.namelength" : 28, - "key.nameoffset" : 3823, - "key.offset" : 3813, - "key.parsed_declaration" : "public extension BlueprintHeaderFooterContent", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 34, - "key.name" : "MARK: BlueprintHeaderFooterContent", - "key.offset" : 3868 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var background: Element<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 3946, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `pressedBackground`, if your header\nhas an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.\n", - "key.doc.column" : 9, - "key.doc.declaration" : "var background: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "background<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp<\/USR>var background: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content. You usually provide this method alongside pressedBackground<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no background.<\/Para>This documentation comment was inherited from BlueprintHeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 81, - "key.doc.name" : "background", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> background<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 114, - "key.modulename" : "BlueprintUILists", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 3923, - "key.offset" : 3919, - "key.parsed_declaration" : "var background : Element?", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 114, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "background<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var pressedBackground: Element<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 4008, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed.\nYou usually provide this method alongside `background`, if your header has an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.\n", - "key.doc.column" : 9, - "key.doc.declaration" : "var pressedBackground: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no selected background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "pressedBackground<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp<\/USR>var pressedBackground: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed. You usually provide this method alongside background<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no selected background.<\/Para>This documentation comment was inherited from BlueprintHeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 89, - "key.doc.name" : "pressedBackground", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pressedBackground<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 118, - "key.modulename" : "BlueprintUILists", - "key.name" : "pressedBackground", - "key.namelength" : 17, - "key.nameoffset" : 3978, - "key.offset" : 3974, - "key.parsed_declaration" : "var pressedBackground : Element?", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 118, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "pressedBackground<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: HeaderFooterContent", - "key.offset" : 4046 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func apply(to views: HeaderFooterContentViews<\/Type><Self<\/Type>>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.bodylength" : 994, - "key.bodyoffset" : 4238, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> views<\/decl.var.parameter.name>: HeaderFooterContentViews<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1145, - "key.line" : 126, - "key.modulename" : "BlueprintUILists", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 143, - "key.nameoffset" : 4093, - "key.offset" : 4088, - "key.parsed_declaration" : "func apply(\n to views: HeaderFooterContentViews,\n for reason: ApplyReason,\n with info: ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 126, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "apply(to: HeaderFooterContentViews<Self>, for: ApplyReason, with: ApplyHeaderFooterContentInfo)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (HeaderFooterContentViews, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withy10ListableUI24HeaderFooterContentViewsVyxG_AD11ApplyReasonOAD0jfgH4InfoVtcD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentPAAE5apply2to3for4withy10ListableUI0cdE5ViewsVyxG_AH11ApplyReasonOAH0mcdE4InfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableContentView(frame: CGRect<\/Type>) -> ContentView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 5312, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new content view used to render the content.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "If there's no element, clear out any past element, but only if the view was loaded.", - "key.doc.declaration" : "static func createReusableContentView(frame: CGRect) -> Self.ContentView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusableContentView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP014createReusableE4View5frame0eH0QzSo6CGRectV_tFZ<\/USR>static func createReusableContentView(frame: CGRect) -> Self.ContentView<\/Declaration>Create and return a new content view used to render the content.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 107, - "key.doc.name" : "createReusableContentView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableContentView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ContentView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 118, - "key.line" : 159, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableContentView(frame:)", - "key.namelength" : 40, - "key.nameoffset" : 5255, - "key.offset" : 5243, - "key.parsed_declaration" : "static func createReusableContentView(frame: CGRect) -> ContentView", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 159, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableContentView(frame: CGRect) -> Self.ContentView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.ContentView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP014createReusableE4View5frame0eH0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 5446, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 130, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 124, - "key.line" : 163, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 43, - "key.nameoffset" : 5383, - "key.offset" : 5371, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 163, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusablePressedBackgroundView(frame: CGRect<\/Type>) -> PressedBackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 5594, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's pressed background.\n\nThis view is displayed when the user taps\/presses the header \/ footer.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusablePressedBackgroundView(frame: CGRect) -> Self.PressedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the user taps\/presses the header \/ footer." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusablePressedBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ<\/USR>static func createReusablePressedBackgroundView(frame: CGRect) -> Self.PressedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s pressed background.<\/Para><\/Abstract>This view is displayed when the user taps\/presses the header \/ footer.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 154, - "key.doc.name" : "createReusablePressedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusablePressedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> PressedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 138, - "key.line" : 167, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusablePressedBackgroundView(frame:)", - "key.namelength" : 50, - "key.nameoffset" : 5517, - "key.offset" : 5505, - "key.parsed_declaration" : "static func createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView", - "key.parsed_scope.end" : 169, - "key.parsed_scope.start" : 167, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusablePressedBackgroundView(frame: CGRect) -> Self.PressedBackgroundView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusablePressedBackgroundView(frame: CGRect) -> Self.PressedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.PressedBackgroundView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func newBlueprintView(with frame: CGRect<\/Type>) -> BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5653 - } - ], - "key.bodylength" : 119, - "key.bodyoffset" : 5729, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newBlueprintView<\/decl.name>(with<\/decl.var.parameter.argument_label> frame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BlueprintView<\/ref.class><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 188, - "key.line" : 171, - "key.modulename" : "BlueprintUILists", - "key.name" : "newBlueprintView(with:)", - "key.namelength" : 37, - "key.nameoffset" : 5673, - "key.offset" : 5661, - "key.parsed_declaration" : "private static func newBlueprintView(with frame : CGRect) -> BlueprintView", - "key.parsed_scope.end" : 176, - "key.parsed_scope.start" : 171, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: BlueprintView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: BlueprintView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 172, - "key.modulename" : "BlueprintUILists", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 5742, - "key.offset" : 5738, - "key.parsed_declaration" : "let view = BlueprintView(frame: frame)", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "BlueprintView", - "key.typeusr" : "$s11BlueprintUI0A4ViewCD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentPAAE03newA4View33_02A79BC97C366F3BDEC29D56D447731DLL4with0A2UI0aG0CSo6CGRectV_tFZ4viewL_AIvp" - } - ], - "key.typename" : " (Self.Type) -> (CGRect) -> BlueprintView", - "key.typeusr" : "$s4with11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentPAAE03newA4View33_02A79BC97C366F3BDEC29D56D447731DLL4with0A2UI0aG0CSo6CGRectV_tFZ" - } - ], - "key.typename" : "BlueprintHeaderFooterContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A19HeaderFooterContent_pmD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "protocol Element<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 5854 - } - ], - "key.bodylength" : 254, - "key.bodyoffset" : 5885, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Conforming types represent a rectangular content area in a two-dimensional\nlayout space.\n\n***\n\nThe ultimate purpose of an element is to provide visual content. This can be\ndone in two ways:\n\n- By providing a view description (`ViewDescription`).\n\n- By providing child elements that will be displayed recursively within\n the local coordinate space.\n\n***\n\nA custom element might look something like this:\n\n```\nstruct MyElement: Element {\n\n var backgroundColor: UIColor = .red\n\n \/\/ Returns a single child element.\n var content: ElementContent {\n return ElementContent(child: Label(text: \"😂\"))\n }\n\n \/\/ Providing a view description means that this element will be\n \/\/ backed by a UIView instance when displayed in a `BlueprintView`.\n func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription? {\n return UIView.describe { config in\n config.bind(backgroundColor, to: \\.backgroundColor)\n }\n }\n\n}\n```\n", - "key.doc.column" : 17, - "key.doc.declaration" : "protocol Element", - "key.doc.discussion" : [ - { - "Para" : "The ultimate purpose of an element is to provide visual content. This can be done in two ways:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "A custom element might look something like this:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "Element<\/Name>s:11BlueprintUI7ElementP<\/USR>protocol Element<\/Declaration>Conforming types represent a rectangular content area in a two-dimensional layout space.<\/Para><\/Abstract>]]><\/rawHTML>The ultimate purpose of an element is to provide visual content. This can be done in two ways:<\/Para>By providing a view description (ViewDescription<\/codeVoice>).<\/Para><\/Item>By providing child elements that will be displayed recursively within the local coordinate space.<\/Para><\/Item><\/List-Bullet>]]><\/rawHTML>A custom element might look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ViewDescription? {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 41, - "key.doc.name" : "Element", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> Element<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 274, - "key.line" : 41, - "key.modulename" : "BlueprintUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 5876, - "key.offset" : 5866, - "key.parsed_declaration" : "fileprivate extension Element", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func adaptedEnvironment(with info: ApplyHeaderFooterContentInfo<\/Type>) -> Element<\/Type><\/Declaration>", - "key.bodylength" : 164, - "key.bodyoffset" : 5973, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> adaptedEnvironment<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 243, - "key.line" : 182, - "key.modulename" : "BlueprintUILists", - "key.name" : "adaptedEnvironment(with:)", - "key.namelength" : 60, - "key.nameoffset" : 5900, - "key.offset" : 5895, - "key.parsed_declaration" : "func adaptedEnvironment(with info : ApplyHeaderFooterContentInfo) -> Element", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 182, - "key.receivers" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "adaptedEnvironment(key:value:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "adaptedEnvironment(keyPath:value:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "adaptedEnvironment(by:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyHeaderFooterContentInfo) -> any Element", - "key.typeusr" : "$s4with11BlueprintUI7Element_p08ListableC028ApplyHeaderFooterContentInfoV_tcD", - "key.usr" : "s:11BlueprintUI7ElementP0A7UIListsE18adaptedEnvironment33_02A79BC97C366F3BDEC29D56D447731DLL4withAaB_p08ListableB028ApplyHeaderFooterContentInfoV_tF" - } - ], - "key.typename" : "Element.Type", - "key.typeusr" : "$s11BlueprintUI7Element_pmD", - "key.usr" : "s:11BlueprintUI7ElementP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 9397, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol BlueprintItemContent : ItemContent<\/Type> where Self<\/Type>.BackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.ContentView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.OverlayDecorationView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.SelectedBackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.UnderlayDecorationView<\/Type> == BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1780 - } - ], - "key.bodylength" : 2732, - "key.bodyoffset" : 2046, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nA `BlueprintItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : BlueprintItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: String {\n self.id\n }\n\n func element(with info : ApplyItemContentInfo) -> Element\n {\n Label(text: self.text) {\n $0.font = .systemFont(ofSize: 16.0, weight: .medium)\n $0.color = info.state.isActive ? .white : .darkGray\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n\n func backgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white)\n }\n\n func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white(0.2))\n }\n}\n```\nWhich uses the `backgroundElement` and `selectedBackgroundElement` methods\nto provide rendering of a background for the item, which will respond to its selection state.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `element`\nz-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `backgroundElement`\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nAn `ItemContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nA `BlueprintItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : BlueprintItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: String {\n self.id\n }\n\n func element(with info : ApplyItemContentInfo) -> Element\n {\n Label(text: self.text) {\n $0.font = .systemFont(ofSize: 16.0, weight: .medium)\n $0.color = info.state.isActive ? .white : .darkGray\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n\n func backgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white)\n }\n\n func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white(0.2))\n }\n}\n```\nWhich uses the `backgroundElement` and `selectedBackgroundElement` methods\nto provide rendering of a background for the item, which will respond to its selection state.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `element`\nz-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `backgroundElement`", - "key.doc.declaration" : "public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView", - "key.doc.discussion" : [ - { - "Para" : "A `BlueprintItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Which uses the `backgroundElement` and `selectedBackgroundElement` methods to provide rendering of a background for the item, which will respond to its selection state." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `element` z-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `backgroundElement`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "BlueprintItemContent<\/Name>s:16BlueprintUILists0A11ItemContentP<\/USR>public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView<\/Declaration>An ItemContent<\/codeVoice> specialized for use with Blueprint. Instead of providing custom views from createReusable{...}View<\/codeVoice>, and then updating them in apply(to:)<\/codeVoice>, you instead provide Blueprint elements, and Listable<\/codeVoice> handles mapping this to an underlying BlueprintView<\/codeVoice>.<\/Para><\/Abstract>A BlueprintItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Which uses the backgroundElement<\/codeVoice> and selectedBackgroundElement<\/codeVoice> methods to provide rendering of a background for the item, which will respond to its selection state.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) element<\/codeVoice> z-index 2) selectedBackgroundElement<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) backgroundElement<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 57, - "key.doc.name" : "BlueprintItemContent", - "key.doc.type" : "Class", - "key.doclength" : 1623, - "key.docoffset" : 157, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 1819 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> BlueprintItemContent<\/decl.name> : ItemContent<\/ref.protocol> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.ContentView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 2992, - "key.line" : 57, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintItemContent", - "key.namelength" : 20, - "key.nameoffset" : 1796, - "key.offset" : 1787, - "key.parsed_declaration" : "public protocol BlueprintItemContent : ItemContent\n where\n ContentView == BlueprintView,\n BackgroundView == BlueprintView,\n SelectedBackgroundView == BlueprintView,\n OverlayDecorationView == BlueprintView,\n UnderlayDecorationView == BlueprintView", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 48, - "key.name" : "MARK: Creating Blueprint Element Representations", - "key.offset" : 2061 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func element(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Required. Create and return the Blueprint element used to represent the content.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.", - "key.doc.column" : 10, - "key.doc.comment" : "Required. Create and return the Blueprint element used to represent the content.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.", - "key.doc.declaration" : "func element(with info: ApplyItemContentInfo) -> Element", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "element(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP7element4with0A2UI7Element_p08ListableG005ApplycD4InfoV_tF<\/USR>func element(with info: ApplyItemContentInfo) -> Element<\/Declaration>Required. Create and return the Blueprint element used to represent the content.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 73, - "key.doc.name" : "element(with:)", - "key.doc.type" : "Function", - "key.doclength" : 235, - "key.docoffset" : 2126, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> element<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 57, - "key.line" : 73, - "key.modulename" : "BlueprintUILists", - "key.name" : "element(with:)", - "key.namelength" : 41, - "key.nameoffset" : 2370, - "key.offset" : 2365, - "key.parsed_declaration" : "func element(with info : ApplyItemContentInfo) -> Element", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> any Element", - "key.typeusr" : "$s4with11BlueprintUI7Element_p08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP7element4with0A2UI7Element_p08ListableG005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func backgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `selectedBackgroundElement`, if your content\nsupports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.", - "key.doc.column" : 10, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `selectedBackgroundElement`, if your content\nsupports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.", - "key.doc.declaration" : "func backgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no background." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "backgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF<\/USR>func backgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content. You usually provide this method alongside selectedBackgroundElement<\/codeVoice>, if your content supports selection or highlighting.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no background.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 84, - "key.doc.name" : "backgroundElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 508, - "key.docoffset" : 2432, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> backgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 68, - "key.line" : 84, - "key.modulename" : "BlueprintUILists", - "key.name" : "backgroundElement(with:)", - "key.namelength" : 51, - "key.nameoffset" : 2949, - "key.offset" : 2944, - "key.parsed_declaration" : "func backgroundElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 84, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "backgroundElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func selectedBackgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is selected or highlighted.\nYou usually provide this method alongside `backgroundElement`, if your content supports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.", - "key.doc.column" : 10, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is selected or highlighted.\nYou usually provide this method alongside `backgroundElement`, if your content supports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.", - "key.doc.declaration" : "func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no selected background." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "selectedBackgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content when it is selected or highlighted. You usually provide this method alongside backgroundElement<\/codeVoice>, if your content supports selection or highlighting.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no selected background.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 94, - "key.doc.name" : "selectedBackgroundElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 536, - "key.docoffset" : 3022, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> selectedBackgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 76, - "key.line" : 94, - "key.modulename" : "BlueprintUILists", - "key.name" : "selectedBackgroundElement(with:)", - "key.namelength" : 59, - "key.nameoffset" : 3567, - "key.offset" : 3562, - "key.parsed_declaration" : "func selectedBackgroundElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 94, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "selectedBackgroundElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func overlayDecorationElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the overlay decoration of the content.\nThe overlay decoration appears above all other content, and is not affected by swipe actions.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no decoration.", - "key.doc.column" : 10, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the overlay decoration of the content.\nThe overlay decoration appears above all other content, and is not affected by swipe actions.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no decoration.", - "key.doc.declaration" : "func overlayDecorationElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no decoration." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "overlayDecorationElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP24overlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func overlayDecorationElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the overlay decoration of the content. The overlay decoration appears above all other content, and is not affected by swipe actions.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no decoration.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 104, - "key.doc.name" : "overlayDecorationElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 479, - "key.docoffset" : 3648, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> overlayDecorationElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 75, - "key.line" : 104, - "key.modulename" : "BlueprintUILists", - "key.name" : "overlayDecorationElement(with:)", - "key.namelength" : 58, - "key.nameoffset" : 4136, - "key.offset" : 4131, - "key.parsed_declaration" : "func overlayDecorationElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 104, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "overlayDecorationElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP24overlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func underlayDecorationElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the underlay decoration of the content.\nThe underlay decoration appears below all other content, and is not affected by swipe actions.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no decoration.", - "key.doc.column" : 10, - "key.doc.comment" : "Optional. Create and return the Blueprint element used to represent the underlay decoration of the content.\nThe underlay decoration appears below all other content, and is not affected by swipe actions.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no decoration.", - "key.doc.declaration" : "func underlayDecorationElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no decoration." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "underlayDecorationElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP25underlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func underlayDecorationElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the underlay decoration of the content. The underlay decoration appears below all other content, and is not affected by swipe actions.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no decoration.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 114, - "key.doc.name" : "underlayDecorationElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 481, - "key.docoffset" : 4216, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> underlayDecorationElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 76, - "key.line" : 114, - "key.modulename" : "BlueprintUILists", - "key.name" : "underlayDecorationElement(with:)", - "key.namelength" : 59, - "key.nameoffset" : 4706, - "key.offset" : 4701, - "key.parsed_declaration" : "func underlayDecorationElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "underlayDecorationElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP25underlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - } - ], - "key.typename" : "BlueprintItemContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A11ItemContent_pmD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - }, - { - "key.annotated_decl" : "struct Environment<\/Declaration>", - "key.bodylength" : 486, - "key.bodyoffset" : 4805, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Environment is a container for values to be passed down an element tree.\n\nEnvironment values are not resolved until the tree is being rendered, so they do not need to be\nexplicitly passed to elements at the time they are created.\n\nEnvironment key-value pairs are strongly typed: keys are types conforming to the\n`EnvironmentKey` protocol, and each key's value is the type of that key's\n`EnvironmentKey.Value` associated value. Keys must provide a default value.\n\n## Example\n\nTo set an environment value, so that it will cascade to child elements, use\n`AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue`\nvia the key `MyEnvironmentKey`.\n\n AdaptedEnvironment(\n key: MyEnvironmentKey.self,\n value: someValue,\n wrapping: childElement\n )\n\nTo read an environment value, use `EnvironmentReader`. If this element were part of the child\nelement in the previous example, `myValue` would be set to `someValue`. If the key had not\nbeen set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`.\n\n struct MyElement: ProxyElement {\n var elementRepresentation: Element {\n return EnvironmentReader { environment -> Element in\n let myValue = environment[MyEnvironmentKey.self]\n return SomeElement(using: myValue)\n }\n }\n }", - "key.doc.column" : 15, - "key.doc.declaration" : "struct Environment", - "key.doc.discussion" : [ - { - "Para" : "Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created." - }, - { - "Para" : "Environment key-value pairs are strongly typed: keys are types conforming to the `EnvironmentKey` protocol, and each key’s value is the type of that key’s `EnvironmentKey.Value` associated value. Keys must provide a default value." - }, - { - "Para" : "To set an environment value, so that it will cascade to child elements, use `AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue` via the key `MyEnvironmentKey`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To read an environment value, use `EnvironmentReader`. If this element were part of the child element in the previous example, `myValue` would be set to `someValue`. If the key had not been set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.doc.full_as_xml" : "Environment<\/Name>s:11BlueprintUI11EnvironmentV<\/USR>struct Environment<\/Declaration>Environment is a container for values to be passed down an element tree.<\/Para><\/Abstract>Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created.<\/Para>Environment key-value pairs are strongly typed: keys are types conforming to the EnvironmentKey<\/codeVoice> protocol, and each key’s value is the type of that key’s EnvironmentKey.Value<\/codeVoice> associated value. Keys must provide a default value.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML>To set an environment value, so that it will cascade to child elements, use AdaptedEnvironment<\/codeVoice>. Here, every element in childElement<\/codeVoice> will have access to someValue<\/codeVoice> via the key MyEnvironmentKey<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To read an environment value, use EnvironmentReader<\/codeVoice>. If this element were part of the child element in the previous example, myValue<\/codeVoice> would be set to someValue<\/codeVoice>. If the key had not been set in an ancestor element, the value would be MyEnvironmentKey.defaultValue<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered> Element in]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 37, - "key.doc.name" : "Environment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Environment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 510, - "key.line" : 37, - "key.modulename" : "BlueprintUI", - "key.name" : "Environment", - "key.namelength" : 11, - "key.nameoffset" : 4792, - "key.offset" : 4782, - "key.parsed_declaration" : "extension Environment", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public internal(set) var applyItemContentInfo: ApplyItemContentInfo<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.internal", - "key.length" : 13, - "key.offset" : 4974 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4967 - } - ], - "key.bodylength" : 118, - "key.bodyoffset" : 5038, - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ApplyItemContentInfo` which was passed to the `Item` before it was\nlast displayed or updated. Nil if not in a Listable `Item`.", - "key.doc.column" : 30, - "key.doc.comment" : "The `ApplyItemContentInfo` which was passed to the `Item` before it was\nlast displayed or updated. Nil if not in a Listable `Item`.", - "key.doc.declaration" : "public internal(set) var applyItemContentInfo: ApplyItemContentInfo? { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "applyItemContentInfo<\/Name>s:11BlueprintUI11EnvironmentV0A7UIListsE20applyItemContentInfo08ListableB005ApplyfgH0VSgvp<\/USR>public internal(set) var applyItemContentInfo: ApplyItemContentInfo? { get set }<\/Declaration>The ApplyItemContentInfo<\/codeVoice> which was passed to the Item<\/codeVoice> before it was last displayed or updated. Nil if not in a Listable Item<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 122, - "key.doc.name" : "applyItemContentInfo", - "key.doc.type" : "Other", - "key.doclength" : 144, - "key.docoffset" : 4819, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> internal<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> applyItemContentInfo<\/decl.name>: ApplyItemContentInfo<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 169, - "key.line" : 122, - "key.modulename" : "BlueprintUILists", - "key.name" : "applyItemContentInfo", - "key.namelength" : 20, - "key.nameoffset" : 4992, - "key.offset" : 4988, - "key.parsed_declaration" : "public internal(set) var applyItemContentInfo : ApplyItemContentInfo?", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ApplyItemContentInfo?", - "key.typeusr" : "$s10ListableUI20ApplyItemContentInfoVSgD", - "key.usr" : "s:11BlueprintUI11EnvironmentV0A7UIListsE20applyItemContentInfo08ListableB005ApplyfgH0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum ApplyItemContentInfoKey : EnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5167 - } - ], - "key.bodylength" : 67, - "key.bodyoffset" : 5222, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 5206 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ApplyItemContentInfoKey<\/decl.name> : EnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "EnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 115, - "key.line" : 127, - "key.modulename" : "BlueprintUILists", - "key.name" : "ApplyItemContentInfoKey", - "key.namelength" : 23, - "key.nameoffset" : 5180, - "key.offset" : 5175, - "key.parsed_declaration" : "private enum ApplyItemContentInfoKey : EnvironmentKey", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 127, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static let defaultValue: ApplyItemContentInfo<\/Type>?<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value\nhas been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/EnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from EnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> defaultValue<\/decl.name>: ApplyItemContentInfo<\/ref.struct>?<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 53, - "key.line" : 128, - "key.modulename" : "BlueprintUILists", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 5242, - "key.offset" : 5231, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.parsed_declaration" : "static let defaultValue : ApplyItemContentInfo? = nil", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 128, - "key.reusingastcontext" : false, - "key.typename" : "ApplyItemContentInfo?", - "key.typeusr" : "$s10ListableUI20ApplyItemContentInfoVSgD", - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.typename" : "Environment.ApplyItemContentInfoKey.Type", - "key.typeusr" : "$s11BlueprintUI11EnvironmentV0A7UIListsE23ApplyItemContentInfoKey33_00A2BB1FCE0BEE1B772989891DE46E9ALLOmD", - "key.usr" : "s:11BlueprintUI11EnvironmentV0A7UIListsE23ApplyItemContentInfoKey33_00A2BB1FCE0BEE1B772989891DE46E9ALLO" - } - ], - "key.typename" : "Environment.Type", - "key.typeusr" : "$s11BlueprintUI11EnvironmentVmD", - "key.usr" : "s:11BlueprintUI11EnvironmentV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol BlueprintItemContent : ItemContent<\/Type> where Self<\/Type>.BackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.ContentView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.OverlayDecorationView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.SelectedBackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.UnderlayDecorationView<\/Type> == BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5296 - } - ], - "key.bodylength" : 685, - "key.bodyoffset" : 5335, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nA `BlueprintItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : BlueprintItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: String {\n self.id\n }\n\n func element(with info : ApplyItemContentInfo) -> Element\n {\n Label(text: self.text) {\n $0.font = .systemFont(ofSize: 16.0, weight: .medium)\n $0.color = info.state.isActive ? .white : .darkGray\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n\n func backgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white)\n }\n\n func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white(0.2))\n }\n}\n```\nWhich uses the `backgroundElement` and `selectedBackgroundElement` methods\nto provide rendering of a background for the item, which will respond to its selection state.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `element`\nz-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `backgroundElement`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView", - "key.doc.discussion" : [ - { - "Para" : "A `BlueprintItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Which uses the `backgroundElement` and `selectedBackgroundElement` methods to provide rendering of a background for the item, which will respond to its selection state." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `element` z-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `backgroundElement`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "BlueprintItemContent<\/Name>s:16BlueprintUILists0A11ItemContentP<\/USR>public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView<\/Declaration>An ItemContent<\/codeVoice> specialized for use with Blueprint. Instead of providing custom views from createReusable{...}View<\/codeVoice>, and then updating them in apply(to:)<\/codeVoice>, you instead provide Blueprint elements, and Listable<\/codeVoice> handles mapping this to an underlying BlueprintView<\/codeVoice>.<\/Para><\/Abstract>A BlueprintItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Which uses the backgroundElement<\/codeVoice> and selectedBackgroundElement<\/codeVoice> methods to provide rendering of a background for the item, which will respond to its selection state.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) element<\/codeVoice> z-index 2) selectedBackgroundElement<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) backgroundElement<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 57, - "key.doc.name" : "BlueprintItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> BlueprintItemContent<\/decl.name> : ItemContent<\/ref.protocol> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.ContentView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 718, - "key.line" : 57, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintItemContent", - "key.namelength" : 20, - "key.nameoffset" : 5313, - "key.offset" : 5303, - "key.parsed_declaration" : "public extension BlueprintItemContent", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Default Implementations", - "key.offset" : 5350 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func backgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 5517, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, content has no background.", - "key.doc.column" : 10, - "key.doc.comment" : "By default, content has no background.", - "key.doc.declaration" : "func backgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "backgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentPAAE17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF<\/USR>func backgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>By default, content has no background.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 141, - "key.doc.name" : "backgroundElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 43, - "key.docoffset" : 5396, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> backgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 92, - "key.line" : 141, - "key.modulename" : "BlueprintUILists", - "key.name" : "backgroundElement(with:)", - "key.namelength" : 51, - "key.nameoffset" : 5448, - "key.offset" : 5443, - "key.parsed_declaration" : "func backgroundElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 141, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "backgroundElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func selectedBackgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 5679, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, content has no selected background.", - "key.doc.column" : 10, - "key.doc.comment" : "By default, content has no selected background.", - "key.doc.declaration" : "func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "selectedBackgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentPAAE25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>By default, content has no selected background.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 147, - "key.doc.name" : "selectedBackgroundElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 52, - "key.docoffset" : 5541, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> selectedBackgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 100, - "key.line" : 147, - "key.modulename" : "BlueprintUILists", - "key.name" : "selectedBackgroundElement(with:)", - "key.namelength" : 59, - "key.nameoffset" : 5602, - "key.offset" : 5597, - "key.parsed_declaration" : "func selectedBackgroundElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 147, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "selectedBackgroundElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func overlayDecorationElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 5839, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, content has no overlay decoration.", - "key.doc.column" : 10, - "key.doc.comment" : "By default, content has no overlay decoration.", - "key.doc.declaration" : "func overlayDecorationElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "overlayDecorationElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentPAAE24overlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func overlayDecorationElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>By default, content has no overlay decoration.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 153, - "key.doc.name" : "overlayDecorationElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 51, - "key.docoffset" : 5707, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> overlayDecorationElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 95, - "key.line" : 153, - "key.modulename" : "BlueprintUILists", - "key.name" : "overlayDecorationElement(with:)", - "key.namelength" : 58, - "key.nameoffset" : 5767, - "key.offset" : 5762, - "key.parsed_declaration" : "func overlayDecorationElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 153, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "overlayDecorationElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE24overlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func underlayDecorationElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 6001, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, content has no underlay decoration.", - "key.doc.column" : 10, - "key.doc.comment" : "By default, content has no underlay decoration.", - "key.doc.declaration" : "func underlayDecorationElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "underlayDecorationElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentPAAE25underlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func underlayDecorationElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>By default, content has no underlay decoration.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 158, - "key.doc.name" : "underlayDecorationElement(with:)", - "key.doc.type" : "Function", - "key.doclength" : 52, - "key.docoffset" : 5867, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> underlayDecorationElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 96, - "key.line" : 158, - "key.modulename" : "BlueprintUILists", - "key.name" : "underlayDecorationElement(with:)", - "key.namelength" : 59, - "key.nameoffset" : 5928, - "key.offset" : 5923, - "key.parsed_declaration" : "func underlayDecorationElement(with info : ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 158, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "underlayDecorationElement(with: ApplyItemContentInfo) -> Element?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE25underlayDecorationElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - } - ], - "key.typename" : "BlueprintItemContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A11ItemContent_pmD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol BlueprintItemContent : ItemContent<\/Type> where Self<\/Type>.BackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.ContentView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.OverlayDecorationView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.SelectedBackgroundView<\/Type> == BlueprintView<\/Type>, Self<\/Type>.UnderlayDecorationView<\/Type> == BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6024 - } - ], - "key.bodylength" : 3059, - "key.bodyoffset" : 6063, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` specialized for use with Blueprint. Instead of providing\ncustom views from `createReusable{...}View`, and then updating them in `apply(to:)`,\nyou instead provide Blueprint elements, and `Listable` handles mapping this to an underlying `BlueprintView`.\n\nA `BlueprintItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : BlueprintItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: String {\n self.id\n }\n\n func element(with info : ApplyItemContentInfo) -> Element\n {\n Label(text: self.text) {\n $0.font = .systemFont(ofSize: 16.0, weight: .medium)\n $0.color = info.state.isActive ? .white : .darkGray\n }\n .inset(horizontal: 15.0, vertical: 10.0)\n }\n\n func backgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white)\n }\n\n func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?\n {\n Box(backgroundColor: .white(0.2))\n }\n}\n```\nWhich uses the `backgroundElement` and `selectedBackgroundElement` methods\nto provide rendering of a background for the item, which will respond to its selection state.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `element`\nz-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `backgroundElement`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView", - "key.doc.discussion" : [ - { - "Para" : "A `BlueprintItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Which uses the `backgroundElement` and `selectedBackgroundElement` methods to provide rendering of a background for the item, which will respond to its selection state." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `element` z-index 2) `selectedBackgroundElement` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `backgroundElement`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "BlueprintItemContent<\/Name>s:16BlueprintUILists0A11ItemContentP<\/USR>public protocol BlueprintItemContent : ListableUI.ItemContent where Self.BackgroundView == BlueprintUI.BlueprintView, Self.ContentView == BlueprintUI.BlueprintView, Self.OverlayDecorationView == BlueprintUI.BlueprintView, Self.SelectedBackgroundView == BlueprintUI.BlueprintView, Self.UnderlayDecorationView == BlueprintUI.BlueprintView<\/Declaration>An ItemContent<\/codeVoice> specialized for use with Blueprint. Instead of providing custom views from createReusable{...}View<\/codeVoice>, and then updating them in apply(to:)<\/codeVoice>, you instead provide Blueprint elements, and Listable<\/codeVoice> handles mapping this to an underlying BlueprintView<\/codeVoice>.<\/Para><\/Abstract>A BlueprintItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element?]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Which uses the backgroundElement<\/codeVoice> and selectedBackgroundElement<\/codeVoice> methods to provide rendering of a background for the item, which will respond to its selection state.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) element<\/codeVoice> z-index 2) selectedBackgroundElement<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) backgroundElement<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 57, - "key.doc.name" : "BlueprintItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> BlueprintItemContent<\/decl.name> : ItemContent<\/ref.protocol> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.ContentView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement>, Self<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype> == BlueprintView<\/ref.class><\/decl.generic_type_requirement><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3092, - "key.line" : 57, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintItemContent", - "key.namelength" : 20, - "key.nameoffset" : 6041, - "key.offset" : 6031, - "key.parsed_declaration" : "public extension BlueprintItemContent", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 164, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 17, - "key.name" : "MARK: ItemContent", - "key.offset" : 6078 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func apply(to views: ItemContentViews<\/Type><Self<\/Type>>, for reason: ApplyReason<\/Type>, with info: ApplyItemContentInfo<\/Type>)<\/Declaration>", - "key.bodylength" : 1869, - "key.bodyoffset" : 6335, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Maps the `BlueprintItemContent` methods into the underlying `BlueprintView`s used to render the element.", - "key.doc.column" : 10, - "key.doc.comment" : "Maps the `BlueprintItemContent` methods into the underlying `BlueprintView`s used to render the element.", - "key.doc.declaration" : "func apply(to views: ItemContentViews, for reason: ApplyReason, with info: ApplyItemContentInfo)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "apply(to:for:with:)<\/Name>s:16BlueprintUILists0A11ItemContentPAAE5apply2to3for4withy10ListableUI0cD5ViewsVyxG_AH11ApplyReasonOAH0lcD4InfoVtF<\/USR>func apply(to views: ItemContentViews<Self>, for reason: ApplyReason, with info: ApplyItemContentInfo)<\/Declaration>Maps the BlueprintItemContent<\/codeVoice> methods into the underlying BlueprintView<\/codeVoice>s used to render the element.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 171, - "key.doc.name" : "apply(to:for:with:)", - "key.doc.type" : "Function", - "key.doclength" : 109, - "key.docoffset" : 6112, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> views<\/decl.var.parameter.name>: ItemContentViews<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1980, - "key.line" : 171, - "key.modulename" : "BlueprintUILists", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 99, - "key.nameoffset" : 6230, - "key.offset" : 6225, - "key.parsed_declaration" : "func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo)", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 171, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "apply(to: ItemContentViews<Self>, for: ApplyReason, with: ApplyItemContentInfo)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemContentViews, ApplyReason, ApplyItemContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withy10ListableUI16ItemContentViewsVyxG_AD11ApplyReasonOAD0ifG4InfoVtcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE5apply2to3for4withy10ListableUI0cD5ViewsVyxG_AH11ApplyReasonOAH0lcD4InfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableContentView(frame: CGRect<\/Type>) -> ContentView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 8284, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new content view used to render the content.\n\n### Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "If there's no element, clear out any past element, but only if the view was loaded.", - "key.doc.declaration" : "static func createReusableContentView(frame: CGRect) -> Self.ContentView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableContentView(frame:)<\/Name>s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ<\/USR>static func createReusableContentView(frame: CGRect) -> Self.ContentView<\/Declaration>Create and return a new content view used to render the content.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 375, - "key.doc.name" : "createReusableContentView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableContentView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ContentView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 118, - "key.line" : 217, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableContentView(frame:)", - "key.namelength" : 40, - "key.nameoffset" : 8227, - "key.offset" : 8215, - "key.parsed_declaration" : "static func createReusableContentView(frame: CGRect) -> ContentView", - "key.parsed_scope.end" : 219, - "key.parsed_scope.start" : 217, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableContentView(frame: CGRect) -> Self.ContentView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.ContentView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 8418, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 400, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 124, - "key.line" : 221, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 43, - "key.nameoffset" : 8355, - "key.offset" : 8343, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 221, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> Self.BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableSelectedBackgroundView(frame: CGRect<\/Type>) -> SelectedBackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 8568, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's selected background.\n\nThis view is displayed when the content is highlighted or selected.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableSelectedBackgroundView(frame: CGRect) -> Self.SelectedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the content is highlighted or selected." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableSelectedBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableSelectedBackgroundView(frame: CGRect) -> Self.SelectedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s selected background.<\/Para><\/Abstract>This view is displayed when the content is highlighted or selected.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 425, - "key.doc.name" : "createReusableSelectedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableSelectedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> SelectedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 140, - "key.line" : 225, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableSelectedBackgroundView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 8489, - "key.offset" : 8477, - "key.parsed_declaration" : "static func createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 225, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableSelectedBackgroundView(frame: CGRect) -> Self.SelectedBackgroundView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusableSelectedBackgroundView(frame: CGRect) -> Self.SelectedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.SelectedBackgroundView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableOverlayDecorationView(frame: CGRect<\/Type>) -> OverlayDecorationView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 8716, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new overlay decoration view used to render any required decorations over the content.\nThe decoration view appears above all content, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableOverlayDecorationView(frame: CGRect) -> Self.OverlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableOverlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableOverlayDecorationView(frame: CGRect) -> Self.OverlayDecorationView<\/Declaration>Create and return a new overlay decoration view used to render any required decorations over the content. The decoration view appears above all content, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 445, - "key.doc.name" : "createReusableOverlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableOverlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> OverlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 138, - "key.line" : 229, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableOverlayDecorationView(frame:)", - "key.namelength" : 50, - "key.nameoffset" : 8639, - "key.offset" : 8627, - "key.parsed_declaration" : "static func createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView", - "key.parsed_scope.end" : 231, - "key.parsed_scope.start" : 229, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableOverlayDecorationView(frame: CGRect) -> Self.OverlayDecorationView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusableOverlayDecorationView(frame: CGRect) -> Self.OverlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.OverlayDecorationView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableUnderlayDecorationView(frame: CGRect<\/Type>) -> UnderlayDecorationView<\/Type><\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 8866, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new underlay decoration view used to render any required decorations under the content.\nThe decoration view appears under all content as a background, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableUnderlayDecorationView(frame: CGRect) -> Self.UnderlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableUnderlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableUnderlayDecorationView(frame: CGRect) -> Self.UnderlayDecorationView<\/Declaration>Create and return a new underlay decoration view used to render any required decorations under the content. The decoration view appears under all content as a background, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 453, - "key.doc.name" : "createReusableUnderlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableUnderlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UnderlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 140, - "key.line" : 233, - "key.modulename" : "BlueprintUILists", - "key.name" : "createReusableUnderlayDecorationView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 8787, - "key.offset" : 8775, - "key.parsed_declaration" : "static func createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 233, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableUnderlayDecorationView(frame: CGRect) -> Self.UnderlayDecorationView<\/RelatedName>" - }, - { - "key.annotated_decl" : "createReusableUnderlayDecorationView(frame: CGRect) -> Self.UnderlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.UnderlayDecorationView", - "key.typeusr" : "$s5frame11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func newBlueprintView(with frame: CGRect<\/Type>) -> BlueprintView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8925 - } - ], - "key.bodylength" : 119, - "key.bodyoffset" : 9001, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newBlueprintView<\/decl.name>(with<\/decl.var.parameter.argument_label> frame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BlueprintView<\/ref.class><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 188, - "key.line" : 237, - "key.modulename" : "BlueprintUILists", - "key.name" : "newBlueprintView(with:)", - "key.namelength" : 37, - "key.nameoffset" : 8945, - "key.offset" : 8933, - "key.parsed_declaration" : "private static func newBlueprintView(with frame : CGRect) -> BlueprintView", - "key.parsed_scope.end" : 242, - "key.parsed_scope.start" : 237, - "key.receivers" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: BlueprintView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: BlueprintView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 238, - "key.modulename" : "BlueprintUILists", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 9014, - "key.offset" : 9010, - "key.parsed_declaration" : "let view = BlueprintView(frame: frame)", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 238, - "key.reusingastcontext" : false, - "key.typename" : "BlueprintView", - "key.typeusr" : "$s11BlueprintUI0A4ViewCD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE03newA4View33_00A2BB1FCE0BEE1B772989891DE46E9ALL4with0A2UI0aF0CSo6CGRectV_tFZ4viewL_AIvp" - } - ], - "key.typename" : " (Self.Type) -> (CGRect) -> BlueprintView", - "key.typeusr" : "$s4with11BlueprintUI0B4ViewCSo6CGRectV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentPAAE03newA4View33_00A2BB1FCE0BEE1B772989891DE46E9ALL4with0A2UI0aF0CSo6CGRectV_tFZ" - } - ], - "key.typename" : "BlueprintItemContent.Type", - "key.typeusr" : "$s16BlueprintUILists0A11ItemContent_pmD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "protocol Element<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 9126 - } - ], - "key.bodylength" : 238, - "key.bodyoffset" : 9157, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Conforming types represent a rectangular content area in a two-dimensional\nlayout space.\n\n***\n\nThe ultimate purpose of an element is to provide visual content. This can be\ndone in two ways:\n\n- By providing a view description (`ViewDescription`).\n\n- By providing child elements that will be displayed recursively within\n the local coordinate space.\n\n***\n\nA custom element might look something like this:\n\n```\nstruct MyElement: Element {\n\n var backgroundColor: UIColor = .red\n\n \/\/ Returns a single child element.\n var content: ElementContent {\n return ElementContent(child: Label(text: \"😂\"))\n }\n\n \/\/ Providing a view description means that this element will be\n \/\/ backed by a UIView instance when displayed in a `BlueprintView`.\n func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription? {\n return UIView.describe { config in\n config.bind(backgroundColor, to: \\.backgroundColor)\n }\n }\n\n}\n```\n", - "key.doc.column" : 17, - "key.doc.declaration" : "protocol Element", - "key.doc.discussion" : [ - { - "Para" : "The ultimate purpose of an element is to provide visual content. This can be done in two ways:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "A custom element might look something like this:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "Element<\/Name>s:11BlueprintUI7ElementP<\/USR>protocol Element<\/Declaration>Conforming types represent a rectangular content area in a two-dimensional layout space.<\/Para><\/Abstract>]]><\/rawHTML>The ultimate purpose of an element is to provide visual content. This can be done in two ways:<\/Para>By providing a view description (ViewDescription<\/codeVoice>).<\/Para><\/Item>By providing child elements that will be displayed recursively within the local coordinate space.<\/Para><\/Item><\/List-Bullet>]]><\/rawHTML>A custom element might look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ViewDescription? {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 41, - "key.doc.name" : "Element", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> Element<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 258, - "key.line" : 41, - "key.modulename" : "BlueprintUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 9148, - "key.offset" : 9138, - "key.parsed_declaration" : "fileprivate extension Element", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 246, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func adaptedEnvironment(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type><\/Declaration>", - "key.bodylength" : 156, - "key.bodyoffset" : 9237, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> adaptedEnvironment<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 227, - "key.line" : 248, - "key.modulename" : "BlueprintUILists", - "key.name" : "adaptedEnvironment(with:)", - "key.namelength" : 52, - "key.nameoffset" : 9172, - "key.offset" : 9167, - "key.parsed_declaration" : "func adaptedEnvironment(with info : ApplyItemContentInfo) -> Element", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 248, - "key.receivers" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "adaptedEnvironment(key:value:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "adaptedEnvironment(keyPath:value:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "adaptedEnvironment(by:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> any Element", - "key.typeusr" : "$s4with11BlueprintUI7Element_p08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:11BlueprintUI7ElementP0A7UIListsE18adaptedEnvironment33_00A2BB1FCE0BEE1B772989891DE46E9ALL4withAaB_p08ListableB020ApplyItemContentInfoV_tF" - } - ], - "key.typename" : "Element.Type", - "key.typeusr" : "$s11BlueprintUI7Element_pmD", - "key.usr" : "s:11BlueprintUI7ElementP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Deprecations.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1292, - "key.offset" : 0, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 31, - "key.name" : "MARK: Deprecated Month XX, 20XX", - "key.offset" : 1257 - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Exports.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 221, - "key.offset" : 0, - "key.substructure" : [ - - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4717, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func ElementHeaderFooter<Represented>(_ represented: Represented<\/Type>, isEquivalent: @escaping (Represented<\/Type>, Represented<\/Type>) -> Bool<\/Type>, element: @escaping (Represented<\/Type>) -> Element<\/Type>, background: @escaping (Represented<\/Type>) -> Element<\/Type>? = { _ in nil }, pressedBackground: @escaping (Represented<\/Type>) -> Element<\/Type>? = { _ in nil }, configure: (inout HeaderFooter<\/Type><ElementHeaderFooterContent<\/Type><Represented<\/Type>>>) -> () = { _ in }) -> HeaderFooter<\/Type><ElementHeaderFooterContent<\/Type><Represented<\/Type>>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1105 - } - ], - "key.bodylength" : 339, - "key.bodyoffset" : 1619, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a way to create a `HeaderFooter` for your Blueprint elements without\nrequiring the creation of a new `BlueprintHeaderFooterContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your header or footer is to be used in more than one place, it is recommended that you\ncreate a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code.\n\n### Example\n```\nsection.header = ElementHeaderFooter(album) { lhs, rhs in\n lhs.value != rhs.value\n}, element: { album in\n AlbumElement(...)\n}, background: { album in\n ...\n}, pressedBackground: album in\n ...\n}, configure: { header in\n ...\n}\n```", - "key.doc.column" : 13, - "key.doc.comment" : "\nProvides a way to create a `HeaderFooter` for your Blueprint elements without\nrequiring the creation of a new `BlueprintHeaderFooterContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your header or footer is to be used in more than one place, it is recommended that you\ncreate a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code.\n\n### Example\n```\nsection.header = ElementHeaderFooter(album) { lhs, rhs in\n lhs.value != rhs.value\n}, element: { album in\n AlbumElement(...)\n}, background: { album in\n ...\n}, pressedBackground: album in\n ...\n}, configure: { header in\n ...\n}\n```", - "key.doc.declaration" : "public func ElementHeaderFooter(_ represented: Represented, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented) -> Element, background: @escaping (Represented) -> Element? = { _ in nil }, pressedBackground: @escaping (Represented) -> Element? = { _ in nil }, configure: (inout HeaderFooter>) -> () = { _ in }) -> HeaderFooter>", - "key.doc.discussion" : [ - { - "Para" : "Most arguments on this method are not required – you must only provide an input and an element provider." - }, - { - "Para" : "This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type." - }, - { - "Para" : "If your header or footer is to be used in more than one place, it is recommended that you create a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.doc.full_as_xml" : "ElementHeaderFooter(_:isEquivalent:element:background:pressedBackground:configure:)<\/Name>s:16BlueprintUILists19ElementHeaderFooter_12isEquivalent7element10background17pressedBackground9configure10ListableUI0dE0VyAA0cdE7ContentVyxGGx_Sbx_xtc0aN00C0_pxcAoP_pSgxcAQxcyANzXEtlF<\/USR>public func ElementHeaderFooter<Represented>(_ represented: Represented, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented) -> Element, background: @escaping (Represented) -> Element? = { _ in nil }, pressedBackground: @escaping (Represented) -> Element? = { _ in nil }, configure: (inout HeaderFooter<ElementHeaderFooterContent<Represented>>) -> () = { _ in }) -> HeaderFooter<ElementHeaderFooterContent<Represented>><\/Declaration>Provides a way to create a HeaderFooter<\/codeVoice> for your Blueprint elements without requiring the creation of a new BlueprintHeaderFooterContent<\/codeVoice> struct.<\/Para><\/Abstract>Most arguments on this method are not required – you must only provide an input and an element provider.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type.<\/Para>If your header or footer is to be used in more than one place, it is recommended that you create a BlueprintHeaderFooterContent<\/codeVoice> struct to share logic to avoid duplicate code.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 40, - "key.doc.name" : "ElementHeaderFooter(_:isEquivalent:element:background:pressedBackground:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 970, - "key.docoffset" : 135, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> ElementHeaderFooter<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> represented<\/decl.var.parameter.name>: Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, isEquivalent<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, element<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, background<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _ in nil }<\/decl.var.parameter>, pressedBackground<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _ in nil }<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><ElementHeaderFooterContent<\/ref.struct><Represented<\/ref.generic_type_param>>><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> HeaderFooter<\/ref.struct><ElementHeaderFooterContent<\/ref.struct><Represented<\/ref.generic_type_param>>><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 847, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementHeaderFooter(_:isEquivalent:element:background:pressedBackground:configure:)", - "key.namelength" : 443, - "key.nameoffset" : 1117, - "key.offset" : 1112, - "key.parsed_declaration" : "public func ElementHeaderFooter(\n _ represented : Represented,\n \n isEquivalent : @escaping (Represented, Represented) -> Bool,\n \n element : @escaping (Represented) -> Element,\n background : @escaping (Represented) -> Element? = { _ in nil },\n pressedBackground : @escaping (Represented) -> Element? = { _ in nil },\n \n configure : (inout HeaderFooter>) -> () = { _ in }\n \n) -> HeaderFooter>", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 40, - "key.related_decls" : [ - { - "key.annotated_decl" : "ElementHeaderFooter(_:element:background:pressedBackground:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented<\/Declaration>", - "key.column" : 33, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 1137, - "key.offset" : 1137, - "key.parsed_declaration" : "public func ElementHeaderFooter (Represented, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented) -> any Element, background: @escaping (Represented) -> (any Element)?, pressedBackground: @escaping (Represented) -> (any Element)?, configure: (inout HeaderFooter>) -> ()) -> HeaderFooter>", - "key.typeusr" : "$s_12isEquivalent7element10background17pressedBackground9configure10ListableUI12HeaderFooterVy16BlueprintUILists07ElementjK7ContentVyxGGx_Sbx_xtc0lI00N0_pxcAnO_pSgxcAPxcyAMzXEtcluD", - "key.usr" : "s:16BlueprintUILists19ElementHeaderFooter_12isEquivalent7element10background17pressedBackground9configure10ListableUI0dE0VyAA0cdE7ContentVyxGGx_Sbx_xtc0aN00C0_pxcAoP_pSgxcAQxcyANzXEtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func ElementHeaderFooter<Represented>(_ represented: Represented<\/Type>, element: @escaping (Represented<\/Type>) -> Element<\/Type>, background: @escaping (Represented<\/Type>) -> Element<\/Type>? = { _ in nil }, pressedBackground: @escaping (Represented<\/Type>) -> Element<\/Type>? = { _ in nil }, configure: (inout HeaderFooter<\/Type><ElementHeaderFooterContent<\/Type><Represented<\/Type>>>) -> () = { _ in }) -> HeaderFooter<\/Type><ElementHeaderFooterContent<\/Type><Represented<\/Type>>> where Represented<\/Type> : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2883 - } - ], - "key.bodylength" : 339, - "key.bodyoffset" : 3353, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a way to create a `HeaderFooter` for your Blueprint elements without\nrequiring the creation of a new `BlueprintHeaderFooterContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input and an element provider.\n\nNote\n----\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your header or footer is to be used in more than one place, it is recommended that you\ncreate a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code.\n\nExample\n-------\n```\nsection.header = ElementHeaderFooter(album) { album in\n AlbumElement(...)\n}, background: { album in\n ...\n}, pressedBackground: album in\n ...\n}, configure: { header in\n ...\n}\n```", - "key.doc.column" : 13, - "key.doc.comment" : "\nProvides a way to create a `HeaderFooter` for your Blueprint elements without\nrequiring the creation of a new `BlueprintHeaderFooterContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input and an element provider.\n\nNote\n----\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your header or footer is to be used in more than one place, it is recommended that you\ncreate a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code.\n\nExample\n-------\n```\nsection.header = ElementHeaderFooter(album) { album in\n AlbumElement(...)\n}, background: { album in\n ...\n}, pressedBackground: album in\n ...\n}, configure: { header in\n ...\n}\n```", - "key.doc.declaration" : "public func ElementHeaderFooter(_ represented: Represented, element: @escaping (Represented) -> Element, background: @escaping (Represented) -> Element? = { _ in nil }, pressedBackground: @escaping (Represented) -> Element? = { _ in nil }, configure: (inout HeaderFooter>) -> () = { _ in }) -> HeaderFooter> where Represented : Equatable", - "key.doc.discussion" : [ - { - "Para" : "Most arguments on this method are not required – you must only provide an input and an element provider." - }, - { - "Para" : "This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type." - }, - { - "Para" : "If your header or footer is to be used in more than one place, it is recommended that you create a `BlueprintHeaderFooterContent` struct to share logic to avoid duplicate code." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.doc.full_as_xml" : "ElementHeaderFooter(_:element:background:pressedBackground:configure:)<\/Name>s:16BlueprintUILists19ElementHeaderFooter_7element10background17pressedBackground9configure10ListableUI0dE0VyAA0cdE7ContentVyxGGx_0aL00C0_pxcAnO_pSgxcAPxcyAMzXEtSQRzlF<\/USR>public func ElementHeaderFooter<Represented>(_ represented: Represented, element: @escaping (Represented) -> Element, background: @escaping (Represented) -> Element? = { _ in nil }, pressedBackground: @escaping (Represented) -> Element? = { _ in nil }, configure: (inout HeaderFooter<ElementHeaderFooterContent<Represented>>) -> () = { _ in }) -> HeaderFooter<ElementHeaderFooterContent<Represented>> where Represented : Equatable<\/Declaration>Provides a way to create a HeaderFooter<\/codeVoice> for your Blueprint elements without requiring the creation of a new BlueprintHeaderFooterContent<\/codeVoice> struct.<\/Para><\/Abstract>Most arguments on this method are not required – you must only provide an input and an element provider.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type.<\/Para>If your header or footer is to be used in more than one place, it is recommended that you create a BlueprintHeaderFooterContent<\/codeVoice> struct to share logic to avoid duplicate code.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 93, - "key.doc.name" : "ElementHeaderFooter(_:element:background:pressedBackground:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 922, - "key.docoffset" : 1961, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> ElementHeaderFooter<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> represented<\/decl.var.parameter.name>: Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, element<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, background<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _ in nil }<\/decl.var.parameter>, pressedBackground<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _ in nil }<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><ElementHeaderFooterContent<\/ref.struct><Represented<\/ref.generic_type_param>>><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> HeaderFooter<\/ref.struct><ElementHeaderFooterContent<\/ref.struct><Represented<\/ref.generic_type_param>>><\/decl.function.returntype> where<\/syntaxtype.keyword> Represented<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 803, - "key.line" : 93, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementHeaderFooter(_:element:background:pressedBackground:configure:)", - "key.namelength" : 399, - "key.nameoffset" : 2895, - "key.offset" : 2890, - "key.parsed_declaration" : "public func ElementHeaderFooter(\n _ represented : Represented,\n \n element : @escaping (Represented) -> Element,\n background : @escaping (Represented) -> Element? = { _ in nil },\n pressedBackground : @escaping (Represented) -> Element? = { _ in nil },\n \n configure : (inout HeaderFooter>) -> () = { _ in }\n \n) -> HeaderFooter>", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 93, - "key.related_decls" : [ - { - "key.annotated_decl" : "ElementHeaderFooter(_:isEquivalent:element:background:pressedBackground:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented : Equatable<\/Type><\/Declaration>", - "key.column" : 33, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2927 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 93, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 2915, - "key.offset" : 2915, - "key.parsed_declaration" : "public func ElementHeaderFooter (Represented, element: @escaping (Represented) -> any Element, background: @escaping (Represented) -> (any Element)?, pressedBackground: @escaping (Represented) -> (any Element)?, configure: (inout HeaderFooter>) -> ()) -> HeaderFooter>", - "key.typeusr" : "$s_7element10background17pressedBackground9configure10ListableUI12HeaderFooterVy16BlueprintUILists07ElementhI7ContentVyxGGx_0jG00L0_pxcAmN_pSgxcAOxcyALzXEtcSQRzluD", - "key.usr" : "s:16BlueprintUILists19ElementHeaderFooter_7element10background17pressedBackground9configure10ListableUI0dE0VyAA0cdE7ContentVyxGGx_0aL00C0_pxcAnO_pSgxcAPxcyAMzXEtSQRzlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ElementHeaderFooterContent<Represented> : BlueprintHeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3894 - } - ], - "key.bodylength" : 735, - "key.bodyoffset" : 3980, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `BlueprintHeaderFooterContent` type that is used to provide\na lightweight way to present an `Element`, without needing to provide an entirely\nnew `BlueprintHeaderFooterContent` type.", - "key.doc.column" : 15, - "key.doc.comment" : "The `BlueprintHeaderFooterContent` type that is used to provide\na lightweight way to present an `Element`, without needing to provide an entirely\nnew `BlueprintHeaderFooterContent` type.", - "key.doc.declaration" : "public struct ElementHeaderFooterContent : BlueprintHeaderFooterContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.doc.full_as_xml" : "ElementHeaderFooterContent<\/Name>s:16BlueprintUILists26ElementHeaderFooterContentV<\/USR>public struct ElementHeaderFooterContent<Represented> : BlueprintHeaderFooterContent<\/Declaration>The BlueprintHeaderFooterContent<\/codeVoice> type that is used to provide a lightweight way to present an Element<\/codeVoice>, without needing to provide an entirely new BlueprintHeaderFooterContent<\/codeVoice> type.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 119, - "key.doc.name" : "ElementHeaderFooterContent", - "key.doc.type" : "Class", - "key.doclength" : 199, - "key.docoffset" : 3695, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 3950 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ElementHeaderFooterContent<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>> : BlueprintHeaderFooterContent<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "BlueprintHeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 815, - "key.line" : 119, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementHeaderFooterContent", - "key.namelength" : 26, - "key.nameoffset" : 3908, - "key.offset" : 3901, - "key.parsed_declaration" : "public struct ElementHeaderFooterContent : BlueprintHeaderFooterContent", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented<\/Declaration>", - "key.column" : 42, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 119, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 3935, - "key.offset" : 3935, - "key.parsed_declaration" : "public struct ElementHeaderFooterContentpublic let represented: Represented<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3985 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> represented<\/decl.name>: Represented<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 121, - "key.modulename" : "BlueprintUILists", - "key.name" : "represented", - "key.namelength" : 11, - "key.nameoffset" : 3996, - "key.offset" : 3992, - "key.parsed_declaration" : "public let represented : Represented", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "Represented", - "key.typeusr" : "$sxD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV11representedxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let isEquivalentProvider: (Represented<\/Type>, Represented<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isEquivalentProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 61, - "key.line" : 123, - "key.modulename" : "BlueprintUILists", - "key.name" : "isEquivalentProvider", - "key.namelength" : 20, - "key.nameoffset" : 4031, - "key.offset" : 4027, - "key.parsed_declaration" : "let isEquivalentProvider : (Represented, Represented) -> Bool", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 123, - "key.reusingastcontext" : false, - "key.typename" : "(Represented, Represented) -> Bool", - "key.typeusr" : "$sySbx_xtcD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV20isEquivalentProviderySbx_xtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let elementProvider: (Represented<\/Type>) -> Element<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> elementProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 124, - "key.modulename" : "BlueprintUILists", - "key.name" : "elementProvider", - "key.namelength" : 15, - "key.nameoffset" : 4097, - "key.offset" : 4093, - "key.parsed_declaration" : "let elementProvider : (Represented) -> Element", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 124, - "key.reusingastcontext" : false, - "key.typename" : "(Represented) -> any Element", - "key.typeusr" : "$sy11BlueprintUI7Element_pxcD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV15elementProvidery0A2UI0C0_pxcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let backgroundProvider: (Represented<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> backgroundProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 125, - "key.modulename" : "BlueprintUILists", - "key.name" : "backgroundProvider", - "key.namelength" : 18, - "key.nameoffset" : 4148, - "key.offset" : 4144, - "key.parsed_declaration" : "let backgroundProvider : (Represented) -> Element?", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.typename" : "(Represented) -> (any Element)?", - "key.typeusr" : "$sy11BlueprintUI7Element_pSgxcD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV18backgroundProvidery0A2UI0C0_pSgxcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let pressedBackgroundProvider: (Represented<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> pressedBackgroundProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 57, - "key.line" : 126, - "key.modulename" : "BlueprintUILists", - "key.name" : "pressedBackgroundProvider", - "key.namelength" : 25, - "key.nameoffset" : 4203, - "key.offset" : 4199, - "key.parsed_declaration" : "let pressedBackgroundProvider : (Represented) -> Element?", - "key.parsed_scope.end" : 126, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.typename" : "(Represented) -> (any Element)?", - "key.typeusr" : "$sy11BlueprintUI7Element_pSgxcD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV25pressedBackgroundProvidery0A2UI0C0_pSgxcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func isEquivalent(to other: `Self`) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4266 - } - ], - "key.bodylength" : 76, - "key.bodyoffset" : 4316, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 120, - "key.line" : 128, - "key.modulename" : "BlueprintUILists", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 28, - "key.nameoffset" : 4278, - "key.offset" : 4273, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP12isEquivalent2toSbx_tF" - } - ], - "key.parsed_declaration" : "public func isEquivalent(to other: Self) -> Bool", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 128, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ElementHeaderFooterContent) -> (ElementHeaderFooterContent) -> Bool", - "key.typeusr" : "$s2toSb16BlueprintUILists26ElementHeaderFooterContentVyxG_tcD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV12isEquivalent2toSbACyxG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var elementRepresentation: Element<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4403 - } - ], - "key.bodylength" : 52, - "key.bodyoffset" : 4447, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Required. Create and return the Blueprint element used to represent the content.", - "key.doc.column" : 9, - "key.doc.declaration" : "var elementRepresentation: Element { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "elementRepresentation<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP21elementRepresentation0A2UI7Element_pvp<\/USR>var elementRepresentation: Element { get }<\/Declaration>Required. Create and return the Blueprint element used to represent the content.<\/Para><\/Abstract>This documentation comment was inherited from BlueprintHeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "elementRepresentation", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> elementRepresentation<\/decl.name>: Element<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 90, - "key.line" : 132, - "key.modulename" : "BlueprintUILists", - "key.name" : "elementRepresentation", - "key.namelength" : 21, - "key.nameoffset" : 4414, - "key.offset" : 4410, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP21elementRepresentation0A2UI7Element_pvp" - } - ], - "key.parsed_declaration" : "public var elementRepresentation : Element", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.typename" : "any Element", - "key.typeusr" : "$s11BlueprintUI7Element_pD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP21elementRepresentation0A2UI7Element_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var background: Element<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4510 - } - ], - "key.bodylength" : 55, - "key.bodyoffset" : 4544, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `pressedBackground`, if your header\nhas an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.\n", - "key.doc.column" : 9, - "key.doc.declaration" : "var background: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "background<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp<\/USR>var background: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content. You usually provide this method alongside pressedBackground<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no background.<\/Para>This documentation comment was inherited from BlueprintHeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 81, - "key.doc.name" : "background", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> background<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 83, - "key.line" : 136, - "key.modulename" : "BlueprintUILists", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 4521, - "key.offset" : 4517, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp" - } - ], - "key.parsed_declaration" : "public var background : Element?", - "key.parsed_scope.end" : 138, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP10background0A2UI7Element_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pressedBackground: Element<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4610 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 4651, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed.\nYou usually provide this method alongside `background`, if your header has an `onTap` handler.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.\n", - "key.doc.column" : 9, - "key.doc.declaration" : "var pressedBackground: Element? { get }", - "key.doc.discussion" : [ - { - "Para" : "The default implementation of this method returns nil, and provides no selected background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintHeaderFooterContent.swift", - "key.doc.full_as_xml" : "pressedBackground<\/Name>s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp<\/USR>var pressedBackground: Element? { get }<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content when it is pressed. You usually provide this method alongside background<\/codeVoice>, if your header has an onTap<\/codeVoice> handler.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no selected background.<\/Para>This documentation comment was inherited from BlueprintHeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 89, - "key.doc.name" : "pressedBackground", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pressedBackground<\/decl.name>: Element<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 97, - "key.line" : 140, - "key.modulename" : "BlueprintUILists", - "key.name" : "pressedBackground", - "key.namelength" : 17, - "key.nameoffset" : 4621, - "key.offset" : 4617, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp" - } - ], - "key.parsed_declaration" : "public var pressedBackground : Element?", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.typename" : "(any Element)?", - "key.typeusr" : "$s11BlueprintUI7Element_pSgD", - "key.usr" : "s:16BlueprintUILists0A19HeaderFooterContentP17pressedBackground0A2UI7Element_pSgvp" - } - ], - "key.typename" : "ElementHeaderFooterContent.Type", - "key.typeusr" : "$s16BlueprintUILists26ElementHeaderFooterContentVyxGmD", - "key.usr" : "s:16BlueprintUILists26ElementHeaderFooterContentV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1816, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func listableInternalFatal(_ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line) -> Never<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 114 - } - ], - "key.bodylength" : 238, - "key.bodyoffset" : 280, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listableInternalFatal<\/decl.name>(_<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>) -> Never<\/ref.enum><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 387, - "key.line" : 12, - "key.modulename" : "BlueprintUILists", - "key.name" : "listableInternalFatal(_:file:line:)", - "key.namelength" : 132, - "key.nameoffset" : 137, - "key.offset" : 132, - "key.parsed_declaration" : "func listableInternalFatal(\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n) -> Never", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> String, StaticString, UInt) -> Never", - "key.typeusr" : "$s_4file4lines5NeverOSSyXK_s12StaticStringVSutcD", - "key.usr" : "s:16BlueprintUILists21listableInternalFatal_4file4lines5NeverOSSyXK_s12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func listableInternalPrecondition(_ condition: @autoclosure () -> Bool<\/Type>, _ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 521 - } - ], - "key.bodylength" : 270, - "key.bodyoffset" : 727, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listableInternalPrecondition<\/decl.name>(_<\/decl.var.parameter.argument_label> condition<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 459, - "key.line" : 31, - "key.modulename" : "BlueprintUILists", - "key.name" : "listableInternalPrecondition(_:_:file:line:)", - "key.namelength" : 181, - "key.nameoffset" : 544, - "key.offset" : 539, - "key.parsed_declaration" : "func listableInternalPrecondition(\n _ condition: @autoclosure () -> Bool,\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n)", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> Bool, @autoclosure () -> String, StaticString, UInt) -> ()", - "key.typeusr" : "$s__4file4lineySbyXK_SSyXKs12StaticStringVSutcD", - "key.usr" : "s:16BlueprintUILists28listableInternalPrecondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func precondition(_ condition: @autoclosure () -> Bool<\/Type>, _ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 1151 - } - ], - "key.bodylength" : 91, - "key.bodyoffset" : 1341, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, `precondition` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.column" : 6, - "key.doc.comment" : "By default, `precondition` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.declaration" : "func precondition(_ condition: @autoclosure () -> Bool, _ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.doc.full_as_xml" : "precondition(_:_:file:line:)<\/Name>s:16BlueprintUILists12precondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF<\/USR>func precondition(_ condition: @autoclosure () -> Bool, _ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)<\/Declaration>By default, precondition<\/codeVoice> error messages are not included in release builds. We would like that! https:\/\/github.com\/apple\/swift\/issues\/43517<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 55, - "key.doc.name" : "precondition(_:_:file:line:)", - "key.doc.type" : "Function", - "key.doclength" : 150, - "key.docoffset" : 1001, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> precondition<\/decl.name>(_<\/decl.var.parameter.argument_label> condition<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 264, - "key.line" : 55, - "key.modulename" : "BlueprintUILists", - "key.name" : "precondition(_:_:file:line:)", - "key.namelength" : 165, - "key.nameoffset" : 1174, - "key.offset" : 1169, - "key.parsed_declaration" : "func precondition(\n _ condition: @autoclosure () -> Bool,\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 55, - "key.related_decls" : [ - { - "key.annotated_decl" : "precondition(_: @autoclosure () -> Bool, _: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> Bool, @autoclosure () -> String, StaticString, UInt) -> ()", - "key.typeusr" : "$s__4file4lineySbyXK_SSyXKs12StaticStringVSutcD", - "key.usr" : "s:16BlueprintUILists12precondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@inline(__always) public func preconditionFailure(_ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line) -> Never<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1610 - }, - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 1592 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 1763, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, `preconditionFailure` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.column" : 13, - "key.doc.comment" : "By default, `preconditionFailure` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.declaration" : "public func preconditionFailure(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.doc.full_as_xml" : "preconditionFailure(_:file:line:)<\/Name>s:16BlueprintUILists19preconditionFailure_4file4lines5NeverOSSyXK_s12StaticStringVSutF<\/USR>public func preconditionFailure(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never<\/Declaration>By default, preconditionFailure<\/codeVoice> error messages are not included in release builds. We would like that! https:\/\/github.com\/apple\/swift\/issues\/43517<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 69, - "key.doc.name" : "preconditionFailure(_:file:line:)", - "key.doc.type" : "Function", - "key.doclength" : 157, - "key.docoffset" : 1435, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preconditionFailure<\/decl.name>(_<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>) -> Never<\/ref.enum><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 198, - "key.line" : 69, - "key.modulename" : "BlueprintUILists", - "key.name" : "preconditionFailure(_:file:line:)", - "key.namelength" : 130, - "key.nameoffset" : 1622, - "key.offset" : 1617, - "key.parsed_declaration" : "public func preconditionFailure(\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n) -> Never", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 69, - "key.related_decls" : [ - { - "key.annotated_decl" : "preconditionFailure(_: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never<\/RelatedName>" - }, - { - "key.annotated_decl" : "preconditionFailure(_: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> String, StaticString, UInt) -> Never", - "key.typeusr" : "$s_4file4lines5NeverOSSyXK_s12StaticStringVSutcD", - "key.usr" : "s:16BlueprintUILists19preconditionFailure_4file4lines5NeverOSSyXK_s12StaticStringVSutF" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5542, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func ElementItem<Represented, IdentifierValue>(_ represented: Represented<\/Type>, id: KeyPath<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>, isEquivalent: @escaping (Represented<\/Type>, Represented<\/Type>) -> Bool<\/Type>, element: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>, background: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>? = { _, _ in nil }, selectedBackground: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>? = { _, _ in nil }, configure: (inout Item<\/Type><ElementItemContent<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>>) -> () = { _ in }) -> Item<\/Type><ElementItemContent<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>> where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1176 - } - ], - "key.bodylength" : 370, - "key.bodyoffset" : 1827, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a way to create an `Item` for your Blueprint elements without\nrequiring the creation of a new `BlueprintItemContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input, a key path for the backing identifier value, and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your item is to be used in more than one place, it is recommended that you\ncreate a `BlueprintItemContent` struct to share logic to avoid duplicate code.\n\n### Example\n```swift\nElementItem(podcast, id: \\.name) { lhs, rhs in\n lhs.value != rhs.value\n} element: { podcast, info in\n PodcastElement(podcast: podcast)\n} background: { podcast, info in\n Box(...)\n} selectedBackground: { podcast, info in\n Box(...)\n} configure: { item in\n item.selectionStyle = .tappable\n}\n```", - "key.doc.column" : 13, - "key.doc.comment" : "\nProvides a way to create an `Item` for your Blueprint elements without\nrequiring the creation of a new `BlueprintItemContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input, a key path for the backing identifier value, and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your item is to be used in more than one place, it is recommended that you\ncreate a `BlueprintItemContent` struct to share logic to avoid duplicate code.\n\n### Example\n```swift\nElementItem(podcast, id: \\.name) { lhs, rhs in\n lhs.value != rhs.value\n} element: { podcast, info in\n PodcastElement(podcast: podcast)\n} background: { podcast, info in\n Box(...)\n} selectedBackground: { podcast, info in\n Box(...)\n} configure: { item in\n item.selectionStyle = .tappable\n}\n```", - "key.doc.declaration" : "public func ElementItem(_ represented: Represented, id: KeyPath, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented, ApplyItemContentInfo) -> Element, background: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, configure: (inout Item>) -> () = { _ in }) -> Item> where IdentifierValue : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Most arguments on this method are not required – you must only provide an input, a key path for the backing identifier value, and an element provider." - }, - { - "Para" : "This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type." - }, - { - "Para" : "If your item is to be used in more than one place, it is recommended that you create a `BlueprintItemContent` struct to share logic to avoid duplicate code." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.doc.full_as_xml" : "ElementItem(_:id:isEquivalent:element:background:selectedBackground:configure:)<\/Name>s:16BlueprintUILists11ElementItem_2id12isEquivalent7element10background18selectedBackground9configure10ListableUI0D0VyAA0cD7ContentVyxq_GGx_s7KeyPathCyxq_GSbx_xtc0aN00C0_px_AI05ApplydO4InfoVtcAsT_pSgx_AVtcAWx_AVtcyAOzXEtSHR_r0_lF<\/USR>public func ElementItem<Represented, IdentifierValue>(_ represented: Represented, id: KeyPath<Represented, IdentifierValue>, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented, ApplyItemContentInfo) -> Element, background: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, configure: (inout Item<ElementItemContent<Represented, IdentifierValue>>) -> () = { _ in }) -> Item<ElementItemContent<Represented, IdentifierValue>> where IdentifierValue : Hashable<\/Declaration>Provides a way to create an Item<\/codeVoice> for your Blueprint elements without requiring the creation of a new BlueprintItemContent<\/codeVoice> struct.<\/Para><\/Abstract>Most arguments on this method are not required – you must only provide an input, a key path for the backing identifier value, and an element provider.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type.<\/Para>If your item is to be used in more than one place, it is recommended that you create a BlueprintItemContent<\/codeVoice> struct to share logic to avoid duplicate code.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 40, - "key.doc.name" : "ElementItem(_:id:isEquivalent:element:background:selectedBackground:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 1049, - "key.docoffset" : 127, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> ElementItem<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>, IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> represented<\/decl.var.parameter.name>: Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, id<\/decl.var.parameter.argument_label>: KeyPath<\/ref.class><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, isEquivalent<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, element<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, background<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _, _ in nil }<\/decl.var.parameter>, selectedBackground<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _, _ in nil }<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> Item<\/ref.struct><ElementItemContent<\/ref.struct><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>>><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> Item<\/ref.struct><ElementItemContent<\/ref.struct><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>>><\/decl.function.returntype> where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 1015, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementItem(_:id:isEquivalent:element:background:selectedBackground:configure:)", - "key.namelength" : 579, - "key.nameoffset" : 1188, - "key.offset" : 1183, - "key.parsed_declaration" : "public func ElementItem(\n _ represented : Represented,\n \n id : KeyPath,\n \n isEquivalent : @escaping (Represented, Represented) -> Bool,\n\n element : @escaping (Represented, ApplyItemContentInfo) -> Element,\n background : @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil },\n selectedBackground : @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil },\n \n configure : (inout Item>) -> () = { _ in }\n) -> Item>", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 40, - "key.related_decls" : [ - { - "key.annotated_decl" : "ElementItem(_:id:element:background:selectedBackground:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented<\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 1200, - "key.offset" : 1200, - "key.parsed_declaration" : "public func ElementItemIdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 38, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 1229 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 1213, - "key.offset" : 1213, - "key.parsed_declaration" : "public func ElementItem (Represented, id: KeyPath, isEquivalent: @escaping (Represented, Represented) -> Bool, element: @escaping (Represented, ApplyItemContentInfo) -> any Element, background: @escaping (Represented, ApplyItemContentInfo) -> (any Element)?, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> (any Element)?, configure: (inout Item>) -> ()) -> Item>", - "key.typeusr" : "$s_2id12isEquivalent7element10background18selectedBackground9configure10ListableUI4ItemVy16BlueprintUILists07ElementK7ContentVyxq_GGx_s7KeyPathCyxq_GSbx_xtc0lJ00N0_px_AG05ApplykO4InfoVtcArS_pSgx_AUtcAVx_AUtcyANzXEtcSHR_r0_luD", - "key.usr" : "s:16BlueprintUILists11ElementItem_2id12isEquivalent7element10background18selectedBackground9configure10ListableUI0D0VyAA0cD7ContentVyxq_GGx_s7KeyPathCyxq_GSbx_xtc0aN00C0_px_AI05ApplydO4InfoVtcAsT_pSgx_AVtcAWx_AVtcyAOzXEtSHR_r0_lF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func ElementItem<Represented, IdentifierValue>(_ represented: Represented<\/Type>, id: KeyPath<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>, element: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>, background: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>? = { _, _ in nil }, selectedBackground: @escaping (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>? = { _, _ in nil }, configure: (inout Item<\/Type><ElementItemContent<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>>) -> () = { _ in }) -> Item<\/Type><ElementItemContent<\/Type><Represented<\/Type>, IdentifierValue<\/Type>>> where Represented<\/Type> : Equatable<\/Type>, IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3190 - } - ], - "key.bodylength" : 370, - "key.bodyoffset" : 3781, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a way to create an `Item` for your Blueprint elements without\nrequiring the creation of a new `BlueprintItemContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input, a key path for the backing identifier value, and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your item is to be used in more than one place, it is recommended that you\ncreate a `BlueprintItemContent` struct to share logic to avoid duplicate code.\n\n### Example\n```swift\nElementItem(podcast, id: \\.name) { podcast, info in\n PodcastElement(podcast: podcast)\n} background: { podcast, info in\n Box(...)\n} selectedBackground: { podcast, info in\n Box(...)\n} configure: { item in\n item.selectionStyle = .tappable\n}\n```", - "key.doc.column" : 13, - "key.doc.comment" : "\nProvides a way to create an `Item` for your Blueprint elements without\nrequiring the creation of a new `BlueprintItemContent` struct.\n\nMost arguments on this method are not required – you must only\nprovide an input, a key path for the backing identifier value, and an element provider.\n\n### Note\nThis initializer is helpful if you have to nest an existing element that needs to be used in\na single place, without needing to define an entirely new type.\n\nIf your item is to be used in more than one place, it is recommended that you\ncreate a `BlueprintItemContent` struct to share logic to avoid duplicate code.\n\n### Example\n```swift\nElementItem(podcast, id: \\.name) { podcast, info in\n PodcastElement(podcast: podcast)\n} background: { podcast, info in\n Box(...)\n} selectedBackground: { podcast, info in\n Box(...)\n} configure: { item in\n item.selectionStyle = .tappable\n}\n```", - "key.doc.declaration" : "public func ElementItem(_ represented: Represented, id: KeyPath, element: @escaping (Represented, ApplyItemContentInfo) -> Element, background: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, configure: (inout Item>) -> () = { _ in }) -> Item> where Represented : Equatable, IdentifierValue : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Most arguments on this method are not required – you must only provide an input, a key path for the backing identifier value, and an element provider." - }, - { - "Para" : "This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type." - }, - { - "Para" : "If your item is to be used in more than one place, it is recommended that you create a `BlueprintItemContent` struct to share logic to avoid duplicate code." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.doc.full_as_xml" : "ElementItem(_:id:element:background:selectedBackground:configure:)<\/Name>s:16BlueprintUILists11ElementItem_2id7element10background18selectedBackground9configure10ListableUI0D0VyAA0cD7ContentVyxq_GGx_s7KeyPathCyxq_G0aL00C0_px_AH05ApplydM4InfoVtcArS_pSgx_AUtcAVx_AUtcyANzXEtSQRzSHR_r0_lF<\/USR>public func ElementItem<Represented, IdentifierValue>(_ represented: Represented, id: KeyPath<Represented, IdentifierValue>, element: @escaping (Represented, ApplyItemContentInfo) -> Element, background: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil }, configure: (inout Item<ElementItemContent<Represented, IdentifierValue>>) -> () = { _ in }) -> Item<ElementItemContent<Represented, IdentifierValue>> where Represented : Equatable, IdentifierValue : Hashable<\/Declaration>Provides a way to create an Item<\/codeVoice> for your Blueprint elements without requiring the creation of a new BlueprintItemContent<\/codeVoice> struct.<\/Para><\/Abstract>Most arguments on this method are not required – you must only provide an input, a key path for the backing identifier value, and an element provider.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This initializer is helpful if you have to nest an existing element that needs to be used in a single place, without needing to define an entirely new type.<\/Para>If your item is to be used in more than one place, it is recommended that you create a BlueprintItemContent<\/codeVoice> struct to share logic to avoid duplicate code.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 96, - "key.doc.name" : "ElementItem(_:id:element:background:selectedBackground:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 989, - "key.docoffset" : 2201, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> ElementItem<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>, IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> represented<\/decl.var.parameter.name>: Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, id<\/decl.var.parameter.argument_label>: KeyPath<\/ref.class><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, element<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, background<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _, _ in nil }<\/decl.var.parameter>, selectedBackground<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { _, _ in nil }<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> Item<\/ref.struct><ElementItemContent<\/ref.struct><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>>><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> Item<\/ref.struct><ElementItemContent<\/ref.struct><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>>><\/decl.function.returntype> where<\/syntaxtype.keyword> Represented<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement>, IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 955, - "key.line" : 96, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementItem(_:id:element:background:selectedBackground:configure:)", - "key.namelength" : 519, - "key.nameoffset" : 3202, - "key.offset" : 3197, - "key.parsed_declaration" : "public func ElementItem(\n _ represented : Represented,\n \n id : KeyPath,\n\n element : @escaping (Represented, ApplyItemContentInfo) -> Element,\n background : @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil },\n selectedBackground : @escaping (Represented, ApplyItemContentInfo) -> Element? = { _, _ in nil },\n \n configure : (inout Item>) -> () = { _ in }\n) -> Item>", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 96, - "key.related_decls" : [ - { - "key.annotated_decl" : "ElementItem(_:id:isEquivalent:element:background:selectedBackground:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented : Equatable<\/Type><\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3226 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 96, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 3214, - "key.offset" : 3214, - "key.parsed_declaration" : "public func ElementItemIdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 48, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 3253 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 96, - "key.modulename" : "BlueprintUILists", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 3237, - "key.offset" : 3237, - "key.parsed_declaration" : "public func ElementItem (Represented, id: KeyPath, element: @escaping (Represented, ApplyItemContentInfo) -> any Element, background: @escaping (Represented, ApplyItemContentInfo) -> (any Element)?, selectedBackground: @escaping (Represented, ApplyItemContentInfo) -> (any Element)?, configure: (inout Item>) -> ()) -> Item>", - "key.typeusr" : "$s_2id7element10background18selectedBackground9configure10ListableUI4ItemVy16BlueprintUILists07ElementI7ContentVyxq_GGx_s7KeyPathCyxq_G0jH00L0_px_AF05ApplyiM4InfoVtcAqR_pSgx_ATtcAUx_ATtcyAMzXEtcSQRzSHR_r0_luD", - "key.usr" : "s:16BlueprintUILists11ElementItem_2id7element10background18selectedBackground9configure10ListableUI0D0VyAA0cD7ContentVyxq_GGx_s7KeyPathCyxq_G0aL00C0_px_AH05ApplydM4InfoVtcArS_pSgx_AUtcAVx_AUtcyANzXEtSQRzSHR_r0_lF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ElementItemContent<Represented, IdentifierValue> : BlueprintItemContent<\/Type> where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4338 - } - ], - "key.bodylength" : 1106, - "key.bodyoffset" : 4434, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `BlueprintItemContent` type that is used to provide\na lightweight way to present an `Element`, without needing to provide an entirely\nnew `BlueprintItemContent` type.", - "key.doc.column" : 15, - "key.doc.comment" : "The `BlueprintItemContent` type that is used to provide\na lightweight way to present an `Element`, without needing to provide an entirely\nnew `BlueprintItemContent` type.", - "key.doc.declaration" : "public struct ElementItemContent : BlueprintItemContent where IdentifierValue : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.doc.full_as_xml" : "ElementItemContent<\/Name>s:16BlueprintUILists18ElementItemContentV<\/USR>public struct ElementItemContent<Represented, IdentifierValue> : BlueprintItemContent where IdentifierValue : Hashable<\/Declaration>The BlueprintItemContent<\/codeVoice> type that is used to provide a lightweight way to present an Element<\/codeVoice>, without needing to provide an entirely new BlueprintItemContent<\/codeVoice> type.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 127, - "key.doc.name" : "ElementItemContent", - "key.doc.type" : "Class", - "key.doclength" : 183, - "key.docoffset" : 4155, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 4412 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ElementItemContent<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>, IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>> : BlueprintItemContent<\/ref.protocol> where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "BlueprintItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1196, - "key.line" : 127, - "key.modulename" : "BlueprintUILists", - "key.name" : "ElementItemContent", - "key.namelength" : 18, - "key.nameoffset" : 4352, - "key.offset" : 4345, - "key.parsed_declaration" : "public struct ElementItemContent : BlueprintItemContent", - "key.parsed_scope.end" : 156, - "key.parsed_scope.start" : 127, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented<\/Declaration>", - "key.column" : 34, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 127, - "key.modulename" : "BlueprintUILists", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 4371, - "key.offset" : 4371, - "key.parsed_declaration" : "public struct ElementItemContentIdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 47, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `Hashable` type which is returned from ``ItemContent\/identifierValue-swift.property``,\nwhich is used to identify the ``ItemContent`` when it put into a list.\n\nThe ``ItemContent\/identifierValue-swift.property`` is used to unique the item,\ncontrol its lifetime, and identify it across update operations.\n\nSee ``ItemContent\/identifierValue-swift.property`` for more.", - "key.doc.column" : 20, - "key.doc.declaration" : "associatedtype IdentifierValue : Hashable", - "key.doc.discussion" : [ - { - "Para" : "The `ItemContent\/identifierValue-swift.property` is used to unique the item, control its lifetime, and identify it across update operations." - }, - { - "Para" : "See `ItemContent\/identifierValue-swift.property` for more." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "IdentifierValue<\/Name>s:10ListableUI11ItemContentP15IdentifierValueQa<\/USR>associatedtype IdentifierValue : Hashable<\/Declaration>A Hashable<\/codeVoice> type which is returned from ItemContent\/identifierValue-swift.property<\/codeVoice>, which is used to identify the ItemContent<\/codeVoice> when it put into a list.<\/Para><\/Abstract>The ItemContent\/identifierValue-swift.property<\/codeVoice> is used to unique the item, control its lifetime, and identify it across update operations.<\/Para>See ItemContent\/identifierValue-swift.property<\/codeVoice> for more.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 56, - "key.doc.name" : "IdentifierValue", - "key.doc.type" : "Other", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 4400 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 127, - "key.modulename" : "BlueprintUILists", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 4384, - "key.offset" : 4384, - "key.parsed_declaration" : "public struct ElementItemContentIdentifierValue<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "IdentifierValue.Type", - "key.typeusr" : "$sq_mD", - "key.usr" : "s:10ListableUI11ItemContentP15IdentifierValueQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let represented: Represented<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4439 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> represented<\/decl.name>: Represented<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 129, - "key.modulename" : "BlueprintUILists", - "key.name" : "represented", - "key.namelength" : 11, - "key.nameoffset" : 4450, - "key.offset" : 4446, - "key.parsed_declaration" : "public let represented : Represented", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.reusingastcontext" : false, - "key.typename" : "Represented", - "key.typeusr" : "$sxD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV11representedxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let idValueKeyPath: KeyPath<\/Type><Represented<\/Type>, IdentifierValue<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> idValueKeyPath<\/decl.name>: KeyPath<\/ref.class><Represented<\/ref.generic_type_param>, IdentifierValue<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 131, - "key.modulename" : "BlueprintUILists", - "key.name" : "idValueKeyPath", - "key.namelength" : 14, - "key.nameoffset" : 4485, - "key.offset" : 4481, - "key.parsed_declaration" : "let idValueKeyPath : KeyPath", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.typename" : "KeyPath", - "key.typeusr" : "$ss7KeyPathCyxq_GD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV14idValueKeyPaths0hI0Cyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let isEquivalentProvider: (Represented<\/Type>, Represented<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isEquivalentProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 61, - "key.line" : 132, - "key.modulename" : "BlueprintUILists", - "key.name" : "isEquivalentProvider", - "key.namelength" : 20, - "key.nameoffset" : 4548, - "key.offset" : 4544, - "key.parsed_declaration" : "let isEquivalentProvider : (Represented, Represented) -> Bool", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.typename" : "(Represented, Represented) -> Bool", - "key.typeusr" : "$sySbx_xtcD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV20isEquivalentProviderySbx_xtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let elementProvider: (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> elementProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 68, - "key.line" : 133, - "key.modulename" : "BlueprintUILists", - "key.name" : "elementProvider", - "key.namelength" : 15, - "key.nameoffset" : 4614, - "key.offset" : 4610, - "key.parsed_declaration" : "let elementProvider : (Represented, ApplyItemContentInfo) -> Element", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.typename" : "(Represented, ApplyItemContentInfo) -> any Element", - "key.typeusr" : "$sy11BlueprintUI7Element_px_08ListableB020ApplyItemContentInfoVtcD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV15elementProvidery0A2UI0C0_px_08ListableH005ApplydE4InfoVtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let backgroundProvider: (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> backgroundProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 72, - "key.line" : 134, - "key.modulename" : "BlueprintUILists", - "key.name" : "backgroundProvider", - "key.namelength" : 18, - "key.nameoffset" : 4687, - "key.offset" : 4683, - "key.parsed_declaration" : "let backgroundProvider : (Represented, ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.typename" : "(Represented, ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$sy11BlueprintUI7Element_pSgx_08ListableB020ApplyItemContentInfoVtcD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV18backgroundProvidery0A2UI0C0_pSgx_08ListableH005ApplydE4InfoVtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let selectedBackgroundProvider: (Represented<\/Type>, ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> selectedBackgroundProvider<\/decl.name>: (Represented<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 80, - "key.line" : 135, - "key.modulename" : "BlueprintUILists", - "key.name" : "selectedBackgroundProvider", - "key.namelength" : 26, - "key.nameoffset" : 4764, - "key.offset" : 4760, - "key.parsed_declaration" : "let selectedBackgroundProvider : (Represented, ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "(Represented, ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$sy11BlueprintUI7Element_pSgx_08ListableB020ApplyItemContentInfoVtcD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV26selectedBackgroundProvidery0A2UI0C0_pSgx_08ListableI005ApplydE4InfoVtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var identifierValue: IdentifierValue<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4850 - } - ], - "key.bodylength" : 60, - "key.bodyoffset" : 4895, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used to unique the item, control its lifetime, and identify it across update operations.\n\n### Identifier Stability\nThis value must be stable. Changing the `identifier` will mean that the list will think\nthe item has been removed from the list (and a new one inserted), which can cause\nundesired animations or other undesired behavior when a new view is created and inserted.\n\n```swift\nstruct MyItemContent : ItemContent {\n\n var identifierValue : UUID {\n \/\/ 🚫 Wrong; will change every time the item is accessed.\n UUID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let contentID = UUID()\n\n var identifierValue : UUID {\n \/\/ 🚫 Also wrong, will change every time the item is built.\n self.contentID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model \/\/ Conforms to Hashable\n\n var identifierValue : String {\n \/\/ 🚫 Wrong! This will change the value of the identifier\n \/\/ any time any value within our content changes.\n\n self.model\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Still wrong! Same as above, but with reflection. You should\n \/\/ never used a reflecting or describing method to generate an identifier.\n\n String(describing\/reflecting: self.model)\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Stable across updates.\n self.model.serverID\n }\n}\n```\n\nIdentifier stability is especially important with items that embed interactive controls, like buttons, sliders,\ntext fields, etc. The identifier of the control should be stable and **independent of the value\nthe control is currently representing**. Including the value the control is currently representing\nin the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.\n```swift\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n\n var identifierValue : String {\n \/\/ 🚫 Wrong; identifier will change every time the search text changes.\n searchText\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n let id : String \/\/ Something like \"item-search\".\n\n var identifierValue : String {\n \/\/ ✅ Good! Stable across updates.\n id\n }\n}\n```\n\n### Identifier Uniqueness\nWhile identifiers do need to be _stable_, they do not need to be globally unique – the list will make a\n\"best guess\" if there are multiple items with the same identifier. However, diffing of changes\nwill be more visually correct with a unique identifier.\n\nIf you are backing your content with some sort of client or server-provided data, consider using its\nserver or client UUID here, or some other stable unique identifier from the underlying data model.\n\nGenerally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID\nas mentioned above. For something without the concept of identity, consider providing a value\nbased on what the content represents (eg, a row title like \"Settings\").\n\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ 🚫 Likely wrong. If entered by the user,\n \/\/ there could be many items with this name,\n \/\/ or multiple items with no name at all, leading\n \/\/ to identifier collisions.\n\n self.model.name\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let setting : Setting\n\n var identifierValue : UUID {\n \/\/ 🤔 Probably good enough! Since this item\n \/\/ represents a setting in a settings screen,\n \/\/ returning the title of the row is likely\n \/\/ unique enough to guarantee stability.\n\n self.setting.name \/\/ Something like \"Location Services\".\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Very unique.\n self.model.serverID\n }\n}\n```\n\n### Identifier Leverages The Type System\nYour ``ItemContent\/identifierValue-swift.property`` gets wrapped up in an `Identifier`\nwhen it used by the list to unique the item, control its lifetime, and identify it across update operations. This\nadditional type information is used to further unique the identifier. You do not need to provide any\nadditional type-salting and uniquing information in your ``ItemContent\/identifierValue-swift.property`` besides the value from your content.\n\nEven once the ``Identifier`` is type-erased to ``AnyIdentifier``, this type information is retained:\n```swift\nlet first : AnyIdentifier = Identifier(\"a-value\")\nlet second : AnyIdentifier = Identifier(\"a-value\")\n\nlet isEqual = first == second \/\/ false\n```\n\nIn practical terms, this means that your ``ItemContent\/identifierValue-swift.property`` implementation should be:\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Not needed: Type information will be encoded into the Identifier.\n \"MyItemContent-\\(model.serverID)\"\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let model : Model\n\n var identifierValue : searchText {\n \/\/ ✅ Good! No need for the string interpolation.\n model.serverID\n }\n}\n```", - "key.doc.column" : 9, - "key.doc.declaration" : "var identifierValue: Self.IdentifierValue { get }", - "key.doc.discussion" : [ - { - "Para" : "This value must be stable. Changing the `identifier` will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and . Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one." - }, - { - "CodeListing" : "" - }, - { - "Para" : "While identifiers do need to be , they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier." - }, - { - "Para" : "If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model." - }, - { - "Para" : "Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”)." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Your `ItemContent\/identifierValue-swift.property` gets wrapped up in an `Identifier` when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your `ItemContent\/identifierValue-swift.property` besides the value from your content." - }, - { - "Para" : "Even once the `Identifier` is type-erased to `AnyIdentifier`, this type information is retained:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In practical terms, this means that your `ItemContent\/identifierValue-swift.property` implementation should be:" - }, - { - "CodeListing" : "" - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "identifierValue<\/Name>s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp<\/USR>var identifierValue: Self.IdentifierValue { get }<\/Declaration>Used to unique the item, control its lifetime, and identify it across update operations.<\/Para><\/Abstract>]]><\/rawHTML>Identifier Stability]]><\/rawHTML>This value must be stable. Changing the identifier<\/codeVoice> will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and independent of the value the control is currently representing<\/bold>. Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Uniqueness]]><\/rawHTML>While identifiers do need to be stable<\/emphasis>, they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier.<\/Para>If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model.<\/Para>Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”).<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Leverages The Type System]]><\/rawHTML>Your ItemContent\/identifierValue-swift.property<\/codeVoice> gets wrapped up in an Identifier<YourItemContent, IdentifierValue><\/codeVoice> when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your ItemContent\/identifierValue-swift.property<\/codeVoice> besides the value from your content.<\/Para>Even once the Identifier<\/codeVoice> is type-erased to AnyIdentifier<\/codeVoice>, this type information is retained:<\/Para>(\"a-value\")]]><\/zCodeLineNumbered>(\"a-value\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In practical terms, this means that your ItemContent\/identifierValue-swift.property<\/codeVoice> implementation should be:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 235, - "key.doc.name" : "identifierValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifierValue<\/decl.name>: IdentifierValue<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 99, - "key.line" : 137, - "key.modulename" : "BlueprintUILists", - "key.name" : "identifierValue", - "key.namelength" : 15, - "key.nameoffset" : 4861, - "key.offset" : 4857, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp" - } - ], - "key.parsed_declaration" : "public var identifierValue: IdentifierValue", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.typename" : "IdentifierValue", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func isEquivalent(to other: `Self`) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4966 - } - ], - "key.bodylength" : 76, - "key.bodyoffset" : 5016, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used by the list to determine when the content of the item has changed; in order to\nremeasure the item and re-layout the list.\n\nYou should return `false` from this method when any content within your item that\naffects visual appearance or layout (and in particular, sizing) changes. When the list\nreceives `false` back from this method, it will invalidate any cached sizing it has stored\nfor the item, and re-measure + re-layout the content.\n\n```swift\nstruct MyItemContent : ItemContent, Equatable {\n\n var identifierValue : UUID\n var title : String\n var detail : String\n var theme : MyTheme\n var onTapDetail : () -> ()\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing checks for title and detail.\n \/\/ If they change, they likely affect sizing,\n \/\/ which would result in incorrect item sizing.\n\n self.theme == other.theme\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing check for theme.\n \/\/ If the theme changed; its likely that the device's\n \/\/ accessibility settings changed; dark mode was enabled,\n \/\/ etc. All of these can affect the appearance or sizing\n \/\/ of the item.\n\n self.title == other.title &&\n self.detail == other.detail\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ ✅ Checking all parameters which can affect appearance + layout.\n \/\/ Not checking identifierValue or onTapDetail, since they do not affect appearance + layout.\n\n self.theme == other.theme &&\n self.title == other.title &&\n self.detail == other.detail\n }\n}\n\nstruct MyItemContent : ItemContent, Equatable {\n \/\/ ✅ Nothing else needed!\n \/\/ `Equatable` conformance provides `isEquivalent(to:) for free!`\n}\n```\n\n#### Note\nIf your ``ItemContent`` conforms to ``Equatable``, there is a default\nimplementation of this method which simply returns `self == other`.\n", - "key.doc.column" : 10, - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "You should return `false` from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives `false` back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If your `ItemContent` conforms to `Equatable`, there is a default implementation of this method which simply returns `self == other`." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>Used by the list to determine when the content of the item has changed; in order to remeasure the item and re-layout the list.<\/Para><\/Abstract>You should return false<\/codeVoice> from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives false<\/codeVoice> back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ()]]><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>If your ItemContent<\/codeVoice> conforms to Equatable<\/codeVoice>, there is a default implementation of this method which simply returns self == other<\/codeVoice>.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 298, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 120, - "key.line" : 141, - "key.modulename" : "BlueprintUILists", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 28, - "key.nameoffset" : 4978, - "key.offset" : 4973, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF" - } - ], - "key.parsed_declaration" : "public func isEquivalent(to other: Self) -> Bool", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ElementItemContent) -> (ElementItemContent) -> Bool", - "key.typeusr" : "$s2toSb16BlueprintUILists18ElementItemContentVyxq_G_tcD", - "key.usr" : "s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func element(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5103 - } - ], - "key.bodylength" : 58, - "key.bodyoffset" : 5168, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Required. Create and return the Blueprint element used to represent the content.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.", - "key.doc.column" : 10, - "key.doc.declaration" : "func element(with info: ApplyItemContentInfo) -> Element", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "element(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP7element4with0A2UI7Element_p08ListableG005ApplycD4InfoV_tF<\/USR>func element(with info: ApplyItemContentInfo) -> Element<\/Declaration>Required. Create and return the Blueprint element used to represent the content.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>This documentation comment was inherited from BlueprintItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 73, - "key.doc.name" : "element(with:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> element<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 117, - "key.line" : 145, - "key.modulename" : "BlueprintUILists", - "key.name" : "element(with:)", - "key.namelength" : 40, - "key.nameoffset" : 5115, - "key.offset" : 5110, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP7element4with0A2UI7Element_p08ListableG005ApplycD4InfoV_tF" - } - ], - "key.parsed_declaration" : "public func element(with info: ApplyItemContentInfo) -> Element", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ElementItemContent) -> (ApplyItemContentInfo) -> any Element", - "key.typeusr" : "$s4with11BlueprintUI7Element_p08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP7element4with0A2UI7Element_p08ListableG005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func backgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5237 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 5313, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content.\nYou usually provide this method alongside `selectedBackgroundElement`, if your content\nsupports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no background.", - "key.doc.column" : 10, - "key.doc.declaration" : "func backgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "backgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF<\/USR>func backgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content. You usually provide this method alongside selectedBackgroundElement<\/codeVoice>, if your content supports selection or highlighting.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no background.<\/Para>This documentation comment was inherited from BlueprintItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 84, - "key.doc.name" : "backgroundElement(with:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> backgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 131, - "key.line" : 149, - "key.modulename" : "BlueprintUILists", - "key.name" : "backgroundElement(with:)", - "key.namelength" : 50, - "key.nameoffset" : 5249, - "key.offset" : 5244, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF" - } - ], - "key.parsed_declaration" : "public func backgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 149, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ElementItemContent) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP17backgroundElement4with0A2UI0F0_pSg08ListableH005ApplycD4InfoV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func selectedBackgroundElement(with info: ApplyItemContentInfo<\/Type>) -> Element<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5385 - } - ], - "key.bodylength" : 69, - "key.bodyoffset" : 5469, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Optional. Create and return the Blueprint element used to represent the background of the content when it is selected or highlighted.\nYou usually provide this method alongside `backgroundElement`, if your content supports selection or highlighting.\n\nYou can use the provided `ApplyItemContentInfo` to vary the appearance of the element\nbased on the current state of the item.\n\n### Note\nThe default implementation of this method returns nil, and provides no selected background.", - "key.doc.column" : 10, - "key.doc.declaration" : "func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.doc.discussion" : [ - { - "Para" : "You can use the provided `ApplyItemContentInfo` to vary the appearance of the element based on the current state of the item." - }, - { - "Para" : "The default implementation of this method returns nil, and provides no selected background." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/BlueprintItemContent.swift", - "key.doc.full_as_xml" : "selectedBackgroundElement(with:)<\/Name>s:16BlueprintUILists0A11ItemContentP25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF<\/USR>func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?<\/Declaration>Optional. Create and return the Blueprint element used to represent the background of the content when it is selected or highlighted. You usually provide this method alongside backgroundElement<\/codeVoice>, if your content supports selection or highlighting.<\/Para><\/Abstract>You can use the provided ApplyItemContentInfo<\/codeVoice> to vary the appearance of the element based on the current state of the item.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>The default implementation of this method returns nil, and provides no selected background.<\/Para>This documentation comment was inherited from BlueprintItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 94, - "key.doc.name" : "selectedBackgroundElement(with:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> selectedBackgroundElement<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Element<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 147, - "key.line" : 153, - "key.modulename" : "BlueprintUILists", - "key.name" : "selectedBackgroundElement(with:)", - "key.namelength" : 58, - "key.nameoffset" : 5397, - "key.offset" : 5392, - "key.overrides" : [ - { - "key.usr" : "s:16BlueprintUILists0A11ItemContentP25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - } - ], - "key.parsed_declaration" : "public func selectedBackgroundElement(with info: ApplyItemContentInfo) -> Element?", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ElementItemContent) -> (ApplyItemContentInfo) -> (any Element)?", - "key.typeusr" : "$s4with11BlueprintUI7Element_pSg08ListableC020ApplyItemContentInfoV_tcD", - "key.usr" : "s:16BlueprintUILists0A11ItemContentP25selectedBackgroundElement4with0A2UI0G0_pSg08ListableI005ApplycD4InfoV_tF" - } - ], - "key.typename" : "ElementItemContent.Type", - "key.typeusr" : "$s16BlueprintUILists18ElementItemContentVyxq_GmD", - "key.usr" : "s:16BlueprintUILists18ElementItemContentV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.ContentContext.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 606, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "struct Environment<\/Declaration>", - "key.bodylength" : 324, - "key.bodyoffset" : 165, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Environment is a container for values to be passed down an element tree.\n\nEnvironment values are not resolved until the tree is being rendered, so they do not need to be\nexplicitly passed to elements at the time they are created.\n\nEnvironment key-value pairs are strongly typed: keys are types conforming to the\n`EnvironmentKey` protocol, and each key's value is the type of that key's\n`EnvironmentKey.Value` associated value. Keys must provide a default value.\n\n## Example\n\nTo set an environment value, so that it will cascade to child elements, use\n`AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue`\nvia the key `MyEnvironmentKey`.\n\n AdaptedEnvironment(\n key: MyEnvironmentKey.self,\n value: someValue,\n wrapping: childElement\n )\n\nTo read an environment value, use `EnvironmentReader`. If this element were part of the child\nelement in the previous example, `myValue` would be set to `someValue`. If the key had not\nbeen set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`.\n\n struct MyElement: ProxyElement {\n var elementRepresentation: Element {\n return EnvironmentReader { environment -> Element in\n let myValue = environment[MyEnvironmentKey.self]\n return SomeElement(using: myValue)\n }\n }\n }", - "key.doc.column" : 15, - "key.doc.declaration" : "struct Environment", - "key.doc.discussion" : [ - { - "Para" : "Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created." - }, - { - "Para" : "Environment key-value pairs are strongly typed: keys are types conforming to the `EnvironmentKey` protocol, and each key’s value is the type of that key’s `EnvironmentKey.Value` associated value. Keys must provide a default value." - }, - { - "Para" : "To set an environment value, so that it will cascade to child elements, use `AdaptedEnvironment`. Here, every element in `childElement` will have access to `someValue` via the key `MyEnvironmentKey`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To read an environment value, use `EnvironmentReader`. If this element were part of the child element in the previous example, `myValue` would be set to `someValue`. If the key had not been set in an ancestor element, the value would be `MyEnvironmentKey.defaultValue`." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.doc.full_as_xml" : "Environment<\/Name>s:11BlueprintUI11EnvironmentV<\/USR>struct Environment<\/Declaration>Environment is a container for values to be passed down an element tree.<\/Para><\/Abstract>Environment values are not resolved until the tree is being rendered, so they do not need to be explicitly passed to elements at the time they are created.<\/Para>Environment key-value pairs are strongly typed: keys are types conforming to the EnvironmentKey<\/codeVoice> protocol, and each key’s value is the type of that key’s EnvironmentKey.Value<\/codeVoice> associated value. Keys must provide a default value.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML>To set an environment value, so that it will cascade to child elements, use AdaptedEnvironment<\/codeVoice>. Here, every element in childElement<\/codeVoice> will have access to someValue<\/codeVoice> via the key MyEnvironmentKey<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To read an environment value, use EnvironmentReader<\/codeVoice>. If this element were part of the child element in the previous example, myValue<\/codeVoice> would be set to someValue<\/codeVoice>. If the key had not been set in an ancestor element, the value would be MyEnvironmentKey.defaultValue<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered> Element in]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 37, - "key.doc.name" : "Environment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/Environment.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Environment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 348, - "key.line" : 37, - "key.modulename" : "BlueprintUI", - "key.name" : "Environment", - "key.namelength" : 11, - "key.nameoffset" : 152, - "key.offset" : 142, - "key.parsed_declaration" : "extension Environment", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var listContentContext: ContentContext<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 324 - } - ], - "key.bodylength" : 114, - "key.bodyoffset" : 373, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies the provided `ContentContext` to the list when it's updated by Blueprint.\n\nSee `ContentContext` for more information.", - "key.doc.column" : 16, - "key.doc.comment" : "Applies the provided `ContentContext` to the list when it's updated by Blueprint.\n\nSee `ContentContext` for more information.", - "key.doc.declaration" : "public var listContentContext: ContentContext? { get set }", - "key.doc.discussion" : [ - { - "Para" : "See `ContentContext` for more information." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.ContentContext.swift", - "key.doc.full_as_xml" : "listContentContext<\/Name>s:11BlueprintUI11EnvironmentV0A7UIListsE18listContentContext08ListableB00fG0VSgvp<\/USR>public var listContentContext: ContentContext? { get set }<\/Declaration>Applies the provided ContentContext<\/codeVoice> to the list when it’s updated by Blueprint.<\/Para><\/Abstract>See ContentContext<\/codeVoice> for more information.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "listContentContext", - "key.doc.type" : "Other", - "key.doclength" : 145, - "key.docoffset" : 175, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listContentContext<\/decl.name>: ContentContext<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 157, - "key.line" : 17, - "key.modulename" : "BlueprintUILists", - "key.name" : "listContentContext", - "key.namelength" : 18, - "key.nameoffset" : 335, - "key.offset" : 331, - "key.parsed_declaration" : "public var listContentContext : ContentContext?", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ContentContext?", - "key.typeusr" : "$s10ListableUI14ContentContextVSgD", - "key.usr" : "s:11BlueprintUI11EnvironmentV0A7UIListsE18listContentContext08ListableB00fG0VSgvp" - } - ], - "key.typename" : "Environment.Type", - "key.typeusr" : "$s11BlueprintUI11EnvironmentVmD", - "key.usr" : "s:11BlueprintUI11EnvironmentV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ListContentContextKey : EnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 493 - } - ], - "key.bodylength" : 59, - "key.bodyoffset" : 545, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 529 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListContentContextKey<\/decl.name> : EnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "EnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 105, - "key.line" : 24, - "key.modulename" : "BlueprintUILists", - "key.name" : "ListContentContextKey", - "key.namelength" : 21, - "key.nameoffset" : 505, - "key.offset" : 500, - "key.parsed_declaration" : "public enum ListContentContextKey : EnvironmentKey", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let defaultValue: ContentContext<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 550 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value\nhas been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Environment\/EnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from EnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> defaultValue<\/decl.name>: ContentContext<\/ref.struct>?<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 46, - "key.line" : 25, - "key.modulename" : "BlueprintUILists", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 568, - "key.offset" : 557, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.parsed_declaration" : "public static let defaultValue: ContentContext? = nil", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "ContentContext?", - "key.typeusr" : "$s10ListableUI14ContentContextVSgD", - "key.usr" : "s:11BlueprintUI14EnvironmentKeyP12defaultValue0F0QzvpZ" - } - ], - "key.typename" : "ListContentContextKey.Type", - "key.typeusr" : "$s16BlueprintUILists21ListContentContextKeyOmD", - "key.usr" : "s:16BlueprintUILists21ListContentContextKeyO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 6468, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public struct List : Element<\/Type><\/Declaration>", - "key.bodylength" : 3429, - "key.bodyoffset" : 1301, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A Blueprint element which can be used to display a Listable `ListView` within\nan element tree.\n\nYou should use the `List` element as follows, just like you'd use the `configure(with:)` method\non `ListView` itself.\n```\nList { list in\n list.header = PodcastsHeader()\n\n let podcasts = Podcast.podcasts.sorted { $0.episode < $1.episode }\n\n list += Section(\"podcasts\") { section in\n\n section.header = PodcastsSectionHeader()\n\n section += podcasts.map { podcast in\n PodcastRow(podcast: podcast)\n }\n }\n}\n```\nThe parameter passed to the initialization closure is an instance of `ListProperties`,\nwhich holds the various configuration options and content for the list. See `ListProperties` for\na full overview of all the configuration options available such as animation, layout configuration, etc.\n\nWhen being laid out, a `List` will take up as much space as it is allowed. If you'd like to constrain\nthe size of a list, wrap it in a `ConstrainedSize`, or other size constraining element.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nProvides the possible options for how to size and measure a list when its measured size is queried\nby the layout system.\n\nYou have two options: `.fillParent` and `.measureContent`.\n\nWhen using `.fillParent`, the full available fitting size will be taken up, regardless\nof the size of the content itself.\n\nWhen using `.measureContent`, the content will be measured within the provided fitting size\nand the smallest of the two sizes will be returned.\n```\n.fillParent:\n┌───────────┐\n│┌─────────┐│\n││ ││\n││ ││\n││ ││\n││ ││\n││ ││\n│└─────────┘│\n└───────────┘\n\n.measureContent\n┌───────────┐\n│ │\n│ │\n│┌─────────┐│\n││ ││\n││ ││\n││ ││\n│└─────────┘│\n└───────────┘\n```", - "key.doc.declaration" : "public struct List : Element", - "key.doc.discussion" : [ - { - "Para" : "You should use the `List` element as follows, just like you’d use the `configure(with:)` method on `ListView` itself." - }, - { - "CodeListing" : "" - }, - { - "Para" : "The parameter passed to the initialization closure is an instance of `ListProperties`, which holds the various configuration options and content for the list. See `ListProperties` for a full overview of all the configuration options available such as animation, layout configuration, etc." - }, - { - "Para" : "When being laid out, a `List` will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a `ConstrainedSize`, or other size constraining element." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "List<\/Name>s:16BlueprintUILists4ListV<\/USR>public struct List : Element<\/Declaration>A Blueprint element which can be used to display a Listable ListView<\/codeVoice> within an element tree.<\/Para><\/Abstract>You should use the List<\/codeVoice> element as follows, just like you’d use the configure(with:)<\/codeVoice> method on ListView<\/codeVoice> itself.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The parameter passed to the initialization closure is an instance of ListProperties<\/codeVoice>, which holds the various configuration options and content for the list. See ListProperties<\/codeVoice> for a full overview of all the configuration options available such as animation, layout configuration, etc.<\/Para>When being laid out, a List<\/codeVoice> will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a ConstrainedSize<\/codeVoice>, or other size constraining element.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "List", - "key.doc.type" : "Class", - "key.doclength" : 1152, - "key.docoffset" : 133, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> List<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3446, - "key.line" : 42, - "key.modulename" : "BlueprintUILists", - "key.name" : "List", - "key.namelength" : 4, - "key.nameoffset" : 1295, - "key.offset" : 1285, - "key.parsed_declaration" : "extension List", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Measurement : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1311 - } - ], - "key.bodylength" : 3376, - "key.bodyoffset" : 1352, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1337 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Measurement<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 3411, - "key.line" : 48, - "key.modulename" : "BlueprintUILists", - "key.name" : "Measurement", - "key.namelength" : 11, - "key.nameoffset" : 1323, - "key.offset" : 1318, - "key.parsed_declaration" : "public enum Measurement : Equatable", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 2008, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fillParent<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When using `.fillParent`, the full available space will be taken up, regardless\nof the content size of the list itself.\n\nEg, if the fitting size passed to the list is (200w, 1000h), and the list's content\nis only (200w, 500h), (200w, 1000h) will still be returned.\n\nThis is the setting you want to use when your list is being used to fill the content\nof a screen, such as if it is being presented in a navigation controller or tab bar controller.\n\nThis option is the most performant, because no content measurement has to occur.", - "key.doc.column" : 14, - "key.doc.comment" : "When using `.fillParent`, the full available space will be taken up, regardless\nof the content size of the list itself.\n\nEg, if the fitting size passed to the list is (200w, 1000h), and the list's content\nis only (200w, 500h), (200w, 1000h) will still be returned.\n\nThis is the setting you want to use when your list is being used to fill the content\nof a screen, such as if it is being presented in a navigation controller or tab bar controller.\n\nThis option is the most performant, because no content measurement has to occur.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "Eg, if the fitting size passed to the list is (200w, 1000h), and the list’s content is only (200w, 500h), (200w, 1000h) will still be returned." - }, - { - "Para" : "This is the setting you want to use when your list is being used to fill the content of a screen, such as if it is being presented in a navigation controller or tab bar controller." - }, - { - "Para" : "This option is the most performant, because no content measurement has to occur." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "fillParent<\/Name>s:16BlueprintUILists4ListV11MeasurementO10fillParentyA2EmF<\/USR><\/Declaration>When using .fillParent<\/codeVoice>, the full available space will be taken up, regardless of the content size of the list itself.<\/Para><\/Abstract>Eg, if the fitting size passed to the list is (200w, 1000h), and the list’s content is only (200w, 500h), (200w, 1000h) will still be returned.<\/Para>This is the setting you want to use when your list is being used to fill the content of a screen, such as if it is being presented in a navigation controller or tab bar controller.<\/Para>This option is the most performant, because no content measurement has to occur.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "fillParent", - "key.doc.type" : "Other", - "key.doclength" : 639, - "key.docoffset" : 1361, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fillParent<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 60, - "key.modulename" : "BlueprintUILists", - "key.name" : "fillParent", - "key.namelength" : 10, - "key.nameoffset" : 2013, - "key.offset" : 2013, - "key.parsed_declaration" : "case fillParent", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.typename" : "(List.Measurement.Type) -> List.Measurement", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementOAEmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO10fillParentyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 239, - "key.offset" : 4162, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case measureContent(horizontalFill: FillRule<\/Type> = .fillParent, verticalFill: FillRule<\/Type> = .natural, safeArea: SafeArea<\/Type> = .none, itemLimit: Int<\/Type>? = ListView.defaultContentSizeItemLimit)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When using `.measureContent`, the content of the list will be measured within the provided fitting size\nand the smallest of the two sizes will be returned.\n\nIf you are putting a list into a sheet or popover (or even another list!), this is generally the `Sizing` type\nyou will want to use, to ensure the sheet or popover takes up the minimum amount of space possible.\n\n- parameters:\n - cacheKey: If provided, the underlying `Element`'s `measurementCacheKey` will be set to this value.\n Note that this value must be unique within the entire blueprint view – so please provide a sufficiently unique value,\n or measurement collisions will occur (one element's measurement being used for another) for duplicate keys.\n\n - horizontalFill: Defaults to `.fillParent`. How the width of the element should be calculated. If the\n provided value is `.natural`, the width returned will be as wide as needed to display the widest element,\n within the `itemLimit`.\n\n - verticalFill: Defaults to `.natural`. How the height of element should be calculated. For `.natural` heights, if the list requires less vertical space than it is given to lay out, that smaller value will be returned from measurements.\n\n - safeArea: Defaults to `.none`. The safe area, if any, to include in the content sizing calculation.\n\n - itemLimit: When measuring the list, how many items should be measured to determine the height. Defaults\n to 50, which is usually enough to fill the `fittingSize`. If you truly want to determine the entire height of all of\n the content in the list, set this to `nil` (but you should rarely need to do this). The lower this value, the less\n overall measurement that has to occur (if the value is less than the number of items in the list), which improvements\n measurement and layout performance.\n", - "key.doc.column" : 14, - "key.doc.comment" : "When using `.measureContent`, the content of the list will be measured within the provided fitting size\nand the smallest of the two sizes will be returned.\n\nIf you are putting a list into a sheet or popover (or even another list!), this is generally the `Sizing` type\nyou will want to use, to ensure the sheet or popover takes up the minimum amount of space possible.\n\n- parameters:\n - cacheKey: If provided, the underlying `Element`'s `measurementCacheKey` will be set to this value.\n Note that this value must be unique within the entire blueprint view – so please provide a sufficiently unique value,\n or measurement collisions will occur (one element's measurement being used for another) for duplicate keys.\n\n - horizontalFill: Defaults to `.fillParent`. How the width of the element should be calculated. If the\n provided value is `.natural`, the width returned will be as wide as needed to display the widest element,\n within the `itemLimit`.\n\n - verticalFill: Defaults to `.natural`. How the height of element should be calculated. For `.natural` heights, if the list requires less vertical space than it is given to lay out, that smaller value will be returned from measurements.\n\n - safeArea: Defaults to `.none`. The safe area, if any, to include in the content sizing calculation.\n\n - itemLimit: When measuring the list, how many items should be measured to determine the height. Defaults\n to 50, which is usually enough to fill the `fittingSize`. If you truly want to determine the entire height of all of\n the content in the list, set this to `nil` (but you should rarely need to do this). The lower this value, the less\n overall measurement that has to occur (if the value is less than the number of items in the list), which improvements\n measurement and layout performance.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "If you are putting a list into a sheet or popover (or even another list!), this is generally the `Sizing` type you will want to use, to ensure the sheet or popover takes up the minimum amount of space possible." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "measureContent(horizontalFill:verticalFill:safeArea:itemLimit:)<\/Name>s:16BlueprintUILists4ListV11MeasurementO14measureContentyA2E8FillRuleO_AhE8SafeAreaOSiSgtcAEmF<\/USR><\/Declaration>When using .measureContent<\/codeVoice>, the content of the list will be measured within the provided fitting size and the smallest of the two sizes will be returned.<\/Para><\/Abstract>cacheKey<\/Name>in<\/Direction>If provided, the underlying Element<\/codeVoice>‘s measurementCacheKey<\/codeVoice> will be set to this value. Note that this value must be unique within the entire blueprint view – so please provide a sufficiently unique value, or measurement collisions will occur (one element’s measurement being used for another) for duplicate keys.<\/Para><\/Discussion><\/Parameter>horizontalFill<\/Name>in<\/Direction>Defaults to .fillParent<\/codeVoice>. How the width of the element should be calculated. If the provided value is .natural<\/codeVoice>, the width returned will be as wide as needed to display the widest element, within the itemLimit<\/codeVoice>.<\/Para><\/Discussion><\/Parameter>verticalFill<\/Name>in<\/Direction>Defaults to .natural<\/codeVoice>. How the height of element should be calculated. For .natural<\/codeVoice> heights, if the list requires less vertical space than it is given to lay out, that smaller value will be returned from measurements.<\/Para><\/Discussion><\/Parameter>safeArea<\/Name>in<\/Direction>Defaults to .none<\/codeVoice>. The safe area, if any, to include in the content sizing calculation.<\/Para><\/Discussion><\/Parameter>itemLimit<\/Name>in<\/Direction>When measuring the list, how many items should be measured to determine the height. Defaults to 50, which is usually enough to fill the fittingSize<\/codeVoice>. If you truly want to determine the entire height of all of the content in the list, set this to nil<\/codeVoice> (but you should rarely need to do this). The lower this value, the less overall measurement that has to occur (if the value is less than the number of items in the list), which improvements measurement and layout performance.<\/Para><\/Discussion><\/Parameter><\/Parameters>If you are putting a list into a sheet or popover (or even another list!), this is generally the Sizing<\/codeVoice> type you will want to use, to ensure the sheet or popover takes up the minimum amount of space possible.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 87, - "key.doc.name" : "measureContent(horizontalFill:verticalFill:safeArea:itemLimit:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "If provided, the underlying `Element`‘s `measurementCacheKey` will be set to this value. Note that this value must be unique within the entire blueprint view – so please provide a sufficiently unique value, or measurement collisions will occur (one element’s measurement being used for another) for duplicate keys." - } - ], - "name" : "cacheKey" - }, - { - "discussion" : [ - { - "Para" : "Defaults to `.fillParent`. How the width of the element should be calculated. If the provided value is `.natural`, the width returned will be as wide as needed to display the widest element, within the `itemLimit`." - } - ], - "name" : "horizontalFill" - }, - { - "discussion" : [ - { - "Para" : "Defaults to `.natural`. How the height of element should be calculated. For `.natural` heights, if the list requires less vertical space than it is given to lay out, that smaller value will be returned from measurements." - } - ], - "name" : "verticalFill" - }, - { - "discussion" : [ - { - "Para" : "Defaults to `.none`. The safe area, if any, to include in the content sizing calculation." - } - ], - "name" : "safeArea" - }, - { - "discussion" : [ - { - "Para" : "When measuring the list, how many items should be measured to determine the height. Defaults to 50, which is usually enough to fill the `fittingSize`. If you truly want to determine the entire height of all of the content in the list, set this to `nil` (but you should rarely need to do this). The lower this value, the less overall measurement that has to occur (if the value is less than the number of items in the list), which improvements measurement and layout performance." - } - ], - "name" : "itemLimit" - } - ], - "key.doc.type" : "Other", - "key.doclength" : 2113, - "key.docoffset" : 2041, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> measureContent<\/decl.name>(horizontalFill<\/decl.var.parameter.argument_label>: FillRule<\/ref.enum><\/decl.var.parameter.type> = .fillParent<\/decl.var.parameter>, verticalFill<\/decl.var.parameter.argument_label>: FillRule<\/ref.enum><\/decl.var.parameter.type> = .natural<\/decl.var.parameter>, safeArea<\/decl.var.parameter.argument_label>: SafeArea<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>, itemLimit<\/decl.var.parameter.argument_label>: Int<\/ref.struct>?<\/decl.var.parameter.type> = ListView.defaultContentSizeItemLimit<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 234, - "key.line" : 87, - "key.modulename" : "BlueprintUILists", - "key.name" : "measureContent(horizontalFill:verticalFill:safeArea:itemLimit:)", - "key.namelength" : 234, - "key.nameoffset" : 4167, - "key.offset" : 4167, - "key.parsed_declaration" : "case measureContent(\n horizontalFill : FillRule = .fillParent,\n verticalFill : FillRule = .natural,\n safeArea: SafeArea = .none,\n itemLimit : Int? = ListView.defaultContentSizeItemLimit\n)", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List.Measurement.Type) -> (List.Measurement.FillRule, List.Measurement.FillRule, List.Measurement.SafeArea, Int?) -> List.Measurement", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementOAE8FillRuleO_AgE8SafeAreaOSiSgtcAEmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO14measureContentyA2E8FillRuleO_AhE8SafeAreaOSiSgtcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var needsMeasurement: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 274, - "key.bodyoffset" : 4448, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> needsMeasurement<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 304, - "key.line" : 94, - "key.modulename" : "BlueprintUILists", - "key.name" : "needsMeasurement", - "key.namelength" : 16, - "key.nameoffset" : 4423, - "key.offset" : 4419, - "key.parsed_declaration" : "var needsMeasurement : Bool", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 94, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO05needsD0Sbvp" - } - ], - "key.typename" : "List.Measurement.Type", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementOmD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO" - } - ], - "key.typename" : "List.Type", - "key.typeusr" : "$s16BlueprintUILists4ListVmD", - "key.usr" : "s:16BlueprintUILists4ListV" - }, - { - "key.annotated_decl" : "public enum Measurement : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 1704, - "key.bodyoffset" : 4762, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Measurement<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1733, - "key.line" : 48, - "key.modulename" : "BlueprintUILists", - "key.name" : "List.Measurement", - "key.namelength" : 16, - "key.nameoffset" : 4744, - "key.offset" : 4734, - "key.parsed_declaration" : "extension List.Measurement", - "key.parsed_scope.end" : 152, - "key.parsed_scope.start" : 106, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SafeArea : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4960 - } - ], - "key.bodylength" : 637, - "key.bodyoffset" : 4994, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how the safe area is used when calculating content size.\nThe safe area included in the calculation affected by the list layout's `contentInsetAdjustmentBehavior`.", - "key.doc.column" : 17, - "key.doc.comment" : "Controls how the safe area is used when calculating content size.\nThe safe area included in the calculation affected by the list layout's `contentInsetAdjustmentBehavior`.", - "key.doc.declaration" : "public enum SafeArea : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "SafeArea<\/Name>s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO<\/USR>public enum SafeArea : Equatable<\/Declaration>Controls how the safe area is used when calculating content size. The safe area included in the calculation affected by the list layout’s contentInsetAdjustmentBehavior<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 110, - "key.doc.name" : "SafeArea", - "key.doc.type" : "Other", - "key.doclength" : 184, - "key.docoffset" : 4772, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 4983 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SafeArea<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 665, - "key.line" : 110, - "key.modulename" : "BlueprintUILists", - "key.name" : "SafeArea", - "key.namelength" : 8, - "key.nameoffset" : 4972, - "key.offset" : 4967, - "key.parsed_declaration" : "public enum SafeArea : Equatable", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 5079, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "No safe area will be included in the size calculation.", - "key.doc.column" : 14, - "key.doc.comment" : "No safe area will be included in the size calculation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "none<\/Name>s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO4noneyA2GmF<\/USR><\/Declaration>No safe area will be included in the size calculation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 113, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 59, - "key.docoffset" : 5012, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 113, - "key.modulename" : "BlueprintUILists", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 5084, - "key.offset" : 5084, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.typename" : "(List.Measurement.SafeArea.Type) -> List.Measurement.SafeArea", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementO8SafeAreaOAGmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO4noneyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 5200, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case environment<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The safe area from the blueprint environment will be included in the calculation.", - "key.doc.column" : 14, - "key.doc.comment" : "The safe area from the blueprint environment will be included in the calculation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO11environmentyA2GmF<\/USR><\/Declaration>The safe area from the blueprint environment will be included in the calculation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 86, - "key.docoffset" : 5106, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> environment<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 116, - "key.modulename" : "BlueprintUILists", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 5205, - "key.offset" : 5205, - "key.parsed_declaration" : "case environment", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.typename" : "(List.Measurement.SafeArea.Type) -> List.Measurement.SafeArea", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementO8SafeAreaOAGmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO11environmentyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 25, - "key.offset" : 5306, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case custom(UIEdgeInsets<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The provided safe area will be included in the calculation.", - "key.doc.column" : 14, - "key.doc.comment" : "The provided safe area will be included in the calculation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "custom(_:)<\/Name>s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO6customyAGSo12UIEdgeInsetsVcAGmF<\/USR><\/Declaration>The provided safe area will be included in the calculation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 119, - "key.doc.name" : "custom(_:)", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 5234, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> custom<\/decl.name>(UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 20, - "key.line" : 119, - "key.modulename" : "BlueprintUILists", - "key.name" : "custom(_:)", - "key.namelength" : 20, - "key.nameoffset" : 5311, - "key.offset" : 5311, - "key.parsed_declaration" : "case custom(UIEdgeInsets)", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List.Measurement.SafeArea.Type) -> (UIEdgeInsets) -> List.Measurement.SafeArea", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementO8SafeAreaOSo12UIEdgeInsetsVcAGmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO6customyAGSo12UIEdgeInsetsVcAGmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func safeArea(with environment: BlueprintUI.Environment<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 201, - "key.bodyoffset" : 5424, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> safeArea<\/decl.name>(with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: BlueprintUI.Environment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 277, - "key.line" : 121, - "key.modulename" : "BlueprintUILists", - "key.name" : "safeArea(with:)", - "key.namelength" : 52, - "key.nameoffset" : 5354, - "key.offset" : 5349, - "key.parsed_declaration" : "func safeArea(with environment : BlueprintUI.Environment) -> UIEdgeInsets", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List.Measurement.SafeArea) -> (Environment) -> UIEdgeInsets", - "key.typeusr" : "$s4withSo12UIEdgeInsetsV11BlueprintUI11EnvironmentV_tcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO04safeF04withSo12UIEdgeInsetsV0A2UI11EnvironmentV_tF" - } - ], - "key.typename" : "List.Measurement.SafeArea.Type", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementO8SafeAreaOmD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8SafeAreaO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum FillRule : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5740 - } - ], - "key.bodylength" : 690, - "key.bodyoffset" : 5774, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to fill a given axis when performing a `List.Measurement.measureContent` measurement.", - "key.doc.column" : 17, - "key.doc.comment" : "How to fill a given axis when performing a `List.Measurement.measureContent` measurement.", - "key.doc.declaration" : "public enum FillRule : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "FillRule<\/Name>s:16BlueprintUILists4ListV11MeasurementO8FillRuleO<\/USR>public enum FillRule : Equatable<\/Declaration>How to fill a given axis when performing a List.Measurement.measureContent<\/codeVoice> measurement.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 131, - "key.doc.name" : "FillRule", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 5642, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5763 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> FillRule<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 718, - "key.line" : 131, - "key.modulename" : "BlueprintUILists", - "key.name" : "FillRule", - "key.namelength" : 8, - "key.nameoffset" : 5752, - "key.offset" : 5747, - "key.parsed_declaration" : "public enum FillRule : Equatable", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 5941, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fillParent<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The full amount of space afforded to the list by its parent element will\nbe used. The measurement from the list is not used.", - "key.doc.column" : 14, - "key.doc.comment" : "The full amount of space afforded to the list by its parent element will\nbe used. The measurement from the list is not used.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "fillParent<\/Name>s:16BlueprintUILists4ListV11MeasurementO8FillRuleO10fillParentyA2GmF<\/USR><\/Declaration>The full amount of space afforded to the list by its parent element will be used. The measurement from the list is not used.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 135, - "key.doc.name" : "fillParent", - "key.doc.type" : "Other", - "key.doclength" : 141, - "key.docoffset" : 5792, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fillParent<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 135, - "key.modulename" : "BlueprintUILists", - "key.name" : "fillParent", - "key.namelength" : 10, - "key.nameoffset" : 5946, - "key.offset" : 5946, - "key.parsed_declaration" : "case fillParent", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "(List.Measurement.FillRule.Type) -> List.Measurement.FillRule", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementO8FillRuleOAGmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8FillRuleO10fillParentyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 6236, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case natural<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The amount of space needed, as determined by the list's measurement will be used.\n\nEg, if you provide 1000pt of vertical space, but the list only needs 300pt to display,\n300pt will be returned from the measurement.", - "key.doc.column" : 14, - "key.doc.comment" : "The amount of space needed, as determined by the list's measurement will be used.\n\nEg, if you provide 1000pt of vertical space, but the list only needs 300pt to display,\n300pt will be returned from the measurement.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "Eg, if you provide 1000pt of vertical space, but the list only needs 300pt to display, 300pt will be returned from the measurement." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.doc.full_as_xml" : "natural<\/Name>s:16BlueprintUILists4ListV11MeasurementO8FillRuleO7naturalyA2GmF<\/USR><\/Declaration>The amount of space needed, as determined by the list’s measurement will be used.<\/Para><\/Abstract>Eg, if you provide 1000pt of vertical space, but the list only needs 300pt to display, 300pt will be returned from the measurement.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 141, - "key.doc.name" : "natural", - "key.doc.type" : "Other", - "key.doclength" : 254, - "key.docoffset" : 5974, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> natural<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 141, - "key.modulename" : "BlueprintUILists", - "key.name" : "natural", - "key.namelength" : 7, - "key.nameoffset" : 6241, - "key.offset" : 6241, - "key.parsed_declaration" : "case natural", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "(List.Measurement.FillRule.Type) -> List.Measurement.FillRule", - "key.typeusr" : "$sy16BlueprintUILists4ListV11MeasurementO8FillRuleOAGmcD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8FillRuleO7naturalyA2GmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var needsMeasurement: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 163, - "key.bodyoffset" : 6295, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.Measurement.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> needsMeasurement<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 193, - "key.line" : 143, - "key.modulename" : "BlueprintUILists", - "key.name" : "needsMeasurement", - "key.namelength" : 16, - "key.nameoffset" : 6270, - "key.offset" : 6266, - "key.parsed_declaration" : "var needsMeasurement : Bool", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8FillRuleO05needsD0Sbvp" - } - ], - "key.typename" : "List.Measurement.FillRule.Type", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementO8FillRuleOmD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO8FillRuleO" - } - ], - "key.typename" : "List.Measurement.Type", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementOmD", - "key.usr" : "s:16BlueprintUILists4ListV11MeasurementO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7293, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct List : Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1276 - } - ], - "key.bodylength" : 2045, - "key.bodyoffset" : 1306, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A Blueprint element which can be used to display a Listable `ListView` within\nan element tree.\n\nYou should use the `List` element as follows, just like you'd use the `configure(with:)` method\non `ListView` itself.\n```\nList { list in\n list.header = PodcastsHeader()\n\n let podcasts = Podcast.podcasts.sorted { $0.episode < $1.episode }\n\n list += Section(\"podcasts\") { section in\n\n section.header = PodcastsSectionHeader()\n\n section += podcasts.map { podcast in\n PodcastRow(podcast: podcast)\n }\n }\n}\n```\nThe parameter passed to the initialization closure is an instance of `ListProperties`,\nwhich holds the various configuration options and content for the list. See `ListProperties` for\na full overview of all the configuration options available such as animation, layout configuration, etc.\n\nWhen being laid out, a `List` will take up as much space as it is allowed. If you'd like to constrain\nthe size of a list, wrap it in a `ConstrainedSize`, or other size constraining element.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nA Blueprint element which can be used to display a Listable `ListView` within\nan element tree.\n\nYou should use the `List` element as follows, just like you'd use the `configure(with:)` method\non `ListView` itself.\n```\nList { list in\n list.header = PodcastsHeader()\n\n let podcasts = Podcast.podcasts.sorted { $0.episode < $1.episode }\n\n list += Section(\"podcasts\") { section in\n\n section.header = PodcastsSectionHeader()\n\n section += podcasts.map { podcast in\n PodcastRow(podcast: podcast)\n }\n }\n}\n```\nThe parameter passed to the initialization closure is an instance of `ListProperties`,\nwhich holds the various configuration options and content for the list. See `ListProperties` for\na full overview of all the configuration options available such as animation, layout configuration, etc.\n\nWhen being laid out, a `List` will take up as much space as it is allowed. If you'd like to constrain\nthe size of a list, wrap it in a `ConstrainedSize`, or other size constraining element.", - "key.doc.declaration" : "public struct List : Element", - "key.doc.discussion" : [ - { - "Para" : "You should use the `List` element as follows, just like you’d use the `configure(with:)` method on `ListView` itself." - }, - { - "CodeListing" : "" - }, - { - "Para" : "The parameter passed to the initialization closure is an instance of `ListProperties`, which holds the various configuration options and content for the list. See `ListProperties` for a full overview of all the configuration options available such as animation, layout configuration, etc." - }, - { - "Para" : "When being laid out, a `List` will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a `ConstrainedSize`, or other size constraining element." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "List<\/Name>s:16BlueprintUILists4ListV<\/USR>public struct List : Element<\/Declaration>A Blueprint element which can be used to display a Listable ListView<\/codeVoice> within an element tree.<\/Para><\/Abstract>You should use the List<\/codeVoice> element as follows, just like you’d use the configure(with:)<\/codeVoice> method on ListView<\/codeVoice> itself.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The parameter passed to the initialization closure is an instance of ListProperties<\/codeVoice>, which holds the various configuration options and content for the list. See ListProperties<\/codeVoice> for a full overview of all the configuration options available such as animation, layout configuration, etc.<\/Para>When being laid out, a List<\/codeVoice> will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a ConstrainedSize<\/codeVoice>, or other size constraining element.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "List", - "key.doc.type" : "Class", - "key.doclength" : 1135, - "key.docoffset" : 141, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 7, - "key.offset" : 1297 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> List<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Element" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2069, - "key.line" : 42, - "key.modulename" : "BlueprintUILists", - "key.name" : "List", - "key.namelength" : 4, - "key.nameoffset" : 1290, - "key.offset" : 1283, - "key.parsed_declaration" : "public struct List : Element", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var properties: ListProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1556 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The properties which back the on-screen list.\n\nWhen it comes time to render the `List` on screen,\n`ListView.configure(with: properties)` is called\nto update the on-screen list with the provided properties.", - "key.doc.column" : 16, - "key.doc.comment" : "The properties which back the on-screen list.\n\nWhen it comes time to render the `List` on screen,\n`ListView.configure(with: properties)` is called\nto update the on-screen list with the provided properties.", - "key.doc.declaration" : "public var properties: ListProperties", - "key.doc.discussion" : [ - { - "Para" : "When it comes time to render the `List` on screen, `ListView.configure(with: properties)` is called to update the on-screen list with the provided properties." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "properties<\/Name>s:16BlueprintUILists4ListV10properties10ListableUI0C10PropertiesVvp<\/USR>public var properties: ListProperties<\/Declaration>The properties which back the on-screen list.<\/Para><\/Abstract>When it comes time to render the List<\/codeVoice> on screen, ListView.configure(with: properties)<\/codeVoice> is called to update the on-screen list with the provided properties.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 49, - "key.doc.name" : "properties", - "key.doc.type" : "Other", - "key.doclength" : 241, - "key.docoffset" : 1311, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> properties<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 49, - "key.modulename" : "BlueprintUILists", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 1567, - "key.offset" : 1563, - "key.parsed_declaration" : "public var properties : ListProperties", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:16BlueprintUILists4ListV10properties10ListableUI0C10PropertiesVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var measurement: List<\/Type>.Measurement<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1937 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the `List` is measured when the element is laid out\nby Blueprint. Defaults to `.fillParent`, which means\nit will take up all the height it is given. You can change this to\n`.measureContent` to instead measure the optimal height.\n\nSee the `List.Measurement` documentation for more.", - "key.doc.column" : 16, - "key.doc.comment" : "How the `List` is measured when the element is laid out\nby Blueprint. Defaults to `.fillParent`, which means\nit will take up all the height it is given. You can change this to\n`.measureContent` to instead measure the optimal height.\n\nSee the `List.Measurement` documentation for more.", - "key.doc.declaration" : "public var measurement: List.Measurement", - "key.doc.discussion" : [ - { - "Para" : "See the `List.Measurement` documentation for more." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "measurement<\/Name>s:16BlueprintUILists4ListV11measurementAC11MeasurementOvp<\/USR>public var measurement: List.Measurement<\/Declaration>How the List<\/codeVoice> is measured when the element is laid out by Blueprint. Defaults to .fillParent<\/codeVoice>, which means it will take up all the height it is given. You can change this to .measureContent<\/codeVoice> to instead measure the optimal height.<\/Para><\/Abstract>See the List.Measurement<\/codeVoice> documentation for more.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 57, - "key.doc.name" : "measurement", - "key.doc.type" : "Other", - "key.doclength" : 329, - "key.docoffset" : 1604, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> measurement<\/decl.name>: List<\/ref.struct>.Measurement<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 57, - "key.modulename" : "BlueprintUILists", - "key.name" : "measurement", - "key.namelength" : 11, - "key.nameoffset" : 1948, - "key.offset" : 1944, - "key.parsed_declaration" : "public var measurement : List.Measurement", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "List.Measurement", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementOD", - "key.usr" : "s:16BlueprintUILists4ListV11measurementAC11MeasurementOvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1998 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(measurement: List<\/Type>.Measurement<\/Type> = .fillParent, configure: ListProperties<\/Type>.Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2170 - } - ], - "key.bodylength" : 105, - "key.bodyoffset" : 2289, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create a new list, configured with the provided properties,\nconfigured with the provided `ListProperties` builder.", - "key.doc.column" : 12, - "key.doc.comment" : "Create a new list, configured with the provided properties,\nconfigured with the provided `ListProperties` builder.", - "key.doc.declaration" : "public init(measurement: List.Measurement = .fillParent, configure: ListProperties.Configure)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "init(measurement:configure:)<\/Name>s:16BlueprintUILists4ListV11measurement9configureA2C11MeasurementO_y10ListableUI0C10PropertiesVzXEtcfc<\/USR>public init(measurement: List.Measurement = .fillParent, configure: ListProperties.Configure)<\/Declaration>Create a new list, configured with the provided properties, configured with the provided ListProperties<\/codeVoice> builder.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 65, - "key.doc.name" : "init(measurement:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 127, - "key.docoffset" : 2039, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(measurement<\/decl.var.parameter.argument_label>: List<\/ref.struct>.Measurement<\/ref.enum><\/decl.var.parameter.type> = .fillParent<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: ListProperties<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 218, - "key.line" : 65, - "key.modulename" : "BlueprintUILists", - "key.name" : "init(measurement:configure:)", - "key.namelength" : 110, - "key.nameoffset" : 2177, - "key.offset" : 2177, - "key.parsed_declaration" : "public init(\n measurement : List.Measurement = .fillParent,\n configure : ListProperties.Configure\n)", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 65, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(measurement:configure:sections:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List.Type) -> (List.Measurement, (inout ListProperties) -> ()) -> List", - "key.typeusr" : "$s11measurement9configure16BlueprintUILists4ListVAE11MeasurementO_y10ListableUI0E10PropertiesVzXEtcD", - "key.usr" : "s:16BlueprintUILists4ListV11measurement9configureA2C11MeasurementO_y10ListableUI0C10PropertiesVzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(measurement: List<\/Type>.Measurement<\/Type> = .fillParent, configure: ListProperties<\/Type>.Configure<\/Type> = { _ in }, @ListableBuilder<\/Type><Section<\/Type>> sections: () -> [Section<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2565 - } - ], - "key.bodylength" : 161, - "key.bodyoffset" : 2757, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create a new list, configured with the provided properties,\nconfigured with the provided `ListProperties` builder, and the provided `sections`.", - "key.doc.column" : 12, - "key.doc.comment" : "Create a new list, configured with the provided properties,\nconfigured with the provided `ListProperties` builder, and the provided `sections`.", - "key.doc.declaration" : "public init(measurement: List.Measurement = .fillParent, configure: ListProperties.Configure = { _ in }, @ListableUI.ListableBuilder sections: () -> [Section])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "init(measurement:configure:sections:)<\/Name>s:16BlueprintUILists4ListV11measurement9configure8sectionsA2C11MeasurementO_y10ListableUI0C10PropertiesVzXESayAI7SectionVGyXEtcfc<\/USR>public init(measurement: List.Measurement = .fillParent, configure: ListProperties.Configure = { _ in }, @ListableUI.ListableBuilder<ListableUI.Section> sections: () -> [Section])<\/Declaration>Create a new list, configured with the provided properties, configured with the provided ListProperties<\/codeVoice> builder, and the provided sections<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 76, - "key.doc.name" : "init(measurement:configure:sections:)", - "key.doc.type" : "Function", - "key.doclength" : 156, - "key.docoffset" : 2405, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(measurement<\/decl.var.parameter.argument_label>: List<\/ref.struct>.Measurement<\/ref.enum><\/decl.var.parameter.type> = .fillParent<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: ListProperties<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>, @ListableBuilder<\/ref.enum><Section<\/ref.struct>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> sections<\/decl.var.parameter.argument_label>: () -> [Section<\/ref.struct>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 347, - "key.line" : 76, - "key.modulename" : "BlueprintUILists", - "key.name" : "init(measurement:configure:sections:)", - "key.namelength" : 183, - "key.nameoffset" : 2572, - "key.offset" : 2572, - "key.parsed_declaration" : "public init(\n measurement : List.Measurement = .fillParent,\n configure : ListProperties.Configure = { _ in },\n @ListableBuilder
sections : () -> [Section]\n)", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 76, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(measurement:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List.Type) -> (List.Measurement, (inout ListProperties) -> (), () -> [Section]) -> List", - "key.typeusr" : "$s11measurement9configure8sections16BlueprintUILists4ListVAF11MeasurementO_y10ListableUI0F10PropertiesVzXESayAI7SectionVGyXEtcD", - "key.usr" : "s:16BlueprintUILists4ListV11measurement9configure8sectionsA2C11MeasurementO_y10ListableUI0C10PropertiesVzXESayAI7SectionVGyXEtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Element", - "key.offset" : 2939 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: ElementContent<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2973 - } - ], - "key.bodylength" : 217, - "key.bodyoffset" : 3010, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the content of this element.\n\nElements generally fall into two types:\n- Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some\n content that can be measured. Leaf elements typically instantiate their content with\n `ElementContent(measurable:)` or similar.\n- Container elements: these element have one or more children, which are arranged by a layout implementation.\n Container elements typically use methods like `ElementContent(layout:configure:)` to instantiate\n their content.", - "key.doc.column" : 9, - "key.doc.declaration" : "var content: BlueprintUI.ElementContent { get }", - "key.doc.discussion" : [ - { - "Para" : "Elements generally fall into two types:" - }, - { - "List-Bullet" : "" - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "content<\/Name>s:11BlueprintUI7ElementP7contentAA0C7ContentVvp<\/USR>var content: BlueprintUI.ElementContent { get }<\/Declaration>Returns the content of this element.<\/Para><\/Abstract>Elements generally fall into two types:<\/Para>Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some content that can be measured. Leaf elements typically instantiate their content with ElementContent(measurable:)<\/codeVoice> or similar.<\/Para><\/Item>Container elements: these element have one or more children, which are arranged by a layout implementation. Container elements typically use methods like ElementContent(layout:configure:)<\/codeVoice> to instantiate their content.<\/Para><\/Item><\/List-Bullet>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 52, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: ElementContent<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 248, - "key.line" : 92, - "key.modulename" : "BlueprintUILists", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 2984, - "key.offset" : 2980, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - } - ], - "key.parsed_declaration" : "public var content : ElementContent", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "ElementContent", - "key.typeusr" : "$s11BlueprintUI14ElementContentVD", - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func backingViewDescription(with context: ViewDescriptionContext<\/Type>) -> ViewDescription<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3238 - } - ], - "key.bodylength" : 17, - "key.bodyoffset" : 3332, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns an (optional) description of the view that should back this element.\n\nIn Blueprint, elements that are displayed using a live `UIView` instance are referred to as \"view-backed\".\nElements become view-backed by returning a `ViewDescription` value from this method.\n\n- Parameter context: The context this element is rendered in.\n\n- Returns: An optional `ViewDescription`.", - "key.doc.column" : 10, - "key.doc.declaration" : "func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?", - "key.doc.discussion" : [ - { - "Para" : "In Blueprint, elements that are displayed using a live `UIView` instance are referred to as “view-backed”. Elements become view-backed by returning a `ViewDescription` value from this method." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "backingViewDescription(with:)<\/Name>s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF<\/USR>func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?<\/Declaration>Returns an (optional) description of the view that should back this element.<\/Para><\/Abstract>context<\/Name>in<\/Direction>The context this element is rendered in.<\/Para><\/Discussion><\/Parameter><\/Parameters>An optional ViewDescription<\/codeVoice>.<\/Para><\/ResultDiscussion>In Blueprint, elements that are displayed using a live UIView<\/codeVoice> instance are referred to as “view-backed”. Elements become view-backed by returning a ViewDescription<\/codeVoice> value from this method.<\/Para>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 62, - "key.doc.name" : "backingViewDescription(with:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The context this element is rendered in." - } - ], - "name" : "context" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "An optional `ViewDescription`." - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> backingViewDescription<\/decl.name>(with<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ViewDescriptionContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewDescription<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 105, - "key.line" : 102, - "key.modulename" : "BlueprintUILists", - "key.name" : "backingViewDescription(with:)", - "key.namelength" : 60, - "key.nameoffset" : 3250, - "key.offset" : 3245, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - } - ], - "key.parsed_declaration" : "public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(List) -> (ViewDescriptionContext) -> ViewDescription?", - "key.typeusr" : "$s4with11BlueprintUI15ViewDescriptionVSgAB0dE7ContextV_tcD", - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - } - ], - "key.typename" : "List.Type", - "key.typeusr" : "$s16BlueprintUILists4ListVmD", - "key.usr" : "s:16BlueprintUILists4ListV" - }, - { - "key.annotated_decl" : "public struct List : Element<\/Type><\/Declaration>", - "key.bodylength" : 3920, - "key.bodyoffset" : 3371, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A Blueprint element which can be used to display a Listable `ListView` within\nan element tree.\n\nYou should use the `List` element as follows, just like you'd use the `configure(with:)` method\non `ListView` itself.\n```\nList { list in\n list.header = PodcastsHeader()\n\n let podcasts = Podcast.podcasts.sorted { $0.episode < $1.episode }\n\n list += Section(\"podcasts\") { section in\n\n section.header = PodcastsSectionHeader()\n\n section += podcasts.map { podcast in\n PodcastRow(podcast: podcast)\n }\n }\n}\n```\nThe parameter passed to the initialization closure is an instance of `ListProperties`,\nwhich holds the various configuration options and content for the list. See `ListProperties` for\na full overview of all the configuration options available such as animation, layout configuration, etc.\n\nWhen being laid out, a `List` will take up as much space as it is allowed. If you'd like to constrain\nthe size of a list, wrap it in a `ConstrainedSize`, or other size constraining element.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct List : Element", - "key.doc.discussion" : [ - { - "Para" : "You should use the `List` element as follows, just like you’d use the `configure(with:)` method on `ListView` itself." - }, - { - "CodeListing" : "" - }, - { - "Para" : "The parameter passed to the initialization closure is an instance of `ListProperties`, which holds the various configuration options and content for the list. See `ListProperties` for a full overview of all the configuration options available such as animation, layout configuration, etc." - }, - { - "Para" : "When being laid out, a `List` will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a `ConstrainedSize`, or other size constraining element." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.doc.full_as_xml" : "List<\/Name>s:16BlueprintUILists4ListV<\/USR>public struct List : Element<\/Declaration>A Blueprint element which can be used to display a Listable ListView<\/codeVoice> within an element tree.<\/Para><\/Abstract>You should use the List<\/codeVoice> element as follows, just like you’d use the configure(with:)<\/codeVoice> method on ListView<\/codeVoice> itself.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The parameter passed to the initialization closure is an instance of ListProperties<\/codeVoice>, which holds the various configuration options and content for the list. See ListProperties<\/codeVoice> for a full overview of all the configuration options available such as animation, layout configuration, etc.<\/Para>When being laid out, a List<\/codeVoice> will take up as much space as it is allowed. If you’d like to constrain the size of a list, wrap it in a ConstrainedSize<\/codeVoice>, or other size constraining element.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "List", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> List<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3937, - "key.line" : 42, - "key.modulename" : "BlueprintUILists", - "key.name" : "List", - "key.namelength" : 4, - "key.nameoffset" : 3365, - "key.offset" : 3355, - "key.parsed_declaration" : "extension List", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "struct ListContent : Element<\/Type><\/Declaration>", - "key.bodylength" : 3878, - "key.bodyoffset" : 3411, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 7, - "key.offset" : 3402 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListContent<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Element" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3909, - "key.line" : 110, - "key.modulename" : "BlueprintUILists", - "key.name" : "ListContent", - "key.namelength" : 11, - "key.nameoffset" : 3388, - "key.offset" : 3381, - "key.parsed_declaration" : "struct ListContent : Element", - "key.parsed_scope.end" : 222, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var properties: ListProperties<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> properties<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 112, - "key.modulename" : "BlueprintUILists", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 3433, - "key.offset" : 3429, - "key.parsed_declaration" : "var properties : ListProperties", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 112, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV10properties10ListableUI0C10PropertiesVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var measurement: List<\/Type>.Measurement<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> measurement<\/decl.name>: List<\/ref.struct>.Measurement<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 113, - "key.modulename" : "BlueprintUILists", - "key.name" : "measurement", - "key.namelength" : 11, - "key.nameoffset" : 3473, - "key.offset" : 3469, - "key.parsed_declaration" : "var measurement : List.Measurement", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "List.Measurement", - "key.typeusr" : "$s16BlueprintUILists4ListV11MeasurementOD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV11measurementAC11MeasurementOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(properties: ListProperties<\/Type>, measurement: List<\/Type>.Measurement<\/Type>, environment: Environment<\/Type>)<\/Declaration>", - "key.bodylength" : 374, - "key.bodyoffset" : 3661, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(properties<\/decl.var.parameter.argument_label>: ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, measurement<\/decl.var.parameter.argument_label>: List<\/ref.struct>.Measurement<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: Environment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 515, - "key.line" : 115, - "key.modulename" : "BlueprintUILists", - "key.name" : "init(properties:measurement:environment:)", - "key.namelength" : 138, - "key.nameoffset" : 3521, - "key.offset" : 3521, - "key.parsed_declaration" : "init(\n properties : ListProperties,\n measurement : List.Measurement,\n environment : Environment\n)", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var properties: ListProperties<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> properties<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 120, - "key.modulename" : "BlueprintUILists", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 3678, - "key.offset" : 3674, - "key.parsed_declaration" : "var properties = properties", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 120, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV10properties11measurement11environmentAE10ListableUI0C10PropertiesV_AC11MeasurementO0aI011EnvironmentVtcfcAFL0_AKvp" - } - ], - "key.typename" : "(List.ListContent.Type) -> (ListProperties, List.Measurement, Environment) -> List.ListContent", - "key.typeusr" : "$s10properties11measurement11environment16BlueprintUILists4ListV0F7ContentV10ListableUI0F10PropertiesV_AF11MeasurementO0dI011EnvironmentVtcD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV10properties11measurement11environmentAE10ListableUI0C10PropertiesV_AC11MeasurementO0aI011EnvironmentVtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Element", - "key.offset" : 4057 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: ElementContent<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4092 - } - ], - "key.bodylength" : 1064, - "key.bodyoffset" : 4129, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the content of this element.\n\nElements generally fall into two types:\n- Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some\n content that can be measured. Leaf elements typically instantiate their content with\n `ElementContent(measurable:)` or similar.\n- Container elements: these element have one or more children, which are arranged by a layout implementation.\n Container elements typically use methods like `ElementContent(layout:configure:)` to instantiate\n their content.", - "key.doc.column" : 9, - "key.doc.declaration" : "var content: BlueprintUI.ElementContent { get }", - "key.doc.discussion" : [ - { - "Para" : "Elements generally fall into two types:" - }, - { - "List-Bullet" : "" - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "content<\/Name>s:11BlueprintUI7ElementP7contentAA0C7ContentVvp<\/USR>var content: BlueprintUI.ElementContent { get }<\/Declaration>Returns the content of this element.<\/Para><\/Abstract>Elements generally fall into two types:<\/Para>Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some content that can be measured. Leaf elements typically instantiate their content with ElementContent(measurable:)<\/codeVoice> or similar.<\/Para><\/Item>Container elements: these element have one or more children, which are arranged by a layout implementation. Container elements typically use methods like ElementContent(layout:configure:)<\/codeVoice> to instantiate their content.<\/Para><\/Item><\/List-Bullet>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 52, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: ElementContent<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 1095, - "key.line" : 135, - "key.modulename" : "BlueprintUILists", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 4103, - "key.offset" : 4099, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - } - ], - "key.parsed_declaration" : "public var content : ElementContent", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "ElementContent", - "key.typeusr" : "$s11BlueprintUI14ElementContentVD", - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func backingViewDescription(with context: ViewDescriptionContext<\/Type>) -> ViewDescription<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5212 - } - ], - "key.bodylength" : 512, - "key.bodyoffset" : 5314, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns an (optional) description of the view that should back this element.\n\nIn Blueprint, elements that are displayed using a live `UIView` instance are referred to as \"view-backed\".\nElements become view-backed by returning a `ViewDescription` value from this method.\n\n- Parameter context: The context this element is rendered in.\n\n- Returns: An optional `ViewDescription`.", - "key.doc.column" : 10, - "key.doc.declaration" : "func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?", - "key.doc.discussion" : [ - { - "Para" : "In Blueprint, elements that are displayed using a live `UIView` instance are referred to as “view-backed”. Elements become view-backed by returning a `ViewDescription` value from this method." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "backingViewDescription(with:)<\/Name>s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF<\/USR>func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?<\/Declaration>Returns an (optional) description of the view that should back this element.<\/Para><\/Abstract>context<\/Name>in<\/Direction>The context this element is rendered in.<\/Para><\/Discussion><\/Parameter><\/Parameters>An optional ViewDescription<\/codeVoice>.<\/Para><\/ResultDiscussion>In Blueprint, elements that are displayed using a live UIView<\/codeVoice> instance are referred to as “view-backed”. Elements become view-backed by returning a ViewDescription<\/codeVoice> value from this method.<\/Para>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 62, - "key.doc.name" : "backingViewDescription(with:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The context this element is rendered in." - } - ], - "name" : "context" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "An optional `ViewDescription`." - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> backingViewDescription<\/decl.name>(with<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ViewDescriptionContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewDescription<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 608, - "key.line" : 163, - "key.modulename" : "BlueprintUILists", - "key.name" : "backingViewDescription(with:)", - "key.namelength" : 60, - "key.nameoffset" : 5224, - "key.offset" : 5219, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - } - ], - "key.parsed_declaration" : "public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var properties: ListProperties<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> properties<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 32, - "key.line" : 165, - "key.modulename" : "BlueprintUILists", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 5331, - "key.offset" : 5327, - "key.parsed_declaration" : "var properties = self.properties", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 165, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV22backingViewDescription4with0A2UI0fG0VSgAH0fG7ContextV_tF10propertiesL_08ListableI00C10PropertiesVvp" - } - ], - "key.typename" : "(List.ListContent) -> (ViewDescriptionContext) -> ViewDescription?", - "key.typeusr" : "$s4with11BlueprintUI15ViewDescriptionVSgAB0dE7ContextV_tcD", - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func size(with size: MeasuredListSize<\/Type>, in constraint: SizeConstraint<\/Type>, layoutMode: LayoutMode<\/Type>, horizontalFill: Measurement<\/Type>.FillRule<\/Type>, verticalFill: Measurement<\/Type>.FillRule<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 1170, - "key.bodyoffset" : 6113, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> size<\/decl.name>(with<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: MeasuredListSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> constraint<\/decl.var.parameter.name>: SizeConstraint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, layoutMode<\/decl.var.parameter.argument_label>: LayoutMode<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, horizontalFill<\/decl.var.parameter.argument_label>: Measurement<\/ref.enum>.FillRule<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, verticalFill<\/decl.var.parameter.argument_label>: Measurement<\/ref.enum>.FillRule<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 1439, - "key.line" : 180, - "key.modulename" : "BlueprintUILists", - "key.name" : "size(with:in:layoutMode:horizontalFill:verticalFill:)", - "key.namelength" : 236, - "key.nameoffset" : 5857, - "key.offset" : 5845, - "key.parsed_declaration" : "static func size(\n with size : MeasuredListSize,\n in constraint : SizeConstraint,\n layoutMode: LayoutMode,\n horizontalFill : Measurement.FillRule,\n verticalFill : Measurement.FillRule\n) -> CGSize", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let width: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> width<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 429, - "key.line" : 188, - "key.modulename" : "BlueprintUILists", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 6130, - "key.offset" : 6126, - "key.parsed_declaration" : "let width : CGFloat = {\n switch horizontalFill {\n case .fillParent:\n if let max = constraint.width.constrainedValue {\n return max\n } else {\n return .infinity\n }\n case .natural:\n return size.naturalWidth ?? size.contentSize.width\n }\n}()", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 188, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV4size4with2in10layoutMode14horizontalFill08verticalK0So6CGSizeV10ListableUI08MeasuredC4SizeV_0aO00Q10ConstraintVAQ06LayoutI0VAC11MeasurementO0K4RuleOAYtFZ5widthL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let height: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/List.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> height<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 578, - "key.line" : 201, - "key.modulename" : "BlueprintUILists", - "key.name" : "height", - "key.namelength" : 6, - "key.nameoffset" : 6585, - "key.offset" : 6581, - "key.parsed_declaration" : "let height : CGFloat = {\n switch verticalFill {\n case .fillParent:\n if let max = constraint.height.constrainedValue {\n return max\n } else {\n return .infinity\n }\n case .natural:\n if let maxHeight = constraint.height.constrainedValue {\n return min(size.contentSize.height, maxHeight)\n }\n return size.contentSize.height\n }\n}()", - "key.parsed_scope.end" : 201, - "key.parsed_scope.start" : 201, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV4size4with2in10layoutMode14horizontalFill08verticalK0So6CGSizeV10ListableUI08MeasuredC4SizeV_0aO00Q10ConstraintVAQ06LayoutI0VAC11MeasurementO0K4RuleOAYtFZ6heightL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "(List.ListContent.Type) -> (MeasuredListSize, SizeConstraint, LayoutMode, List.Measurement.FillRule, List.Measurement.FillRule) -> CGSize", - "key.typeusr" : "$s4with2in10layoutMode14horizontalFill08verticalF0So6CGSizeV10ListableUI16MeasuredListSizeV_09BlueprintJ00M10ConstraintVAK06LayoutD0V0N7UILists0L0V11MeasurementO0F4RuleOAVtcD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV4size4with2in10layoutMode14horizontalFill08verticalK0So6CGSizeV10ListableUI08MeasuredC4SizeV_0aO00Q10ConstraintVAQ06LayoutI0VAC11MeasurementO0K4RuleOAYtFZ" - } - ], - "key.typename" : "List.ListContent.Type", - "key.typeusr" : "$s16BlueprintUILists4ListV0C7ContentVmD", - "key.usr" : "s:16BlueprintUILists4ListV0C7ContentV" - } - ], - "key.typename" : "List.Type", - "key.typeusr" : "$s16BlueprintUILists4ListVmD", - "key.usr" : "s:16BlueprintUILists4ListV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListEnvironment+Blueprint.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 458, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "struct ListEnvironment<\/Declaration>", - "key.bodylength" : 298, - "key.bodyoffset" : 158, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An environment of keys and values that are passed to every `ItemContent` and `HeaderFooter`\nduring layout and measurement, to allow passing down data.\n\nThis type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`,\nand then provide a custom getter and setter to read and write the content:\n\n```\nenum MyLayoutTypeKey : ListEnvironmentKey {\n var defaultValue : MyLayoutType {\n .defaultLayout\n }\n}\n\nextension ListEnvironment {\n var myLayoutType : MyLayoutType {\n get { self[MyLayoutTypeKey.self] }\n set { self[MyLayoutTypeKey.self] = newValue }\n }\n}\n```\n\nYou can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`'s\n`apply(to:for:with:)` methods.\n\n```\nfunc apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n) {\n switch info.environment.myLayoutType {\n ...\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "struct ListEnvironment", - "key.doc.discussion" : [ - { - "Para" : "This type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`, and then provide a custom getter and setter to read and write the content:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`’s `apply(to:for:with:)` methods." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "ListEnvironment<\/Name>s:10ListableUI15ListEnvironmentV<\/USR>struct ListEnvironment<\/Declaration>An environment of keys and values that are passed to every ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice> during layout and measurement, to allow passing down data.<\/Para><\/Abstract>This type is similar to the SwiftUI or Blueprint Environment<\/codeVoice>, where you define a ListEnvironmentKey<\/codeVoice>, and then provide a custom getter and setter to read and write the content:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can retrieve the ListEnvironment<\/codeVoice> through the info<\/codeVoice> object passed in ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice>’s apply(to:for:with:)<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered>,]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 44, - "key.doc.name" : "ListEnvironment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListEnvironment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 326, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "ListEnvironment", - "key.namelength" : 15, - "key.nameoffset" : 141, - "key.offset" : 131, - "key.parsed_declaration" : "extension ListEnvironment", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var blueprintEnvironment: Environment<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 96, - "key.bodyoffset" : 208, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListEnvironment+Blueprint.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> blueprintEnvironment<\/decl.name>: Environment<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 137, - "key.line" : 13, - "key.modulename" : "BlueprintUILists", - "key.name" : "blueprintEnvironment", - "key.namelength" : 20, - "key.nameoffset" : 172, - "key.offset" : 168, - "key.parsed_declaration" : "var blueprintEnvironment : Environment", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "Environment", - "key.typeusr" : "$s11BlueprintUI11EnvironmentVD", - "key.usr" : "s:10ListableUI15ListEnvironmentV16BlueprintUIListsE09blueprintD00eB00D0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum BlueprintKey : ListEnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 315 - } - ], - "key.bodylength" : 91, - "key.bodyoffset" : 363, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 343 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListEnvironment+Blueprint.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> BlueprintKey<\/decl.name> : ListEnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "ListEnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 132, - "key.line" : 18, - "key.modulename" : "BlueprintUILists", - "key.name" : "BlueprintKey", - "key.namelength" : 12, - "key.nameoffset" : 328, - "key.offset" : 323, - "key.parsed_declaration" : "private enum BlueprintKey : ListEnvironmentKey", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static var defaultValue: Environment<\/Type> { get }<\/Declaration>", - "key.bodylength" : 28, - "key.bodyoffset" : 420, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value has been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from ListEnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListEnvironment+Blueprint.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Environment<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 68, - "key.line" : 20, - "key.modulename" : "BlueprintUILists", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 392, - "key.offset" : 381, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.parsed_declaration" : "static var defaultValue : Environment", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "Environment", - "key.typeusr" : "$s11BlueprintUI11EnvironmentVD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.typename" : "ListEnvironment.BlueprintKey.Type", - "key.typeusr" : "$s10ListableUI15ListEnvironmentV16BlueprintUIListsE0E3Key33_C2C04DB8082C938671FE71F91CCB3C26LLOmD", - "key.usr" : "s:10ListableUI15ListEnvironmentV16BlueprintUIListsE0E3Key33_C2C04DB8082C938671FE71F91CCB3C26LLO" - } - ], - "key.typename" : "ListEnvironment.Type", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVmD", - "key.usr" : "s:10ListableUI15ListEnvironmentV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7380, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListReorderGesture : Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1122 - } - ], - "key.bodylength" : 1759, - "key.bodyoffset" : 1166, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An element that wraps your provided element, to enable support\nfor user-driven re-ordering in a list view.\n\nIf you do not support reordering items, you do not need\nto add this element anywhere in your hierarchy.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.\n\nIn the below example, we see how to set up the content of a simple item, which contains\na text label and a reorder grabber.\n\n```\nfunc element(with info : ApplyItemContentInfo) -> Element\n{\n Row { row in\n row.add(child: Label(text: \"...\"))\n\n row.add(child: ListReorderGesture(actions: info.actions, wrapping: MyReorderGrabber()))\n\n \/\/ Could also be written as:\n row.add(child: MyReorderGrabber().listReorderGesture(with: info.reorderingActions))\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\nAn element that wraps your provided element, to enable support\nfor user-driven re-ordering in a list view.\n\nIf you do not support reordering items, you do not need\nto add this element anywhere in your hierarchy.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.\n\nIn the below example, we see how to set up the content of a simple item, which contains\na text label and a reorder grabber.\n\n```\nfunc element(with info : ApplyItemContentInfo) -> Element\n{\n Row { row in\n row.add(child: Label(text: \"...\"))\n\n row.add(child: ListReorderGesture(actions: info.actions, wrapping: MyReorderGrabber()))\n\n \/\/ Could also be written as:\n row.add(child: MyReorderGrabber().listReorderGesture(with: info.reorderingActions))\n }\n}\n```", - "key.doc.declaration" : "public struct ListReorderGesture : Element", - "key.doc.discussion" : [ - { - "Para" : "If you do not support reordering items, you do not need to add this element anywhere in your hierarchy." - }, - { - "Para" : "This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element." - }, - { - "Para" : "In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "ListReorderGesture<\/Name>s:16BlueprintUILists18ListReorderGestureV<\/USR>public struct ListReorderGesture : Element<\/Declaration>An element that wraps your provided element, to enable support for user-driven re-ordering in a list view.<\/Para><\/Abstract>If you do not support reordering items, you do not need to add this element anywhere in your hierarchy.<\/Para>This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element.<\/Para>In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber.<\/Para> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ListReorderGesture", - "key.doc.type" : "Class", - "key.doclength" : 946, - "key.docoffset" : 176, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 7, - "key.offset" : 1157 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListReorderGesture<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Element" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1797, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "ListReorderGesture", - "key.namelength" : 18, - "key.nameoffset" : 1136, - "key.offset" : 1129, - "key.parsed_declaration" : "public struct ListReorderGesture : Element", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ListReorderGesture<\/Type>.Begins<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1176 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 1196, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListReorderGesture<\/ref.struct>.Begins<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 63, - "key.line" : 43, - "key.modulename" : "BlueprintUILists", - "key.name" : "Begins", - "key.namelength" : 6, - "key.nameoffset" : 1188, - "key.offset" : 1183, - "key.parsed_declaration" : "public enum Begins", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 1205, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case onTap<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> onTap<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 44, - "key.modulename" : "BlueprintUILists", - "key.name" : "onTap", - "key.namelength" : 5, - "key.nameoffset" : 1210, - "key.offset" : 1210, - "key.parsed_declaration" : "case onTap", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "(ListReorderGesture.Begins.Type) -> ListReorderGesture.Begins", - "key.typeusr" : "$sy16BlueprintUILists18ListReorderGestureV6BeginsOAEmcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV6BeginsO5onTapyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 1224, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case onLongPress<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> onLongPress<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 45, - "key.modulename" : "BlueprintUILists", - "key.name" : "onLongPress", - "key.namelength" : 11, - "key.nameoffset" : 1229, - "key.offset" : 1229, - "key.parsed_declaration" : "case onLongPress", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.typename" : "(ListReorderGesture.Begins.Type) -> ListReorderGesture.Begins", - "key.typeusr" : "$sy16BlueprintUILists18ListReorderGestureV6BeginsOAEmcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV6BeginsO11onLongPressyA2EmF" - } - ] - } - ], - "key.typename" : "ListReorderGesture.Begins.Type", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureV6BeginsOmD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV6BeginsO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var element: Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1319 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The element which is being wrapped by the reorder gesture.", - "key.doc.column" : 16, - "key.doc.comment" : "The element which is being wrapped by the reorder gesture.", - "key.doc.declaration" : "public var element: Element", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "element<\/Name>s:16BlueprintUILists18ListReorderGestureV7element0A2UI7Element_pvp<\/USR>public var element: Element<\/Declaration>The element which is being wrapped by the reorder gesture.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 49, - "key.doc.name" : "element", - "key.doc.type" : "Other", - "key.doclength" : 63, - "key.docoffset" : 1252, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> element<\/decl.name>: Element<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 49, - "key.modulename" : "BlueprintUILists", - "key.name" : "element", - "key.namelength" : 7, - "key.nameoffset" : 1330, - "key.offset" : 1326, - "key.parsed_declaration" : "public var element : Element", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "any Element", - "key.typeusr" : "$s11BlueprintUI7Element_pD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV7element0A2UI7Element_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isEnabled: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1399 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the gesture is enabled or not.", - "key.doc.column" : 16, - "key.doc.comment" : "If the gesture is enabled or not.", - "key.doc.declaration" : "public var isEnabled: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "isEnabled<\/Name>s:16BlueprintUILists18ListReorderGestureV9isEnabledSbvp<\/USR>public var isEnabled: Bool<\/Declaration>If the gesture is enabled or not.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 52, - "key.doc.name" : "isEnabled", - "key.doc.type" : "Other", - "key.doclength" : 38, - "key.docoffset" : 1357, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isEnabled<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 52, - "key.modulename" : "BlueprintUILists", - "key.name" : "isEnabled", - "key.namelength" : 9, - "key.nameoffset" : 1410, - "key.offset" : 1406, - "key.parsed_declaration" : "public var isEnabled : Bool", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV9isEnabledSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var begins: Begins<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1479 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Condition to start the reorder gesture", - "key.doc.column" : 16, - "key.doc.comment" : "Condition to start the reorder gesture", - "key.doc.declaration" : "public var begins: Begins", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "begins<\/Name>s:16BlueprintUILists18ListReorderGestureV6beginsAC6BeginsOvp<\/USR>public var begins: Begins<\/Declaration>Condition to start the reorder gesture<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 55, - "key.doc.name" : "begins", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 1432, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> begins<\/decl.name>: Begins<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 55, - "key.modulename" : "BlueprintUILists", - "key.name" : "begins", - "key.namelength" : 6, - "key.nameoffset" : 1490, - "key.offset" : 1486, - "key.parsed_declaration" : "public var begins: Begins", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListReorderGesture.Begins", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureV6BeginsOD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV6beginsAC6BeginsOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let actions: ReorderingActions<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> actions<\/decl.name>: ReorderingActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 57, - "key.modulename" : "BlueprintUILists", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 1518, - "key.offset" : 1514, - "key.parsed_declaration" : "let actions : ReorderingActions", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.typename" : "ReorderingActions", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV7actions10ListableUI17ReorderingActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var accessibilityLabel: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1637 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The acccessibility label for the reorder element. Defaults to \"Reorder\".", - "key.doc.column" : 16, - "key.doc.comment" : "The acccessibility label for the reorder element. Defaults to \"Reorder\".", - "key.doc.declaration" : "public var accessibilityLabel: String?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "accessibilityLabel<\/Name>s:16BlueprintUILists18ListReorderGestureV18accessibilityLabelSSSgvp<\/USR>public var accessibilityLabel: String?<\/Declaration>The acccessibility label for the reorder element. Defaults to “Reorder”.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "accessibilityLabel", - "key.doc.type" : "Other", - "key.doclength" : 78, - "key.docoffset" : 1555, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityLabel<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 60, - "key.modulename" : "BlueprintUILists", - "key.name" : "accessibilityLabel", - "key.namelength" : 18, - "key.nameoffset" : 1648, - "key.offset" : 1644, - "key.parsed_declaration" : "public var accessibilityLabel : String?", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV18accessibilityLabelSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isEnabled: Bool<\/Type> = true, actions: ReorderingActions<\/Type>, begins: Begins<\/Type> = .onTap, accessibilityLabel: String<\/Type>? = nil, wrapping element: Element<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1930 - } - ], - "key.bodylength" : 213, - "key.bodyoffset" : 2131, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new re-order gesture which wraps the provided element.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new re-order gesture which wraps the provided element.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.", - "key.doc.declaration" : "public init(isEnabled: Bool = true, actions: ReorderingActions, begins: Begins = .onTap, accessibilityLabel: String? = nil, wrapping element: Element)", - "key.doc.discussion" : [ - { - "Para" : "This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "init(isEnabled:actions:begins:accessibilityLabel:wrapping:)<\/Name>s:16BlueprintUILists18ListReorderGestureV9isEnabled7actions6begins18accessibilityLabel8wrappingACSb_10ListableUI17ReorderingActionsCAC6BeginsOSSSg0aN07Element_ptcfc<\/USR>public init(isEnabled: Bool = true, actions: ReorderingActions, begins: Begins = .onTap, accessibilityLabel: String? = nil, wrapping element: Element)<\/Declaration>Creates a new re-order gesture which wraps the provided element.<\/Para><\/Abstract>This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 66, - "key.doc.name" : "init(isEnabled:actions:begins:accessibilityLabel:wrapping:)", - "key.doc.type" : "Function", - "key.doclength" : 240, - "key.docoffset" : 1686, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isEnabled<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, actions<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, begins<\/decl.var.parameter.argument_label>: Begins<\/ref.enum><\/decl.var.parameter.type> = .onTap<\/decl.var.parameter>, accessibilityLabel<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, wrapping<\/decl.var.parameter.argument_label> element<\/decl.var.parameter.name>: Element<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 408, - "key.line" : 66, - "key.modulename" : "BlueprintUILists", - "key.name" : "init(isEnabled:actions:begins:accessibilityLabel:wrapping:)", - "key.namelength" : 192, - "key.nameoffset" : 1937, - "key.offset" : 1937, - "key.parsed_declaration" : "public init(\n isEnabled : Bool = true,\n actions : ReorderingActions,\n begins: Begins = .onTap,\n accessibilityLabel: String? = nil,\n wrapping element : Element\n)", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture.Type) -> (Bool, ReorderingActions, ListReorderGesture.Begins, String?, any Element) -> ListReorderGesture", - "key.typeusr" : "$s9isEnabled7actions6begins18accessibilityLabel8wrapping16BlueprintUILists18ListReorderGestureVSb_10ListableUI17ReorderingActionsCAH6BeginsOSSSg0hN07Element_ptcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV9isEnabled7actions6begins18accessibilityLabel8wrappingACSb_10ListableUI17ReorderingActionsCAC6BeginsOSSSg0aN07Element_ptcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Element", - "key.offset" : 2361 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: ElementContent<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2391 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 2427, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the content of this element.\n\nElements generally fall into two types:\n- Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some\n content that can be measured. Leaf elements typically instantiate their content with\n `ElementContent(measurable:)` or similar.\n- Container elements: these element have one or more children, which are arranged by a layout implementation.\n Container elements typically use methods like `ElementContent(layout:configure:)` to instantiate\n their content.", - "key.doc.column" : 9, - "key.doc.declaration" : "var content: BlueprintUI.ElementContent { get }", - "key.doc.discussion" : [ - { - "Para" : "Elements generally fall into two types:" - }, - { - "List-Bullet" : "" - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "content<\/Name>s:11BlueprintUI7ElementP7contentAA0C7ContentVvp<\/USR>var content: BlueprintUI.ElementContent { get }<\/Declaration>Returns the content of this element.<\/Para><\/Abstract>Elements generally fall into two types:<\/Para>Leaf elements, or elements that have no children. These elements commonly have an intrinsic size, or some content that can be measured. Leaf elements typically instantiate their content with ElementContent(measurable:)<\/codeVoice> or similar.<\/Para><\/Item>Container elements: these element have one or more children, which are arranged by a layout implementation. Container elements typically use methods like ElementContent(layout:configure:)<\/codeVoice> to instantiate their content.<\/Para><\/Item><\/List-Bullet>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 52, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: ElementContent<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 79, - "key.line" : 88, - "key.modulename" : "BlueprintUILists", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 2402, - "key.offset" : 2398, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - } - ], - "key.parsed_declaration" : "public var content: ElementContent", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.typename" : "ElementContent", - "key.typeusr" : "$s11BlueprintUI14ElementContentVD", - "key.usr" : "s:11BlueprintUI7ElementP7contentAA0C7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func backingViewDescription(with context: ViewDescriptionContext<\/Type>) -> ViewDescription<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2487 - } - ], - "key.bodylength" : 337, - "key.bodyoffset" : 2585, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns an (optional) description of the view that should back this element.\n\nIn Blueprint, elements that are displayed using a live `UIView` instance are referred to as \"view-backed\".\nElements become view-backed by returning a `ViewDescription` value from this method.\n\n- Parameter context: The context this element is rendered in.\n\n- Returns: An optional `ViewDescription`.", - "key.doc.column" : 10, - "key.doc.declaration" : "func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?", - "key.doc.discussion" : [ - { - "Para" : "In Blueprint, elements that are displayed using a live `UIView` instance are referred to as “view-backed”. Elements become view-backed by returning a `ViewDescription` value from this method." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "backingViewDescription(with:)<\/Name>s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF<\/USR>func backingViewDescription(with context: BlueprintUI.ViewDescriptionContext) -> BlueprintUI.ViewDescription?<\/Declaration>Returns an (optional) description of the view that should back this element.<\/Para><\/Abstract>context<\/Name>in<\/Direction>The context this element is rendered in.<\/Para><\/Discussion><\/Parameter><\/Parameters>An optional ViewDescription<\/codeVoice>.<\/Para><\/ResultDiscussion>In Blueprint, elements that are displayed using a live UIView<\/codeVoice> instance are referred to as “view-backed”. Elements become view-backed by returning a ViewDescription<\/codeVoice> value from this method.<\/Para>This documentation comment was inherited from Element<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 62, - "key.doc.name" : "backingViewDescription(with:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The context this element is rendered in." - } - ], - "name" : "context" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "An optional `ViewDescription`." - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> backingViewDescription<\/decl.name>(with<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ViewDescriptionContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewDescription<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 429, - "key.line" : 92, - "key.modulename" : "BlueprintUILists", - "key.name" : "backingViewDescription(with:)", - "key.namelength" : 60, - "key.nameoffset" : 2499, - "key.offset" : 2494, - "key.overrides" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - } - ], - "key.parsed_declaration" : "public func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription?", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture) -> (ViewDescriptionContext) -> ViewDescription?", - "key.typeusr" : "$s4with11BlueprintUI15ViewDescriptionVSgAB0dE7ContextV_tcD", - "key.usr" : "s:11BlueprintUI7ElementP22backingViewDescription4withAA0eF0VSgAA0eF7ContextV_tF" - } - ], - "key.typename" : "ListReorderGesture.Type", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureVmD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "protocol Element<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2929 - } - ], - "key.bodylength" : 520, - "key.bodyoffset" : 2955, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Conforming types represent a rectangular content area in a two-dimensional\nlayout space.\n\n***\n\nThe ultimate purpose of an element is to provide visual content. This can be\ndone in two ways:\n\n- By providing a view description (`ViewDescription`).\n\n- By providing child elements that will be displayed recursively within\n the local coordinate space.\n\n***\n\nA custom element might look something like this:\n\n```\nstruct MyElement: Element {\n\n var backgroundColor: UIColor = .red\n\n \/\/ Returns a single child element.\n var content: ElementContent {\n return ElementContent(child: Label(text: \"😂\"))\n }\n\n \/\/ Providing a view description means that this element will be\n \/\/ backed by a UIView instance when displayed in a `BlueprintView`.\n func backingViewDescription(with context: ViewDescriptionContext) -> ViewDescription? {\n return UIView.describe { config in\n config.bind(backgroundColor, to: \\.backgroundColor)\n }\n }\n\n}\n```\n", - "key.doc.column" : 17, - "key.doc.declaration" : "protocol Element", - "key.doc.discussion" : [ - { - "Para" : "The ultimate purpose of an element is to provide visual content. This can be done in two ways:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "A custom element might look something like this:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.doc.full_as_xml" : "Element<\/Name>s:11BlueprintUI7ElementP<\/USR>protocol Element<\/Declaration>Conforming types represent a rectangular content area in a two-dimensional layout space.<\/Para><\/Abstract>]]><\/rawHTML>The ultimate purpose of an element is to provide visual content. This can be done in two ways:<\/Para>By providing a view description (ViewDescription<\/codeVoice>).<\/Para><\/Item>By providing child elements that will be displayed recursively within the local coordinate space.<\/Para><\/Item><\/List-Bullet>]]><\/rawHTML>A custom element might look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ViewDescription? {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 41, - "key.doc.name" : "Element", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Development\/Tuist\/.build\/checkouts\/Blueprint\/BlueprintUI\/Sources\/Element\/Element.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> Element<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 540, - "key.line" : 41, - "key.modulename" : "BlueprintUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 2946, - "key.offset" : 2936, - "key.parsed_declaration" : "public extension Element", - "key.parsed_scope.end" : 126, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listReorderGesture(with actions: ReorderingActions<\/Type>, isEnabled: Bool<\/Type> = true, begins: ListReorderGesture<\/Type>.Begins<\/Type> = .onTap, accessibilityLabel: String<\/Type>? = nil) -> Element<\/Type><\/Declaration>", - "key.bodylength" : 252, - "key.bodyoffset" : 3221, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Wraps the element in a re-order gesture.", - "key.doc.column" : 10, - "key.doc.comment" : "Wraps the element in a re-order gesture.", - "key.doc.declaration" : "func listReorderGesture(with actions: ReorderingActions, isEnabled: Bool = true, begins: ListReorderGesture.Begins = .onTap, accessibilityLabel: String? = nil) -> Element", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "listReorderGesture(with:isEnabled:begins:accessibilityLabel:)<\/Name>s:11BlueprintUI7ElementP0A7UIListsE18listReorderGesture4with9isEnabled6begins18accessibilityLabelAaB_p08ListableB017ReorderingActionsC_SbAD04ListfG0V6BeginsOSSSgtF<\/USR>func listReorderGesture(with actions: ReorderingActions, isEnabled: Bool = true, begins: ListReorderGesture.Begins = .onTap, accessibilityLabel: String? = nil) -> Element<\/Declaration>Wraps the element in a re-order gesture.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 114, - "key.doc.name" : "listReorderGesture(with:isEnabled:begins:accessibilityLabel:)", - "key.doc.type" : "Function", - "key.doclength" : 45, - "key.docoffset" : 2960, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listReorderGesture<\/decl.name>(with<\/decl.var.parameter.argument_label> actions<\/decl.var.parameter.name>: ReorderingActions<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, isEnabled<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, begins<\/decl.var.parameter.argument_label>: ListReorderGesture<\/ref.struct>.Begins<\/ref.enum><\/decl.var.parameter.type> = .onTap<\/decl.var.parameter>, accessibilityLabel<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Element<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 465, - "key.line" : 114, - "key.modulename" : "BlueprintUILists", - "key.name" : "listReorderGesture(with:isEnabled:begins:accessibilityLabel:)", - "key.namelength" : 194, - "key.nameoffset" : 3014, - "key.offset" : 3009, - "key.parsed_declaration" : "func listReorderGesture(\n with actions : ReorderingActions,\n isEnabled : Bool = true,\n begins: ListReorderGesture.Begins = .onTap,\n accessibilityLabel: String? = nil\n) -> Element", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 114, - "key.receivers" : [ - { - "key.usr" : "s:11BlueprintUI7ElementP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ReorderingActions, Bool, ListReorderGesture.Begins, String?) -> any Element", - "key.typeusr" : "$s4with9isEnabled6begins18accessibilityLabel11BlueprintUI7Element_p08ListableH017ReorderingActionsC_Sb0G7UILists18ListReorderGestureV6BeginsOSSSgtcD", - "key.usr" : "s:11BlueprintUI7ElementP0A7UIListsE18listReorderGesture4with9isEnabled6begins18accessibilityLabelAaB_p08ListableB017ReorderingActionsC_SbAD04ListfG0V6BeginsOSSSgtF" - } - ], - "key.typename" : "Element.Type", - "key.typeusr" : "$s11BlueprintUI7Element_pmD", - "key.usr" : "s:11BlueprintUI7ElementP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "public struct ListReorderGesture : Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 3479 - } - ], - "key.bodylength" : 3303, - "key.bodyoffset" : 3521, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An element that wraps your provided element, to enable support\nfor user-driven re-ordering in a list view.\n\nIf you do not support reordering items, you do not need\nto add this element anywhere in your hierarchy.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.\n\nIn the below example, we see how to set up the content of a simple item, which contains\na text label and a reorder grabber.\n\n```\nfunc element(with info : ApplyItemContentInfo) -> Element\n{\n Row { row in\n row.add(child: Label(text: \"...\"))\n\n row.add(child: ListReorderGesture(actions: info.actions, wrapping: MyReorderGrabber()))\n\n \/\/ Could also be written as:\n row.add(child: MyReorderGrabber().listReorderGesture(with: info.reorderingActions))\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListReorderGesture : Element", - "key.doc.discussion" : [ - { - "Para" : "If you do not support reordering items, you do not need to add this element anywhere in your hierarchy." - }, - { - "Para" : "This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element." - }, - { - "Para" : "In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "ListReorderGesture<\/Name>s:16BlueprintUILists18ListReorderGestureV<\/USR>public struct ListReorderGesture : Element<\/Declaration>An element that wraps your provided element, to enable support for user-driven re-ordering in a list view.<\/Para><\/Abstract>If you do not support reordering items, you do not need to add this element anywhere in your hierarchy.<\/Para>This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element.<\/Para>In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber.<\/Para> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ListReorderGesture", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListReorderGesture<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3334, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "ListReorderGesture", - "key.namelength" : 18, - "key.nameoffset" : 3501, - "key.offset" : 3491, - "key.parsed_declaration" : "fileprivate extension ListReorderGesture", - "key.parsed_scope.end" : 212, - "key.parsed_scope.start" : 129, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private final class View : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 3534 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3526 - } - ], - "key.bodylength" : 3257, - "key.bodyoffset" : 3565, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 3553 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> View<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3283, - "key.line" : 131, - "key.modulename" : "BlueprintUILists", - "key.name" : "View", - "key.namelength" : 4, - "key.nameoffset" : 3546, - "key.offset" : 3540, - "key.parsed_declaration" : "private final class View : UIView", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let containerView: UIView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> containerView<\/decl.name>: UIView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 134, - "key.modulename" : "BlueprintUILists", - "key.name" : "containerView", - "key.namelength" : 13, - "key.nameoffset" : 3587, - "key.offset" : 3583, - "key.parsed_declaration" : "let containerView = UIView()", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.typename" : "UIView", - "key.typeusr" : "$sSo6UIViewCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC09containerF0So6UIViewCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let recognizer: ItemReordering<\/Type>.GestureRecognizer<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> recognizer<\/decl.name>: ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 135, - "key.modulename" : "BlueprintUILists", - "key.name" : "recognizer", - "key.namelength" : 10, - "key.nameoffset" : 3624, - "key.offset" : 3620, - "key.parsed_declaration" : "let recognizer : ItemReordering.GestureRecognizer", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "ItemReordering.GestureRecognizer", - "key.typeusr" : "$s10ListableUI14ItemReorderingV17GestureRecognizerCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC10recognizer10ListableUI14ItemReorderingV0E10RecognizerCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private lazy var proxyElement: UIAccessibilityElement<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 3686 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3678 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> proxyElement<\/decl.name>: UIAccessibilityElement<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 71, - "key.line" : 136, - "key.modulename" : "BlueprintUILists", - "key.name" : "proxyElement", - "key.namelength" : 12, - "key.nameoffset" : 3695, - "key.offset" : 3691, - "key.parsed_declaration" : "private lazy var proxyElement = UIAccessibilityElement(accessibilityContainer: self)", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "UIAccessibilityElement", - "key.typeusr" : "$sSo22UIAccessibilityElementCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC12proxyElementSo015UIAccessibilityR0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var minimumPressDuration: TimeInterval<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3771 - } - ], - "key.bodylength" : 89, - "key.bodyoffset" : 3825, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> minimumPressDuration<\/decl.name>: TimeInterval<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 136, - "key.line" : 137, - "key.modulename" : "BlueprintUILists", - "key.name" : "minimumPressDuration", - "key.namelength" : 20, - "key.nameoffset" : 3783, - "key.offset" : 3779, - "key.parsed_declaration" : "private var minimumPressDuration: TimeInterval = 0.0", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Double", - "key.typeusr" : "$sSdD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC20minimumPressDurationSdvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func updateGesturePressDuration()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3939 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 3933 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 3982, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateGesturePressDuration<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 165, - "key.line" : 143, - "key.modulename" : "BlueprintUILists", - "key.name" : "updateGesturePressDuration()", - "key.namelength" : 28, - "key.nameoffset" : 3952, - "key.offset" : 3947, - "key.parsed_declaration" : "@objc private func updateGesturePressDuration()", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "(ListReorderGesture.View) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC06updateE13PressDurationyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(frame: CGRect<\/Type>, wrapping: ListReorderGesture<\/Type>)<\/Declaration>", - "key.bodylength" : 724, - "key.bodyoffset" : 4190, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, wrapping<\/decl.var.parameter.argument_label>: ListReorderGesture<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 785, - "key.line" : 147, - "key.modulename" : "BlueprintUILists", - "key.name" : "init(frame:wrapping:)", - "key.namelength" : 50, - "key.nameoffset" : 4130, - "key.offset" : 4130, - "key.parsed_declaration" : "init(frame: CGRect, wrapping : ListReorderGesture)", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 147, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture.View.Type) -> (CGRect, ListReorderGesture) -> ListReorderGesture.View", - "key.typeusr" : "$s5frame8wrapping16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLCSo6CGRectV_AEtcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC5frame8wrappingAFSo6CGRectV_ACtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 4968 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 4933 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 5009, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 78, - "key.name" : "init(coder:)", - "key.namelength" : 30, - "key.nameoffset" : 4977, - "key.offset" : 4977, - "key.substructure" : [ - - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func apply(_ model: ListReorderGesture<\/Type>)<\/Declaration>", - "key.bodylength" : 598, - "key.bodyoffset" : 5114, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> apply<\/decl.name>(_<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: ListReorderGesture<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 640, - "key.line" : 173, - "key.modulename" : "BlueprintUILists", - "key.name" : "apply(_:)", - "key.namelength" : 34, - "key.nameoffset" : 5078, - "key.offset" : 5073, - "key.parsed_declaration" : "func apply(_ model: ListReorderGesture)", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture.View) -> (ListReorderGesture) -> ()", - "key.typeusr" : "$syy16BlueprintUILists18ListReorderGestureVcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC5applyyyACF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5731 - } - ], - "key.bodylength" : 85, - "key.bodyoffset" : 5763, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 109, - "key.line" : 185, - "key.modulename" : "BlueprintUILists", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 5745, - "key.offset" : 5740, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 185, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture.View) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC14layoutSubviewsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func hitTest(_ point: CGPoint<\/Type>, with event: UIEvent<\/Type>?) -> UIView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5867 - } - ], - "key.bodylength" : 358, - "key.bodyoffset" : 5941, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> hitTest<\/decl.name>(_<\/decl.var.parameter.argument_label> point<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> UIView<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 424, - "key.line" : 190, - "key.modulename" : "BlueprintUILists", - "key.name" : "hitTest(_:with:)", - "key.namelength" : 47, - "key.nameoffset" : 5881, - "key.offset" : 5876, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)hitTest:withEvent:" - } - ], - "key.parsed_declaration" : "override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 190, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListReorderGesture.View) -> (CGPoint, UIEvent?) -> UIView?", - "key.typeusr" : "$s_4withSo6UIViewCSgSo7CGPointV_So7UIEventCSgtcD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC7hitTest_4withSo6UIViewCSgSo7CGPointV_So7UIEventCSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var accessibilityElements: [Any]? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 6318 - } - ], - "key.bodylength" : 454, - "key.bodyoffset" : 6362, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityElements<\/decl.name>: [Any<\/syntaxtype.keyword>]?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 490, - "key.line" : 200, - "key.modulename" : "BlueprintUILists", - "key.name" : "accessibilityElements", - "key.namelength" : 21, - "key.nameoffset" : 6331, - "key.offset" : 6327, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)NSObject(py)accessibilityElements" - } - ], - "key.parsed_declaration" : "override var accessibilityElements: [Any]?", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 200, - "key.related_decls" : [ - { - "key.annotated_decl" : "accessibilityElements()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[Any]?", - "key.typeusr" : "$sSayypGSgD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC21accessibilityElementsSayypGSgvp" - } - ], - "key.typename" : "ListReorderGesture.View.Type", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLCmD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV4View33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLC" - } - ], - "key.typename" : "ListReorderGesture.Type", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureVmD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "public struct ListReorderGesture : Element<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 6828 - } - ], - "key.bodylength" : 508, - "key.bodyoffset" : 6870, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An element that wraps your provided element, to enable support\nfor user-driven re-ordering in a list view.\n\nIf you do not support reordering items, you do not need\nto add this element anywhere in your hierarchy.\n\nThis element on its own has no visual appearance. Thus, you should\nstill render your own reorder dragger \/ handle \/ etc in the passed in element.\n\nIn the below example, we see how to set up the content of a simple item, which contains\na text label and a reorder grabber.\n\n```\nfunc element(with info : ApplyItemContentInfo) -> Element\n{\n Row { row in\n row.add(child: Label(text: \"...\"))\n\n row.add(child: ListReorderGesture(actions: info.actions, wrapping: MyReorderGrabber()))\n\n \/\/ Could also be written as:\n row.add(child: MyReorderGrabber().listReorderGesture(with: info.reorderingActions))\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListReorderGesture : Element", - "key.doc.discussion" : [ - { - "Para" : "If you do not support reordering items, you do not need to add this element anywhere in your hierarchy." - }, - { - "Para" : "This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element." - }, - { - "Para" : "In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.doc.full_as_xml" : "ListReorderGesture<\/Name>s:16BlueprintUILists18ListReorderGestureV<\/USR>public struct ListReorderGesture : Element<\/Declaration>An element that wraps your provided element, to enable support for user-driven re-ordering in a list view.<\/Para><\/Abstract>If you do not support reordering items, you do not need to add this element anywhere in your hierarchy.<\/Para>This element on its own has no visual appearance. Thus, you should still render your own reorder dragger \/ handle \/ etc in the passed in element.<\/Para>In the below example, we see how to set up the content of a simple item, which contains a text label and a reorder grabber.<\/Para> Element]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ListReorderGesture", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListReorderGesture<\/decl.name> : Element<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 539, - "key.line" : 40, - "key.modulename" : "BlueprintUILists", - "key.name" : "ListReorderGesture", - "key.namelength" : 18, - "key.nameoffset" : 6850, - "key.offset" : 6840, - "key.parsed_declaration" : "fileprivate extension ListReorderGesture", - "key.parsed_scope.end" : 226, - "key.parsed_scope.start" : 215, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func accessibilityActions() -> [UIAccessibilityCustomAction<\/Type>]?<\/Declaration>", - "key.bodylength" : 438, - "key.bodyoffset" : 6938, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> accessibilityActions<\/decl.name>() -> [UIAccessibilityCustomAction<\/ref.class>]?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 502, - "key.line" : 216, - "key.modulename" : "BlueprintUILists", - "key.name" : "accessibilityActions()", - "key.namelength" : 22, - "key.nameoffset" : 6880, - "key.offset" : 6875, - "key.parsed_declaration" : "func accessibilityActions() -> [UIAccessibilityCustomAction]?", - "key.parsed_scope.end" : 225, - "key.parsed_scope.start" : 216, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let up: UIAccessibilityCustomAction<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> up<\/decl.name>: UIAccessibilityCustomAction<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 187, - "key.line" : 217, - "key.modulename" : "BlueprintUILists", - "key.name" : "up", - "key.namelength" : 2, - "key.nameoffset" : 6951, - "key.offset" : 6947, - "key.parsed_declaration" : "let up = UIAccessibilityCustomAction(name: ListableLocalizedStrings.ReorderGesture.accessibilityMoveUp) { _ in\n return self.actions.accessibilityMove(direction: .up)\n}", - "key.parsed_scope.end" : 217, - "key.parsed_scope.start" : 217, - "key.reusingastcontext" : false, - "key.typename" : "UIAccessibilityCustomAction", - "key.typeusr" : "$sSo27UIAccessibilityCustomActionCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV20accessibilityActions33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLSaySo27UIAccessibilityCustomActionCGSgyF2upL_AGvp" - }, - { - "key.annotated_decl" : "let down: UIAccessibilityCustomAction<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/BlueprintUILists\/Sources\/ListReorderGesture.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> down<\/decl.name>: UIAccessibilityCustomAction<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 193, - "key.line" : 220, - "key.modulename" : "BlueprintUILists", - "key.name" : "down", - "key.namelength" : 4, - "key.nameoffset" : 7147, - "key.offset" : 7143, - "key.parsed_declaration" : "let down = UIAccessibilityCustomAction(name: ListableLocalizedStrings.ReorderGesture.accessibilityMoveDown) { _ in\n return self.actions.accessibilityMove(direction: .down)\n}", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 220, - "key.reusingastcontext" : false, - "key.typename" : "UIAccessibilityCustomAction", - "key.typeusr" : "$sSo27UIAccessibilityCustomActionCD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV20accessibilityActions33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLSaySo27UIAccessibilityCustomActionCGSgyF4downL_AGvp" - } - ], - "key.typename" : "(ListReorderGesture) -> () -> [UIAccessibilityCustomAction]?", - "key.typeusr" : "$sSaySo27UIAccessibilityCustomActionCGSgycD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV20accessibilityActions33_6236E0E4B561C9F4DE17B47CFD4B9B7FLLSaySo27UIAccessibilityCustomActionCGSgyF" - } - ], - "key.typename" : "ListReorderGesture.Type", - "key.typeusr" : "$s16BlueprintUILists18ListReorderGestureVmD", - "key.usr" : "s:16BlueprintUILists18ListReorderGestureV" - } - ] - } -}] diff --git a/docs/JSON/ListableUI.json b/docs/JSON/ListableUI.json deleted file mode 100644 index 605d7df60..000000000 --- a/docs/JSON/ListableUI.json +++ /dev/null @@ -1,119912 +0,0 @@ -[{ - "\/Users\/johnnewman\/Development\/Listable\/Derived\/Sources\/TuistBundle+ListableUI.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 415, - "key.offset" : 0, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 44, - "key.name" : "MARK: - Swift Bundle Accessor for Frameworks", - "key.offset" : 100 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private class BundleFinder<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 145 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 173, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Derived\/Sources\/TuistBundle+ListableUI.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> BundleFinder<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 21, - "key.line" : 5, - "key.modulename" : "ListableUI", - "key.name" : "BundleFinder", - "key.namelength" : 12, - "key.nameoffset" : 159, - "key.offset" : 153, - "key.parsed_declaration" : "private class BundleFinder", - "key.parsed_scope.end" : 5, - "key.parsed_scope.start" : 5, - "key.reusingastcontext" : false, - "key.typename" : "BundleFinder.Type", - "key.typeusr" : "$s10ListableUI12BundleFinder33_6C9F7F10565DDC33DFBBFCAA8A479740LLCmD", - "key.usr" : "s:10ListableUI12BundleFinder33_6C9F7F10565DDC33DFBBFCAA8A479740LLC" - }, - { - "key.annotated_decl" : "@_nonSendable(_assumed) class Bundle : NSObject<\/Type>, @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 161, - "key.bodyoffset" : 204, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Headers\/NSBundle.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> Bundle<\/decl.name> : NSObject<\/ref.class>, @unchecked Sendable<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 191, - "key.line" : 20, - "key.modulename" : "Foundation.NSBundle", - "key.name" : "Foundation.Bundle", - "key.namelength" : 17, - "key.nameoffset" : 185, - "key.offset" : 175, - "key.parsed_declaration" : "extension Foundation.Bundle", - "key.parsed_scope.end" : 9, - "key.parsed_scope.start" : 6, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let module: Bundle<\/Type><\/Declaration>", - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Since ListableUI is a dynamic framework, the bundle for classes within this module can be used directly.", - "key.doc.column" : 12, - "key.doc.comment" : "Since ListableUI is a dynamic framework, the bundle for classes within this module can be used directly.", - "key.doc.declaration" : "static let module: Bundle", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/Derived\/Sources\/TuistBundle+ListableUI.swift", - "key.doc.full_as_xml" : "module<\/Name>s:So8NSBundleC10ListableUIE6moduleABvpZ<\/USR>static let module: Bundle<\/Declaration>Since ListableUI is a dynamic framework, the bundle for classes within this module can be used directly.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 8, - "key.doc.name" : "module", - "key.doc.type" : "Other", - "key.doclength" : 109, - "key.docoffset" : 205, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/Derived\/Sources\/TuistBundle+ListableUI.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> module<\/decl.name>: Bundle<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 50, - "key.line" : 8, - "key.modulename" : "ListableUI", - "key.name" : "module", - "key.namelength" : 6, - "key.nameoffset" : 325, - "key.offset" : 314, - "key.parsed_declaration" : "static let module = Bundle(for: BundleFinder.self)", - "key.parsed_scope.end" : 8, - "key.parsed_scope.start" : 8, - "key.reusingastcontext" : false, - "key.typename" : "Bundle", - "key.typeusr" : "$sSo8NSBundleCD", - "key.usr" : "s:So8NSBundleC10ListableUIE6moduleABvpZ" - } - ], - "key.typename" : "Bundle.Type", - "key.typeusr" : "$sSo8NSBundleCmD", - "key.usr" : "c:objc(cs)NSBundle" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1623, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Appearance : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 336 - } - ], - "key.bodylength" : 1247, - "key.bodyoffset" : 374, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Contains all the properties which affect the appearance of all possible kinds of list layouts.\n\nFor properties that are specific to individual layouts, see the `layoutAppearance` property\non each layout type.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nContains all the properties which affect the appearance of all possible kinds of list layouts.\n\nFor properties that are specific to individual layouts, see the `layoutAppearance` property\non each layout type.", - "key.doc.declaration" : "public struct Appearance : Equatable", - "key.doc.discussion" : [ - { - "Para" : "For properties that are specific to individual layouts, see the `layoutAppearance` property on each layout type." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "Appearance<\/Name>s:10ListableUI10AppearanceV<\/USR>public struct Appearance : Equatable<\/Declaration>Contains all the properties which affect the appearance of all possible kinds of list layouts.<\/Para><\/Abstract>For properties that are specific to individual layouts, see the layoutAppearance<\/codeVoice> property on each layout type.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 17, - "key.doc.name" : "Appearance", - "key.doc.type" : "Class", - "key.doclength" : 232, - "key.docoffset" : 104, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 363 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Appearance<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1279, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "Appearance", - "key.namelength" : 10, - "key.nameoffset" : 350, - "key.offset" : 343, - "key.parsed_declaration" : "public struct Appearance : Equatable", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@Color<\/Type> public var backgroundColor: UIColor<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 429 - }, - { - "key.attribute" : "source.decl.attribute._custom", - "key.length" : 6, - "key.offset" : 422 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background color for the list.", - "key.doc.column" : 23, - "key.doc.comment" : "The background color for the list.", - "key.doc.declaration" : "@ListableUI.Color public var backgroundColor: UIColor { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "backgroundColor<\/Name>s:10ListableUI10AppearanceV15backgroundColorSo7UIColorCvp<\/USR>@ListableUI.Color public var backgroundColor: UIColor { get set }<\/Declaration>The background color for the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "backgroundColor", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 379, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "@Color<\/ref.struct><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> backgroundColor<\/decl.name>: UIColor<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "backgroundColor", - "key.namelength" : 15, - "key.nameoffset" : 440, - "key.offset" : 436, - "key.parsed_declaration" : "@Color public var backgroundColor : UIColor", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor", - "key.typeusr" : "$sSo7UIColorCD", - "key.usr" : "s:10ListableUI10AppearanceV15backgroundColorSo7UIColorCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var refreshControlColor: UIColor<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 522 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The tint color of the refresh control.", - "key.doc.column" : 16, - "key.doc.comment" : "The tint color of the refresh control.", - "key.doc.declaration" : "public var refreshControlColor: UIColor?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "refreshControlColor<\/Name>s:10ListableUI10AppearanceV19refreshControlColorSo7UIColorCSgvp<\/USR>public var refreshControlColor: UIColor?<\/Declaration>The tint color of the refresh control.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "refreshControlColor", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 475, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> refreshControlColor<\/decl.name>: UIColor<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "refreshControlColor", - "key.namelength" : 19, - "key.nameoffset" : 533, - "key.offset" : 529, - "key.parsed_declaration" : "public var refreshControlColor : UIColor?", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor?", - "key.typeusr" : "$sSo7UIColorCSgD", - "key.usr" : "s:10ListableUI10AppearanceV19refreshControlColorSo7UIColorCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var showsScrollIndicators: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 631 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list should display its scroll indicators.", - "key.doc.column" : 16, - "key.doc.comment" : "If the list should display its scroll indicators.", - "key.doc.declaration" : "public var showsScrollIndicators: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "showsScrollIndicators<\/Name>s:10ListableUI10AppearanceV21showsScrollIndicatorsSbvp<\/USR>public var showsScrollIndicators: Bool<\/Declaration>If the list should display its scroll indicators.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 26, - "key.doc.name" : "showsScrollIndicators", - "key.doc.type" : "Other", - "key.doclength" : 54, - "key.docoffset" : 573, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> showsScrollIndicators<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "showsScrollIndicators", - "key.namelength" : 21, - "key.nameoffset" : 642, - "key.offset" : 638, - "key.parsed_declaration" : "public var showsScrollIndicators : Bool", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI10AppearanceV21showsScrollIndicatorsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(backgroundColor: UIColor<\/Type> = Self.defaultBackgroundColor, refreshControlColor: UIColor<\/Type>? = nil, showsScrollIndicators: Bool<\/Type> = true, configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 751 - } - ], - "key.bodylength" : 226, - "key.bodyoffset" : 977, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new appearance object with the provided options.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new appearance object with the provided options.", - "key.doc.declaration" : "public init(backgroundColor: UIColor = Self.defaultBackgroundColor, refreshControlColor: UIColor? = nil, showsScrollIndicators: Bool = true, configure: (inout `Self`) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "init(backgroundColor:refreshControlColor:showsScrollIndicators:configure:)<\/Name>s:10ListableUI10AppearanceV15backgroundColor014refreshControlE021showsScrollIndicators9configureACSo7UIColorC_AISgSbyACzXEtcfc<\/USR>public init(backgroundColor: UIColor = Self.defaultBackgroundColor, refreshControlColor: UIColor? = nil, showsScrollIndicators: Bool = true, configure: (inout `Self`) -> () = { _ in })<\/Declaration>Creates a new appearance object with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 29, - "key.doc.name" : "init(backgroundColor:refreshControlColor:showsScrollIndicators:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 63, - "key.docoffset" : 684, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(backgroundColor<\/decl.var.parameter.argument_label>: UIColor<\/ref.class><\/decl.var.parameter.type> = Self.defaultBackgroundColor<\/decl.var.parameter>, refreshControlColor<\/decl.var.parameter.argument_label>: UIColor<\/ref.class>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, showsScrollIndicators<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 446, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "init(backgroundColor:refreshControlColor:showsScrollIndicators:configure:)", - "key.namelength" : 217, - "key.nameoffset" : 758, - "key.offset" : 758, - "key.parsed_declaration" : "public init(\n backgroundColor : UIColor = Self.defaultBackgroundColor,\n refreshControlColor : UIColor? = nil,\n showsScrollIndicators : Bool = true,\n configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Appearance.Type) -> (UIColor, UIColor?, Bool, (inout Appearance) -> ()) -> Appearance", - "key.typeusr" : "$s15backgroundColor014refreshControlB021showsScrollIndicators9configure10ListableUI10AppearanceVSo7UIColorC_AISgSbyAGzXEtcD", - "key.usr" : "s:10ListableUI10AppearanceV15backgroundColor014refreshControlE021showsScrollIndicators9configureACSo7UIColorC_AISgSbyACzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultBackgroundColor: UIColor<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1273 - } - ], - "key.bodylength" : 294, - "key.bodyoffset" : 1325, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default background color for the `Appearance`.", - "key.doc.column" : 23, - "key.doc.comment" : "The default background color for the `Appearance`.", - "key.doc.declaration" : "public static var defaultBackgroundColor: UIColor { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.doc.full_as_xml" : "defaultBackgroundColor<\/Name>s:10ListableUI10AppearanceV22defaultBackgroundColorSo7UIColorCvpZ<\/USR>public static var defaultBackgroundColor: UIColor { get }<\/Declaration>The default background color for the Appearance<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 45, - "key.doc.name" : "defaultBackgroundColor", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 1214, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Appearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultBackgroundColor<\/decl.name>: UIColor<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 340, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "defaultBackgroundColor", - "key.namelength" : 22, - "key.nameoffset" : 1291, - "key.offset" : 1280, - "key.parsed_declaration" : "public static var defaultBackgroundColor : UIColor", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.typename" : "UIColor", - "key.typeusr" : "$sSo7UIColorCD", - "key.usr" : "s:10ListableUI10AppearanceV22defaultBackgroundColorSo7UIColorCvpZ" - } - ], - "key.typename" : "Appearance.Type", - "key.typeusr" : "$s10ListableUI10AppearanceVmD", - "key.usr" : "s:10ListableUI10AppearanceV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1041, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ApplyReason : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 185 - } - ], - "key.bodylength" : 817, - "key.bodyoffset" : 221, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Why the `Item` or `HeaderFooter` is being asked to apply an update to its presented views.", - "key.doc.column" : 13, - "key.doc.comment" : "Why the `Item` or `HeaderFooter` is being asked to apply an update to its presented views.", - "key.doc.declaration" : "public enum ApplyReason : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.doc.full_as_xml" : "ApplyReason<\/Name>s:10ListableUI11ApplyReasonO<\/USR>public enum ApplyReason : Hashable<\/Declaration>Why the Item<\/codeVoice> or HeaderFooter<\/codeVoice> is being asked to apply an update to its presented views.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 10, - "key.doc.name" : "ApplyReason", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 90, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 211 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ApplyReason<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 847, - "key.line" : 10, - "key.modulename" : "ListableUI", - "key.name" : "ApplyReason", - "key.namelength" : 11, - "key.nameoffset" : 197, - "key.offset" : 192, - "key.parsed_declaration" : "public enum ApplyReason : Hashable", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 10, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 325, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case willDisplay<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The view is about to be displayed on screen. Update should be performed with no animation.", - "key.doc.column" : 10, - "key.doc.comment" : "The view is about to be displayed on screen. Update should be performed with no animation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.doc.full_as_xml" : "willDisplay<\/Name>s:10ListableUI11ApplyReasonO11willDisplayyA2CmF<\/USR><\/Declaration>The view is about to be displayed on screen. Update should be performed with no animation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 13, - "key.doc.name" : "willDisplay", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 226, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> willDisplay<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "willDisplay", - "key.namelength" : 11, - "key.nameoffset" : 330, - "key.offset" : 330, - "key.parsed_declaration" : "case willDisplay", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "(ApplyReason.Type) -> ApplyReason", - "key.typeusr" : "$sy10ListableUI11ApplyReasonOACmcD", - "key.usr" : "s:10ListableUI11ApplyReasonO11willDisplayyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 498, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case wasUpdated<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A view that is already visible is being updated.\nIf your updates can contain animated transitions, you should animate this update.", - "key.doc.column" : 10, - "key.doc.comment" : "A view that is already visible is being updated.\nIf your updates can contain animated transitions, you should animate this update.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.doc.full_as_xml" : "wasUpdated<\/Name>s:10ListableUI11ApplyReasonO10wasUpdatedyA2CmF<\/USR><\/Declaration>A view that is already visible is being updated. If your updates can contain animated transitions, you should animate this update.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "wasUpdated", - "key.doc.type" : "Other", - "key.doclength" : 143, - "key.docoffset" : 351, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> wasUpdated<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "wasUpdated", - "key.namelength" : 10, - "key.nameoffset" : 503, - "key.offset" : 503, - "key.parsed_declaration" : "case wasUpdated", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "(ApplyReason.Type) -> ApplyReason", - "key.typeusr" : "$sy10ListableUI11ApplyReasonOACmcD", - "key.usr" : "s:10ListableUI11ApplyReasonO10wasUpdatedyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 639, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case measurement<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item is being measured to perform the layout of the list. Update should be performed with no animation.", - "key.doc.column" : 10, - "key.doc.comment" : "The item is being measured to perform the layout of the list. Update should be performed with no animation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.doc.full_as_xml" : "measurement<\/Name>s:10ListableUI11ApplyReasonO11measurementyA2CmF<\/USR><\/Declaration>The item is being measured to perform the layout of the list. Update should be performed with no animation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "measurement", - "key.doc.type" : "Other", - "key.doclength" : 112, - "key.docoffset" : 523, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> measurement<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "measurement", - "key.namelength" : 11, - "key.nameoffset" : 644, - "key.offset" : 644, - "key.parsed_declaration" : "case measurement", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "(ApplyReason.Type) -> ApplyReason", - "key.typeusr" : "$sy10ListableUI11ApplyReasonOACmcD", - "key.usr" : "s:10ListableUI11ApplyReasonO11measurementyA2CmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var shouldAnimate: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 848 - } - ], - "key.bodylength" : 155, - "key.bodyoffset" : 881, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If you should use animations while applying the update.\nCheck this boolean in your `apply` method to avoid\nhaving to `switch` over the value of `ApplyReason`.", - "key.doc.column" : 16, - "key.doc.comment" : "If you should use animations while applying the update.\nCheck this boolean in your `apply` method to avoid\nhaving to `switch` over the value of `ApplyReason`.", - "key.doc.declaration" : "public var shouldAnimate: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.doc.full_as_xml" : "shouldAnimate<\/Name>s:10ListableUI11ApplyReasonO13shouldAnimateSbvp<\/USR>public var shouldAnimate: Bool { get }<\/Declaration>If you should use animations while applying the update. Check this boolean in your apply<\/codeVoice> method to avoid having to switch<\/codeVoice> over the value of ApplyReason<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 25, - "key.doc.name" : "shouldAnimate", - "key.doc.type" : "Other", - "key.doclength" : 179, - "key.docoffset" : 665, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ApplyReason.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> shouldAnimate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 182, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "shouldAnimate", - "key.namelength" : 13, - "key.nameoffset" : 859, - "key.offset" : 855, - "key.parsed_declaration" : "public var shouldAnimate : Bool", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI11ApplyReasonO13shouldAnimateSbvp" - } - ], - "key.typename" : "ApplyReason.Type", - "key.typeusr" : "$s10ListableUI11ApplyReasonOmD", - "key.usr" : "s:10ListableUI11ApplyReasonO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8511, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum AutoScrollAction<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 178 - } - ], - "key.bodylength" : 5490, - "key.bodyoffset" : 208, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Options for auto-scrolling to items when the list is updated.", - "key.doc.column" : 13, - "key.doc.comment" : "Options for auto-scrolling to items when the list is updated.", - "key.doc.declaration" : "public enum AutoScrollAction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "AutoScrollAction<\/Name>s:10ListableUI16AutoScrollActionO<\/USR>public enum AutoScrollAction<\/Declaration>Options for auto-scrolling to items when the list is updated.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 12, - "key.doc.name" : "AutoScrollAction", - "key.doc.type" : "Other", - "key.doclength" : 66, - "key.docoffset" : 112, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> AutoScrollAction<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 5514, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "AutoScrollAction", - "key.namelength" : 16, - "key.nameoffset" : 190, - "key.offset" : 185, - "key.parsed_declaration" : "public enum AutoScrollAction", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 264, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The list never automatically scrolls.", - "key.doc.column" : 10, - "key.doc.comment" : "The list never automatically scrolls.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI16AutoScrollActionO4noneyA2CmF<\/USR><\/Declaration>The list never automatically scrolls.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 218, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 269, - "key.offset" : 269, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(AutoScrollAction.Type) -> AutoScrollAction", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionOACmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO4noneyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 45, - "key.offset" : 383, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case scrollToItem(onInsertOf: OnInsertedItem<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the specified item when the list is updated if the item was inserted in this update.", - "key.doc.column" : 10, - "key.doc.comment" : "Scrolls to the specified item when the list is updated if the item was inserted in this update.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "scrollToItem(onInsertOf:)<\/Name>s:10ListableUI16AutoScrollActionO12scrollToItemyA2C010OnInsertedH0V_tcACmF<\/USR><\/Declaration>Scrolls to the specified item when the list is updated if the item was inserted in this update.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "scrollToItem(onInsertOf:)", - "key.doc.type" : "Other", - "key.doclength" : 100, - "key.docoffset" : 279, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrollToItem<\/decl.name>(onInsertOf<\/decl.var.parameter.argument_label>: OnInsertedItem<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 40, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "scrollToItem(onInsertOf:)", - "key.namelength" : 40, - "key.nameoffset" : 388, - "key.offset" : 388, - "key.parsed_declaration" : "case scrollToItem(onInsertOf: OnInsertedItem)", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.Type) -> (AutoScrollAction.OnInsertedItem) -> AutoScrollAction", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionOAC14OnInsertedItemV_tcACmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO12scrollToItemyA2C010OnInsertedH0V_tcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 610, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case pin(to: Pin<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the specified item when the list is updated. Similar to `scrollToItem`, except it doesn't rely on item insertion to determine when scrolling is appropriate.", - "key.doc.column" : 10, - "key.doc.comment" : "Scrolls to the specified item when the list is updated. Similar to `scrollToItem`, except it doesn't rely on item insertion to determine when scrolling is appropriate.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "pin(to:)<\/Name>s:10ListableUI16AutoScrollActionO3pinyA2C3PinV_tcACmF<\/USR><\/Declaration>Scrolls to the specified item when the list is updated. Similar to scrollToItem<\/codeVoice>, except it doesn’t rely on item insertion to determine when scrolling is appropriate.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 21, - "key.doc.name" : "pin(to:)", - "key.doc.type" : "Other", - "key.doclength" : 172, - "key.docoffset" : 434, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> pin<\/decl.name>(to<\/decl.var.parameter.argument_label>: Pin<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "pin(to:)", - "key.namelength" : 12, - "key.nameoffset" : 615, - "key.offset" : 615, - "key.parsed_declaration" : "case pin(to: Pin)", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.related_decls" : [ - { - "key.annotated_decl" : "pin(_:position:animated:shouldPerform:didPerform:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.Type) -> (AutoScrollAction.Pin) -> AutoScrollAction", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionOAC3PinV_tcACmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO3pinyA2C3PinV_tcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func scrollTo(_ destination: ScrollDestination<\/Type>? = nil, onInsertOf insertedIdentifier: AnyIdentifier<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, shouldPerform: @escaping (ListScrollPositionInfo<\/Type>) -> Bool<\/Type> = { _ in true }, didPerform: @escaping (ListScrollPositionInfo<\/Type>) -> () = { _ in }) -> AutoScrollAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2564 - } - ], - "key.bodylength" : 367, - "key.bodyoffset" : 2952, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the specified item when the list is updated if the item was inserted in this update.\n\nIf you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure,\nwhich will be called when the item is inserted, to give you a chance to confirm or reject the scroll\naction. The `ListScrollPositionInfo` passed to your closure provides the current state of the list,\nincluding visible content edges and visible items. If you do not pass a `shouldPerform` closure,\nthe action will be performed on insert.\n\n### Example\n```\n\/\/ ID of item which should trigger a scroll event (eg the last item in the list).\nlet identifier = myItem.identifier\n\nlet action = .scrollTo(\n .lastItem,\n onInsertOf: identifier,\n position: .init(position: .bottom),\n animation: .default\n) { info in\n \/\/ Only scroll to the item if the bottom of the list is already visible.\n state.isLastItemVisible\n} didPerform : { info in\n \/\/ Called when the scroll action occurs.\n}\n```\n- Parameters:\n - destination: Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used.\n - onInsertOf: The identifier which should trigger the action.\n - position: The position to scroll the list to.\n - animation: The animation type to perform. Note: Will only animate if the list update itself is animated.\n - shouldPerform: A block which lets you control if the auto scroll action should be performed based on the state of the list.\n - didPerform: A block which is called when the action is performed. If the item causing insertion is inserted multiple times,\n this block will be called multiple times.\n", - "key.doc.column" : 24, - "key.doc.comment" : "Scrolls to the specified item when the list is updated if the item was inserted in this update.\n\nIf you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure,\nwhich will be called when the item is inserted, to give you a chance to confirm or reject the scroll\naction. The `ListScrollPositionInfo` passed to your closure provides the current state of the list,\nincluding visible content edges and visible items. If you do not pass a `shouldPerform` closure,\nthe action will be performed on insert.\n\n### Example\n```\n\/\/ ID of item which should trigger a scroll event (eg the last item in the list).\nlet identifier = myItem.identifier\n\nlet action = .scrollTo(\n .lastItem,\n onInsertOf: identifier,\n position: .init(position: .bottom),\n animation: .default\n) { info in\n \/\/ Only scroll to the item if the bottom of the list is already visible.\n state.isLastItemVisible\n} didPerform : { info in\n \/\/ Called when the scroll action occurs.\n}\n```\n- Parameters:\n - destination: Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used.\n - onInsertOf: The identifier which should trigger the action.\n - position: The position to scroll the list to.\n - animation: The animation type to perform. Note: Will only animate if the list update itself is animated.\n - shouldPerform: A block which lets you control if the auto scroll action should be performed based on the state of the list.\n - didPerform: A block which is called when the action is performed. If the item causing insertion is inserted multiple times,\n this block will be called multiple times.", - "key.doc.declaration" : "public static func scrollTo(_ destination: ScrollDestination? = nil, onInsertOf insertedIdentifier: AnyIdentifier, position: ScrollPosition, animated: Bool = false, shouldPerform: @escaping (ListScrollPositionInfo) -> Bool = { _ in true }, didPerform: @escaping (ListScrollPositionInfo) -> () = { _ in }) -> AutoScrollAction", - "key.doc.discussion" : [ - { - "Para" : "If you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure, which will be called when the item is inserted, to give you a chance to confirm or reject the scroll action. The `ListScrollPositionInfo` passed to your closure provides the current state of the list, including visible content edges and visible items. If you do not pass a `shouldPerform` closure, the action will be performed on insert." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "scrollTo(_:onInsertOf:position:animated:shouldPerform:didPerform:)<\/Name>s:10ListableUI16AutoScrollActionO8scrollTo_10onInsertOf8position8animated13shouldPerform03didN0A2C0D11DestinationOSg_AA13AnyIdentifierCAA0D8PositionVS2bAA04ListdS4InfoVcyARctFZ<\/USR>public static func scrollTo(_ destination: ScrollDestination? = nil, onInsertOf insertedIdentifier: AnyIdentifier, position: ScrollPosition, animated: Bool = false, shouldPerform: @escaping (ListScrollPositionInfo) -> Bool = { _ in true }, didPerform: @escaping (ListScrollPositionInfo) -> () = { _ in }) -> AutoScrollAction<\/Declaration>Scrolls to the specified item when the list is updated if the item was inserted in this update.<\/Para><\/Abstract>destination<\/Name>in<\/Direction>Where the list should scroll to on insert. If not specified, the value passed to onInsertOf<\/codeVoice> will be used.<\/Para><\/Discussion><\/Parameter>onInsertOf<\/Name>in<\/Direction>The identifier which should trigger the action.<\/Para><\/Discussion><\/Parameter>position<\/Name>in<\/Direction>The position to scroll the list to.<\/Para><\/Discussion><\/Parameter>animation<\/Name>in<\/Direction>The animation type to perform. Note: Will only animate if the list update itself is animated.<\/Para><\/Discussion><\/Parameter>shouldPerform<\/Name>in<\/Direction>A block which lets you control if the auto scroll action should be performed based on the state of the list.<\/Para><\/Discussion><\/Parameter>didPerform<\/Name>in<\/Direction>A block which is called when the action is performed. If the item causing insertion is inserted multiple times, this block will be called multiple times.<\/Para><\/Discussion><\/Parameter><\/Parameters>If you would like to control if this scroll should occur on insert, pass a shouldPerform<\/codeVoice> closure, which will be called when the item is inserted, to give you a chance to confirm or reject the scroll action. The ListScrollPositionInfo<\/codeVoice> passed to your closure provides the current state of the list, including visible content edges and visible items. If you do not pass a shouldPerform<\/codeVoice> closure, the action will be performed on insert.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 57, - "key.doc.name" : "scrollTo(_:onInsertOf:position:animated:shouldPerform:didPerform:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used." - } - ], - "name" : "destination" - }, - { - "discussion" : [ - { - "Para" : "The identifier which should trigger the action." - } - ], - "name" : "onInsertOf" - }, - { - "discussion" : [ - { - "Para" : "The position to scroll the list to." - } - ], - "name" : "position" - }, - { - "discussion" : [ - { - "Para" : "The animation type to perform. Note: Will only animate if the list update itself is animated." - } - ], - "name" : "animation" - }, - { - "discussion" : [ - { - "Para" : "A block which lets you control if the auto scroll action should be performed based on the state of the list." - } - ], - "name" : "shouldPerform" - }, - { - "discussion" : [ - { - "Para" : "A block which is called when the action is performed. If the item causing insertion is inserted multiple times, this block will be called multiple times." - } - ], - "name" : "didPerform" - } - ], - "key.doc.type" : "Function", - "key.doclength" : 1927, - "key.docoffset" : 633, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollTo<\/decl.name>(_<\/decl.var.parameter.argument_label> destination<\/decl.var.parameter.name>: ScrollDestination<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onInsertOf<\/decl.var.parameter.argument_label> insertedIdentifier<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, shouldPerform<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in true }<\/decl.var.parameter>, didPerform<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> AutoScrollAction<\/ref.enum><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 749, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "scrollTo(_:onInsertOf:position:animated:shouldPerform:didPerform:)", - "key.namelength" : 343, - "key.nameoffset" : 2583, - "key.offset" : 2571, - "key.parsed_declaration" : "public static func scrollTo(\n _ destination : ScrollDestination? = nil,\n onInsertOf insertedIdentifier: AnyIdentifier,\n position: ScrollPosition,\n animated : Bool = false,\n shouldPerform : @escaping (ListScrollPositionInfo) -> Bool = { _ in true },\n didPerform : @escaping (ListScrollPositionInfo) -> () = { _ in }\n) -> AutoScrollAction", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.Type) -> (AutoScrollAction.ScrollDestination?, AnyIdentifier, ScrollPosition, Bool, @escaping (ListScrollPositionInfo) -> Bool, @escaping (ListScrollPositionInfo) -> ()) -> AutoScrollAction", - "key.typeusr" : "$s_10onInsertOf8position8animated13shouldPerform03didG010ListableUI16AutoScrollActionOAH0L11DestinationOSg_AF13AnyIdentifierCAF0L8PositionVS2bAF04ListlQ4InfoVcyAQctcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO8scrollTo_10onInsertOf8position8animated13shouldPerform03didN0A2C0D11DestinationOSg_AA13AnyIdentifierCAA0D8PositionVS2bAA04ListdS4InfoVcyARctFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func pin(_ destination: ScrollDestination<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, shouldPerform: @escaping (ListScrollPositionInfo<\/Type>) -> Bool<\/Type> = { _ in true }, didPerform: @escaping (ListScrollPositionInfo<\/Type>) -> () = { _ in }) -> AutoScrollAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5109 - } - ], - "key.bodylength" : 265, - "key.bodyoffset" : 5431, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the specified item when the list is updated. Similar to `scrollTo`, except it doesn't\nrely on item insertion to determine when scrolling is appropriate.\n\nIf you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure,\nwhich will be called when the item is inserted, to give you a chance to confirm or reject the scroll\naction. The `ListScrollPositionInfo` passed to your closure provides the current state of the list,\nincluding visible content edges and visible items. If you do not pass a `shouldPerform` closure,\nthe action will be performed on insert.\n\n### Example\n```\nlet pin = Pin(\n .lastItem,\n position: .init(position: .bottom),\n animation: .default\n) { info in\n \/\/ Only scroll to the item if the bottom of the list is already visible.\n state.isLastItemVisible\n} didPerform : { info in\n \/\/ Called when the scroll action occurs.\n}\nlet action = .pin(to: pin)\n```\n- Parameters:\n - destination: Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used.\n - position: The position to scroll the list to.\n - animation: The animation type to perform. Note: Will only animate if the list update itself is animated.\n - shouldPerform: A block which lets you control if the auto scroll action should be performed based on the state of the list.\n - didPerform: A block which is called when the action is performed. If the item causing insertion is inserted multiple times,\n this block will be called multiple times.\n", - "key.doc.column" : 24, - "key.doc.comment" : "Scrolls to the specified item when the list is updated. Similar to `scrollTo`, except it doesn't\nrely on item insertion to determine when scrolling is appropriate.\n\nIf you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure,\nwhich will be called when the item is inserted, to give you a chance to confirm or reject the scroll\naction. The `ListScrollPositionInfo` passed to your closure provides the current state of the list,\nincluding visible content edges and visible items. If you do not pass a `shouldPerform` closure,\nthe action will be performed on insert.\n\n### Example\n```\nlet pin = Pin(\n .lastItem,\n position: .init(position: .bottom),\n animation: .default\n) { info in\n \/\/ Only scroll to the item if the bottom of the list is already visible.\n state.isLastItemVisible\n} didPerform : { info in\n \/\/ Called when the scroll action occurs.\n}\nlet action = .pin(to: pin)\n```\n- Parameters:\n - destination: Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used.\n - position: The position to scroll the list to.\n - animation: The animation type to perform. Note: Will only animate if the list update itself is animated.\n - shouldPerform: A block which lets you control if the auto scroll action should be performed based on the state of the list.\n - didPerform: A block which is called when the action is performed. If the item causing insertion is inserted multiple times,\n this block will be called multiple times.", - "key.doc.declaration" : "public static func pin(_ destination: ScrollDestination, position: ScrollPosition, animated: Bool = false, shouldPerform: @escaping (ListScrollPositionInfo) -> Bool = { _ in true }, didPerform: @escaping (ListScrollPositionInfo) -> () = { _ in }) -> AutoScrollAction", - "key.doc.discussion" : [ - { - "Para" : "If you would like to control if this scroll should occur on insert, pass a `shouldPerform` closure, which will be called when the item is inserted, to give you a chance to confirm or reject the scroll action. The `ListScrollPositionInfo` passed to your closure provides the current state of the list, including visible content edges and visible items. If you do not pass a `shouldPerform` closure, the action will be performed on insert." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "pin(_:position:animated:shouldPerform:didPerform:)<\/Name>s:10ListableUI16AutoScrollActionO3pin_8position8animated13shouldPerform03didJ0A2C0D11DestinationO_AA0D8PositionVS2bAA04ListdM4InfoVcyANctFZ<\/USR>public static func pin(_ destination: ScrollDestination, position: ScrollPosition, animated: Bool = false, shouldPerform: @escaping (ListScrollPositionInfo) -> Bool = { _ in true }, didPerform: @escaping (ListScrollPositionInfo) -> () = { _ in }) -> AutoScrollAction<\/Declaration>Scrolls to the specified item when the list is updated. Similar to scrollTo<\/codeVoice>, except it doesn’t rely on item insertion to determine when scrolling is appropriate.<\/Para><\/Abstract>destination<\/Name>in<\/Direction>Where the list should scroll to on insert. If not specified, the value passed to onInsertOf<\/codeVoice> will be used.<\/Para><\/Discussion><\/Parameter>position<\/Name>in<\/Direction>The position to scroll the list to.<\/Para><\/Discussion><\/Parameter>animation<\/Name>in<\/Direction>The animation type to perform. Note: Will only animate if the list update itself is animated.<\/Para><\/Discussion><\/Parameter>shouldPerform<\/Name>in<\/Direction>A block which lets you control if the auto scroll action should be performed based on the state of the list.<\/Para><\/Discussion><\/Parameter>didPerform<\/Name>in<\/Direction>A block which is called when the action is performed. If the item causing insertion is inserted multiple times, this block will be called multiple times.<\/Para><\/Discussion><\/Parameter><\/Parameters>If you would like to control if this scroll should occur on insert, pass a shouldPerform<\/codeVoice> closure, which will be called when the item is inserted, to give you a chance to confirm or reject the scroll action. The ListScrollPositionInfo<\/codeVoice> passed to your closure provides the current state of the list, including visible content edges and visible items. If you do not pass a shouldPerform<\/codeVoice> closure, the action will be performed on insert.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 109, - "key.doc.name" : "pin(_:position:animated:shouldPerform:didPerform:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "Where the list should scroll to on insert. If not specified, the value passed to `onInsertOf` will be used." - } - ], - "name" : "destination" - }, - { - "discussion" : [ - { - "Para" : "The position to scroll the list to." - } - ], - "name" : "position" - }, - { - "discussion" : [ - { - "Para" : "The animation type to perform. Note: Will only animate if the list update itself is animated." - } - ], - "name" : "animation" - }, - { - "discussion" : [ - { - "Para" : "A block which lets you control if the auto scroll action should be performed based on the state of the list." - } - ], - "name" : "shouldPerform" - }, - { - "discussion" : [ - { - "Para" : "A block which is called when the action is performed. If the item causing insertion is inserted multiple times, this block will be called multiple times." - } - ], - "name" : "didPerform" - } - ], - "key.doc.type" : "Function", - "key.doclength" : 1779, - "key.docoffset" : 3326, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> pin<\/decl.name>(_<\/decl.var.parameter.argument_label> destination<\/decl.var.parameter.name>: ScrollDestination<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, shouldPerform<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in true }<\/decl.var.parameter>, didPerform<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> AutoScrollAction<\/ref.enum><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 581, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "pin(_:position:animated:shouldPerform:didPerform:)", - "key.namelength" : 277, - "key.nameoffset" : 5128, - "key.offset" : 5116, - "key.parsed_declaration" : "public static func pin(\n _ destination : ScrollDestination,\n position: ScrollPosition,\n animated : Bool = false,\n shouldPerform : @escaping (ListScrollPositionInfo) -> Bool = { _ in true },\n didPerform : @escaping (ListScrollPositionInfo) -> () = { _ in }\n) -> AutoScrollAction", - "key.parsed_scope.end" : 126, - "key.parsed_scope.start" : 109, - "key.related_decls" : [ - { - "key.annotated_decl" : "pin(to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.Type) -> (AutoScrollAction.ScrollDestination, ScrollPosition, Bool, @escaping (ListScrollPositionInfo) -> Bool, @escaping (ListScrollPositionInfo) -> ()) -> AutoScrollAction", - "key.typeusr" : "$s_8position8animated13shouldPerform03didD010ListableUI16AutoScrollActionOAG0I11DestinationO_AE0I8PositionVS2bAE04ListiL4InfoVcyAMctcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO3pin_8position8animated13shouldPerform03didJ0A2C0D11DestinationO_AA0D8PositionVS2bAA04ListdM4InfoVcyANctFZ" - } - ], - "key.typename" : "AutoScrollAction.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionOmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO" - }, - { - "key.annotated_decl" : "public enum AutoScrollAction<\/Declaration>", - "key.bodylength" : 2779, - "key.bodyoffset" : 5730, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Options for auto-scrolling to items when the list is updated.", - "key.doc.column" : 13, - "key.doc.declaration" : "public enum AutoScrollAction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "AutoScrollAction<\/Name>s:10ListableUI16AutoScrollActionO<\/USR>public enum AutoScrollAction<\/Declaration>Options for auto-scrolling to items when the list is updated.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 12, - "key.doc.name" : "AutoScrollAction", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> AutoScrollAction<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2808, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "AutoScrollAction", - "key.namelength" : 16, - "key.nameoffset" : 5712, - "key.offset" : 5702, - "key.parsed_declaration" : "extension AutoScrollAction", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ScrollDestination : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5797 - } - ], - "key.bodylength" : 584, - "key.bodyoffset" : 5844, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Where to scroll as a result of an `AutoScrollAction`.", - "key.doc.column" : 17, - "key.doc.comment" : "Where to scroll as a result of an `AutoScrollAction`.", - "key.doc.declaration" : "public enum ScrollDestination : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "ScrollDestination<\/Name>s:10ListableUI16AutoScrollActionO0D11DestinationO<\/USR>public enum ScrollDestination : Equatable<\/Declaration>Where to scroll as a result of an AutoScrollAction<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 133, - "key.doc.name" : "ScrollDestination", - "key.doc.type" : "Other", - "key.doclength" : 58, - "key.docoffset" : 5735, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5829 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ScrollDestination<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 625, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "ScrollDestination", - "key.namelength" : 17, - "key.nameoffset" : 5809, - "key.offset" : 5804, - "key.parsed_declaration" : "public enum ScrollDestination : Equatable", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 5903, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case firstItem<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll to the first item in the list.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll to the first item in the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "firstItem<\/Name>s:10ListableUI16AutoScrollActionO0D11DestinationO9firstItemyA2EmF<\/USR><\/Declaration>Scroll to the first item in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 136, - "key.doc.name" : "firstItem", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 5853, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> firstItem<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 136, - "key.modulename" : "ListableUI", - "key.name" : "firstItem", - "key.namelength" : 9, - "key.nameoffset" : 5908, - "key.offset" : 5908, - "key.parsed_declaration" : "case firstItem", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.typename" : "(AutoScrollAction.ScrollDestination.Type) -> AutoScrollAction.ScrollDestination", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionO0D11DestinationOAEmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO0D11DestinationO9firstItemyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 5984, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case lastItem<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll to the last item in the list.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll to the last item in the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "lastItem<\/Name>s:10ListableUI16AutoScrollActionO0D11DestinationO8lastItemyA2EmF<\/USR><\/Declaration>Scroll to the last item in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 139, - "key.doc.name" : "lastItem", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 5935, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> lastItem<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "lastItem", - "key.namelength" : 8, - "key.nameoffset" : 5989, - "key.offset" : 5989, - "key.parsed_declaration" : "case lastItem", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.typename" : "(AutoScrollAction.ScrollDestination.Type) -> AutoScrollAction.ScrollDestination", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionO0D11DestinationOAEmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO0D11DestinationO8lastItemyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 6077, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case item(AnyIdentifier<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll to the item with the specified identifier.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll to the item with the specified identifier.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "item(_:)<\/Name>s:10ListableUI16AutoScrollActionO0D11DestinationO4itemyAeA13AnyIdentifierCcAEmF<\/USR><\/Declaration>Scroll to the item with the specified identifier.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 142, - "key.doc.name" : "item(_:)", - "key.doc.type" : "Other", - "key.doclength" : 54, - "key.docoffset" : 6015, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> item<\/decl.name>(AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "item(_:)", - "key.namelength" : 19, - "key.nameoffset" : 6082, - "key.offset" : 6082, - "key.parsed_declaration" : "case item(AnyIdentifier)", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.ScrollDestination.Type) -> (AnyIdentifier) -> AutoScrollAction.ScrollDestination", - "key.typeusr" : "$sy10ListableUI16AutoScrollActionO0D11DestinationOAA13AnyIdentifierCcAEmcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO0D11DestinationO4itemyAeA13AnyIdentifierCcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func destination(with content: Content<\/Type>) -> AnyIdentifier<\/Type>?<\/Declaration>", - "key.bodylength" : 243, - "key.bodyoffset" : 6179, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> destination<\/decl.name>(with<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyIdentifier<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 304, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "destination(with:)", - "key.namelength" : 35, - "key.nameoffset" : 6124, - "key.offset" : 6119, - "key.parsed_declaration" : "func destination(with content : Content) -> AnyIdentifier?", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AutoScrollAction.ScrollDestination) -> (Content) -> AnyIdentifier?", - "key.typeusr" : "$s4with10ListableUI13AnyIdentifierCSgAB7ContentV_tcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO0D11DestinationO11destination4withAA13AnyIdentifierCSgAA7ContentV_tF" - } - ], - "key.typename" : "AutoScrollAction.ScrollDestination.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO0D11DestinationOmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO0D11DestinationO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol Configuration<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6564 - } - ], - "key.bodylength" : 801, - "key.bodyoffset" : 6595, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This protocol allows `ListView` to treat the `OnInsertedItem` and `Pin` configurations\nin a similar fashion.", - "key.doc.column" : 21, - "key.doc.comment" : "This protocol allows `ListView` to treat the `OnInsertedItem` and `Pin` configurations\nin a similar fashion.", - "key.doc.declaration" : "public protocol Configuration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "Configuration<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP<\/USR>public protocol Configuration<\/Declaration>This protocol allows ListView<\/codeVoice> to treat the OnInsertedItem<\/codeVoice> and Pin<\/codeVoice> configurations in a similar fashion.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 155, - "key.doc.name" : "Configuration", - "key.doc.type" : "Class", - "key.doclength" : 121, - "key.docoffset" : 6439, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> Configuration<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 826, - "key.line" : 155, - "key.modulename" : "ListableUI", - "key.name" : "Configuration", - "key.namelength" : 13, - "key.nameoffset" : 6580, - "key.offset" : 6571, - "key.parsed_declaration" : "public protocol Configuration", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 155, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var destination: ScrollDestination<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 6697, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item in the list to scroll to.", - "key.doc.column" : 13, - "key.doc.comment" : "The item in the list to scroll to.", - "key.doc.declaration" : "var destination: ScrollDestination { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "destination<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp<\/USR>var destination: ScrollDestination { get set }<\/Declaration>The item in the list to scroll to.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 158, - "key.doc.name" : "destination", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 6613, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> destination<\/decl.name>: ScrollDestination<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 158, - "key.modulename" : "ListableUI", - "key.name" : "destination", - "key.namelength" : 11, - "key.nameoffset" : 6664, - "key.offset" : 6660, - "key.parsed_declaration" : "var destination : ScrollDestination", - "key.parsed_scope.end" : 158, - "key.parsed_scope.start" : 158, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AutoScrollAction.ScrollDestination", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO0D11DestinationOD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var position: ScrollPosition<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 6797, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The desired scroll position.", - "key.doc.column" : 13, - "key.doc.comment" : "The desired scroll position.", - "key.doc.declaration" : "var position: ScrollPosition { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "position<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp<\/USR>var position: ScrollPosition { get set }<\/Declaration>The desired scroll position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 161, - "key.doc.name" : "position", - "key.doc.type" : "Other", - "key.doclength" : 33, - "key.docoffset" : 6725, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> position<\/decl.name>: ScrollPosition<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 6770, - "key.offset" : 6766, - "key.parsed_declaration" : "var position : ScrollPosition", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 161, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ScrollPosition", - "key.typeusr" : "$s10ListableUI14ScrollPositionVD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var animated: Bool<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 7077, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the change should be animated.\n\n### Note\nThe action will only be animated if it is animated, **and** the list update itself is\nanimated. Otherwise, no animation occurs.", - "key.doc.column" : 13, - "key.doc.comment" : "If the change should be animated.\n\n### Note\nThe action will only be animated if it is animated, **and** the list update itself is\nanimated. Otherwise, no animation occurs.", - "key.doc.declaration" : "var animated: Bool { get set }", - "key.doc.discussion" : [ - { - "Para" : "The action will only be animated if it is animated, the list update itself is animated. Otherwise, no animation occurs." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "animated<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp<\/USR>var animated: Bool { get set }<\/Declaration>If the change should be animated.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The action will only be animated if it is animated, and<\/bold> the list update itself is animated. Otherwise, no animation occurs.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 168, - "key.doc.name" : "animated", - "key.doc.type" : "Other", - "key.doclength" : 223, - "key.docoffset" : 6825, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> animated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "animated", - "key.namelength" : 8, - "key.nameoffset" : 7060, - "key.offset" : 7056, - "key.parsed_declaration" : "var animated : Bool", - "key.parsed_scope.end" : 168, - "key.parsed_scope.start" : 168, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var shouldPerform: (ListScrollPositionInfo<\/Type>) -> Bool<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 7247, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An additional check you may provide to approve or reject the scroll action.", - "key.doc.column" : 13, - "key.doc.comment" : "An additional check you may provide to approve or reject the scroll action.", - "key.doc.declaration" : "var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "shouldPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp<\/USR>var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }<\/Declaration>An additional check you may provide to approve or reject the scroll action.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 171, - "key.doc.name" : "shouldPerform", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 7105, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> shouldPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 64, - "key.line" : 171, - "key.modulename" : "ListableUI", - "key.name" : "shouldPerform", - "key.namelength" : 13, - "key.nameoffset" : 7197, - "key.offset" : 7193, - "key.parsed_declaration" : "var shouldPerform : (ListScrollPositionInfo) -> Bool", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 171, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> Bool", - "key.typeusr" : "$sySb10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var didPerform: (ListScrollPositionInfo<\/Type>) -> () { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 7381, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when the list performs the insertion.", - "key.doc.column" : 13, - "key.doc.comment" : "Called when the list performs the insertion.", - "key.doc.declaration" : "var didPerform: (ListScrollPositionInfo) -> () { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "didPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp<\/USR>var didPerform: (ListScrollPositionInfo) -> () { get set }<\/Declaration>Called when the list performs the insertion.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 174, - "key.doc.name" : "didPerform", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 7275, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> didPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 59, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "didPerform", - "key.namelength" : 10, - "key.nameoffset" : 7336, - "key.offset" : 7332, - "key.parsed_declaration" : "var didPerform : (ListScrollPositionInfo) -> ()", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 174, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> ()", - "key.typeusr" : "$syy10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp" - } - ], - "key.typename" : "AutoScrollAction.Configuration.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO13Configuration_pmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct OnInsertedItem : AutoScrollAction<\/Type>.Configuration<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7480 - } - ], - "key.bodylength" : 548, - "key.bodyoffset" : 7546, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Values used to configure the `scrollToItem(onInsertOf:)` action.", - "key.doc.column" : 19, - "key.doc.comment" : "Values used to configure the `scrollToItem(onInsertOf:)` action.", - "key.doc.declaration" : "public struct OnInsertedItem : AutoScrollAction.Configuration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "OnInsertedItem<\/Name>s:10ListableUI16AutoScrollActionO14OnInsertedItemV<\/USR>public struct OnInsertedItem : AutoScrollAction.Configuration<\/Declaration>Values used to configure the scrollToItem(onInsertOf:)<\/codeVoice> action.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 178, - "key.doc.name" : "OnInsertedItem", - "key.doc.type" : "Class", - "key.doclength" : 69, - "key.docoffset" : 7407, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 30, - "key.offset" : 7510 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> OnInsertedItem<\/decl.name> : AutoScrollAction<\/ref.enum>.Configuration<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AutoScrollAction.Configuration" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 608, - "key.line" : 178, - "key.modulename" : "ListableUI", - "key.name" : "OnInsertedItem", - "key.namelength" : 14, - "key.nameoffset" : 7494, - "key.offset" : 7487, - "key.parsed_declaration" : "public struct OnInsertedItem: AutoScrollAction.Configuration", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 178, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var destination: ScrollDestination<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7644 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item in the list to scroll to when the `insertedIdentifier` is inserted.", - "key.doc.column" : 20, - "key.doc.comment" : "The item in the list to scroll to when the `insertedIdentifier` is inserted.", - "key.doc.declaration" : "public var destination: ScrollDestination", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "destination<\/Name>s:10ListableUI16AutoScrollActionO14OnInsertedItemV11destinationAC0D11DestinationOvp<\/USR>public var destination: ScrollDestination<\/Declaration>The item in the list to scroll to when the insertedIdentifier<\/codeVoice> is inserted.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 181, - "key.doc.name" : "destination", - "key.doc.type" : "Other", - "key.doclength" : 81, - "key.docoffset" : 7555, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> destination<\/decl.name>: ScrollDestination<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 181, - "key.modulename" : "ListableUI", - "key.name" : "destination", - "key.namelength" : 11, - "key.nameoffset" : 7655, - "key.offset" : 7651, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp" - } - ], - "key.parsed_declaration" : "public var destination : ScrollDestination", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 181, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AutoScrollAction.ScrollDestination", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO0D11DestinationOD", - "key.usr" : "s:10ListableUI16AutoScrollActionO14OnInsertedItemV11destinationAC0D11DestinationOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var insertedIdentifier: AnyIdentifier<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7797 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The identifier of the item for which the `AutoScrollAction` should be performed.", - "key.doc.column" : 20, - "key.doc.comment" : "The identifier of the item for which the `AutoScrollAction` should be performed.", - "key.doc.declaration" : "public var insertedIdentifier: AnyIdentifier", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "insertedIdentifier<\/Name>s:10ListableUI16AutoScrollActionO14OnInsertedItemV18insertedIdentifierAA03AnyJ0Cvp<\/USR>public var insertedIdentifier: AnyIdentifier<\/Declaration>The identifier of the item for which the AutoScrollAction<\/codeVoice> should be performed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 184, - "key.doc.name" : "insertedIdentifier", - "key.doc.type" : "Other", - "key.doclength" : 85, - "key.docoffset" : 7704, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> insertedIdentifier<\/decl.name>: AnyIdentifier<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "insertedIdentifier", - "key.namelength" : 18, - "key.nameoffset" : 7808, - "key.offset" : 7804, - "key.parsed_declaration" : "public var insertedIdentifier : AnyIdentifier", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AnyIdentifier", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCD", - "key.usr" : "s:10ListableUI16AutoScrollActionO14OnInsertedItemV18insertedIdentifierAA03AnyJ0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var position: ScrollPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7860 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The desired scroll position.", - "key.doc.column" : 13, - "key.doc.declaration" : "var position: ScrollPosition { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "position<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp<\/USR>var position: ScrollPosition { get set }<\/Declaration>The desired scroll position.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 161, - "key.doc.name" : "position", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> position<\/decl.name>: ScrollPosition<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 7871, - "key.offset" : 7867, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp" - } - ], - "key.parsed_declaration" : "public var position : ScrollPosition", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ScrollPosition", - "key.typeusr" : "$s10ListableUI14ScrollPositionVD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var animated: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7914 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the change should be animated.\n\n### Note\nThe action will only be animated if it is animated, **and** the list update itself is\nanimated. Otherwise, no animation occurs.", - "key.doc.column" : 13, - "key.doc.declaration" : "var animated: Bool { get set }", - "key.doc.discussion" : [ - { - "Para" : "The action will only be animated if it is animated, the list update itself is animated. Otherwise, no animation occurs." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "animated<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp<\/USR>var animated: Bool { get set }<\/Declaration>If the change should be animated.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The action will only be animated if it is animated, and<\/bold> the list update itself is animated. Otherwise, no animation occurs.<\/Para>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 168, - "key.doc.name" : "animated", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> animated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 188, - "key.modulename" : "ListableUI", - "key.name" : "animated", - "key.namelength" : 8, - "key.nameoffset" : 7925, - "key.offset" : 7921, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp" - } - ], - "key.parsed_declaration" : "public var animated : Bool", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 188, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var shouldPerform: (ListScrollPositionInfo<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7958 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An additional check you may provide to approve or reject the scroll action.", - "key.doc.column" : 13, - "key.doc.declaration" : "var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "shouldPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp<\/USR>var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }<\/Declaration>An additional check you may provide to approve or reject the scroll action.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 171, - "key.doc.name" : "shouldPerform", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> shouldPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 190, - "key.modulename" : "ListableUI", - "key.name" : "shouldPerform", - "key.namelength" : 13, - "key.nameoffset" : 7969, - "key.offset" : 7965, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp" - } - ], - "key.parsed_declaration" : "public var shouldPerform : (ListScrollPositionInfo) -> Bool", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 190, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> Bool", - "key.typeusr" : "$sySb10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var didPerform: (ListScrollPositionInfo<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8035 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when the list performs the insertion.", - "key.doc.column" : 13, - "key.doc.declaration" : "var didPerform: (ListScrollPositionInfo) -> () { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "didPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp<\/USR>var didPerform: (ListScrollPositionInfo) -> () { get set }<\/Declaration>Called when the list performs the insertion.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 174, - "key.doc.name" : "didPerform", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> didPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 192, - "key.modulename" : "ListableUI", - "key.name" : "didPerform", - "key.namelength" : 10, - "key.nameoffset" : 8046, - "key.offset" : 8042, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp" - } - ], - "key.parsed_declaration" : "public var didPerform : (ListScrollPositionInfo) -> ()", - "key.parsed_scope.end" : 192, - "key.parsed_scope.start" : 192, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> ()", - "key.typeusr" : "$syy10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp" - } - ], - "key.typename" : "AutoScrollAction.OnInsertedItem.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO14OnInsertedItemVmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO14OnInsertedItemV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Pin : AutoScrollAction<\/Type>.Configuration<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8157 - } - ], - "key.bodylength" : 295, - "key.bodyoffset" : 8212, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Values used to configure the `pin(to:)` action.", - "key.doc.column" : 19, - "key.doc.comment" : "Values used to configure the `pin(to:)` action.", - "key.doc.declaration" : "public struct Pin : AutoScrollAction.Configuration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "Pin<\/Name>s:10ListableUI16AutoScrollActionO3PinV<\/USR>public struct Pin : AutoScrollAction.Configuration<\/Declaration>Values used to configure the pin(to:)<\/codeVoice> action.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 196, - "key.doc.name" : "Pin", - "key.doc.type" : "Class", - "key.doclength" : 52, - "key.docoffset" : 8101, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 30, - "key.offset" : 8176 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Pin<\/decl.name> : AutoScrollAction<\/ref.enum>.Configuration<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AutoScrollAction.Configuration" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 344, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "Pin", - "key.namelength" : 3, - "key.nameoffset" : 8171, - "key.offset" : 8164, - "key.parsed_declaration" : "public struct Pin: AutoScrollAction.Configuration", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var destination: ScrollDestination<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8221 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item in the list to scroll to.", - "key.doc.column" : 13, - "key.doc.declaration" : "var destination: ScrollDestination { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "destination<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp<\/USR>var destination: ScrollDestination { get set }<\/Declaration>The item in the list to scroll to.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 158, - "key.doc.name" : "destination", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> destination<\/decl.name>: ScrollDestination<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 198, - "key.modulename" : "ListableUI", - "key.name" : "destination", - "key.namelength" : 11, - "key.nameoffset" : 8232, - "key.offset" : 8228, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp" - } - ], - "key.parsed_declaration" : "public var destination : ScrollDestination", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 198, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AutoScrollAction.ScrollDestination", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO0D11DestinationOD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP11destinationAC0D11DestinationOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var position: ScrollPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8273 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The desired scroll position.", - "key.doc.column" : 13, - "key.doc.declaration" : "var position: ScrollPosition { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "position<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp<\/USR>var position: ScrollPosition { get set }<\/Declaration>The desired scroll position.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 161, - "key.doc.name" : "position", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> position<\/decl.name>: ScrollPosition<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 200, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 8284, - "key.offset" : 8280, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp" - } - ], - "key.parsed_declaration" : "public var position : ScrollPosition", - "key.parsed_scope.end" : 200, - "key.parsed_scope.start" : 200, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ScrollPosition", - "key.typeusr" : "$s10ListableUI14ScrollPositionVD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8positionAA0D8PositionVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var animated: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8327 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the change should be animated.\n\n### Note\nThe action will only be animated if it is animated, **and** the list update itself is\nanimated. Otherwise, no animation occurs.", - "key.doc.column" : 13, - "key.doc.declaration" : "var animated: Bool { get set }", - "key.doc.discussion" : [ - { - "Para" : "The action will only be animated if it is animated, the list update itself is animated. Otherwise, no animation occurs." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "animated<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp<\/USR>var animated: Bool { get set }<\/Declaration>If the change should be animated.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>The action will only be animated if it is animated, and<\/bold> the list update itself is animated. Otherwise, no animation occurs.<\/Para>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 168, - "key.doc.name" : "animated", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> animated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "animated", - "key.namelength" : 8, - "key.nameoffset" : 8338, - "key.offset" : 8334, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp" - } - ], - "key.parsed_declaration" : "public var animated : Bool", - "key.parsed_scope.end" : 202, - "key.parsed_scope.start" : 202, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP8animatedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var shouldPerform: (ListScrollPositionInfo<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8371 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An additional check you may provide to approve or reject the scroll action.", - "key.doc.column" : 13, - "key.doc.declaration" : "var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "shouldPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp<\/USR>var shouldPerform: (ListScrollPositionInfo) -> Bool { get set }<\/Declaration>An additional check you may provide to approve or reject the scroll action.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 171, - "key.doc.name" : "shouldPerform", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> shouldPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 204, - "key.modulename" : "ListableUI", - "key.name" : "shouldPerform", - "key.namelength" : 13, - "key.nameoffset" : 8382, - "key.offset" : 8378, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp" - } - ], - "key.parsed_declaration" : "public var shouldPerform : (ListScrollPositionInfo) -> Bool", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 204, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> Bool", - "key.typeusr" : "$sySb10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP13shouldPerformySbAA04ListD12PositionInfoVcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var didPerform: (ListScrollPositionInfo<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8448 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when the list performs the insertion.", - "key.doc.column" : 13, - "key.doc.declaration" : "var didPerform: (ListScrollPositionInfo) -> () { get set }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.doc.full_as_xml" : "didPerform<\/Name>s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp<\/USR>var didPerform: (ListScrollPositionInfo) -> () { get set }<\/Declaration>Called when the list performs the insertion.<\/Para><\/Abstract>This documentation comment was inherited from Configuration<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 174, - "key.doc.name" : "didPerform", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/AutoScrollAction.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> didPerform<\/decl.name>: (ListScrollPositionInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 206, - "key.modulename" : "ListableUI", - "key.name" : "didPerform", - "key.namelength" : 10, - "key.nameoffset" : 8459, - "key.offset" : 8455, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp" - } - ], - "key.parsed_declaration" : "public var didPerform : (ListScrollPositionInfo) -> ()", - "key.parsed_scope.end" : 206, - "key.parsed_scope.start" : 206, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(ListScrollPositionInfo) -> ()", - "key.typeusr" : "$syy10ListableUI22ListScrollPositionInfoVcD", - "key.usr" : "s:10ListableUI16AutoScrollActionO13ConfigurationP10didPerformyyAA04ListD12PositionInfoVcvp" - } - ], - "key.typename" : "AutoScrollAction.Pin.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionO3PinVmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO3PinV" - } - ], - "key.typename" : "AutoScrollAction.Type", - "key.typeusr" : "$s10ListableUI16AutoScrollActionOmD", - "key.usr" : "s:10ListableUI16AutoScrollActionO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 10384, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Behavior : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 301 - } - ], - "key.bodylength" : 3712, - "key.bodyoffset" : 337, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls various behaviors of the list view, such as keyboard dismissal, selection mode, and behavior\nwhen the list content underflows the available space in the list view.", - "key.doc.column" : 15, - "key.doc.comment" : "Controls various behaviors of the list view, such as keyboard dismissal, selection mode, and behavior\nwhen the list content underflows the available space in the list view.", - "key.doc.declaration" : "public struct Behavior : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "Behavior<\/Name>s:10ListableUI8BehaviorV<\/USR>public struct Behavior : Equatable<\/Declaration>Controls various behaviors of the list view, such as keyboard dismissal, selection mode, and behavior when the list content underflows the available space in the list view.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "Behavior", - "key.doc.type" : "Class", - "key.doclength" : 181, - "key.docoffset" : 120, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 326 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Behavior<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3742, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "Behavior", - "key.namelength" : 8, - "key.nameoffset" : 315, - "key.offset" : 308, - "key.parsed_declaration" : "public struct Behavior : Equatable", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isScrollEnabled: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 398 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether the list scroll view should be enabled.", - "key.doc.column" : 16, - "key.doc.comment" : "Whether the list scroll view should be enabled.", - "key.doc.declaration" : "public var isScrollEnabled: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "isScrollEnabled<\/Name>s:10ListableUI8BehaviorV15isScrollEnabledSbvp<\/USR>public var isScrollEnabled: Bool<\/Declaration>Whether the list scroll view should be enabled.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "isScrollEnabled", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 342, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isScrollEnabled<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "isScrollEnabled", - "key.namelength" : 15, - "key.nameoffset" : 409, - "key.offset" : 405, - "key.parsed_declaration" : "public var isScrollEnabled: Bool", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV15isScrollEnabledSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var keyboardDismissMode: UIScrollView<\/Type>.KeyboardDismissMode<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 530 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the keyboard should be dismissed (if at all) based on scrolling of the list view.", - "key.doc.column" : 16, - "key.doc.comment" : "How the keyboard should be dismissed (if at all) based on scrolling of the list view.", - "key.doc.declaration" : "public var keyboardDismissMode: UIScrollView.KeyboardDismissMode", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "keyboardDismissMode<\/Name>s:10ListableUI8BehaviorV19keyboardDismissModeSo020UIScrollViewKeyboardeF0Vvp<\/USR>public var keyboardDismissMode: UIScrollView.KeyboardDismissMode<\/Declaration>How the keyboard should be dismissed (if at all) based on scrolling of the list view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "keyboardDismissMode", - "key.doc.type" : "Other", - "key.doclength" : 90, - "key.docoffset" : 436, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> keyboardDismissMode<\/decl.name>: UIScrollView<\/ref.class>.KeyboardDismissMode<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "keyboardDismissMode", - "key.namelength" : 19, - "key.nameoffset" : 541, - "key.offset" : 537, - "key.parsed_declaration" : "public var keyboardDismissMode : UIScrollView.KeyboardDismissMode", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIScrollView.KeyboardDismissMode", - "key.typeusr" : "$sSo31UIScrollViewKeyboardDismissModeVD", - "key.usr" : "s:10ListableUI8BehaviorV19keyboardDismissModeSo020UIScrollViewKeyboardeF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var keyboardAdjustmentMode: KeyboardAdjustmentMode<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 696 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to adjust the `contentInset` of the list when the keyboard visibility changes.", - "key.doc.column" : 16, - "key.doc.comment" : "How to adjust the `contentInset` of the list when the keyboard visibility changes.", - "key.doc.declaration" : "public var keyboardAdjustmentMode: KeyboardAdjustmentMode", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "keyboardAdjustmentMode<\/Name>s:10ListableUI8BehaviorV22keyboardAdjustmentModeAC08KeyboardeF0Ovp<\/USR>public var keyboardAdjustmentMode: KeyboardAdjustmentMode<\/Declaration>How to adjust the contentInset<\/codeVoice> of the list when the keyboard visibility changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "keyboardAdjustmentMode", - "key.doc.type" : "Other", - "key.doclength" : 87, - "key.docoffset" : 605, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> keyboardAdjustmentMode<\/decl.name>: KeyboardAdjustmentMode<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "keyboardAdjustmentMode", - "key.namelength" : 22, - "key.nameoffset" : 707, - "key.offset" : 703, - "key.parsed_declaration" : "public var keyboardAdjustmentMode : KeyboardAdjustmentMode", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.KeyboardAdjustmentMode", - "key.typeusr" : "$s10ListableUI8BehaviorV22KeyboardAdjustmentModeOD", - "key.usr" : "s:10ListableUI8BehaviorV22keyboardAdjustmentModeAC08KeyboardeF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollsToTop: ScrollsToTop<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 905 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list should react when the user taps the application status bar.\nThe default value of this enables scrolling to top.", - "key.doc.column" : 16, - "key.doc.comment" : "How the list should react when the user taps the application status bar.\nThe default value of this enables scrolling to top.", - "key.doc.declaration" : "public var scrollsToTop: ScrollsToTop", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "scrollsToTop<\/Name>s:10ListableUI8BehaviorV12scrollsToTopAC07ScrollseF0Ovp<\/USR>public var scrollsToTop: ScrollsToTop<\/Declaration>How the list should react when the user taps the application status bar. The default value of this enables scrolling to top.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 27, - "key.doc.name" : "scrollsToTop", - "key.doc.type" : "Other", - "key.doclength" : 137, - "key.docoffset" : 764, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollsToTop<\/decl.name>: ScrollsToTop<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "scrollsToTop", - "key.namelength" : 12, - "key.nameoffset" : 916, - "key.offset" : 912, - "key.parsed_declaration" : "public var scrollsToTop : ScrollsToTop", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.ScrollsToTop", - "key.typeusr" : "$s10ListableUI8BehaviorV12ScrollsToTopOD", - "key.usr" : "s:10ListableUI8BehaviorV12scrollsToTopAC07ScrollseF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectionMode: SelectionMode<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1012 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list should respond to selection attempts.", - "key.doc.column" : 16, - "key.doc.comment" : "How the list should respond to selection attempts.", - "key.doc.declaration" : "public var selectionMode: SelectionMode", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "selectionMode<\/Name>s:10ListableUI8BehaviorV13selectionModeAC09SelectionE0Ovp<\/USR>public var selectionMode: SelectionMode<\/Declaration>How the list should respond to selection attempts.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 30, - "key.doc.name" : "selectionMode", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 953, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectionMode<\/decl.name>: SelectionMode<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "selectionMode", - "key.namelength" : 13, - "key.nameoffset" : 1023, - "key.offset" : 1019, - "key.parsed_declaration" : "public var selectionMode : SelectionMode", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.SelectionMode", - "key.typeusr" : "$s10ListableUI8BehaviorV13SelectionModeOD", - "key.usr" : "s:10ListableUI8BehaviorV13selectionModeAC09SelectionE0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var underflow: Underflow<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1233 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list should behave when its content takes up less space than is available in the list view.\nTODO: This should move to individual layout types.", - "key.doc.column" : 16, - "key.doc.comment" : "How the list should behave when its content takes up less space than is available in the list view.\nTODO: This should move to individual layout types.", - "key.doc.declaration" : "public var underflow: Underflow", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "underflow<\/Name>s:10ListableUI8BehaviorV9underflowAC9UnderflowVvp<\/USR>public var underflow: Underflow<\/Declaration>How the list should behave when its content takes up less space than is available in the list view. TODO: This should move to individual layout types.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 34, - "key.doc.name" : "underflow", - "key.doc.type" : "Other", - "key.doclength" : 163, - "key.docoffset" : 1066, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> underflow<\/decl.name>: Underflow<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "underflow", - "key.namelength" : 9, - "key.nameoffset" : 1244, - "key.offset" : 1240, - "key.parsed_declaration" : "public var underflow : Underflow", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.Underflow", - "key.typeusr" : "$s10ListableUI8BehaviorV9UnderflowVD", - "key.usr" : "s:10ListableUI8BehaviorV9underflowAC9UnderflowVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var canCancelContentTouches: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1374 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A Boolean value that controls whether touches in the content view always lead to tracking.", - "key.doc.column" : 16, - "key.doc.comment" : "A Boolean value that controls whether touches in the content view always lead to tracking.", - "key.doc.declaration" : "public var canCancelContentTouches: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "canCancelContentTouches<\/Name>s:10ListableUI8BehaviorV23canCancelContentTouchesSbvp<\/USR>public var canCancelContentTouches: Bool<\/Declaration>A Boolean value that controls whether touches in the content view always lead to tracking.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 37, - "key.doc.name" : "canCancelContentTouches", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 1275, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> canCancelContentTouches<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "canCancelContentTouches", - "key.namelength" : 23, - "key.nameoffset" : 1385, - "key.offset" : 1381, - "key.parsed_declaration" : "public var canCancelContentTouches : Bool", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV23canCancelContentTouchesSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var delaysContentTouches: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1533 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A Boolean value that determines whether the scroll view delays the handling of touch-down gestures.", - "key.doc.column" : 16, - "key.doc.comment" : "A Boolean value that determines whether the scroll view delays the handling of touch-down gestures.", - "key.doc.declaration" : "public var delaysContentTouches: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "delaysContentTouches<\/Name>s:10ListableUI8BehaviorV20delaysContentTouchesSbvp<\/USR>public var delaysContentTouches: Bool<\/Declaration>A Boolean value that determines whether the scroll view delays the handling of touch-down gestures.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 40, - "key.doc.name" : "delaysContentTouches", - "key.doc.type" : "Other", - "key.doclength" : 104, - "key.docoffset" : 1425, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> delaysContentTouches<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "delaysContentTouches", - "key.namelength" : 20, - "key.nameoffset" : 1544, - "key.offset" : 1540, - "key.parsed_declaration" : "public var delaysContentTouches : Bool", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV20delaysContentTouchesSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pageScrollingBehavior: PageScrollingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1686 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The page scrolling behavior of the underlying scroll view. When `.none`, no paging is performed.", - "key.doc.column" : 16, - "key.doc.comment" : "The page scrolling behavior of the underlying scroll view. When `.none`, no paging is performed.", - "key.doc.declaration" : "public var pageScrollingBehavior: PageScrollingBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "pageScrollingBehavior<\/Name>s:10ListableUI8BehaviorV013pageScrollingC0AA04PageeC0Ovp<\/USR>public var pageScrollingBehavior: PageScrollingBehavior<\/Declaration>The page scrolling behavior of the underlying scroll view. When .none<\/codeVoice>, no paging is performed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 43, - "key.doc.name" : "pageScrollingBehavior", - "key.doc.type" : "Other", - "key.doclength" : 101, - "key.docoffset" : 1581, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pageScrollingBehavior<\/decl.name>: PageScrollingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "pageScrollingBehavior", - "key.namelength" : 21, - "key.nameoffset" : 1697, - "key.offset" : 1693, - "key.parsed_declaration" : "public var pageScrollingBehavior : PageScrollingBehavior", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "PageScrollingBehavior", - "key.typeusr" : "$s10ListableUI21PageScrollingBehaviorOD", - "key.usr" : "s:10ListableUI8BehaviorV013pageScrollingC0AA04PageeC0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var decelerationRate: DecelerationRate<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1797 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The rate at which scrolling decelerates.", - "key.doc.column" : 16, - "key.doc.comment" : "The rate at which scrolling decelerates.", - "key.doc.declaration" : "public var decelerationRate: DecelerationRate", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "decelerationRate<\/Name>s:10ListableUI8BehaviorV16decelerationRateAC012DecelerationE0Ovp<\/USR>public var decelerationRate: DecelerationRate<\/Declaration>The rate at which scrolling decelerates.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "decelerationRate", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 1748, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> decelerationRate<\/decl.name>: DecelerationRate<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "decelerationRate", - "key.namelength" : 16, - "key.nameoffset" : 1808, - "key.offset" : 1804, - "key.parsed_declaration" : "public var decelerationRate: DecelerationRate", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.DecelerationRate", - "key.typeusr" : "$s10ListableUI8BehaviorV16DecelerationRateOD", - "key.usr" : "s:10ListableUI8BehaviorV16decelerationRateAC012DecelerationE0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var verticalLayoutGravity: VerticalLayoutGravity<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2027 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applicable when the `layoutDirection` is `vertical`. The gravity determines\nhow inserting new elements or changing the `contentInset` affects the scroll position.", - "key.doc.column" : 16, - "key.doc.comment" : "Applicable when the `layoutDirection` is `vertical`. The gravity determines\nhow inserting new elements or changing the `contentInset` affects the scroll position.", - "key.doc.declaration" : "public var verticalLayoutGravity: VerticalLayoutGravity", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "verticalLayoutGravity<\/Name>s:10ListableUI8BehaviorV21verticalLayoutGravityAC08VerticaleF0Ovp<\/USR>public var verticalLayoutGravity: VerticalLayoutGravity<\/Declaration>Applicable when the layoutDirection<\/codeVoice> is vertical<\/codeVoice>. The gravity determines how inserting new elements or changing the contentInset<\/codeVoice> affects the scroll position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 50, - "key.doc.name" : "verticalLayoutGravity", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 1848, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> verticalLayoutGravity<\/decl.name>: VerticalLayoutGravity<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "verticalLayoutGravity", - "key.namelength" : 21, - "key.nameoffset" : 2038, - "key.offset" : 2034, - "key.parsed_declaration" : "public var verticalLayoutGravity : VerticalLayoutGravity", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.VerticalLayoutGravity", - "key.typeusr" : "$s10ListableUI8BehaviorV21VerticalLayoutGravityOD", - "key.usr" : "s:10ListableUI8BehaviorV21verticalLayoutGravityAC08VerticaleF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var focus: FocusConfiguration<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2630 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Configuration for keyboard focus behavior in the list view.\n\n- `.none`: No focus support - keyboard navigation is disabled\n- `.allowsFocus`: Basic focus support with keyboard navigation, but selection doesn't follow focus\n- `.selectionFollowsFocus`: Focus support where selection automatically follows focus changes\n\nWhen focus is enabled, items that support selection can receive focus for keyboard navigation.\nThe focus ring will be applied to focused items automatically.", - "key.doc.column" : 16, - "key.doc.comment" : "Configuration for keyboard focus behavior in the list view.\n\n- `.none`: No focus support - keyboard navigation is disabled\n- `.allowsFocus`: Basic focus support with keyboard navigation, but selection doesn't follow focus\n- `.selectionFollowsFocus`: Focus support where selection automatically follows focus changes\n\nWhen focus is enabled, items that support selection can receive focus for keyboard navigation.\nThe focus ring will be applied to focused items automatically.", - "key.doc.declaration" : "public var focus: FocusConfiguration", - "key.doc.discussion" : [ - { - "List-Bullet" : "" - }, - { - "Para" : "When focus is enabled, items that support selection can receive focus for keyboard navigation. The focus ring will be applied to focused items automatically." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "focus<\/Name>s:10ListableUI8BehaviorV5focusAC18FocusConfigurationOvp<\/USR>public var focus: FocusConfiguration<\/Declaration>Configuration for keyboard focus behavior in the list view.<\/Para><\/Abstract>.none<\/codeVoice>: No focus support - keyboard navigation is disabled<\/Para><\/Item>.allowsFocus<\/codeVoice>: Basic focus support with keyboard navigation, but selection doesn’t follow focus<\/Para><\/Item>.selectionFollowsFocus<\/codeVoice>: Focus support where selection automatically follows focus changes<\/Para><\/Item><\/List-Bullet>When focus is enabled, items that support selection can receive focus for keyboard navigation. The focus ring will be applied to focused items automatically.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "focus", - "key.doc.type" : "Other", - "key.doclength" : 533, - "key.docoffset" : 2093, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> focus<\/decl.name>: FocusConfiguration<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "focus", - "key.namelength" : 5, - "key.nameoffset" : 2641, - "key.offset" : 2637, - "key.parsed_declaration" : "public var focus: FocusConfiguration", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.FocusConfiguration", - "key.typeusr" : "$s10ListableUI8BehaviorV18FocusConfigurationOD", - "key.usr" : "s:10ListableUI8BehaviorV5focusAC18FocusConfigurationOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isScrollEnabled: Bool<\/Type> = true, keyboardDismissMode: UIScrollView<\/Type>.KeyboardDismissMode<\/Type> = .interactive, keyboardAdjustmentMode: KeyboardAdjustmentMode<\/Type> = .adjustsWhenVisible, scrollsToTop: ScrollsToTop<\/Type> = .enabled, selectionMode: SelectionMode<\/Type> = .single, underflow: Underflow<\/Type> = Underflow(), canCancelContentTouches: Bool<\/Type> = true, delaysContentTouches: Bool<\/Type> = true, pageScrollingBehavior: PageScrollingBehavior<\/Type> = .none, decelerationRate: DecelerationRate<\/Type> = .normal, verticalLayoutGravity: VerticalLayoutGravity<\/Type> = .top, focus: FocusConfiguration<\/Type> = .none)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2739 - } - ], - "key.bodylength" : 637, - "key.bodyoffset" : 3410, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `Behavior` based on the provided parameters.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new `Behavior` based on the provided parameters.", - "key.doc.declaration" : "public init(isScrollEnabled: Bool = true, keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive, keyboardAdjustmentMode: KeyboardAdjustmentMode = .adjustsWhenVisible, scrollsToTop: ScrollsToTop = .enabled, selectionMode: SelectionMode = .single, underflow: Underflow = Underflow(), canCancelContentTouches: Bool = true, delaysContentTouches: Bool = true, pageScrollingBehavior: PageScrollingBehavior = .none, decelerationRate: DecelerationRate = .normal, verticalLayoutGravity: VerticalLayoutGravity = .top, focus: FocusConfiguration = .none)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "init(isScrollEnabled:keyboardDismissMode:keyboardAdjustmentMode:scrollsToTop:selectionMode:underflow:canCancelContentTouches:delaysContentTouches:pageScrollingBehavior:decelerationRate:verticalLayoutGravity:focus:)<\/Name>s:10ListableUI8BehaviorV15isScrollEnabled19keyboardDismissMode0g10AdjustmentI012scrollsToTop09selectionI09underflow23canCancelContentTouches06delaysrS0013pageScrollingC016decelerationRate21verticalLayoutGravity5focusACSb_So020UIScrollViewKeyboardhI0VAC08KeyboardjI0OAC07ScrollslM0OAC09SelectionI0OAC9UnderflowVS2bAA04PagevC0OAC012DecelerationX0OAC08VerticalZ7GravityOAC18FocusConfigurationOtcfc<\/USR>public init(isScrollEnabled: Bool = true, keyboardDismissMode: UIScrollView.KeyboardDismissMode = .interactive, keyboardAdjustmentMode: KeyboardAdjustmentMode = .adjustsWhenVisible, scrollsToTop: ScrollsToTop = .enabled, selectionMode: SelectionMode = .single, underflow: Underflow = Underflow(), canCancelContentTouches: Bool = true, delaysContentTouches: Bool = true, pageScrollingBehavior: PageScrollingBehavior = .none, decelerationRate: DecelerationRate = .normal, verticalLayoutGravity: VerticalLayoutGravity = .top, focus: FocusConfiguration = .none)<\/Declaration>Creates a new Behavior<\/codeVoice> based on the provided parameters.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 63, - "key.doc.name" : "init(isScrollEnabled:keyboardDismissMode:keyboardAdjustmentMode:scrollsToTop:selectionMode:underflow:canCancelContentTouches:delaysContentTouches:pageScrollingBehavior:decelerationRate:verticalLayoutGravity:focus:)", - "key.doc.type" : "Function", - "key.doclength" : 63, - "key.docoffset" : 2672, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isScrollEnabled<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, keyboardDismissMode<\/decl.var.parameter.argument_label>: UIScrollView<\/ref.class>.KeyboardDismissMode<\/ref.enum><\/decl.var.parameter.type> = .interactive<\/decl.var.parameter>, keyboardAdjustmentMode<\/decl.var.parameter.argument_label>: KeyboardAdjustmentMode<\/ref.enum><\/decl.var.parameter.type> = .adjustsWhenVisible<\/decl.var.parameter>, scrollsToTop<\/decl.var.parameter.argument_label>: ScrollsToTop<\/ref.enum><\/decl.var.parameter.type> = .enabled<\/decl.var.parameter>, selectionMode<\/decl.var.parameter.argument_label>: SelectionMode<\/ref.enum><\/decl.var.parameter.type> = .single<\/decl.var.parameter>, underflow<\/decl.var.parameter.argument_label>: Underflow<\/ref.struct><\/decl.var.parameter.type> = Underflow()<\/decl.var.parameter>, canCancelContentTouches<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, delaysContentTouches<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, pageScrollingBehavior<\/decl.var.parameter.argument_label>: PageScrollingBehavior<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>, decelerationRate<\/decl.var.parameter.argument_label>: DecelerationRate<\/ref.enum><\/decl.var.parameter.type> = .normal<\/decl.var.parameter>, verticalLayoutGravity<\/decl.var.parameter.argument_label>: VerticalLayoutGravity<\/ref.enum><\/decl.var.parameter.type> = .top<\/decl.var.parameter>, focus<\/decl.var.parameter.argument_label>: FocusConfiguration<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1302, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "init(isScrollEnabled:keyboardDismissMode:keyboardAdjustmentMode:scrollsToTop:selectionMode:underflow:canCancelContentTouches:delaysContentTouches:pageScrollingBehavior:decelerationRate:verticalLayoutGravity:focus:)", - "key.namelength" : 662, - "key.nameoffset" : 2746, - "key.offset" : 2746, - "key.parsed_declaration" : "public init(\n isScrollEnabled: Bool = true,\n keyboardDismissMode : UIScrollView.KeyboardDismissMode = .interactive,\n keyboardAdjustmentMode : KeyboardAdjustmentMode = .adjustsWhenVisible,\n scrollsToTop : ScrollsToTop = .enabled,\n selectionMode : SelectionMode = .single,\n underflow : Underflow = Underflow(),\n canCancelContentTouches : Bool = true,\n delaysContentTouches : Bool = true,\n pageScrollingBehavior : PageScrollingBehavior = .none,\n decelerationRate : DecelerationRate = .normal,\n verticalLayoutGravity : VerticalLayoutGravity = .top,\n focus: FocusConfiguration = .none\n)", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Behavior.Type) -> (Bool, UIScrollView.KeyboardDismissMode, Behavior.KeyboardAdjustmentMode, Behavior.ScrollsToTop, Behavior.SelectionMode, Behavior.Underflow, Bool, Bool, PageScrollingBehavior, Behavior.DecelerationRate, Behavior.VerticalLayoutGravity, Behavior.FocusConfiguration) -> Behavior", - "key.typeusr" : "$s15isScrollEnabled19keyboardDismissMode0d10AdjustmentF012scrollsToTop09selectionF09underflow23canCancelContentTouches06delaysoP021pageScrollingBehavior16decelerationRate21verticalLayoutGravity5focus10ListableUI0T0VSb_So020UIScrollViewKeyboardeF0VAO08KeyboardgF0OAO07ScrollsiJ0OAO09SelectionF0OAO9UnderflowVS2bAM04PagesT0OAO012DecelerationV0OAO08VerticalxY0OAO18FocusConfigurationOtcD", - "key.usr" : "s:10ListableUI8BehaviorV15isScrollEnabled19keyboardDismissMode0g10AdjustmentI012scrollsToTop09selectionI09underflow23canCancelContentTouches06delaysrS0013pageScrollingC016decelerationRate21verticalLayoutGravity5focusACSb_So020UIScrollViewKeyboardhI0VAC08KeyboardjI0OAC07ScrollslM0OAC09SelectionI0OAC9UnderflowVS2bAA04PagevC0OAC012DecelerationX0OAC08VerticalZ7GravityOAC18FocusConfigurationOtcfc" - } - ], - "key.typename" : "Behavior.Type", - "key.typeusr" : "$s10ListableUI8BehaviorVmD", - "key.usr" : "s:10ListableUI8BehaviorV" - }, - { - "key.annotated_decl" : "public struct Behavior : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 5949, - "key.bodyoffset" : 4073, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls various behaviors of the list view, such as keyboard dismissal, selection mode, and behavior\nwhen the list content underflows the available space in the list view.", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct Behavior : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "Behavior<\/Name>s:10ListableUI8BehaviorV<\/USR>public struct Behavior : Equatable<\/Declaration>Controls various behaviors of the list view, such as keyboard dismissal, selection mode, and behavior when the list content underflows the available space in the list view.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "Behavior", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Behavior<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 5970, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "Behavior", - "key.namelength" : 8, - "key.nameoffset" : 4063, - "key.offset" : 4053, - "key.parsed_declaration" : "extension Behavior", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum KeyboardAdjustmentMode : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4169 - } - ], - "key.bodylength" : 492, - "key.bodyoffset" : 4221, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to adjust the `contentInset` of the list when the keyboard visibility changes.", - "key.doc.column" : 17, - "key.doc.comment" : "How to adjust the `contentInset` of the list when the keyboard visibility changes.", - "key.doc.declaration" : "public enum KeyboardAdjustmentMode : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "KeyboardAdjustmentMode<\/Name>s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO<\/USR>public enum KeyboardAdjustmentMode : Equatable<\/Declaration>How to adjust the contentInset<\/codeVoice> of the list when the keyboard visibility changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 100, - "key.doc.name" : "KeyboardAdjustmentMode", - "key.doc.type" : "Other", - "key.doclength" : 87, - "key.docoffset" : 4078, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 4206 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> KeyboardAdjustmentMode<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 538, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "KeyboardAdjustmentMode", - "key.namelength" : 22, - "key.nameoffset" : 4181, - "key.offset" : 4176, - "key.parsed_declaration" : "public enum KeyboardAdjustmentMode : Equatable", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 4330, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `contentInset` of the list is not adjusted when the keyboard appears or disappears.", - "key.doc.column" : 14, - "key.doc.comment" : "The `contentInset` of the list is not adjusted when the keyboard appears or disappears.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO4noneyA2EmF<\/USR><\/Declaration>The contentInset<\/codeVoice> of the list is not adjusted when the keyboard appears or disappears.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 103, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 92, - "key.docoffset" : 4230, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 4335, - "key.offset" : 4335, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.KeyboardAdjustmentMode.Type) -> Behavior.KeyboardAdjustmentMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV22KeyboardAdjustmentModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO4noneyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 23, - "key.offset" : 4453, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case adjustsWhenVisible<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `contentInset` of the list is adjusted when the keyboard appears or disappears.", - "key.doc.column" : 14, - "key.doc.comment" : "The `contentInset` of the list is adjusted when the keyboard appears or disappears.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "adjustsWhenVisible<\/Name>s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO18adjustsWhenVisibleyA2EmF<\/USR><\/Declaration>The contentInset<\/codeVoice> of the list is adjusted when the keyboard appears or disappears.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 106, - "key.doc.name" : "adjustsWhenVisible", - "key.doc.type" : "Other", - "key.doclength" : 88, - "key.docoffset" : 4357, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> adjustsWhenVisible<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "adjustsWhenVisible", - "key.namelength" : 18, - "key.nameoffset" : 4458, - "key.offset" : 4458, - "key.parsed_declaration" : "case adjustsWhenVisible", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 106, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.KeyboardAdjustmentMode.Type) -> Behavior.KeyboardAdjustmentMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV22KeyboardAdjustmentModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO18adjustsWhenVisibleyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 4697, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case custom<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Consumer calculates the edge insets and handles setting them\nvia the ``ListView\/customScrollViewInsets`` callback. Only use this option\nwhen managing the `ListView` directly.", - "key.doc.column" : 14, - "key.doc.comment" : "Consumer calculates the edge insets and handles setting them\nvia the ``ListView\/customScrollViewInsets`` callback. Only use this option\nwhen managing the `ListView` directly.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "custom<\/Name>s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO6customyA2EmF<\/USR><\/Declaration>Consumer calculates the edge insets and handles setting them via the ListView\/customScrollViewInsets<\/codeVoice> callback. Only use this option when managing the ListView<\/codeVoice> directly.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 111, - "key.doc.name" : "custom", - "key.doc.type" : "Other", - "key.doclength" : 203, - "key.docoffset" : 4486, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> custom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "custom", - "key.namelength" : 6, - "key.nameoffset" : 4702, - "key.offset" : 4702, - "key.parsed_declaration" : "case custom", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.KeyboardAdjustmentMode.Type) -> Behavior.KeyboardAdjustmentMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV22KeyboardAdjustmentModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO6customyA2EmF" - } - ] - } - ], - "key.typename" : "Behavior.KeyboardAdjustmentMode.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV22KeyboardAdjustmentModeOmD", - "key.usr" : "s:10ListableUI8BehaviorV22KeyboardAdjustmentModeO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ScrollsToTop : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4807 - } - ], - "key.bodylength" : 211, - "key.bodyoffset" : 4849, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to react when the user taps on the status bar of the application.", - "key.doc.column" : 17, - "key.doc.comment" : "How to react when the user taps on the status bar of the application.", - "key.doc.declaration" : "public enum ScrollsToTop : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "ScrollsToTop<\/Name>s:10ListableUI8BehaviorV12ScrollsToTopO<\/USR>public enum ScrollsToTop : Equatable<\/Declaration>How to react when the user taps on the status bar of the application.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "ScrollsToTop", - "key.doc.type" : "Other", - "key.doclength" : 74, - "key.docoffset" : 4729, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 4834 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ScrollsToTop<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 247, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "ScrollsToTop", - "key.namelength" : 12, - "key.nameoffset" : 4819, - "key.offset" : 4814, - "key.parsed_declaration" : "public enum ScrollsToTop : Equatable", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 4931, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case disabled<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "No action is performed when the user taps on the status bar.", - "key.doc.column" : 14, - "key.doc.comment" : "No action is performed when the user taps on the status bar.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "disabled<\/Name>s:10ListableUI8BehaviorV12ScrollsToTopO8disabledyA2EmF<\/USR><\/Declaration>No action is performed when the user taps on the status bar.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 119, - "key.doc.name" : "disabled", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 4858, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> disabled<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "disabled", - "key.namelength" : 8, - "key.nameoffset" : 4936, - "key.offset" : 4936, - "key.parsed_declaration" : "case disabled", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.ScrollsToTop.Type) -> Behavior.ScrollsToTop", - "key.typeusr" : "$sy10ListableUI8BehaviorV12ScrollsToTopOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV12ScrollsToTopO8disabledyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 5043, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case enabled<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the user taps on the status bar, scroll to the top of the list.", - "key.doc.column" : 14, - "key.doc.comment" : "When the user taps on the status bar, scroll to the top of the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "enabled<\/Name>s:10ListableUI8BehaviorV12ScrollsToTopO7enabledyA2EmF<\/USR><\/Declaration>When the user taps on the status bar, scroll to the top of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 122, - "key.doc.name" : "enabled", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 4962, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> enabled<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "enabled", - "key.namelength" : 7, - "key.nameoffset" : 5048, - "key.offset" : 5048, - "key.parsed_declaration" : "case enabled", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.ScrollsToTop.Type) -> Behavior.ScrollsToTop", - "key.typeusr" : "$sy10ListableUI8BehaviorV12ScrollsToTopOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV12ScrollsToTopO7enabledyA2EmF" - } - ] - } - ], - "key.typename" : "Behavior.ScrollsToTop.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV12ScrollsToTopOmD", - "key.usr" : "s:10ListableUI8BehaviorV12ScrollsToTopO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum DecelerationRate<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5117 - } - ], - "key.bodylength" : 44, - "key.bodyoffset" : 5151, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The rate at which scrolling decelerates.", - "key.doc.column" : 17, - "key.doc.comment" : "The rate at which scrolling decelerates.", - "key.doc.declaration" : "public enum DecelerationRate", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "DecelerationRate<\/Name>s:10ListableUI8BehaviorV16DecelerationRateO<\/USR>public enum DecelerationRate<\/Declaration>The rate at which scrolling decelerates.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 127, - "key.doc.name" : "DecelerationRate", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 5068, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> DecelerationRate<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 72, - "key.line" : 127, - "key.modulename" : "ListableUI", - "key.name" : "DecelerationRate", - "key.namelength" : 16, - "key.nameoffset" : 5129, - "key.offset" : 5124, - "key.parsed_declaration" : "public enum DecelerationRate", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 127, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 5160, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case normal<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> normal<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "normal", - "key.namelength" : 6, - "key.nameoffset" : 5165, - "key.offset" : 5165, - "key.parsed_declaration" : "case normal", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.DecelerationRate.Type) -> Behavior.DecelerationRate", - "key.typeusr" : "$sy10ListableUI8BehaviorV16DecelerationRateOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV16DecelerationRateO6normalyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 5181, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fast<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fast<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "fast", - "key.namelength" : 4, - "key.nameoffset" : 5186, - "key.offset" : 5186, - "key.parsed_declaration" : "case fast", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.DecelerationRate.Type) -> Behavior.DecelerationRate", - "key.typeusr" : "$sy10ListableUI8BehaviorV16DecelerationRateOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV16DecelerationRateO4fastyA2EmF" - } - ] - } - ], - "key.typename" : "Behavior.DecelerationRate.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV16DecelerationRateOmD", - "key.usr" : "s:10ListableUI8BehaviorV16DecelerationRateO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SelectionMode : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5316 - } - ], - "key.bodylength" : 630, - "key.bodyoffset" : 5359, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The selection mode of the list view, which controls how many items (if any) can be selected at once.", - "key.doc.column" : 17, - "key.doc.comment" : "The selection mode of the list view, which controls how many items (if any) can be selected at once.", - "key.doc.declaration" : "public enum SelectionMode : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "SelectionMode<\/Name>s:10ListableUI8BehaviorV13SelectionModeO<\/USR>public enum SelectionMode : Equatable<\/Declaration>The selection mode of the list view, which controls how many items (if any) can be selected at once.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 136, - "key.doc.name" : "SelectionMode", - "key.doc.type" : "Other", - "key.doclength" : 105, - "key.docoffset" : 5207, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5344 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SelectionMode<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 667, - "key.line" : 136, - "key.modulename" : "ListableUI", - "key.name" : "SelectionMode", - "key.namelength" : 13, - "key.nameoffset" : 5328, - "key.offset" : 5323, - "key.parsed_declaration" : "public enum SelectionMode : Equatable", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 5425, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The list view does not allow any selections.", - "key.doc.column" : 14, - "key.doc.comment" : "The list view does not allow any selections.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI8BehaviorV13SelectionModeO4noneyA2EmF<\/USR><\/Declaration>The list view does not allow any selections.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 139, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 5368, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 5430, - "key.offset" : 5430, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.SelectionMode.Type) -> Behavior.SelectionMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV13SelectionModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV13SelectionModeO4noneyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 5748, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case single<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The list view allows single selections. When an item is selected, the previously selected item (if any)\nwill be deselected by the list. If you provide multiple selected items in your content description,\nthe last selected item in the content will be selected.", - "key.doc.column" : 14, - "key.doc.comment" : "The list view allows single selections. When an item is selected, the previously selected item (if any)\nwill be deselected by the list. If you provide multiple selected items in your content description,\nthe last selected item in the content will be selected.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "single<\/Name>s:10ListableUI8BehaviorV13SelectionModeO6singleyA2EmF<\/USR><\/Declaration>The list view allows single selections. When an item is selected, the previously selected item (if any) will be deselected by the list. If you provide multiple selected items in your content description, the last selected item in the content will be selected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 144, - "key.doc.name" : "single", - "key.doc.type" : "Other", - "key.doclength" : 288, - "key.docoffset" : 5452, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> single<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "single", - "key.namelength" : 6, - "key.nameoffset" : 5753, - "key.offset" : 5753, - "key.parsed_declaration" : "case single", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.SelectionMode.Type) -> Behavior.SelectionMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV13SelectionModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV13SelectionModeO6singleyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 5971, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case multiple<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The list view allows multiple selections. It is your responsibility to update the content\nof the list to select and deselect items based on the selection of other items.", - "key.doc.column" : 14, - "key.doc.comment" : "The list view allows multiple selections. It is your responsibility to update the content\nof the list to select and deselect items based on the selection of other items.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "multiple<\/Name>s:10ListableUI8BehaviorV13SelectionModeO8multipleyA2EmF<\/USR><\/Declaration>The list view allows multiple selections. It is your responsibility to update the content of the list to select and deselect items based on the selection of other items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 148, - "key.doc.name" : "multiple", - "key.doc.type" : "Other", - "key.doclength" : 186, - "key.docoffset" : 5777, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> multiple<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 148, - "key.modulename" : "ListableUI", - "key.name" : "multiple", - "key.namelength" : 8, - "key.nameoffset" : 5976, - "key.offset" : 5976, - "key.parsed_declaration" : "case multiple", - "key.parsed_scope.end" : 148, - "key.parsed_scope.start" : 148, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.SelectionMode.Type) -> Behavior.SelectionMode", - "key.typeusr" : "$sy10ListableUI8BehaviorV13SelectionModeOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV13SelectionModeO8multipleyA2EmF" - } - ] - } - ], - "key.typename" : "Behavior.SelectionMode.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV13SelectionModeOmD", - "key.usr" : "s:10ListableUI8BehaviorV13SelectionModeO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Underflow : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6167 - } - ], - "key.bodylength" : 1569, - "key.bodyoffset" : 6208, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the content of the list takes up less space than the list itself (aka, an underflow), how\nthe layout of the list content should be adjusted.", - "key.doc.column" : 19, - "key.doc.comment" : "When the content of the list takes up less space than the list itself (aka, an underflow), how\nthe layout of the list content should be adjusted.", - "key.doc.declaration" : "public struct Underflow : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "Underflow<\/Name>s:10ListableUI8BehaviorV9UnderflowV<\/USR>public struct Underflow : Equatable<\/Declaration>When the content of the list takes up less space than the list itself (aka, an underflow), how the layout of the list content should be adjusted.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 154, - "key.doc.name" : "Underflow", - "key.doc.type" : "Class", - "key.doclength" : 158, - "key.docoffset" : 6005, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 6193 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Underflow<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1604, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "Underflow", - "key.namelength" : 9, - "key.nameoffset" : 6181, - "key.offset" : 6174, - "key.parsed_declaration" : "public struct Underflow : Equatable", - "key.parsed_scope.end" : 197, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var alwaysBounce: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6339 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Is bouncing (aka rubber banding) enabled, even if the content is shorter than the scrolling axis of the list?", - "key.doc.column" : 20, - "key.doc.comment" : "Is bouncing (aka rubber banding) enabled, even if the content is shorter than the scrolling axis of the list?", - "key.doc.declaration" : "public var alwaysBounce: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "alwaysBounce<\/Name>s:10ListableUI8BehaviorV9UnderflowV12alwaysBounceSbvp<\/USR>public var alwaysBounce: Bool<\/Declaration>Is bouncing (aka rubber banding) enabled, even if the content is shorter than the scrolling axis of the list?<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 157, - "key.doc.name" : "alwaysBounce", - "key.doc.type" : "Other", - "key.doclength" : 114, - "key.docoffset" : 6217, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> alwaysBounce<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "alwaysBounce", - "key.namelength" : 12, - "key.nameoffset" : 6350, - "key.offset" : 6346, - "key.parsed_declaration" : "public var alwaysBounce : Bool", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV12alwaysBounceSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var alignment: Alignment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6442 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to align the content during underflow.", - "key.doc.column" : 20, - "key.doc.comment" : "How to align the content during underflow.", - "key.doc.declaration" : "public var alignment: Alignment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "alignment<\/Name>s:10ListableUI8BehaviorV9UnderflowV9alignmentAE9AlignmentOvp<\/USR>public var alignment: Alignment<\/Declaration>How to align the content during underflow.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 160, - "key.doc.name" : "alignment", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 6387, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> alignment<\/decl.name>: Alignment<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "alignment", - "key.namelength" : 9, - "key.nameoffset" : 6453, - "key.offset" : 6449, - "key.parsed_declaration" : "public var alignment : Alignment", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior.Underflow.Alignment", - "key.typeusr" : "$s10ListableUI8BehaviorV9UnderflowV9AlignmentOD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9alignmentAE9AlignmentOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(alwaysBounce: Bool<\/Type> = true, alignment: Alignment<\/Type> = .top)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6557 - } - ], - "key.bodylength" : 93, - "key.bodyoffset" : 6662, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance with the provided parameters.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new instance with the provided parameters.", - "key.doc.declaration" : "public init(alwaysBounce: Bool = true, alignment: Alignment = .top)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "init(alwaysBounce:alignment:)<\/Name>s:10ListableUI8BehaviorV9UnderflowV12alwaysBounce9alignmentAESb_AE9AlignmentOtcfc<\/USR>public init(alwaysBounce: Bool = true, alignment: Alignment = .top)<\/Declaration>Creates a new instance with the provided parameters.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 163, - "key.doc.name" : "init(alwaysBounce:alignment:)", - "key.doc.type" : "Function", - "key.doclength" : 57, - "key.docoffset" : 6492, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(alwaysBounce<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, alignment<\/decl.var.parameter.argument_label>: Alignment<\/ref.enum><\/decl.var.parameter.type> = .top<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 192, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "init(alwaysBounce:alignment:)", - "key.namelength" : 96, - "key.nameoffset" : 6564, - "key.offset" : 6564, - "key.parsed_declaration" : "public init(\n alwaysBounce : Bool = true,\n alignment : Alignment = .top\n)", - "key.parsed_scope.end" : 169, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Behavior.Underflow.Type) -> (Bool, Behavior.Underflow.Alignment) -> Behavior.Underflow", - "key.typeusr" : "$s12alwaysBounce9alignment10ListableUI8BehaviorV9UnderflowVSb_AG9AlignmentOtcD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV12alwaysBounce9alignmentAESb_AE9AlignmentOtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Behavior<\/Type>.Underflow<\/Type>.Alignment : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6916 - } - ], - "key.bodylength" : 812, - "key.bodyoffset" : 6959, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the content takes up less space than allotted to the list,\nhow should said content be aligned within that space.", - "key.doc.column" : 21, - "key.doc.comment" : "When the content takes up less space than allotted to the list,\nhow should said content be aligned within that space.", - "key.doc.declaration" : "public enum ListableUI.Behavior.Underflow.Alignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "Alignment<\/Name>s:10ListableUI8BehaviorV9UnderflowV9AlignmentO<\/USR>public enum ListableUI.Behavior.Underflow.Alignment : Equatable<\/Declaration>When the content takes up less space than allotted to the list, how should said content be aligned within that space.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 173, - "key.doc.name" : "Alignment", - "key.doc.type" : "Other", - "key.doclength" : 134, - "key.docoffset" : 6774, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 6940 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Behavior<\/ref.struct>.Underflow<\/ref.struct>.Alignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 849, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "Alignment", - "key.namelength" : 9, - "key.nameoffset" : 6928, - "key.offset" : 6923, - "key.parsed_declaration" : "public enum Alignment : Equatable", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 7082, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case top<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content is aligned to the top of the list. This is the default and is generally standard.", - "key.doc.column" : 18, - "key.doc.comment" : "The content is aligned to the top of the list. This is the default and is generally standard.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "top<\/Name>s:10ListableUI8BehaviorV9UnderflowV9AlignmentO3topyA2GmF<\/USR><\/Declaration>The content is aligned to the top of the list. This is the default and is generally standard.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 176, - "key.doc.name" : "top", - "key.doc.type" : "Other", - "key.doclength" : 98, - "key.docoffset" : 6972, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> top<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 176, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 7087, - "key.offset" : 7087, - "key.parsed_declaration" : "case top", - "key.parsed_scope.end" : 176, - "key.parsed_scope.start" : 176, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.Underflow.Alignment.Type) -> Behavior.Underflow.Alignment", - "key.typeusr" : "$sy10ListableUI8BehaviorV9UnderflowV9AlignmentOAGmcD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9AlignmentO3topyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 7184, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case center<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content is centered within the available space.", - "key.doc.column" : 18, - "key.doc.comment" : "The content is centered within the available space.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "center<\/Name>s:10ListableUI8BehaviorV9UnderflowV9AlignmentO6centeryA2GmF<\/USR><\/Declaration>The content is centered within the available space.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 179, - "key.doc.name" : "center", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 7116, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> center<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "center", - "key.namelength" : 6, - "key.nameoffset" : 7189, - "key.offset" : 7189, - "key.parsed_declaration" : "case center", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 179, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.Underflow.Alignment.Type) -> Behavior.Underflow.Alignment", - "key.typeusr" : "$sy10ListableUI8BehaviorV9UnderflowV9AlignmentOAGmcD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9AlignmentO6centeryA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 7275, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case bottom<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content is aligned to the bottom.", - "key.doc.column" : 18, - "key.doc.comment" : "The content is aligned to the bottom.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "bottom<\/Name>s:10ListableUI8BehaviorV9UnderflowV9AlignmentO6bottomyA2GmF<\/USR><\/Declaration>The content is aligned to the bottom.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 182, - "key.doc.name" : "bottom", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 7221, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> bottom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 182, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 7280, - "key.offset" : 7280, - "key.parsed_declaration" : "case bottom", - "key.parsed_scope.end" : 182, - "key.parsed_scope.start" : 182, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.Underflow.Alignment.Type) -> Behavior.Underflow.Alignment", - "key.typeusr" : "$sy10ListableUI8BehaviorV9UnderflowV9AlignmentOAGmcD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9AlignmentO6bottomyA2GmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func offsetFor(contentHeight: CGFloat<\/Type>, viewHeight: CGFloat<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 364, - "key.bodyoffset" : 7397, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> offsetFor<\/decl.name>(contentHeight<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, viewHeight<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 450, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "offsetFor(contentHeight:viewHeight:)", - "key.namelength" : 55, - "key.nameoffset" : 7317, - "key.offset" : 7312, - "key.parsed_declaration" : "func offsetFor(contentHeight : CGFloat, viewHeight: CGFloat) -> CGFloat", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Behavior.Underflow.Alignment) -> (CGFloat, CGFloat) -> CGFloat", - "key.typeusr" : "$s13contentHeight04viewB014CoreFoundation7CGFloatVAE_AEtcD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9AlignmentO9offsetFor13contentHeight04viewI014CoreFoundation7CGFloatVAM_AMtF" - } - ], - "key.typename" : "Behavior.Underflow.Alignment.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV9UnderflowV9AlignmentOmD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV9AlignmentO" - } - ], - "key.typename" : "Behavior.Underflow.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV9UnderflowVmD", - "key.usr" : "s:10ListableUI8BehaviorV9UnderflowV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum VerticalLayoutGravity<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7967 - } - ], - "key.bodylength" : 379, - "key.bodyoffset" : 8002, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applicable when the `layoutDirection` is `vertical`. The gravity determines\nhow inserting new elements or changing the `contentInset` affects the scroll position.", - "key.doc.column" : 17, - "key.doc.comment" : "Applicable when the `layoutDirection` is `vertical`. The gravity determines\nhow inserting new elements or changing the `contentInset` affects the scroll position.", - "key.doc.declaration" : "public enum VerticalLayoutGravity", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "VerticalLayoutGravity<\/Name>s:10ListableUI8BehaviorV21VerticalLayoutGravityO<\/USR>public enum VerticalLayoutGravity<\/Declaration>Applicable when the layoutDirection<\/codeVoice> is vertical<\/codeVoice>. The gravity determines how inserting new elements or changing the contentInset<\/codeVoice> affects the scroll position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 201, - "key.doc.name" : "VerticalLayoutGravity", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 7788, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> VerticalLayoutGravity<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 408, - "key.line" : 201, - "key.modulename" : "ListableUI", - "key.name" : "VerticalLayoutGravity", - "key.namelength" : 21, - "key.nameoffset" : 7979, - "key.offset" : 7974, - "key.parsed_declaration" : "public enum VerticalLayoutGravity", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 201, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 8158, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case top<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is how a scroll view normally behaves.\nWhen a new element is inserted, the scroll distance from the top is unchanged.", - "key.doc.column" : 14, - "key.doc.comment" : "This is how a scroll view normally behaves.\nWhen a new element is inserted, the scroll distance from the top is unchanged.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "top<\/Name>s:10ListableUI8BehaviorV21VerticalLayoutGravityO3topyA2EmF<\/USR><\/Declaration>This is how a scroll view normally behaves. When a new element is inserted, the scroll distance from the top is unchanged.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 204, - "key.doc.name" : "top", - "key.doc.type" : "Other", - "key.doclength" : 139, - "key.docoffset" : 8011, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> top<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 204, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 8163, - "key.offset" : 8163, - "key.parsed_declaration" : "case top", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 204, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.VerticalLayoutGravity.Type) -> Behavior.VerticalLayoutGravity", - "key.typeusr" : "$sy10ListableUI8BehaviorV21VerticalLayoutGravityOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV21VerticalLayoutGravityO3topyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 8365, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case bottom<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Intended for cases where the default scroll position is scrolled all the way down.\nWhen a new element is inserted, the scroll distance from the bottom is unchanged.", - "key.doc.column" : 14, - "key.doc.comment" : "Intended for cases where the default scroll position is scrolled all the way down.\nWhen a new element is inserted, the scroll distance from the bottom is unchanged.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "bottom<\/Name>s:10ListableUI8BehaviorV21VerticalLayoutGravityO6bottomyA2EmF<\/USR><\/Declaration>Intended for cases where the default scroll position is scrolled all the way down. When a new element is inserted, the scroll distance from the bottom is unchanged.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 208, - "key.doc.name" : "bottom", - "key.doc.type" : "Other", - "key.doclength" : 181, - "key.docoffset" : 8176, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> bottom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 8370, - "key.offset" : 8370, - "key.parsed_declaration" : "case bottom", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.VerticalLayoutGravity.Type) -> Behavior.VerticalLayoutGravity", - "key.typeusr" : "$sy10ListableUI8BehaviorV21VerticalLayoutGravityOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV21VerticalLayoutGravityO6bottomyA2EmF" - } - ] - } - ], - "key.typename" : "Behavior.VerticalLayoutGravity.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV21VerticalLayoutGravityOmD", - "key.usr" : "s:10ListableUI8BehaviorV21VerticalLayoutGravityO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum FocusConfiguration : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8456 - } - ], - "key.bodylength" : 1521, - "key.bodyoffset" : 8499, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Configuration for keyboard focus behavior in the list view.", - "key.doc.column" : 17, - "key.doc.comment" : "Configuration for keyboard focus behavior in the list view.", - "key.doc.declaration" : "public enum FocusConfiguration : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "FocusConfiguration<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO<\/USR>public enum FocusConfiguration : Equatable<\/Declaration>Configuration for keyboard focus behavior in the list view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 212, - "key.doc.name" : "FocusConfiguration", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 8388, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 8488 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> FocusConfiguration<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1558, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "FocusConfiguration", - "key.namelength" : 18, - "key.nameoffset" : 8468, - "key.offset" : 8463, - "key.parsed_declaration" : "public enum FocusConfiguration: Equatable", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 212, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 8572, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "No focus support - keyboard navigation is disabled.", - "key.doc.column" : 14, - "key.doc.comment" : "No focus support - keyboard navigation is disabled.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO4noneyA2EmF<\/USR><\/Declaration>No focus support - keyboard navigation is disabled.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 214, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 8508, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 214, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 8577, - "key.offset" : 8577, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 214, - "key.parsed_scope.start" : 214, - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.FocusConfiguration.Type) -> Behavior.FocusConfiguration", - "key.typeusr" : "$sy10ListableUI8BehaviorV18FocusConfigurationOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO4noneyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 8774, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case allowsFocus<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Basic focus support - allows keyboard navigation but selection doesn't follow focus.\nThe focus ring is always shown to provide visual feedback for navigation.", - "key.doc.column" : 14, - "key.doc.comment" : "Basic focus support - allows keyboard navigation but selection doesn't follow focus.\nThe focus ring is always shown to provide visual feedback for navigation.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "allowsFocus<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO06allowsD0yA2EmF<\/USR><\/Declaration>Basic focus support - allows keyboard navigation but selection doesn’t follow focus. The focus ring is always shown to provide visual feedback for navigation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 218, - "key.doc.name" : "allowsFocus", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 8591, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> allowsFocus<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 218, - "key.modulename" : "ListableUI", - "key.name" : "allowsFocus", - "key.namelength" : 11, - "key.nameoffset" : 8779, - "key.offset" : 8779, - "key.parsed_declaration" : "case allowsFocus", - "key.parsed_scope.end" : 218, - "key.parsed_scope.start" : 218, - "key.related_decls" : [ - { - "key.annotated_decl" : "allowsFocus<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(Behavior.FocusConfiguration.Type) -> Behavior.FocusConfiguration", - "key.typeusr" : "$sy10ListableUI8BehaviorV18FocusConfigurationOAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO06allowsD0yA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 54, - "key.offset" : 8994, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case selectionFollowsFocus(showFocusRing: Bool<\/Type> = true)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Focus with selection following - keyboard navigation enabled and selection follows focus.\n- Parameter showFocusRing: Whether to show the focus ring around focused items.", - "key.doc.column" : 14, - "key.doc.comment" : "Focus with selection following - keyboard navigation enabled and selection follows focus.\n- Parameter showFocusRing: Whether to show the focus ring around focused items.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "selectionFollowsFocus(showFocusRing:)<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO016selectionFollowsD0yAESb_tcAEmF<\/USR><\/Declaration>Focus with selection following - keyboard navigation enabled and selection follows focus.<\/Para><\/Abstract>showFocusRing<\/Name>in<\/Direction>Whether to show the focus ring around focused items.<\/Para><\/Discussion><\/Parameter><\/Parameters><\/CommentParts><\/Other>", - "key.doc.line" : 222, - "key.doc.name" : "selectionFollowsFocus(showFocusRing:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "Whether to show the focus ring around focused items." - } - ], - "name" : "showFocusRing" - } - ], - "key.doc.type" : "Other", - "key.doclength" : 186, - "key.docoffset" : 8800, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> selectionFollowsFocus<\/decl.name>(showFocusRing<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 49, - "key.line" : 222, - "key.modulename" : "ListableUI", - "key.name" : "selectionFollowsFocus(showFocusRing:)", - "key.namelength" : 49, - "key.nameoffset" : 8999, - "key.offset" : 8999, - "key.parsed_declaration" : "case selectionFollowsFocus(showFocusRing: Bool = true)", - "key.parsed_scope.end" : 222, - "key.parsed_scope.start" : 222, - "key.related_decls" : [ - { - "key.annotated_decl" : "selectionFollowsFocus<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Behavior.FocusConfiguration.Type) -> (Bool) -> Behavior.FocusConfiguration", - "key.typeusr" : "$sy10ListableUI8BehaviorV18FocusConfigurationOSb_tcAEmcD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO016selectionFollowsD0yAESb_tcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var allowsFocus: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9127 - } - ], - "key.bodylength" : 153, - "key.bodyoffset" : 9157, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether items can receive focus for keyboard navigation.", - "key.doc.column" : 20, - "key.doc.comment" : "Whether items can receive focus for keyboard navigation.", - "key.doc.declaration" : "public var allowsFocus: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "allowsFocus<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO06allowsD0Sbvp<\/USR>public var allowsFocus: Bool { get }<\/Declaration>Whether items can receive focus for keyboard navigation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 225, - "key.doc.name" : "allowsFocus", - "key.doc.type" : "Other", - "key.doclength" : 61, - "key.docoffset" : 9058, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> allowsFocus<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 177, - "key.line" : 225, - "key.modulename" : "ListableUI", - "key.name" : "allowsFocus", - "key.namelength" : 11, - "key.nameoffset" : 9138, - "key.offset" : 9134, - "key.parsed_declaration" : "public var allowsFocus: Bool", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 225, - "key.related_decls" : [ - { - "key.annotated_decl" : "allowsFocus<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO06allowsD0Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectionFollowsFocus: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9388 - } - ], - "key.bodylength" : 153, - "key.bodyoffset" : 9428, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether selection automatically follows focus changes.", - "key.doc.column" : 20, - "key.doc.comment" : "Whether selection automatically follows focus changes.", - "key.doc.declaration" : "public var selectionFollowsFocus: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "selectionFollowsFocus<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO016selectionFollowsD0Sbvp<\/USR>public var selectionFollowsFocus: Bool { get }<\/Declaration>Whether selection automatically follows focus changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 233, - "key.doc.name" : "selectionFollowsFocus", - "key.doc.type" : "Other", - "key.doclength" : 59, - "key.docoffset" : 9321, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectionFollowsFocus<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 187, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "selectionFollowsFocus", - "key.namelength" : 21, - "key.nameoffset" : 9399, - "key.offset" : 9395, - "key.parsed_declaration" : "public var selectionFollowsFocus: Bool", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 233, - "key.related_decls" : [ - { - "key.annotated_decl" : "selectionFollowsFocus(showFocusRing:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO016selectionFollowsD0Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var showFocusRing: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9653 - } - ], - "key.bodylength" : 327, - "key.bodyoffset" : 9685, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether to show the focus ring on focused items.", - "key.doc.column" : 20, - "key.doc.comment" : "Whether to show the focus ring on focused items.", - "key.doc.declaration" : "public var showFocusRing: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.doc.full_as_xml" : "showFocusRing<\/Name>s:10ListableUI8BehaviorV18FocusConfigurationO04showD4RingSbvp<\/USR>public var showFocusRing: Bool { get }<\/Declaration>Whether to show the focus ring on focused items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 241, - "key.doc.name" : "showFocusRing", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 9592, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> showFocusRing<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 353, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "showFocusRing", - "key.namelength" : 13, - "key.nameoffset" : 9664, - "key.offset" : 9660, - "key.parsed_declaration" : "public var showFocusRing: Bool", - "key.parsed_scope.end" : 250, - "key.parsed_scope.start" : 241, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO04showD4RingSbvp" - } - ], - "key.typename" : "Behavior.FocusConfiguration.Type", - "key.typeusr" : "$s10ListableUI8BehaviorV18FocusConfigurationOmD", - "key.usr" : "s:10ListableUI8BehaviorV18FocusConfigurationO" - } - ], - "key.typename" : "Behavior.Type", - "key.typeusr" : "$s10ListableUI8BehaviorVmD", - "key.usr" : "s:10ListableUI8BehaviorV" - }, - { - "key.annotated_decl" : "struct DecelerationRate : _ObjectiveCBridgeable<\/Type>, Hashable<\/Type>, Equatable<\/Type>, _SwiftNewtypeWrapper<\/Type>, RawRepresentable<\/Type>, @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 312, - "key.bodyoffset" : 10070, - "key.column" : 17, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIScrollView.h", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> DecelerationRate<\/decl.name> : _ObjectiveCBridgeable<\/ref.protocol>, Hashable<\/ref.protocol>, Equatable<\/ref.protocol>, _SwiftNewtypeWrapper<\/ref.protocol>, RawRepresentable<\/ref.protocol>, @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.is_dynamic" : true, - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 358, - "key.line" : 44, - "key.modulename" : "UIKit.UIScrollView", - "key.name" : "UICollectionView.DecelerationRate", - "key.namelength" : 33, - "key.nameoffset" : 10035, - "key.offset" : 10025, - "key.parsed_declaration" : "extension UICollectionView.DecelerationRate", - "key.parsed_scope.end" : 268, - "key.parsed_scope.start" : 256, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIScrollView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "init(behaviorValue: Behavior<\/Type>.DecelerationRate<\/Type>)<\/Declaration>", - "key.bodylength" : 252, - "key.bodyoffset" : 10128, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Behavior.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(behaviorValue<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct>.DecelerationRate<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 305, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "init(behaviorValue:)", - "key.namelength" : 46, - "key.nameoffset" : 10076, - "key.offset" : 10076, - "key.parsed_declaration" : "init(behaviorValue: Behavior.DecelerationRate)", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 259, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(rawValue:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UIScrollView.DecelerationRate.Type) -> (Behavior.DecelerationRate) -> UIScrollView.DecelerationRate", - "key.typeusr" : "$s13behaviorValueSo28UIScrollViewDecelerationRatea10ListableUI8BehaviorV0eF0O_tcD", - "key.usr" : "s:So28UIScrollViewDecelerationRatea10ListableUIE13behaviorValueAbC8BehaviorV0cD0O_tcfc" - } - ], - "key.typename" : "UIScrollView.DecelerationRate.Type", - "key.typeusr" : "$sSo28UIScrollViewDecelerationRateamD", - "key.usr" : "c:@T@UIScrollViewDecelerationRate" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Bundle+ListableUI.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 262, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private final class MarkerClass<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 134 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 126 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 159, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Bundle+ListableUI.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> MarkerClass<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 20, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "MarkerClass", - "key.namelength" : 11, - "key.nameoffset" : 146, - "key.offset" : 140, - "key.parsed_declaration" : "private final class MarkerClass", - "key.parsed_scope.end" : 11, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.typename" : "MarkerClass.Type", - "key.typeusr" : "$s10ListableUI11MarkerClass33_2B6A494FDB421025EC5C2B3B4F1A7BE6LLCmD", - "key.usr" : "s:10ListableUI11MarkerClass33_2B6A494FDB421025EC5C2B3B4F1A7BE6LLC" - }, - { - "key.annotated_decl" : "@_nonSendable(_assumed) class Bundle : NSObject<\/Type>, @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 80, - "key.bodyoffset" : 180, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/Foundation.framework\/Headers\/NSBundle.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> Bundle<\/decl.name> : NSObject<\/ref.class>, @unchecked Sendable<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 99, - "key.line" : 20, - "key.modulename" : "Foundation.NSBundle", - "key.name" : "Bundle", - "key.namelength" : 6, - "key.nameoffset" : 172, - "key.offset" : 162, - "key.parsed_declaration" : "extension Bundle", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let listableUIResources: Bundle<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The resource bundle", - "key.doc.column" : 16, - "key.doc.comment" : "The resource bundle", - "key.doc.declaration" : "static let listableUIResources: Bundle", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Bundle+ListableUI.swift", - "key.doc.full_as_xml" : "listableUIResources<\/Name>s:So8NSBundleC10ListableUIE19listableUIResourcesABvpZ<\/USR>static let listableUIResources: Bundle<\/Declaration>The resource bundle<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "listableUIResources", - "key.doc.type" : "Other", - "key.doclength" : 24, - "key.docoffset" : 185, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Bundle+ListableUI.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> listableUIResources<\/decl.name>: Bundle<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 46, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "listableUIResources", - "key.namelength" : 19, - "key.nameoffset" : 224, - "key.offset" : 213, - "key.parsed_declaration" : "static let listableUIResources = Bundle.module", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "Bundle", - "key.typeusr" : "$sSo8NSBundleCD", - "key.usr" : "s:So8NSBundleC10ListableUIE19listableUIResourcesABvpZ" - } - ], - "key.typename" : "Bundle.Type", - "key.typeusr" : "$sSo8NSBundleCmD", - "key.usr" : "c:objc(cs)NSBundle" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/CacheClearer.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 801, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@_spi(CacheManagement) public struct CacheClearer<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 42 - }, - { - "key.attribute" : "source.decl.attribute._spi", - "key.length" : 22, - "key.offset" : 19 - } - ], - "key.bodylength" : 729, - "key.bodyoffset" : 70, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/CacheClearer.swift", - "key.fully_annotated_decl" : "@_spi<\/syntaxtype.attribute.name>(CacheManagement) public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> CacheClearer<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 751, - "key.line" : 4, - "key.modulename" : "ListableUI", - "key.name" : "CacheClearer", - "key.namelength" : 12, - "key.nameoffset" : 56, - "key.offset" : 49, - "key.parsed_declaration" : "public struct CacheClearer", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 4, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@_spi(CacheManagement) public static func clearStaticCaches()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 618 - }, - { - "key.attribute" : "source.decl.attribute._spi", - "key.length" : 22, - "key.offset" : 591 - } - ], - "key.bodylength" : 139, - "key.bodyoffset" : 658, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Clears all static caches that are in use.\n\nListable leverages static caching to improve performance however there are situations in which\nthis can cause object lifetimes to be extended unexpectedly, especially in cases where cached\nviews reference other objects.\n\n- WARNING: Clearing these caches can have global performance implications. This method\nshould be invoked sparingley and only after other workarounds to manage object lifetimes have failed.", - "key.doc.column" : 24, - "key.doc.comment" : "Clears all static caches that are in use.\n\nListable leverages static caching to improve performance however there are situations in which\nthis can cause object lifetimes to be extended unexpectedly, especially in cases where cached\nviews reference other objects.\n\n- WARNING: Clearing these caches can have global performance implications. This method\nshould be invoked sparingley and only after other workarounds to manage object lifetimes have failed.", - "key.doc.declaration" : "public static func clearStaticCaches()", - "key.doc.discussion" : [ - { - "Para" : "Listable leverages static caching to improve performance however there are situations in which this can cause object lifetimes to be extended unexpectedly, especially in cases where cached views reference other objects." - }, - { - "Warning" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/CacheClearer.swift", - "key.doc.full_as_xml" : "clearStaticCaches()<\/Name>s:10ListableUI12CacheClearerV17clearStaticCachesyyFZ<\/USR>public static func clearStaticCaches()<\/Declaration>Clears all static caches that are in use.<\/Para><\/Abstract>Listable leverages static caching to improve performance however there are situations in which this can cause object lifetimes to be extended unexpectedly, especially in cases where cached views reference other objects.<\/Para>Clearing these caches can have global performance implications. This method should be invoked sparingley and only after other workarounds to manage object lifetimes have failed.<\/Para><\/Warning><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 15, - "key.doc.name" : "clearStaticCaches()", - "key.doc.type" : "Function", - "key.doclength" : 511, - "key.docoffset" : 76, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/CacheClearer.swift", - "key.fully_annotated_decl" : "@_spi<\/syntaxtype.attribute.name>(CacheManagement) public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> clearStaticCaches<\/decl.name>()<\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 173, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "clearStaticCaches()", - "key.namelength" : 19, - "key.nameoffset" : 637, - "key.offset" : 625, - "key.parsed_declaration" : "public static func clearStaticCaches()", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CacheClearer.Type) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI12CacheClearerV17clearStaticCachesyyFZ" - } - ], - "key.typename" : "CacheClearer.Type", - "key.typeusr" : "$s10ListableUI12CacheClearerVmD", - "key.usr" : "s:10ListableUI12CacheClearerV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 668, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@propertyWrapper public struct Color : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 273 - }, - { - "key.attribute" : "source.decl.attribute.propertyWrapper", - "key.length" : 16, - "key.offset" : 256 - } - ], - "key.bodylength" : 360, - "key.bodyoffset" : 306, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A color wrapper which provides equatability for\ndynamic `UIColor` instances, by comparing their resolved\nvalue to the current `UITraitCollection`.", - "key.doc.column" : 15, - "key.doc.comment" : "A color wrapper which provides equatability for\ndynamic `UIColor` instances, by comparing their resolved\nvalue to the current `UITraitCollection`.", - "key.doc.declaration" : "@propertyWrapper public struct Color : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.doc.full_as_xml" : "Color<\/Name>s:10ListableUI5ColorV<\/USR>@propertyWrapper public struct Color : Equatable<\/Declaration>A color wrapper which provides equatability for dynamic UIColor<\/codeVoice> instances, by comparing their resolved value to the current UITraitCollection<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 15, - "key.doc.name" : "Color", - "key.doc.type" : "Class", - "key.doclength" : 159, - "key.docoffset" : 97, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 295 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.fully_annotated_decl" : "@propertyWrapper<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Color<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 387, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "Color", - "key.namelength" : 5, - "key.nameoffset" : 287, - "key.offset" : 280, - "key.parsed_declaration" : "public struct Color : Equatable", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var wrappedValue: UIColor<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 352 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlying color value.", - "key.doc.column" : 16, - "key.doc.comment" : "The underlying color value.", - "key.doc.declaration" : "public var wrappedValue: UIColor", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.doc.full_as_xml" : "wrappedValue<\/Name>s:10ListableUI5ColorV12wrappedValueSo7UIColorCvp<\/USR>public var wrappedValue: UIColor<\/Declaration>The underlying color value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "wrappedValue", - "key.doc.type" : "Other", - "key.doclength" : 32, - "key.docoffset" : 316, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> wrappedValue<\/decl.name>: UIColor<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "wrappedValue", - "key.namelength" : 12, - "key.nameoffset" : 363, - "key.offset" : 359, - "key.parsed_declaration" : "public var wrappedValue : UIColor", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor", - "key.typeusr" : "$sSo7UIColorCD", - "key.usr" : "s:10ListableUI5ColorV12wrappedValueSo7UIColorCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ wrappedValue: UIColor<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 395 - } - ], - "key.bodylength" : 46, - "key.bodyoffset" : 434, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> wrappedValue<\/decl.var.parameter.name>: UIColor<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 79, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 30, - "key.nameoffset" : 402, - "key.offset" : 402, - "key.parsed_declaration" : "public init(_ wrappedValue : UIColor)", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Color.Type) -> (UIColor) -> Color", - "key.typeusr" : "$sy10ListableUI5ColorVSo7UIColorCcD", - "key.usr" : "s:10ListableUI5ColorVyACSo7UIColorCcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func == (lhs: `Self`, rhs: `Self`) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 491 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 547, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Color.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 167, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 27, - "key.nameoffset" : 510, - "key.offset" : 498, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "public static func == (lhs : Self, rhs : Self) -> Bool", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Color.Type) -> (Color, Color) -> Bool", - "key.typeusr" : "$sySb10ListableUI5ColorV_ACtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.typename" : "Color.Type", - "key.typeusr" : "$s10ListableUI5ColorVmD", - "key.usr" : "s:10ListableUI5ColorV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 11482, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Content<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 100 - } - ], - "key.bodylength" : 10889, - "key.bodyoffset" : 123, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Content<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 10906, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 114, - "key.offset" : 107, - "key.parsed_declaration" : "public struct Content", - "key.parsed_scope.end" : 332, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 18, - "key.name" : "MARK: Content Data", - "key.offset" : 138 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var identifier: AnyHashable<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 370 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The identifier for the content, defaults to nil.\nYou don't need to set this value – but if you do, and change it to another value,\nthe list will reload without animation.", - "key.doc.column" : 16, - "key.doc.comment" : "The identifier for the content, defaults to nil.\nYou don't need to set this value – but if you do, and change it to another value,\nthe list will reload without animation.", - "key.doc.declaration" : "public var identifier: AnyHashable?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "identifier<\/Name>s:10ListableUI7ContentV10identifiers11AnyHashableVSgvp<\/USR>public var identifier: AnyHashable?<\/Declaration>The identifier for the content, defaults to nil. You don’t need to set this value – but if you do, and change it to another value, the list will reload without animation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "identifier", - "key.doc.type" : "Other", - "key.doclength" : 193, - "key.docoffset" : 173, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifier<\/decl.name>: AnyHashable<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 381, - "key.offset" : 377, - "key.parsed_declaration" : "public var identifier : AnyHashable?", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AnyHashable?", - "key.typeusr" : "$ss11AnyHashableVSgD", - "key.usr" : "s:10ListableUI7ContentV10identifiers11AnyHashableVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var context: ContentContext<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 708 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The context for the entire list.\nIf this value changes, all measurements will be discarded and re-measured.\n\nUsing the `ContentContext` can simplify code: If your screen's traits\nchange, pass them in here vs requiring every item to check the screen traits.", - "key.doc.column" : 16, - "key.doc.comment" : "The context for the entire list.\nIf this value changes, all measurements will be discarded and re-measured.\n\nUsing the `ContentContext` can simplify code: If your screen's traits\nchange, pass them in here vs requiring every item to check the screen traits.", - "key.doc.declaration" : "public var context: ContentContext?", - "key.doc.discussion" : [ - { - "Para" : "Using the `ContentContext` can simplify code: If your screen’s traits change, pass them in here vs requiring every item to check the screen traits." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "context<\/Name>s:10ListableUI7ContentV7contextAA0C7ContextVSgvp<\/USR>public var context: ContentContext?<\/Declaration>The context for the entire list. If this value changes, all measurements will be discarded and re-measured.<\/Para><\/Abstract>Using the ContentContext<\/codeVoice> can simplify code: If your screen’s traits change, pass them in here vs requiring every item to check the screen traits.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 27, - "key.doc.name" : "context", - "key.doc.type" : "Other", - "key.doclength" : 292, - "key.docoffset" : 412, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> context<\/decl.name>: ContentContext<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 719, - "key.offset" : 715, - "key.parsed_declaration" : "public var context : ContentContext?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ContentContext?", - "key.typeusr" : "$s10ListableUI14ContentContextVSgD", - "key.usr" : "s:10ListableUI7ContentV7contextAA0C7ContextVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var refreshControl: RefreshControl<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 817 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The refresh control, if any, associated with the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The refresh control, if any, associated with the list.", - "key.doc.declaration" : "public var refreshControl: RefreshControl?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "refreshControl<\/Name>s:10ListableUI7ContentV14refreshControlAA07RefreshE0VSgvp<\/USR>public var refreshControl: RefreshControl?<\/Declaration>The refresh control, if any, associated with the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 30, - "key.doc.name" : "refreshControl", - "key.doc.type" : "Other", - "key.doclength" : 59, - "key.docoffset" : 754, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> refreshControl<\/decl.name>: RefreshControl<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "refreshControl", - "key.namelength" : 14, - "key.nameoffset" : 828, - "key.offset" : 824, - "key.parsed_declaration" : "public var refreshControl : RefreshControl?", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "RefreshControl?", - "key.typeusr" : "$s10ListableUI14RefreshControlVSgD", - "key.usr" : "s:10ListableUI7ContentV14refreshControlAA07RefreshE0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var containerHeader: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 957 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A header provided by the container of the list, eg a nav-style \"large header\".", - "key.doc.column" : 16, - "key.doc.comment" : "A header provided by the container of the list, eg a nav-style \"large header\".", - "key.doc.declaration" : "public var containerHeader: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "containerHeader<\/Name>s:10ListableUI7ContentV15containerHeaderAA03AnyE17FooterConvertible_pSgvp<\/USR>public var containerHeader: AnyHeaderFooterConvertible?<\/Declaration>A header provided by the container of the list, eg a nav-style “large header”.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 33, - "key.doc.name" : "containerHeader", - "key.doc.type" : "Other", - "key.doclength" : 83, - "key.docoffset" : 870, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> containerHeader<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "containerHeader", - "key.namelength" : 15, - "key.nameoffset" : 968, - "key.offset" : 964, - "key.parsed_declaration" : "public var containerHeader : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7ContentV15containerHeaderAA03AnyE17FooterConvertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var header: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1100 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The header for the list, usually displayed before all other content.", - "key.doc.column" : 16, - "key.doc.comment" : "The header for the list, usually displayed before all other content.", - "key.doc.declaration" : "public var header: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "header<\/Name>s:10ListableUI7ContentV6headerAA26AnyHeaderFooterConvertible_pSgvp<\/USR>public var header: AnyHeaderFooterConvertible?<\/Declaration>The header for the list, usually displayed before all other content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 36, - "key.doc.name" : "header", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 1023, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> header<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 1111, - "key.offset" : 1107, - "key.parsed_declaration" : "public var header : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7ContentV6headerAA26AnyHeaderFooterConvertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var footer: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1233 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The footer for the list, usually displayed after all other content.", - "key.doc.column" : 16, - "key.doc.comment" : "The footer for the list, usually displayed after all other content.", - "key.doc.declaration" : "public var footer: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "footer<\/Name>s:10ListableUI7ContentV6footerAA26AnyHeaderFooterConvertible_pSgvp<\/USR>public var footer: AnyHeaderFooterConvertible?<\/Declaration>The footer for the list, usually displayed after all other content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 39, - "key.doc.name" : "footer", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 1157, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> footer<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 1244, - "key.offset" : 1240, - "key.parsed_declaration" : "public var footer : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7ContentV6footerAA26AnyHeaderFooterConvertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var overscrollFooter: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1490 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The overscroll footer for the list, which is displayed below the bottom bounds of the visible frame,\nso it is only visible if the user manually scrolls the list up to make it visible.", - "key.doc.column" : 16, - "key.doc.comment" : "The overscroll footer for the list, which is displayed below the bottom bounds of the visible frame,\nso it is only visible if the user manually scrolls the list up to make it visible.", - "key.doc.declaration" : "public var overscrollFooter: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "overscrollFooter<\/Name>s:10ListableUI7ContentV16overscrollFooterAA09AnyHeaderE11Convertible_pSgvp<\/USR>public var overscrollFooter: AnyHeaderFooterConvertible?<\/Declaration>The overscroll footer for the list, which is displayed below the bottom bounds of the visible frame, so it is only visible if the user manually scrolls the list up to make it visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 43, - "key.doc.name" : "overscrollFooter", - "key.doc.type" : "Other", - "key.doclength" : 196, - "key.docoffset" : 1290, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> overscrollFooter<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 1501, - "key.offset" : 1497, - "key.parsed_declaration" : "public var overscrollFooter : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7ContentV16overscrollFooterAA09AnyHeaderE11Convertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sections: [Section<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1591 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "All sections in the list.", - "key.doc.column" : 16, - "key.doc.comment" : "All sections in the list.", - "key.doc.declaration" : "public var sections: [Section]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "sections<\/Name>s:10ListableUI7ContentV8sectionsSayAA7SectionVGvp<\/USR>public var sections: [Section]<\/Declaration>All sections in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "sections", - "key.doc.type" : "Other", - "key.doclength" : 30, - "key.docoffset" : 1557, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sections<\/decl.name>: [Section<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 1602, - "key.offset" : 1598, - "key.parsed_declaration" : "public var sections : [Section]", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "[Section]", - "key.typeusr" : "$sSay10ListableUI7SectionVGD", - "key.usr" : "s:10ListableUI7ContentV8sectionsSayAA7SectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var nonEmptySections: [Section<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1691 - } - ], - "key.bodylength" : 64, - "key.bodyoffset" : 1732, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Any sections that have a non-zero number of items.", - "key.doc.column" : 16, - "key.doc.comment" : "Any sections that have a non-zero number of items.", - "key.doc.declaration" : "public var nonEmptySections: [Section] { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "nonEmptySections<\/Name>s:10ListableUI7ContentV16nonEmptySectionsSayAA7SectionVGvp<\/USR>public var nonEmptySections: [Section] { get }<\/Declaration>Any sections that have a non-zero number of items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 49, - "key.doc.name" : "nonEmptySections", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 1632, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> nonEmptySections<\/decl.name>: [Section<\/ref.struct>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 99, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "nonEmptySections", - "key.namelength" : 16, - "key.nameoffset" : 1702, - "key.offset" : 1698, - "key.parsed_declaration" : "public var nonEmptySections : [Section]", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.typename" : "[Section]", - "key.typeusr" : "$sSay10ListableUI7SectionVGD", - "key.usr" : "s:10ListableUI7ContentV16nonEmptySectionsSayAA7SectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemCount: Int<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1877 - } - ], - "key.bodylength" : 69, - "key.bodyoffset" : 1905, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The total number of items in all of the sections in the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The total number of items in all of the sections in the list.", - "key.doc.declaration" : "public var itemCount: Int { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "itemCount<\/Name>s:10ListableUI7ContentV9itemCountSivp<\/USR>public var itemCount: Int { get }<\/Declaration>The total number of items in all of the sections in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 54, - "key.doc.name" : "itemCount", - "key.doc.type" : "Other", - "key.doclength" : 66, - "key.docoffset" : 1807, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 91, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "itemCount", - "key.namelength" : 9, - "key.nameoffset" : 1888, - "key.offset" : 1884, - "key.parsed_declaration" : "public var itemCount : Int", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI7ContentV9itemCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func contains(any filters: Set<\/Type><ContentFilters<\/Type>> = [.items]) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2167 - } - ], - "key.bodylength" : 918, - "key.bodyoffset" : 2243, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Check if the content contains any of the given types, which you specify via the `filters`\nparameter. If you do not specify a `filters` parameter, `[.items]` is used.", - "key.doc.column" : 17, - "key.doc.comment" : "Check if the content contains any of the given types, which you specify via the `filters`\nparameter. If you do not specify a `filters` parameter, `[.items]` is used.", - "key.doc.declaration" : "public func contains(any filters: Set = [.items]) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "contains(any:)<\/Name>s:10ListableUI7ContentV8contains3anySbShyAA0C7FiltersOG_tF<\/USR>public func contains(any filters: Set<ContentFilters> = [.items]) -> Bool<\/Declaration>Check if the content contains any of the given types, which you specify via the filters<\/codeVoice> parameter. If you do not specify a filters<\/codeVoice> parameter, [.items]<\/codeVoice> is used.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 60, - "key.doc.name" : "contains(any:)", - "key.doc.type" : "Function", - "key.doclength" : 178, - "key.docoffset" : 1985, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> contains<\/decl.name>(any<\/decl.var.parameter.argument_label> filters<\/decl.var.parameter.name>: Set<\/ref.struct><ContentFilters<\/ref.enum>><\/decl.var.parameter.type> = [.items]<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 988, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "contains(any:)", - "key.namelength" : 54, - "key.nameoffset" : 2179, - "key.offset" : 2174, - "key.parsed_declaration" : "public func contains(any filters : Set = [.items]) -> Bool", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content) -> (Set) -> Bool", - "key.typeusr" : "$s3anySbShy10ListableUI14ContentFiltersOG_tcD", - "key.usr" : "s:10ListableUI7ContentV8contains3anySbShyAA0C7FiltersOG_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 3182 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Content<\/Type>.Configure = (inout Content<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3219 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Content<\/ref.struct>.Configure<\/decl.name> = (inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 43, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "Configure", - "key.namelength" : 9, - "key.nameoffset" : 3236, - "key.offset" : 3226, - "key.parsed_declaration" : "public typealias Configure = (inout Content) -> ()", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.typename" : "((inout Content) -> ()).Type", - "key.typeusr" : "$sy10ListableUI7ContentVzcmD", - "key.usr" : "s:10ListableUI7ContentV9Configurea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(with configure: Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3364 - } - ], - "key.bodylength" : 59, - "key.bodyoffset" : 3409, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance, configured as needed via the provided builder block.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new instance, configured as needed via the provided builder block.", - "key.doc.declaration" : "public init(with configure: Configure)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "init(with:)<\/Name>s:10ListableUI7ContentV4withACyACzXE_tcfc<\/USR>public init(with configure: Configure)<\/Declaration>Creates a new instance, configured as needed via the provided builder block.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 103, - "key.doc.name" : "init(with:)", - "key.doc.type" : "Function", - "key.doclength" : 81, - "key.docoffset" : 3279, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 98, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "init(with:)", - "key.namelength" : 32, - "key.nameoffset" : 3371, - "key.offset" : 3371, - "key.parsed_declaration" : "public init(with configure : Configure)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 103, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(identifier:context:refreshControl:containerHeader:header:footer:overscrollFooter:sections:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content.Type) -> ((inout Content) -> ()) -> Content", - "key.typeusr" : "$s4with10ListableUI7ContentVyADzXE_tcD", - "key.usr" : "s:10ListableUI7ContentV4withACyACzXE_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(identifier: AnyHashable<\/Type>? = nil, context: ContentContext<\/Type>? = nil, refreshControl: RefreshControl<\/Type>? = nil, containerHeader: AnyHeaderFooterConvertible<\/Type>? = nil, header: AnyHeaderFooterConvertible<\/Type>? = nil, footer: AnyHeaderFooterConvertible<\/Type>? = nil, overscrollFooter: AnyHeaderFooterConvertible<\/Type>? = nil, sections: [Section<\/Type>] = [])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3615 - } - ], - "key.bodylength" : 341, - "key.bodyoffset" : 4026, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance with the provided parameters.\nAll parameters are optional, pass only what you need to customize.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new instance with the provided parameters.\nAll parameters are optional, pass only what you need to customize.", - "key.doc.declaration" : "public init(identifier: AnyHashable? = nil, context: ContentContext? = nil, refreshControl: RefreshControl? = nil, containerHeader: AnyHeaderFooterConvertible? = nil, header: AnyHeaderFooterConvertible? = nil, footer: AnyHeaderFooterConvertible? = nil, overscrollFooter: AnyHeaderFooterConvertible? = nil, sections: [Section] = [])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "init(identifier:context:refreshControl:containerHeader:header:footer:overscrollFooter:sections:)<\/Name>s:10ListableUI7ContentV10identifier7context14refreshControl15containerHeader6header6footer16overscrollFooter8sectionsACs11AnyHashableVSg_AA0C7ContextVSgAA07RefreshG0VSgAA0oiM11Convertible_pSgA3VSayAA7SectionVGtcfc<\/USR>public init(identifier: AnyHashable? = nil, context: ContentContext? = nil, refreshControl: RefreshControl? = nil, containerHeader: AnyHeaderFooterConvertible? = nil, header: AnyHeaderFooterConvertible? = nil, footer: AnyHeaderFooterConvertible? = nil, overscrollFooter: AnyHeaderFooterConvertible? = nil, sections: [Section] = [])<\/Declaration>Creates a new instance with the provided parameters. All parameters are optional, pass only what you need to customize.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 112, - "key.doc.name" : "init(identifier:context:refreshControl:containerHeader:header:footer:overscrollFooter:sections:)", - "key.doc.type" : "Function", - "key.doclength" : 132, - "key.docoffset" : 3479, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(identifier<\/decl.var.parameter.argument_label>: AnyHashable<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, context<\/decl.var.parameter.argument_label>: ContentContext<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, refreshControl<\/decl.var.parameter.argument_label>: RefreshControl<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, containerHeader<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, overscrollFooter<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, sections<\/decl.var.parameter.argument_label>: [Section<\/ref.struct>]<\/decl.var.parameter.type> = []<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 746, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "init(identifier:context:refreshControl:containerHeader:header:footer:overscrollFooter:sections:)", - "key.namelength" : 402, - "key.nameoffset" : 3622, - "key.offset" : 3622, - "key.parsed_declaration" : "public init(\n identifier : AnyHashable? = nil,\n context : ContentContext? = nil,\n refreshControl : RefreshControl? = nil,\n containerHeader : AnyHeaderFooterConvertible? = nil,\n header : AnyHeaderFooterConvertible? = nil,\n footer : AnyHeaderFooterConvertible? = nil,\n overscrollFooter : AnyHeaderFooterConvertible? = nil,\n sections : [Section] = []\n)", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 112, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content.Type) -> (AnyHashable?, ContentContext?, RefreshControl?, (any AnyHeaderFooterConvertible)?, (any AnyHeaderFooterConvertible)?, (any AnyHeaderFooterConvertible)?, (any AnyHeaderFooterConvertible)?, [Section]) -> Content", - "key.typeusr" : "$s10identifier7context14refreshControl15containerHeader6header6footer16overscrollFooter8sections10ListableUI7ContentVs11AnyHashableVSg_AI0N7ContextVSgAI07RefreshD0VSgAI0ofJ11Convertible_pSgA3VSayAI7SectionVGtcD", - "key.usr" : "s:10ListableUI7ContentV10identifier7context14refreshControl15containerHeader6header6footer16overscrollFooter8sectionsACs11AnyHashableVSg_AA0C7ContextVSgAA07RefreshG0VSgAA0oiM11Convertible_pSgA3VSayAA7SectionVGtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Finding Content", - "key.offset" : 4388 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var firstItem: AnyItem<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4518 - } - ], - "key.bodylength" : 142, - "key.bodyoffset" : 4551, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The first `Item` in the content. Returns nil if there is no content in any section.", - "key.doc.column" : 16, - "key.doc.comment" : "The first `Item` in the content. Returns nil if there is no content in any section.", - "key.doc.declaration" : "public var firstItem: AnyItem? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "firstItem<\/Name>s:10ListableUI7ContentV9firstItemAA03AnyE0_pSgvp<\/USR>public var firstItem: AnyItem? { get }<\/Declaration>The first Item<\/codeVoice> in the content. Returns nil if there is no content in any section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 141, - "key.doc.name" : "firstItem", - "key.doc.type" : "Other", - "key.doclength" : 88, - "key.docoffset" : 4426, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> firstItem<\/decl.name>: AnyItem<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 169, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "firstItem", - "key.namelength" : 9, - "key.nameoffset" : 4529, - "key.offset" : 4525, - "key.parsed_declaration" : "public var firstItem : AnyItem?", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyItem)?", - "key.typeusr" : "$s10ListableUI7AnyItem_pSgD", - "key.usr" : "s:10ListableUI7ContentV9firstItemAA03AnyE0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var lastItem: AnyItem<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4795 - } - ], - "key.bodylength" : 138, - "key.bodyoffset" : 4827, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The last `Item` in the content. Returns nil if there is no content in any section.", - "key.doc.column" : 16, - "key.doc.comment" : "The last `Item` in the content. Returns nil if there is no content in any section.", - "key.doc.declaration" : "public var lastItem: AnyItem? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "lastItem<\/Name>s:10ListableUI7ContentV8lastItemAA03AnyE0_pSgvp<\/USR>public var lastItem: AnyItem? { get }<\/Declaration>The last Item<\/codeVoice> in the content. Returns nil if there is no content in any section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 150, - "key.doc.name" : "lastItem", - "key.doc.type" : "Other", - "key.doclength" : 87, - "key.docoffset" : 4704, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastItem<\/decl.name>: AnyItem<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 164, - "key.line" : 150, - "key.modulename" : "ListableUI", - "key.name" : "lastItem", - "key.namelength" : 8, - "key.nameoffset" : 4806, - "key.offset" : 4802, - "key.parsed_declaration" : "public var lastItem : AnyItem?", - "key.parsed_scope.end" : 156, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyItem)?", - "key.typeusr" : "$s10ListableUI7AnyItem_pSgD", - "key.usr" : "s:10ListableUI7ContentV8lastItemAA03AnyE0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func item(at indexPath: IndexPath<\/Type>) -> AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5108 - } - ], - "key.bodylength" : 138, - "key.bodyoffset" : 5167, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the `Item` at the given `IndexPath`.\nThe `IndexPath` must be valid. If it is not, a fatal error will occur,", - "key.doc.column" : 17, - "key.doc.comment" : "Returns the `Item` at the given `IndexPath`.\nThe `IndexPath` must be valid. If it is not, a fatal error will occur,", - "key.doc.declaration" : "public func item(at indexPath: IndexPath) -> AnyItem", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "item(at:)<\/Name>s:10ListableUI7ContentV4item2atAA7AnyItem_p10Foundation9IndexPathV_tF<\/USR>public func item(at indexPath: IndexPath) -> AnyItem<\/Declaration>Returns the Item<\/codeVoice> at the given IndexPath<\/codeVoice>. The IndexPath<\/codeVoice> must be valid. If it is not, a fatal error will occur,<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 160, - "key.doc.name" : "item(at:)", - "key.doc.type" : "Function", - "key.doclength" : 128, - "key.docoffset" : 4976, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> item<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyItem<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 191, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "item(at:)", - "key.namelength" : 30, - "key.nameoffset" : 5120, - "key.offset" : 5115, - "key.parsed_declaration" : "public func item(at indexPath : IndexPath) -> AnyItem", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: Section<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: Section<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 162, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 5180, - "key.offset" : 5176, - "key.parsed_declaration" : "let section = self.sections[indexPath.section]", - "key.parsed_scope.end" : 162, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$s10ListableUI7SectionVD", - "key.usr" : "s:10ListableUI7ContentV4item2atAA7AnyItem_p10Foundation9IndexPathV_tF7sectionL_AA7SectionVvp" - }, - { - "key.annotated_decl" : "let item: any AnyItem<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5235, - "key.offset" : 5231, - "key.parsed_declaration" : "let item = section.items[indexPath.item]", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI7ContentV4item2atAA7AnyItem_p10Foundation9IndexPathV_tFADL_AaF_pvp" - } - ], - "key.typename" : "(Content) -> (IndexPath) -> any AnyItem", - "key.typeusr" : "$s2at10ListableUI7AnyItem_p10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI7ContentV4item2atAA7AnyItem_p10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func firstIndexPathForItem(with identifier: AnyIdentifier<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5572 - } - ], - "key.bodylength" : 340, - "key.bodyoffset" : 5658, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the first `IndexPath` for the contained `Item` with the given `AnyIdentifier`,\nif it can be found. If nothing is found, nil is returned.\nIf you have multiple `Item`s with the same identifier, the first one will be returned.", - "key.doc.column" : 17, - "key.doc.comment" : "Returns the first `IndexPath` for the contained `Item` with the given `AnyIdentifier`,\nif it can be found. If nothing is found, nil is returned.\nIf you have multiple `Item`s with the same identifier, the first one will be returned.", - "key.doc.declaration" : "public func firstIndexPathForItem(with identifier: AnyIdentifier) -> IndexPath?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "firstIndexPathForItem(with:)<\/Name>s:10ListableUI7ContentV21firstIndexPathForItem4with10Foundation0eF0VSgAA13AnyIdentifierC_tF<\/USR>public func firstIndexPathForItem(with identifier: AnyIdentifier) -> IndexPath?<\/Declaration>Returns the first IndexPath<\/codeVoice> for the contained Item<\/codeVoice> with the given AnyIdentifier<\/codeVoice>, if it can be found. If nothing is found, nil is returned. If you have multiple Item<\/codeVoice>s with the same identifier, the first one will be returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 171, - "key.doc.name" : "firstIndexPathForItem(with:)", - "key.doc.type" : "Function", - "key.doclength" : 252, - "key.docoffset" : 5316, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> firstIndexPathForItem<\/decl.name>(with<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 420, - "key.line" : 171, - "key.modulename" : "ListableUI", - "key.name" : "firstIndexPathForItem(with:)", - "key.namelength" : 54, - "key.nameoffset" : 5584, - "key.offset" : 5579, - "key.parsed_declaration" : "public func firstIndexPathForItem(with identifier : AnyIdentifier) -> IndexPath?", - "key.parsed_scope.end" : 182, - "key.parsed_scope.start" : 171, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content) -> (AnyIdentifier) -> IndexPath?", - "key.typeusr" : "$s4with10Foundation9IndexPathVSg10ListableUI13AnyIdentifierC_tcD", - "key.usr" : "s:10ListableUI7ContentV21firstIndexPathForItem4with10Foundation0eF0VSgAA13AnyIdentifierC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func firstIndexForSection(with identifier: AnyIdentifier<\/Type>) -> Int<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6270 - } - ], - "key.bodylength" : 203, - "key.bodyoffset" : 6349, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the first index position for the contained `Section` with the given `AnyIdentifier`,\nif it can be found. If nothing is found, nil is returned.\nIf you have multiple `Section`s with the same identifier, the first one will be returned.", - "key.doc.column" : 17, - "key.doc.comment" : "Returns the first index position for the contained `Section` with the given `AnyIdentifier`,\nif it can be found. If nothing is found, nil is returned.\nIf you have multiple `Section`s with the same identifier, the first one will be returned.", - "key.doc.declaration" : "public func firstIndexForSection(with identifier: AnyIdentifier) -> Int?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "firstIndexForSection(with:)<\/Name>s:10ListableUI7ContentV20firstIndexForSection4withSiSgAA13AnyIdentifierC_tF<\/USR>public func firstIndexForSection(with identifier: AnyIdentifier) -> Int?<\/Declaration>Returns the first index position for the contained Section<\/codeVoice> with the given AnyIdentifier<\/codeVoice>, if it can be found. If nothing is found, nil is returned. If you have multiple Section<\/codeVoice>s with the same identifier, the first one will be returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 187, - "key.doc.name" : "firstIndexForSection(with:)", - "key.doc.type" : "Function", - "key.doclength" : 261, - "key.docoffset" : 6005, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> firstIndexForSection<\/decl.name>(with<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 276, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "firstIndexForSection(with:)", - "key.namelength" : 53, - "key.nameoffset" : 6282, - "key.offset" : 6277, - "key.parsed_declaration" : "public func firstIndexForSection(with identifier : AnyIdentifier) -> Int?", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 187, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content) -> (AnyIdentifier) -> Int?", - "key.typeusr" : "$s4withSiSg10ListableUI13AnyIdentifierC_tcD", - "key.usr" : "s:10ListableUI7ContentV20firstIndexForSection4withSiSgAA13AnyIdentifierC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func lastIndexPath() -> IndexPath<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6686 - } - ], - "key.bodylength" : 291, - "key.bodyoffset" : 6733, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the `IndexPath` of the last `Item` in the content.\nReturns nil if there are no `Item`s in the content.", - "key.doc.column" : 17, - "key.doc.comment" : "Returns the `IndexPath` of the last `Item` in the content.\nReturns nil if there are no `Item`s in the content.", - "key.doc.declaration" : "public func lastIndexPath() -> IndexPath?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "lastIndexPath()<\/Name>s:10ListableUI7ContentV13lastIndexPath10Foundation0eF0VSgyF<\/USR>public func lastIndexPath() -> IndexPath?<\/Declaration>Returns the IndexPath<\/codeVoice> of the last Item<\/codeVoice> in the content. Returns nil if there are no Item<\/codeVoice>s in the content.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 200, - "key.doc.name" : "lastIndexPath()", - "key.doc.type" : "Function", - "key.doclength" : 123, - "key.docoffset" : 6559, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> lastIndexPath<\/decl.name>() -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 332, - "key.line" : 200, - "key.modulename" : "ListableUI", - "key.name" : "lastIndexPath()", - "key.namelength" : 15, - "key.nameoffset" : 6698, - "key.offset" : 6693, - "key.parsed_declaration" : "public func lastIndexPath() -> IndexPath?", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 200, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content) -> () -> IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgycD", - "key.usr" : "s:10ListableUI7ContentV13lastIndexPath10Foundation0eF0VSgyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Mutating Content", - "key.offset" : 7045 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "mutating func moveItem(from: IndexPath<\/Type>, to: IndexPath<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 7219 - } - ], - "key.bodylength" : 193, - "key.bodyoffset" : 7281, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "\/\/\/ Moves the `Item` at the `from` index path to the `to` index path.\nIf the index paths are the same, nothing occurs.", - "key.doc.column" : 19, - "key.doc.comment" : "\/\/\/ Moves the `Item` at the `from` index path to the `to` index path.\nIf the index paths are the same, nothing occurs.", - "key.doc.declaration" : "mutating func moveItem(from: IndexPath, to: IndexPath)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "moveItem(from:to:)<\/Name>s:10ListableUI7ContentV8moveItem4from2toy10Foundation9IndexPathV_AItF<\/USR>mutating func moveItem(from: IndexPath, to: IndexPath)<\/Declaration>\/\/\/ Moves the Item<\/codeVoice> at the from<\/codeVoice> index path to the to<\/codeVoice> index path. If the index paths are the same, nothing occurs.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 218, - "key.doc.name" : "moveItem(from:to:)", - "key.doc.type" : "Function", - "key.doclength" : 131, - "key.docoffset" : 7084, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> moveItem<\/decl.name>(from<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 247, - "key.line" : 218, - "key.modulename" : "ListableUI", - "key.name" : "moveItem(from:to:)", - "key.namelength" : 42, - "key.nameoffset" : 7233, - "key.offset" : 7228, - "key.parsed_declaration" : "mutating func moveItem(from : IndexPath, to : IndexPath)", - "key.parsed_scope.end" : 228, - "key.parsed_scope.start" : 218, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyItem<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 30, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 7364, - "key.offset" : 7360, - "key.parsed_declaration" : "let item = self.item(at: from)", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 224, - "key.reusingastcontext" : false, - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI7ContentV8moveItem4from2toy10Foundation9IndexPathV_AItF4itemL_AA03AnyE0_pvp" - } - ], - "key.typename" : "(inout Content) -> (IndexPath, IndexPath) -> ()", - "key.typeusr" : "$s4from2toy10Foundation9IndexPathV_AEtcD", - "key.usr" : "s:10ListableUI7ContentV8moveItem4from2toy10Foundation9IndexPathV_AItF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func removeEmpty()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 7556 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7549 - } - ], - "key.bodylength" : 78, - "key.bodyoffset" : 7589, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Removes all `Section`s that do not contain any `Item`s.", - "key.doc.column" : 26, - "key.doc.comment" : "Removes all `Section`s that do not contain any `Item`s.", - "key.doc.declaration" : "public mutating func removeEmpty()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "removeEmpty()<\/Name>s:10ListableUI7ContentV11removeEmptyyyF<\/USR>public mutating func removeEmpty()<\/Declaration>Removes all Section<\/codeVoice>s that do not contain any Item<\/codeVoice>s.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 231, - "key.doc.name" : "removeEmpty()", - "key.doc.type" : "Function", - "key.doclength" : 60, - "key.docoffset" : 7485, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> removeEmpty<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 103, - "key.line" : 231, - "key.modulename" : "ListableUI", - "key.name" : "removeEmpty()", - "key.namelength" : 13, - "key.nameoffset" : 7570, - "key.offset" : 7565, - "key.parsed_declaration" : "public mutating func removeEmpty()", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 231, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Content) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI7ContentV11removeEmptyyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func add(_ section: Section<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 7742 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7735 - } - ], - "key.bodylength" : 43, - "key.bodyoffset" : 7786, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Appends a `Section` to the end of the `Content`.", - "key.doc.column" : 26, - "key.doc.comment" : "Appends a `Section` to the end of the `Content`.", - "key.doc.declaration" : "public mutating func add(_ section: Section)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "add(_:)<\/Name>s:10ListableUI7ContentV3addyyAA7SectionVF<\/USR>public mutating func add(_ section: Section)<\/Declaration>Appends a Section<\/codeVoice> to the end of the Content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 239, - "key.doc.name" : "add(_:)", - "key.doc.type" : "Function", - "key.doclength" : 53, - "key.docoffset" : 7678, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> add<\/decl.name>(_<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 79, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "add(_:)", - "key.namelength" : 24, - "key.nameoffset" : 7756, - "key.offset" : 7751, - "key.parsed_declaration" : "public mutating func add(_ section : Section)", - "key.parsed_scope.end" : 242, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Content) -> (Section) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVcD", - "key.usr" : "s:10ListableUI7ContentV3addyyAA7SectionVF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout Content<\/Type>, rhs: Section<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7897 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 7961, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Appends a `Section` to the end of the `Content`.", - "key.doc.column" : 24, - "key.doc.comment" : "Appends a `Section` to the end of the `Content`.", - "key.doc.declaration" : "public static func += (lhs: inout Content, rhs: Section)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "+=(_:_:)<\/Name>s:10ListableUI7ContentV2peoiyyACz_AA7SectionVtFZ<\/USR>public static func += (lhs: inout Content, rhs: Section)<\/Declaration>Appends a Section<\/codeVoice> to the end of the Content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 245, - "key.doc.name" : "+=(_:_:)", - "key.doc.type" : "Function", - "key.doclength" : 53, - "key.docoffset" : 7840, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 84, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 39, - "key.nameoffset" : 7916, - "key.offset" : 7904, - "key.parsed_declaration" : "public static func += (lhs : inout Content, rhs : Section)", - "key.parsed_scope.end" : 248, - "key.parsed_scope.start" : 245, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Content, _: [Section])<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var lhs: inout Content<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.kind" : "source.lang.swift.decl.var.parameter", - "key.length" : 3, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "lhs", - "key.offset" : 7920, - "key.parent_loc" : 7916, - "key.parsed_declaration" : "public static func += (lhs", - "key.parsed_scope.end" : 245, - "key.parsed_scope.start" : 245, - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI7ContentV2peoiyyACz_AA7SectionVtFZ3lhsL_ACvp" - } - ], - "key.typename" : "(Content.Type) -> (inout Content, Section) -> ()", - "key.typeusr" : "$syy10ListableUI7ContentVz_AA7SectionVtcD", - "key.usr" : "s:10ListableUI7ContentV2peoiyyACz_AA7SectionVtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout Content<\/Type>, rhs: [Section<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8064 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 8130, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Appends a list of `Section`s to the end of the `Content`.", - "key.doc.column" : 24, - "key.doc.comment" : "Appends a list of `Section`s to the end of the `Content`.", - "key.doc.declaration" : "public static func += (lhs: inout Content, rhs: [Section])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "+=(_:_:)<\/Name>s:10ListableUI7ContentV2peoiyyACz_SayAA7SectionVGtFZ<\/USR>public static func += (lhs: inout Content, rhs: [Section])<\/Declaration>Appends a list of Section<\/codeVoice>s to the end of the Content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 251, - "key.doc.name" : "+=(_:_:)", - "key.doc.type" : "Function", - "key.doclength" : 62, - "key.docoffset" : 7998, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: [Section<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 93, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 41, - "key.nameoffset" : 8083, - "key.offset" : 8071, - "key.parsed_declaration" : "public static func += (lhs : inout Content, rhs : [Section])", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 251, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Content, _: Section)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var lhs: inout Content<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.kind" : "source.lang.swift.decl.var.parameter", - "key.length" : 3, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "lhs", - "key.offset" : 8087, - "key.parent_loc" : 8083, - "key.parsed_declaration" : "public static func += (lhs", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 251, - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI7ContentV2peoiyyACz_SayAA7SectionVGtFZ3lhsL_ACvp" - } - ], - "key.typename" : "(Content.Type) -> (inout Content, [Section]) -> ()", - "key.typeusr" : "$syy10ListableUI7ContentVz_SayAA7SectionVGtcD", - "key.usr" : "s:10ListableUI7ContentV2peoiyyACz_SayAA7SectionVGtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func callAsFunction<Identifier>(_ identifier: Identifier<\/Type>, configure: Section<\/Type>.Configure<\/Type>) where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 8800 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8793 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 8913, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows streamlined creation of sections when building a list, leveraging Swift's `callAsFunction`\nfeature, allowing treating objects as function calls.\n\nIn layperson's terms, this allows you to replace code like this:\n```\nlistView.configure { list in\n list += Section(\"section-id\") { section in\n ...\n }\n}\n```\nWith this code, which is functionally identical:\n```\nlistView.configure { list in\n list(\"section-id\") { section in\n ...\n }\n}\n", - "key.doc.column" : 26, - "key.doc.comment" : "\nAllows streamlined creation of sections when building a list, leveraging Swift's `callAsFunction`\nfeature, allowing treating objects as function calls.\n\nIn layperson's terms, this allows you to replace code like this:\n```\nlistView.configure { list in\n list += Section(\"section-id\") { section in\n ...\n }\n}\n```\nWith this code, which is functionally identical:\n```\nlistView.configure { list in\n list(\"section-id\") { section in\n ...\n }\n}", - "key.doc.declaration" : "public mutating func callAsFunction(_ identifier: Identifier, configure: Section.Configure) where Identifier : Hashable", - "key.doc.discussion" : [ - { - "Para" : "In layperson’s terms, this allows you to replace code like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "With this code, which is functionally identical:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "callAsFunction(_:configure:)<\/Name>s:10ListableUI7ContentV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF<\/USR>public mutating func callAsFunction<Identifier>(_ identifier: Identifier, configure: Section.Configure) where Identifier : Hashable<\/Declaration>Allows streamlined creation of sections when building a list, leveraging Swift’s callAsFunction<\/codeVoice> feature, allowing treating objects as function calls.<\/Para><\/Abstract>In layperson’s terms, this allows you to replace code like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>With this code, which is functionally identical:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 276, - "key.doc.name" : "callAsFunction(_:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 615, - "key.docoffset" : 8174, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> callAsFunction<\/decl.name><Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Section<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 168, - "key.line" : 276, - "key.modulename" : "ListableUI", - "key.name" : "callAsFunction(_:configure:)", - "key.namelength" : 93, - "key.nameoffset" : 8814, - "key.offset" : 8809, - "key.parsed_declaration" : "public mutating func callAsFunction(_ identifier : Identifier, configure : Section.Configure)", - "key.parsed_scope.end" : 279, - "key.parsed_scope.start" : 276, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Identifier : Hashable<\/Type><\/Declaration>", - "key.column" : 41, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 8840 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 276, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 8829, - "key.offset" : 8829, - "key.parsed_declaration" : "public mutating func callAsFunctionIdentifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7ContentV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF10IdentifierL_xmfp" - } - ], - "key.typename" : " (inout Content) -> (Identifier, (inout Section) -> ()) -> ()", - "key.typeusr" : "$s_9configureyx_y10ListableUI7SectionVzXEtcSHRzluD", - "key.usr" : "s:10ListableUI7ContentV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal mutating func remove(at indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 9049 - }, - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 9040 - } - ], - "key.bodylength" : 79, - "key.bodyoffset" : 9101, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Removes the `Item` at the given `IndexPath`.", - "key.doc.column" : 28, - "key.doc.comment" : "Removes the `Item` at the given `IndexPath`.", - "key.doc.declaration" : "internal mutating func remove(at indexPath: IndexPath)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "remove(at:)<\/Name>s:10ListableUI7ContentV6remove2aty10Foundation9IndexPathV_tF<\/USR>internal mutating func remove(at indexPath: IndexPath)<\/Declaration>Removes the Item<\/codeVoice> at the given IndexPath<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 282, - "key.doc.name" : "remove(at:)", - "key.doc.type" : "Function", - "key.doclength" : 49, - "key.docoffset" : 8987, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> remove<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 123, - "key.line" : 282, - "key.modulename" : "ListableUI", - "key.name" : "remove(at:)", - "key.namelength" : 32, - "key.nameoffset" : 9063, - "key.offset" : 9058, - "key.parsed_declaration" : "internal mutating func remove(at indexPath : IndexPath)", - "key.parsed_scope.end" : 285, - "key.parsed_scope.start" : 282, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Content) -> (IndexPath) -> ()", - "key.typeusr" : "$s2aty10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI7ContentV6remove2aty10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal mutating func insert(item: AnyItem<\/Type>, at indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 9253 - }, - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 9244 - } - ], - "key.bodylength" : 85, - "key.bodyoffset" : 9321, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Inserts the `Item` at the given `IndexPath`.", - "key.doc.column" : 28, - "key.doc.comment" : "Inserts the `Item` at the given `IndexPath`.", - "key.doc.declaration" : "internal mutating func insert(item: AnyItem, at indexPath: IndexPath)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "insert(item:at:)<\/Name>s:10ListableUI7ContentV6insert4item2atyAA7AnyItem_p_10Foundation9IndexPathVtF<\/USR>internal mutating func insert(item: AnyItem, at indexPath: IndexPath)<\/Declaration>Inserts the Item<\/codeVoice> at the given IndexPath<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 288, - "key.doc.name" : "insert(item:at:)", - "key.doc.type" : "Function", - "key.doclength" : 49, - "key.docoffset" : 9191, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> insert<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 145, - "key.line" : 288, - "key.modulename" : "ListableUI", - "key.name" : "insert(item:at:)", - "key.namelength" : 48, - "key.nameoffset" : 9267, - "key.offset" : 9262, - "key.parsed_declaration" : "internal mutating func insert(item : AnyItem, at indexPath : IndexPath)", - "key.parsed_scope.end" : 291, - "key.parsed_scope.start" : 288, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Content) -> (any AnyItem, IndexPath) -> ()", - "key.typeusr" : "$s4item2aty10ListableUI7AnyItem_p_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI7ContentV6insert4item2atyAA7AnyItem_p_10Foundation9IndexPathVtF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Slicing Content", - "key.offset" : 9427 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func sliceTo(indexPath: IndexPath<\/Type>, plus additionalItems: Int<\/Type> = Content.Slice.defaultCount) -> Slice<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 10119 - } - ], - "key.bodylength" : 775, - "key.bodyoffset" : 10235, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a `Slice` of `Content` that allows cutting down a large list of `Content` to a more appropriate size\nfor display within a list. This is used by the presentation system to avoid needing to expensively measure and\nlay out every item in long lists.\n\nEg, if you provide 10,000 items to a list, we don't need to put all of those into the list right away. We only need to show\nenough to render the list to its current scroll position, plus some overscroll. This allows pretty significant performance\noptimizations for long lists that are not scrolled to the bottom, by culling most items.\n", - "key.doc.column" : 19, - "key.doc.comment" : "Creates a `Slice` of `Content` that allows cutting down a large list of `Content` to a more appropriate size\nfor display within a list. This is used by the presentation system to avoid needing to expensively measure and\nlay out every item in long lists.\n\nEg, if you provide 10,000 items to a list, we don't need to put all of those into the list right away. We only need to show\nenough to render the list to its current scroll position, plus some overscroll. This allows pretty significant performance\noptimizations for long lists that are not scrolled to the bottom, by culling most items.", - "key.doc.declaration" : "internal func sliceTo(indexPath: IndexPath, plus additionalItems: Int = Content.Slice.defaultCount) -> Slice", - "key.doc.discussion" : [ - { - "Para" : "Eg, if you provide 10,000 items to a list, we don’t need to put all of those into the list right away. We only need to show enough to render the list to its current scroll position, plus some overscroll. This allows pretty significant performance optimizations for long lists that are not scrolled to the bottom, by culling most items." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.doc.full_as_xml" : "sliceTo(indexPath:plus:)<\/Name>s:10ListableUI7ContentV7sliceTo9indexPath4plusAC5SliceV10Foundation05IndexG0V_SitF<\/USR>internal func sliceTo(indexPath: IndexPath, plus additionalItems: Int = Content.Slice.defaultCount) -> Slice<\/Declaration>Creates a Slice<\/codeVoice> of Content<\/codeVoice> that allows cutting down a large list of Content<\/codeVoice> to a more appropriate size for display within a list. This is used by the presentation system to avoid needing to expensively measure and lay out every item in long lists.<\/Para><\/Abstract>Eg, if you provide 10,000 items to a list, we don’t need to put all of those into the list right away. We only need to show enough to render the list to its current scroll position, plus some overscroll. This allows pretty significant performance optimizations for long lists that are not scrolled to the bottom, by culling most items.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 305, - "key.doc.name" : "sliceTo(indexPath:plus:)", - "key.doc.type" : "Function", - "key.doclength" : 650, - "key.docoffset" : 9465, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sliceTo<\/decl.name>(indexPath<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, plus<\/decl.var.parameter.argument_label> additionalItems<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type> = Content.Slice.defaultCount<\/decl.var.parameter>) -> Slice<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 883, - "key.line" : 305, - "key.modulename" : "ListableUI", - "key.name" : "sliceTo(indexPath:plus:)", - "key.namelength" : 87, - "key.nameoffset" : 10133, - "key.offset" : 10128, - "key.parsed_declaration" : "internal func sliceTo(indexPath : IndexPath, plus additionalItems : Int = Content.Slice.defaultCount) -> Slice", - "key.parsed_scope.end" : 331, - "key.parsed_scope.start" : 305, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var sliced: Content<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sliced<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 17, - "key.line" : 307, - "key.modulename" : "ListableUI", - "key.name" : "sliced", - "key.namelength" : 6, - "key.nameoffset" : 10248, - "key.offset" : 10244, - "key.parsed_declaration" : "var sliced = self", - "key.parsed_scope.end" : 307, - "key.parsed_scope.start" : 307, - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI7ContentV7sliceTo9indexPath4plusAC5SliceV10Foundation05IndexG0V_SitF6slicedL_ACvp" - }, - { - "key.annotated_decl" : "var remaining: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> remaining<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 309, - "key.modulename" : "ListableUI", - "key.name" : "remaining", - "key.namelength" : 9, - "key.nameoffset" : 10283, - "key.offset" : 10279, - "key.parsed_declaration" : "var remaining : Int = indexPath.item + additionalItems", - "key.parsed_scope.end" : 309, - "key.parsed_scope.start" : 309, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI7ContentV7sliceTo9indexPath4plusAC5SliceV10Foundation05IndexG0V_SitF9remainingL_Sivp" - } - ], - "key.typename" : "(Content) -> (IndexPath, Int) -> Content.Slice", - "key.typeusr" : "$s9indexPath4plus10ListableUI7ContentV5SliceV10Foundation05IndexB0V_SitcD", - "key.usr" : "s:10ListableUI7ContentV7sliceTo9indexPath4plusAC5SliceV10Foundation05IndexG0V_SitF" - } - ], - "key.typename" : "Content.Type", - "key.typeusr" : "$s10ListableUI7ContentVmD", - "key.usr" : "s:10ListableUI7ContentV" - }, - { - "key.annotated_decl" : "public struct Content<\/Declaration>", - "key.bodylength" : 445, - "key.bodyoffset" : 11035, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Content<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 465, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 11026, - "key.offset" : 11016, - "key.parsed_declaration" : "extension Content", - "key.parsed_scope.end" : 356, - "key.parsed_scope.start" : 335, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "struct Slice<\/Declaration>", - "key.bodylength" : 420, - "key.bodyoffset" : 11058, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Slice<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 439, - "key.line" : 337, - "key.modulename" : "ListableUI", - "key.name" : "Slice", - "key.namelength" : 5, - "key.nameoffset" : 11047, - "key.offset" : 11040, - "key.parsed_declaration" : "struct Slice", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 337, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static let defaultCount: Int<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> defaultCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 35, - "key.line" : 339, - "key.modulename" : "ListableUI", - "key.name" : "defaultCount", - "key.namelength" : 12, - "key.nameoffset" : 11078, - "key.offset" : 11067, - "key.parsed_declaration" : "static let defaultCount : Int = 250", - "key.parsed_scope.end" : 339, - "key.parsed_scope.start" : 339, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI7ContentV5SliceV12defaultCountSivpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let containsAllItems: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> containsAllItems<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 341, - "key.modulename" : "ListableUI", - "key.name" : "containsAllItems", - "key.namelength" : 16, - "key.nameoffset" : 11124, - "key.offset" : 11120, - "key.parsed_declaration" : "let containsAllItems : Bool", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 341, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI7ContentV5SliceV16containsAllItemsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let content: Content<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 342, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 11160, - "key.offset" : 11156, - "key.parsed_declaration" : "let content : Content", - "key.parsed_scope.end" : 342, - "key.parsed_scope.start" : 342, - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI7ContentV5SliceV7contentACvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(containsAllItems: Bool<\/Type>, content: Content<\/Type>)<\/Declaration>", - "key.bodylength" : 97, - "key.bodyoffset" : 11253, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(containsAllItems<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 156, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "init(containsAllItems:content:)", - "key.namelength" : 48, - "key.nameoffset" : 11195, - "key.offset" : 11195, - "key.parsed_declaration" : "init(containsAllItems : Bool, content : Content)", - "key.parsed_scope.end" : 348, - "key.parsed_scope.start" : 344, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content.Slice.Type) -> (Bool, Content) -> Content.Slice", - "key.typeusr" : "$s16containsAllItems7content10ListableUI7ContentV5SliceVSb_AEtcD", - "key.usr" : "s:10ListableUI7ContentV5SliceV16containsAllItems7contentAESb_ACtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 87, - "key.bodyoffset" : 11385, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Content.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 104, - "key.line" : 350, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 11369, - "key.offset" : 11369, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 354, - "key.parsed_scope.start" : 350, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(containsAllItems:content:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Content.Slice.Type) -> () -> Content.Slice", - "key.typeusr" : "$s10ListableUI7ContentV5SliceVycD", - "key.usr" : "s:10ListableUI7ContentV5SliceVAEycfc" - } - ], - "key.typename" : "Content.Slice.Type", - "key.typeusr" : "$s10ListableUI7ContentV5SliceVmD", - "key.usr" : "s:10ListableUI7ContentV5SliceV" - } - ], - "key.typename" : "Content.Type", - "key.typeusr" : "$s10ListableUI7ContentVmD", - "key.usr" : "s:10ListableUI7ContentV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5182, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListContentBounds : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2356 - } - ], - "key.bodylength" : 456, - "key.bodyoffset" : 2401, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "For participating layouts; allows controlling the padding around and width of content when it is laid out.\n\n```\n┌──────────────────────────┐ ┌───────────────────────────────────────────┐\n│ padding.top │ │ padding.top │\n│ p ┌──────────────────┐ p │ │ ┌──────────────────┐ │\n│ a │ │ a │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ i │ │ i │ │ │ │ │\n│ n │ │ n │ │ │ │ │\n│ g │ │ g │ │ │ width │ │\n│ . │ │ . │ │ │◀────────────────▶│ │\n│ l │ │ r │ │ │ │ │\n│ e │ │ i │ │ │ │ │\n│ f │ │ g │ │ │ │ │\n│ t │ │ h │ │ │ │ │\n│ └──────────────────┘ t │ │ └──────────────────┘ │\n│ padding.bottom │ │ padding.bottom │\n└──────────────────────────┘ └───────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.comment" : "For participating layouts; allows controlling the padding around and width of content when it is laid out.\n\n```\n┌──────────────────────────┐ ┌───────────────────────────────────────────┐\n│ padding.top │ │ padding.top │\n│ p ┌──────────────────┐ p │ │ ┌──────────────────┐ │\n│ a │ │ a │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ i │ │ i │ │ │ │ │\n│ n │ │ n │ │ │ │ │\n│ g │ │ g │ │ │ width │ │\n│ . │ │ . │ │ │◀────────────────▶│ │\n│ l │ │ r │ │ │ │ │\n│ e │ │ i │ │ │ │ │\n│ f │ │ g │ │ │ │ │\n│ t │ │ h │ │ │ │ │\n│ └──────────────────┘ t │ │ └──────────────────┘ │\n│ padding.bottom │ │ padding.bottom │\n└──────────────────────────┘ └───────────────────────────────────────────┘\n```", - "key.doc.declaration" : "public struct ListContentBounds : Equatable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "ListContentBounds<\/Name>s:10ListableUI17ListContentBoundsV<\/USR>public struct ListContentBounds : Equatable<\/Declaration>For participating layouts; allows controlling the padding around and width of content when it is laid out.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 33, - "key.doc.name" : "ListContentBounds", - "key.doc.type" : "Class", - "key.doclength" : 2221, - "key.docoffset" : 135, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2390 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListContentBounds<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 495, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "ListContentBounds", - "key.namelength" : 17, - "key.nameoffset" : 2370, - "key.offset" : 2363, - "key.parsed_declaration" : "public struct ListContentBounds : Equatable", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var padding: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2483 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The padding to place around the outside of the content of the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The padding to place around the outside of the content of the list.", - "key.doc.declaration" : "public var padding: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "padding<\/Name>s:10ListableUI17ListContentBoundsV7paddingSo12UIEdgeInsetsVvp<\/USR>public var padding: UIEdgeInsets<\/Declaration>The padding to place around the outside of the content of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 36, - "key.doc.name" : "padding", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 2407, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> padding<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "padding", - "key.namelength" : 7, - "key.nameoffset" : 2494, - "key.offset" : 2490, - "key.parsed_declaration" : "public var padding : UIEdgeInsets", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7paddingSo12UIEdgeInsetsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: WidthConstraint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2586 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An optional constraint on the width of the content.", - "key.doc.column" : 16, - "key.doc.comment" : "An optional constraint on the width of the content.", - "key.doc.declaration" : "public var width: WidthConstraint", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI17ListContentBoundsV5widthAA15WidthConstraintOvp<\/USR>public var width: WidthConstraint<\/Declaration>An optional constraint on the width of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 39, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 2526, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: WidthConstraint<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 2597, - "key.offset" : 2593, - "key.parsed_declaration" : "public var width : WidthConstraint", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "WidthConstraint", - "key.typeusr" : "$s10ListableUI15WidthConstraintOD", - "key.usr" : "s:10ListableUI17ListContentBoundsV5widthAA15WidthConstraintOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(padding: UIEdgeInsets<\/Type> = .zero, width: WidthConstraint<\/Type> = .noConstraint)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2686 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 2792, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new bounds with the provided options.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new bounds with the provided options.", - "key.doc.declaration" : "public init(padding: UIEdgeInsets = .zero, width: WidthConstraint = .noConstraint)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "init(padding:width:)<\/Name>s:10ListableUI17ListContentBoundsV7padding5widthACSo12UIEdgeInsetsV_AA15WidthConstraintOtcfc<\/USR>public init(padding: UIEdgeInsets = .zero, width: WidthConstraint = .noConstraint)<\/Declaration>Creates a new bounds with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 42, - "key.doc.name" : "init(padding:width:)", - "key.doc.type" : "Function", - "key.doclength" : 52, - "key.docoffset" : 2630, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(padding<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: WidthConstraint<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 163, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "init(padding:width:)", - "key.namelength" : 97, - "key.nameoffset" : 2693, - "key.offset" : 2693, - "key.parsed_declaration" : "public init(\n padding: UIEdgeInsets = .zero,\n width: WidthConstraint = .noConstraint\n)", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListContentBounds.Type) -> (UIEdgeInsets, WidthConstraint) -> ListContentBounds", - "key.typeusr" : "$s7padding5width10ListableUI17ListContentBoundsVSo12UIEdgeInsetsV_AC15WidthConstraintOtcD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7padding5widthACSo12UIEdgeInsetsV_AA15WidthConstraintOtcfc" - } - ], - "key.typename" : "ListContentBounds.Type", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVmD", - "key.usr" : "s:10ListableUI17ListContentBoundsV" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 44, - "key.name" : "MARK: Controlling Bounds Via The Environment", - "key.offset" : 2867 - }, - { - "key.annotated_decl" : "public struct ListEnvironment<\/Declaration>", - "key.bodylength" : 900, - "key.bodyoffset" : 2944, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An environment of keys and values that are passed to every `ItemContent` and `HeaderFooter`\nduring layout and measurement, to allow passing down data.\n\nThis type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`,\nand then provide a custom getter and setter to read and write the content:\n\n```\nenum MyLayoutTypeKey : ListEnvironmentKey {\n var defaultValue : MyLayoutType {\n .defaultLayout\n }\n}\n\nextension ListEnvironment {\n var myLayoutType : MyLayoutType {\n get { self[MyLayoutTypeKey.self] }\n set { self[MyLayoutTypeKey.self] = newValue }\n }\n}\n```\n\nYou can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`'s\n`apply(to:for:with:)` methods.\n\n```\nfunc apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n) {\n switch info.environment.myLayoutType {\n ...\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListEnvironment", - "key.doc.discussion" : [ - { - "Para" : "This type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`, and then provide a custom getter and setter to read and write the content:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`’s `apply(to:for:with:)` methods." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "ListEnvironment<\/Name>s:10ListableUI15ListEnvironmentV<\/USR>public struct ListEnvironment<\/Declaration>An environment of keys and values that are passed to every ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice> during layout and measurement, to allow passing down data.<\/Para><\/Abstract>This type is similar to the SwiftUI or Blueprint Environment<\/codeVoice>, where you define a ListEnvironmentKey<\/codeVoice>, and then provide a custom getter and setter to read and write the content:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can retrieve the ListEnvironment<\/codeVoice> through the info<\/codeVoice> object passed in ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice>’s apply(to:for:with:)<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered>,]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 44, - "key.doc.name" : "ListEnvironment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListEnvironment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 928, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "ListEnvironment", - "key.namelength" : 15, - "key.nameoffset" : 2927, - "key.offset" : 2917, - "key.parsed_declaration" : "extension ListEnvironment", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var listContentBounds: ListContentBoundsKey<\/Type>.Provider<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3452 - } - ], - "key.bodylength" : 112, - "key.bodyoffset" : 3515, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The provider for the `ListContentBounds` of the list. You may want to use the `Context`\npassed to the provider in order to vary your bounds based on, eg, the width of\nthe list view:\n\n```swift\n env.listContentBounds = { context in\n switch context.viewSize.width {\n case 0...600: return ... \/\/ Small\n case 600...900: return ... \/\/ Medium\n case 900...: return ... \/\/ Large\n }\n }\n```", - "key.doc.column" : 16, - "key.doc.comment" : "The provider for the `ListContentBounds` of the list. You may want to use the `Context`\npassed to the provider in order to vary your bounds based on, eg, the width of\nthe list view:\n\n```swift\n env.listContentBounds = { context in\n switch context.viewSize.width {\n case 0...600: return ... \/\/ Small\n case 600...900: return ... \/\/ Medium\n case 900...: return ... \/\/ Large\n }\n }\n```", - "key.doc.declaration" : "public var listContentBounds: ListContentBoundsKey.Provider? { get set }", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "listContentBounds<\/Name>s:10ListableUI15ListEnvironmentV17listContentBoundsAA0cfG0VAF7ContextVcSgvp<\/USR>public var listContentBounds: ListContentBoundsKey.Provider? { get set }<\/Declaration>The provider for the ListContentBounds<\/codeVoice> of the list. You may want to use the Context<\/codeVoice> passed to the provider in order to vary your bounds based on, eg, the width of the list view:<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "listContentBounds", - "key.doc.type" : "Other", - "key.doclength" : 494, - "key.docoffset" : 2954, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listContentBounds<\/decl.name>: ListContentBoundsKey<\/ref.enum>.Provider<\/ref.typealias>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 169, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "listContentBounds", - "key.namelength" : 17, - "key.nameoffset" : 3463, - "key.offset" : 3459, - "key.parsed_declaration" : "public var listContentBounds : ListContentBoundsKey.Provider?", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 72, - "key.related_decls" : [ - { - "key.annotated_decl" : "listContentBounds(in:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((ListContentBounds.Context) -> ListContentBounds)?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVAC7ContextVcSgD", - "key.usr" : "s:10ListableUI15ListEnvironmentV17listContentBoundsAA0cfG0VAF7ContextVcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func listContentBounds(in context: ListContentBounds<\/Type>.Context<\/Type>) -> ListContentBounds<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3693 - } - ], - "key.bodylength" : 57, - "key.bodyoffset" : 3785, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Calculates the bounds in the provided context.", - "key.doc.column" : 17, - "key.doc.comment" : "Calculates the bounds in the provided context.", - "key.doc.declaration" : "public func listContentBounds(in context: ListContentBounds.Context) -> ListContentBounds", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "listContentBounds(in:)<\/Name>s:10ListableUI15ListEnvironmentV17listContentBounds2inAA0cfG0VAG7ContextV_tF<\/USR>public func listContentBounds(in context: ListContentBounds.Context) -> ListContentBounds<\/Declaration>Calculates the bounds in the provided context.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 78, - "key.doc.name" : "listContentBounds(in:)", - "key.doc.type" : "Function", - "key.doclength" : 51, - "key.docoffset" : 3638, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> listContentBounds<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListContentBounds<\/ref.struct>.Context<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListContentBounds<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 143, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "listContentBounds(in:)", - "key.namelength" : 57, - "key.nameoffset" : 3705, - "key.offset" : 3700, - "key.parsed_declaration" : "public func listContentBounds(in context : ListContentBounds.Context) -> ListContentBounds", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 78, - "key.related_decls" : [ - { - "key.annotated_decl" : "listContentBounds<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListEnvironment) -> (ListContentBounds.Context) -> ListContentBounds", - "key.typeusr" : "$s2in10ListableUI17ListContentBoundsVAD7ContextV_tcD", - "key.usr" : "s:10ListableUI15ListEnvironmentV17listContentBounds2inAA0cfG0VAG7ContextV_tF" - } - ], - "key.typename" : "ListEnvironment.Type", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVmD", - "key.usr" : "s:10ListableUI15ListEnvironmentV" - }, - { - "key.annotated_decl" : "public struct ListContentBounds : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 850, - "key.bodyoffset" : 3877, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "For participating layouts; allows controlling the padding around and width of content when it is laid out.\n\n```\n┌──────────────────────────┐ ┌───────────────────────────────────────────┐\n│ padding.top │ │ padding.top │\n│ p ┌──────────────────┐ p │ │ ┌──────────────────┐ │\n│ a │ │ a │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ d │ │ d │ │ │ │ │\n│ i │ │ i │ │ │ │ │\n│ n │ │ n │ │ │ │ │\n│ g │ │ g │ │ │ width │ │\n│ . │ │ . │ │ │◀────────────────▶│ │\n│ l │ │ r │ │ │ │ │\n│ e │ │ i │ │ │ │ │\n│ f │ │ g │ │ │ │ │\n│ t │ │ h │ │ │ │ │\n│ └──────────────────┘ t │ │ └──────────────────┘ │\n│ padding.bottom │ │ padding.bottom │\n└──────────────────────────┘ └───────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListContentBounds : Equatable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "ListContentBounds<\/Name>s:10ListableUI17ListContentBoundsV<\/USR>public struct ListContentBounds : Equatable<\/Declaration>For participating layouts; allows controlling the padding around and width of content when it is laid out.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 33, - "key.doc.name" : "ListContentBounds", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListContentBounds<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 880, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "ListContentBounds", - "key.namelength" : 17, - "key.nameoffset" : 3858, - "key.offset" : 3848, - "key.parsed_declaration" : "extension ListContentBounds", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Context<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4032 - } - ], - "key.bodylength" : 670, - "key.bodyoffset" : 4055, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "View and layout information passed to `environment.listContentBounds` to determine\nthe correct `ListContentBounds` for the list.", - "key.doc.column" : 19, - "key.doc.comment" : "View and layout information passed to `environment.listContentBounds` to determine\nthe correct `ListContentBounds` for the list.", - "key.doc.declaration" : "public struct Context", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "Context<\/Name>s:10ListableUI17ListContentBoundsV7ContextV<\/USR>public struct Context<\/Declaration>View and layout information passed to environment.listContentBounds<\/codeVoice> to determine the correct ListContentBounds<\/codeVoice> for the list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 88, - "key.doc.name" : "Context", - "key.doc.type" : "Class", - "key.doclength" : 141, - "key.docoffset" : 3887, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Context<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 687, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "Context", - "key.namelength" : 7, - "key.nameoffset" : 4046, - "key.offset" : 4039, - "key.parsed_declaration" : "public struct Context", - "key.parsed_scope.end" : 109, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var viewSize: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4119 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The size of the view in question.", - "key.doc.column" : 20, - "key.doc.comment" : "The size of the view in question.", - "key.doc.declaration" : "public var viewSize: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "viewSize<\/Name>s:10ListableUI17ListContentBoundsV7ContextV8viewSizeSo6CGSizeVvp<\/USR>public var viewSize: CGSize<\/Declaration>The size of the view in question.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 91, - "key.doc.name" : "viewSize", - "key.doc.type" : "Other", - "key.doclength" : 38, - "key.docoffset" : 4073, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> viewSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "viewSize", - "key.namelength" : 8, - "key.nameoffset" : 4130, - "key.offset" : 4126, - "key.parsed_declaration" : "public var viewSize : CGSize", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 91, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7ContextV8viewSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var safeAreaInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4212 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The safe area applied to the view.", - "key.doc.column" : 20, - "key.doc.comment" : "The safe area applied to the view.", - "key.doc.declaration" : "public var safeAreaInsets: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "safeAreaInsets<\/Name>s:10ListableUI17ListContentBoundsV7ContextV14safeAreaInsetsSo06UIEdgeI0Vvp<\/USR>public var safeAreaInsets: UIEdgeInsets<\/Declaration>The safe area applied to the view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 94, - "key.doc.name" : "safeAreaInsets", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 4165, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 94, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 4223, - "key.offset" : 4219, - "key.parsed_declaration" : "public var safeAreaInsets : UIEdgeInsets", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 94, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7ContextV14safeAreaInsetsSo06UIEdgeI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4304 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The layout direction.", - "key.doc.column" : 20, - "key.doc.comment" : "The layout direction.", - "key.doc.declaration" : "public var direction: LayoutDirection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "direction<\/Name>s:10ListableUI17ListContentBoundsV7ContextV9directionAA15LayoutDirectionOvp<\/USR>public var direction: LayoutDirection<\/Declaration>The layout direction.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 97, - "key.doc.name" : "direction", - "key.doc.type" : "Other", - "key.doclength" : 26, - "key.docoffset" : 4270, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 4315, - "key.offset" : 4311, - "key.parsed_declaration" : "public var direction : LayoutDirection", - "key.parsed_scope.end" : 97, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7ContextV9directionAA15LayoutDirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(viewSize: CGSize<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>, direction: LayoutDirection<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4449 - } - ], - "key.bodylength" : 134, - "key.bodyoffset" : 4585, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new context to use in the `ListEnvironment`'s `listContentBounds`.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new context to use in the `ListEnvironment`'s `listContentBounds`.", - "key.doc.declaration" : "public init(viewSize: CGSize, safeAreaInsets: UIEdgeInsets, direction: LayoutDirection)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "init(viewSize:safeAreaInsets:direction:)<\/Name>s:10ListableUI17ListContentBoundsV7ContextV8viewSize14safeAreaInsets9directionAESo6CGSizeV_So06UIEdgeK0VAA15LayoutDirectionOtcfc<\/USR>public init(viewSize: CGSize, safeAreaInsets: UIEdgeInsets, direction: LayoutDirection)<\/Declaration>Creates a new context to use in the ListEnvironment<\/codeVoice>’s listContentBounds<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 100, - "key.doc.name" : "init(viewSize:safeAreaInsets:direction:)", - "key.doc.type" : "Function", - "key.doclength" : 81, - "key.docoffset" : 4360, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(viewSize<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 264, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "init(viewSize:safeAreaInsets:direction:)", - "key.namelength" : 127, - "key.nameoffset" : 4456, - "key.offset" : 4456, - "key.parsed_declaration" : "public init(\n viewSize: CGSize,\n safeAreaInsets : UIEdgeInsets,\n direction: LayoutDirection\n)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListContentBounds.Context.Type) -> (CGSize, UIEdgeInsets, LayoutDirection) -> ListContentBounds.Context", - "key.typeusr" : "$s8viewSize14safeAreaInsets9direction10ListableUI17ListContentBoundsV7ContextVSo6CGSizeV_So06UIEdgeE0VAD15LayoutDirectionOtcD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7ContextV8viewSize14safeAreaInsets9directionAESo6CGSizeV_So06UIEdgeK0VAA15LayoutDirectionOtcfc" - } - ], - "key.typename" : "ListContentBounds.Context.Type", - "key.typeusr" : "$s10ListableUI17ListContentBoundsV7ContextVmD", - "key.usr" : "s:10ListableUI17ListContentBoundsV7ContextV" - } - ], - "key.typename" : "ListContentBounds.Type", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVmD", - "key.usr" : "s:10ListableUI17ListContentBoundsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ListContentBoundsKey : ListEnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4932 - } - ], - "key.bodylength" : 193, - "key.bodyoffset" : 4987, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A key used to store default \/ provided bounds into the list's environment.\nUseful if a parent screen would like to provide default width constraints\nto be applied to participating layouts.", - "key.doc.column" : 13, - "key.doc.comment" : "A key used to store default \/ provided bounds into the list's environment.\nUseful if a parent screen would like to provide default width constraints\nto be applied to participating layouts.", - "key.doc.declaration" : "public enum ListContentBoundsKey : ListEnvironmentKey", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.doc.full_as_xml" : "ListContentBoundsKey<\/Name>s:10ListableUI20ListContentBoundsKeyO<\/USR>public enum ListContentBoundsKey : ListEnvironmentKey<\/Declaration>A key used to store default \/ provided bounds into the list’s environment. Useful if a parent screen would like to provide default width constraints to be applied to participating layouts.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "ListContentBoundsKey", - "key.doc.type" : "Other", - "key.doclength" : 201, - "key.docoffset" : 4731, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 4967 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListContentBoundsKey<\/decl.name> : ListEnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "ListEnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 242, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "ListContentBoundsKey", - "key.namelength" : 20, - "key.nameoffset" : 4944, - "key.offset" : 4939, - "key.parsed_declaration" : "public enum ListContentBoundsKey : ListEnvironmentKey", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListContentBoundsKey<\/Type>.Provider = (ListContentBounds<\/Type>.Context<\/Type>) -> ListContentBounds<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4997 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListContentBoundsKey<\/ref.enum>.Provider<\/decl.name> = (ListContentBounds<\/ref.struct>.Context<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListContentBounds<\/ref.struct><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 69, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "Provider", - "key.namelength" : 8, - "key.nameoffset" : 5014, - "key.offset" : 5004, - "key.parsed_declaration" : "public typealias Provider = (ListContentBounds.Context) -> ListContentBounds", - "key.parsed_scope.end" : 118, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.typename" : "((ListContentBounds.Context) -> ListContentBounds).Type", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVAC7ContextVcmD", - "key.usr" : "s:10ListableUI20ListContentBoundsKeyO8Providera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListContentBoundsKey<\/Type>.Value = Provider<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5078 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of value stored by this key.", - "key.doc.column" : 20, - "key.doc.declaration" : "associatedtype Value", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "Value<\/Name>s:10ListableUI18ListEnvironmentKeyP5ValueQa<\/USR>associatedtype Value<\/Declaration>The type of value stored by this key.<\/Para><\/Abstract>This documentation comment was inherited from ListEnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "Value", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListContentBoundsKey<\/ref.enum>.Value<\/decl.name> = Provider<\/ref.typealias>?<\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 27, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 5095, - "key.offset" : 5085, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP5ValueQa" - } - ], - "key.parsed_declaration" : "public typealias Value = Provider?", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "((ListContentBounds.Context) -> ListContentBounds)?.Type", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVAC7ContextVcSgmD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP5ValueQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: Value<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5122 - } - ], - "key.bodylength" : 17, - "key.bodyoffset" : 5161, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value has been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from ListEnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentBounds\/ListContentBounds.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Value<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 50, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 5140, - "key.offset" : 5129, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue: Value", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "((ListContentBounds.Context) -> ListContentBounds)?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVAC7ContextVcSgD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.typename" : "ListContentBoundsKey.Type", - "key.typeusr" : "$s10ListableUI20ListContentBoundsKeyOmD", - "key.usr" : "s:10ListableUI20ListContentBoundsKeyO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1364, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ContentContext : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 808 - } - ], - "key.bodylength" : 512, - "key.bodyoffset" : 850, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Equatable` value which represents the overall context for all content presented in a list.\n\nEg, you might pass a theme here, the traits for your screen (eg, dark mode, a11y settings, etc), or\nany other value which when changed, should cause the entire list to re-render.\n\nIf the `ContentContext` changes across list renders, all list measurements will be thrown out\nand re-measured during the next render pass.\n\n```\nlistView.content.context = .init(\n MyTraits(textSize: .medium)\n)\n\n\/\/ Changing to large will cause the list to re-render all contents.\nlistView.content.context = .init(\n MyTraits(textSize: .large)\n)\n```", - "key.doc.column" : 15, - "key.doc.comment" : "An `Equatable` value which represents the overall context for all content presented in a list.\n\nEg, you might pass a theme here, the traits for your screen (eg, dark mode, a11y settings, etc), or\nany other value which when changed, should cause the entire list to re-render.\n\nIf the `ContentContext` changes across list renders, all list measurements will be thrown out\nand re-measured during the next render pass.\n\n```\nlistView.content.context = .init(\n MyTraits(textSize: .medium)\n)\n\n\/\/ Changing to large will cause the list to re-render all contents.\nlistView.content.context = .init(\n MyTraits(textSize: .large)\n)\n```", - "key.doc.declaration" : "public struct ContentContext : Equatable", - "key.doc.discussion" : [ - { - "Para" : "Eg, you might pass a theme here, the traits for your screen (eg, dark mode, a11y settings, etc), or any other value which when changed, should cause the entire list to re-render." - }, - { - "Para" : "If the `ContentContext` changes across list renders, all list measurements will be thrown out and re-measured during the next render pass." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.doc.full_as_xml" : "ContentContext<\/Name>s:10ListableUI14ContentContextV<\/USR>public struct ContentContext : Equatable<\/Declaration>An Equatable<\/codeVoice> value which represents the overall context for all content presented in a list.<\/Para><\/Abstract>Eg, you might pass a theme here, the traits for your screen (eg, dark mode, a11y settings, etc), or any other value which when changed, should cause the entire list to re-render.<\/Para>If the ContentContext<\/codeVoice> changes across list renders, all list measurements will be thrown out and re-measured during the next render pass.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 29, - "key.doc.name" : "ContentContext", - "key.doc.type" : "Class", - "key.doclength" : 696, - "key.docoffset" : 112, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 839 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ContentContext<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 548, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "ContentContext", - "key.namelength" : 14, - "key.nameoffset" : 822, - "key.offset" : 815, - "key.parsed_declaration" : "public struct ContentContext : Equatable", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let value: Any<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 860 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> value<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 872, - "key.offset" : 868, - "key.parsed_declaration" : "private let value : Any", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI14ContentContextV5value33_9A813A63B9ABF1DBAE4F0D7044DF32A2LLypvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let isEqual: (Any) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 888 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> isEqual<\/decl.name>: (Any<\/syntaxtype.keyword><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "isEqual", - "key.namelength" : 7, - "key.nameoffset" : 900, - "key.offset" : 896, - "key.parsed_declaration" : "private let isEqual : (Any) -> Bool", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.typename" : "(Any) -> Bool", - "key.typeusr" : "$sySbypcD", - "key.usr" : "s:10ListableUI14ContentContextV7isEqual33_9A813A63B9ABF1DBAE4F0D7044DF32A2LLySbypcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<Value>(_ value: Value<\/Type>) where Value<\/Type> : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1000 - } - ], - "key.bodylength" : 190, - "key.bodyoffset" : 1047, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new context with the provided `Equatable` value.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new context with the provided `Equatable` value.", - "key.doc.declaration" : "public init(_ value: Value) where Value : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI14ContentContextVyACxcSQRzlufc<\/USR>public init<Value>(_ value: Value) where Value : Equatable<\/Declaration>Creates a new context with the provided Equatable<\/codeVoice> value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 35, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 63, - "key.docoffset" : 933, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Value<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 231, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 38, - "key.nameoffset" : 1007, - "key.offset" : 1007, - "key.parsed_declaration" : "public init(_ value : Value)", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value : Equatable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1018 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 15, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 1012, - "key.offset" : 1012, - "key.parsed_declaration" : "public init (ContentContext.Type) -> (Value) -> ContentContext", - "key.typeusr" : "$sy10ListableUI14ContentContextVxcSQRzluD", - "key.usr" : "s:10ListableUI14ContentContextVyACxcSQRzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func == (lhs: ContentContext<\/Type>, rhs: ContentContext<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1248 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 1324, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentContext.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: ContentContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: ContentContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 106, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 47, - "key.nameoffset" : 1267, - "key.offset" : 1255, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "public static func == (lhs : ContentContext, rhs : ContentContext) -> Bool", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ContentContext.Type) -> (ContentContext, ContentContext) -> Bool", - "key.typeusr" : "$sySb10ListableUI14ContentContextV_ACtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.typename" : "ContentContext.Type", - "key.typeusr" : "$s10ListableUI14ContentContextVmD", - "key.usr" : "s:10ListableUI14ContentContextV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1417, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ContentFilters : Hashable<\/Type>, CaseIterable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 401 - } - ], - "key.bodylength" : 961, - "key.bodyoffset" : 454, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A filter enum which allows you to query the types of content contained in a `Content` or `Section` object.\n\nFor example, to see if `Content` contains any items or section headers, you could do:\n```\nlet contains = content.contains(any: [.items, .sectionHeaders])\n```", - "key.doc.column" : 13, - "key.doc.comment" : "A filter enum which allows you to query the types of content contained in a `Content` or `Section` object.\n\nFor example, to see if `Content` contains any items or section headers, you could do:\n```\nlet contains = content.contains(any: [.items, .sectionHeaders])\n```", - "key.doc.declaration" : "public enum ContentFilters : Hashable, CaseIterable", - "key.doc.discussion" : [ - { - "Para" : "For example, to see if `Content` contains any items or section headers, you could do:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "ContentFilters<\/Name>s:10ListableUI14ContentFiltersO<\/USR>public enum ContentFilters : Hashable, CaseIterable<\/Declaration>A filter enum which allows you to query the types of content contained in a Content<\/codeVoice> or Section<\/codeVoice> object.<\/Para><\/Abstract>For example, to see if Content<\/codeVoice> contains any items or section headers, you could do:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "ContentFilters", - "key.doc.type" : "Other", - "key.doclength" : 289, - "key.docoffset" : 112, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 430 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 12, - "key.offset" : 440 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ContentFilters<\/decl.name> : Hashable<\/ref.protocol>, CaseIterable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - }, - { - "key.name" : "CaseIterable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1008, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "ContentFilters", - "key.namelength" : 14, - "key.nameoffset" : 413, - "key.offset" : 408, - "key.parsed_declaration" : "public enum ContentFilters : Hashable, CaseIterable", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var anyContent: Set<\/Type><`Self`> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 547 - } - ], - "key.bodylength" : 32, - "key.bodyoffset" : 589, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If there is any content in the list at all, including headers and footers.", - "key.doc.column" : 23, - "key.doc.comment" : "If there is any content in the list at all, including headers and footers.", - "key.doc.declaration" : "public static var anyContent: Set<`Self`> { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "anyContent<\/Name>s:10ListableUI14ContentFiltersO03anyC0ShyACGvpZ<\/USR>public static var anyContent: Set<`Self`> { get }<\/Declaration>If there is any content in the list at all, including headers and footers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "anyContent", - "key.doc.type" : "Other", - "key.doclength" : 79, - "key.docoffset" : 464, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> anyContent<\/decl.name>: Set<\/ref.struct><`Self`><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 68, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "anyContent", - "key.namelength" : 10, - "key.nameoffset" : 565, - "key.offset" : 554, - "key.parsed_declaration" : "public static var anyContent : Set", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI14ContentFiltersOGD", - "key.usr" : "s:10ListableUI14ContentFiltersO03anyC0ShyACGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var sectionsOnly: Set<\/Type><`Self`> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 755 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 799, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Check if the content in the list is section-driven content, with the\ncheck ignoring any list-level fields.", - "key.doc.column" : 23, - "key.doc.comment" : "Check if the content in the list is section-driven content, with the\ncheck ignoring any list-level fields.", - "key.doc.declaration" : "public static var sectionsOnly: Set<`Self`> { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "sectionsOnly<\/Name>s:10ListableUI14ContentFiltersO12sectionsOnlyShyACGvpZ<\/USR>public static var sectionsOnly: Set<`Self`> { get }<\/Declaration>Check if the content in the list is section-driven content, with the check ignoring any list-level fields.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 26, - "key.doc.name" : "sectionsOnly", - "key.doc.type" : "Other", - "key.doclength" : 119, - "key.docoffset" : 632, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sectionsOnly<\/decl.name>: Set<\/ref.struct><`Self`><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 140, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "sectionsOnly", - "key.namelength" : 12, - "key.nameoffset" : 773, - "key.offset" : 762, - "key.parsed_declaration" : "public static var sectionsOnly : Set", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI14ContentFiltersOGD", - "key.usr" : "s:10ListableUI14ContentFiltersO12sectionsOnlyShyACGvpZ" - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 967, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listContainerHeader<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list has a list-level container header.", - "key.doc.column" : 10, - "key.doc.comment" : "If the list has a list-level container header.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "listContainerHeader<\/Name>s:10ListableUI14ContentFiltersO19listContainerHeaderyA2CmF<\/USR><\/Declaration>If the list has a list-level container header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 35, - "key.doc.name" : "listContainerHeader", - "key.doc.type" : "Other", - "key.doclength" : 51, - "key.docoffset" : 912, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listContainerHeader<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "listContainerHeader", - "key.namelength" : 19, - "key.nameoffset" : 972, - "key.offset" : 972, - "key.parsed_declaration" : "case listContainerHeader", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO19listContainerHeaderyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 1041, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listHeader<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list has a list-level header.", - "key.doc.column" : 10, - "key.doc.comment" : "If the list has a list-level header.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "listHeader<\/Name>s:10ListableUI14ContentFiltersO10listHeaderyA2CmF<\/USR><\/Declaration>If the list has a list-level header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 37, - "key.doc.name" : "listHeader", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 996, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listHeader<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "listHeader", - "key.namelength" : 10, - "key.nameoffset" : 1046, - "key.offset" : 1046, - "key.parsed_declaration" : "case listHeader", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO10listHeaderyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 1106, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listFooter<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list has a list-level footer.", - "key.doc.column" : 10, - "key.doc.comment" : "If the list has a list-level footer.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "listFooter<\/Name>s:10ListableUI14ContentFiltersO10listFooteryA2CmF<\/USR><\/Declaration>If the list has a list-level footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 39, - "key.doc.name" : "listFooter", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 1061, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listFooter<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "listFooter", - "key.namelength" : 10, - "key.nameoffset" : 1111, - "key.offset" : 1111, - "key.parsed_declaration" : "case listFooter", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO10listFooteryA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 21, - "key.offset" : 1172, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case overscrollFooter<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list has an overscroll footer.", - "key.doc.column" : 10, - "key.doc.comment" : "If the list has an overscroll footer.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "overscrollFooter<\/Name>s:10ListableUI14ContentFiltersO16overscrollFooteryA2CmF<\/USR><\/Declaration>If the list has an overscroll footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 41, - "key.doc.name" : "overscrollFooter", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 1126, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> overscrollFooter<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 16, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 1177, - "key.offset" : 1177, - "key.parsed_declaration" : "case overscrollFooter", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO16overscrollFooteryA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 1258, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case items<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the sections in the list contain any items.", - "key.doc.column" : 10, - "key.doc.comment" : "If the sections in the list contain any items.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "items<\/Name>s:10ListableUI14ContentFiltersO5itemsyA2CmF<\/USR><\/Declaration>If the sections in the list contain any items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 44, - "key.doc.name" : "items", - "key.doc.type" : "Other", - "key.doclength" : 51, - "key.docoffset" : 1203, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> items<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 1263, - "key.offset" : 1263, - "key.parsed_declaration" : "case items", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO5itemsyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 1322, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sectionHeaders<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If any section in the list has a header.", - "key.doc.column" : 10, - "key.doc.comment" : "If any section in the list has a header.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "sectionHeaders<\/Name>s:10ListableUI14ContentFiltersO14sectionHeadersyA2CmF<\/USR><\/Declaration>If any section in the list has a header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "sectionHeaders", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 1273, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sectionHeaders<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "sectionHeaders", - "key.namelength" : 14, - "key.nameoffset" : 1327, - "key.offset" : 1327, - "key.parsed_declaration" : "case sectionHeaders", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO14sectionHeadersyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 1395, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sectionFooters<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If any section in the list has a footer.", - "key.doc.column" : 10, - "key.doc.comment" : "If any section in the list has a footer.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.doc.full_as_xml" : "sectionFooters<\/Name>s:10ListableUI14ContentFiltersO14sectionFootersyA2CmF<\/USR><\/Declaration>If any section in the list has a footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 48, - "key.doc.name" : "sectionFooters", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 1346, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentFilters.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sectionFooters<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "sectionFooters", - "key.namelength" : 14, - "key.nameoffset" : 1400, - "key.offset" : 1400, - "key.parsed_declaration" : "case sectionFooters", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.typename" : "(ContentFilters.Type) -> ContentFilters", - "key.typeusr" : "$sy10ListableUI14ContentFiltersOACmcD", - "key.usr" : "s:10ListableUI14ContentFiltersO14sectionFootersyA2CmF" - } - ] - } - ], - "key.typename" : "ContentFilters.Type", - "key.typeusr" : "$s10ListableUI14ContentFiltersOmD", - "key.usr" : "s:10ListableUI14ContentFiltersO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 900, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ContentLayoutsStorage<\/Declaration>", - "key.bodylength" : 607, - "key.bodyoffset" : 291, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Underlying storage used in `ItemLayouts`, `HeaderFooterLayouts`, and `SectionLayouts`.\nSee those types for more information.\n", - "key.doc.column" : 8, - "key.doc.comment" : "\nUnderlying storage used in `ItemLayouts`, `HeaderFooterLayouts`, and `SectionLayouts`.\nSee those types for more information.", - "key.doc.declaration" : "struct ContentLayoutsStorage", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.doc.full_as_xml" : "ContentLayoutsStorage<\/Name>s:10ListableUI21ContentLayoutsStorageV<\/USR>struct ContentLayoutsStorage<\/Declaration>Underlying storage used in ItemLayouts<\/codeVoice>, HeaderFooterLayouts<\/codeVoice>, and SectionLayouts<\/codeVoice>. See those types for more information.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 16, - "key.doc.name" : "ContentLayoutsStorage", - "key.doc.type" : "Class", - "key.doclength" : 141, - "key.docoffset" : 120, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ContentLayoutsStorage<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 638, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "ContentLayoutsStorage", - "key.namelength" : 21, - "key.nameoffset" : 268, - "key.offset" : 261, - "key.parsed_declaration" : "struct ContentLayoutsStorage", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var storage: [ObjectIdentifier<\/Type> : Any]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 301 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> storage<\/decl.name>: [ObjectIdentifier<\/ref.struct> : Any<\/syntaxtype.keyword>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 313, - "key.offset" : 309, - "key.parsed_declaration" : "private var storage : [ObjectIdentifier:Any] = [:]", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ObjectIdentifier : Any]", - "key.typeusr" : "$sSDySOypGD", - "key.usr" : "s:10ListableUI21ContentLayoutsStorageV7storage33_F248E6F61551767C4A010A1266E652AALLSDySOypGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func get<ValueType>(_ valueType: ValueType<\/Type>.Type, default defaultValue: @autoclosure () -> ValueType<\/Type>) -> ValueType<\/Type><\/Declaration>", - "key.bodylength" : 207, - "key.bodyoffset" : 504, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> get<\/decl.name><ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> valueType<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>, default<\/decl.var.parameter.argument_label> defaultValue<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ValueType<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ValueType<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 351, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "get(_:default:)", - "key.namelength" : 119, - "key.nameoffset" : 366, - "key.offset" : 361, - "key.parsed_declaration" : "func get(\n _ valueType : ValueType.Type,\n default defaultValue : @autoclosure () -> ValueType\n) -> ValueType", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ValueType<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 9, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "ValueType", - "key.namelength" : 9, - "key.nameoffset" : 370, - "key.offset" : 370, - "key.parsed_declaration" : "func getlet ID: ObjectIdentifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> ID<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "ID", - "key.namelength" : 2, - "key.nameoffset" : 517, - "key.offset" : 513, - "key.parsed_declaration" : "let ID = ObjectIdentifier(valueType)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI21ContentLayoutsStorageV3get_7defaultxxm_xyXKtlF2IDL_SOvp" - } - ], - "key.typename" : " (ContentLayoutsStorage) -> (ValueType.Type, @autoclosure () -> ValueType) -> ValueType", - "key.typeusr" : "$s_7defaultxxm_xyXKtcluD", - "key.usr" : "s:10ListableUI21ContentLayoutsStorageV3get_7defaultxxm_xyXKtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "mutating func set<ValueType>(_ valueType: ValueType<\/Type>.Type, new newValue: ValueType<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 722 - } - ], - "key.bodylength" : 66, - "key.bodyoffset" : 830, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name><ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> valueType<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label> newValue<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 166, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "set(_:new:)", - "key.namelength" : 92, - "key.nameoffset" : 736, - "key.offset" : 731, - "key.parsed_declaration" : "mutating func set(\n _ valueType : ValueType.Type,\n new newValue : ValueType\n)", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ValueType<\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ContentLayoutsStorage.swift", - "key.fully_annotated_decl" : "ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 9, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "ValueType", - "key.namelength" : 9, - "key.nameoffset" : 740, - "key.offset" : 740, - "key.parsed_declaration" : "mutating func set (inout ContentLayoutsStorage) -> (ValueType.Type, ValueType) -> ()", - "key.typeusr" : "$s_3newyxm_xtcluD", - "key.usr" : "s:10ListableUI21ContentLayoutsStorageV3set_3newyxm_xtlF" - } - ], - "key.typename" : "ContentLayoutsStorage.Type", - "key.typeusr" : "$s10ListableUI21ContentLayoutsStorageVmD", - "key.usr" : "s:10ListableUI21ContentLayoutsStorageV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3871, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "class OSLog : NSObject<\/Type><\/Declaration>", - "key.bodylength" : 511, - "key.bodyoffset" : 170, - "key.column" : 1, - "key.decl_lang" : "source.lang.objc", - "key.doc.comment" : "Log types available within Listable.", - "key.doclength" : 41, - "key.docoffset" : 112, - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/usr\/include\/os\/log.h", - "key.fully_annotated_decl" : "class<\/syntaxtype.keyword> OSLog<\/decl.name> : NSObject<\/ref.class><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 529, - "key.line" : 23, - "key.modulename" : "os.log", - "key.name" : "OSLog", - "key.namelength" : 5, - "key.nameoffset" : 163, - "key.offset" : 153, - "key.parsed_declaration" : "extension OSLog", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let updateContent: OSLog<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> updateContent<\/decl.name>: OSLog<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 114, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "updateContent", - "key.namelength" : 13, - "key.nameoffset" : 186, - "key.offset" : 175, - "key.parsed_declaration" : "static let updateContent = OSLog(\n subsystem: \"com.kve.Listable\",\n category: \"ListView Update\"\n)", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "OSLog", - "key.typeusr" : "$sSo9OS_os_logCD", - "key.usr" : "s:So9OS_os_logC10ListableUIE13updateContentABvpZ" - }, - { - "key.annotated_decl" : "static let scrollView: OSLog<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> scrollView<\/decl.name>: OSLog<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 115, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "scrollView", - "key.namelength" : 10, - "key.nameoffset" : 310, - "key.offset" : 299, - "key.parsed_declaration" : "static let scrollView = OSLog(\n subsystem: \"com.kve.Listable\",\n category: \"ListView ScrollView\"\n)", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "OSLog", - "key.typeusr" : "$sSo9OS_os_logCD", - "key.usr" : "s:So9OS_os_logC10ListableUIE10scrollViewABvpZ" - }, - { - "key.annotated_decl" : "static let listInteraction: OSLog<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> listInteraction<\/decl.name>: OSLog<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 121, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "listInteraction", - "key.namelength" : 15, - "key.nameoffset" : 435, - "key.offset" : 424, - "key.parsed_declaration" : "static let listInteraction = OSLog(\n subsystem: \"com.kve.Listable\",\n category: \"ListView Interaction\"\n)", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.typename" : "OSLog", - "key.typeusr" : "$sSo9OS_os_logCD", - "key.usr" : "s:So9OS_os_logC10ListableUIE15listInteractionABvpZ" - }, - { - "key.annotated_decl" : "static let stateObserver: OSLog<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> stateObserver<\/decl.name>: OSLog<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 125, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "stateObserver", - "key.namelength" : 13, - "key.nameoffset" : 566, - "key.offset" : 555, - "key.parsed_declaration" : "static let stateObserver = OSLog(\n subsystem: \"com.kve.Listable\",\n category: \"ListView ListStateObserver\"\n)", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "OSLog", - "key.typeusr" : "$sSo9OS_os_logCD", - "key.usr" : "s:So9OS_os_logC10ListableUIE13stateObserverABvpZ" - } - ], - "key.typename" : "OSLog.Type", - "key.typeusr" : "$sSo9OS_os_logCmD", - "key.usr" : "c:objc(cs)OS_os_log" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol SignpostLoggable<\/Declaration>", - "key.bodylength" : 52, - "key.bodyoffset" : 767, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An object which can be logged to `SignpostLogger`.", - "key.doc.column" : 10, - "key.doc.comment" : "An object which can be logged to `SignpostLogger`.", - "key.doc.declaration" : "protocol SignpostLoggable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.doc.full_as_xml" : "SignpostLoggable<\/Name>s:10ListableUI16SignpostLoggableP<\/USR>protocol SignpostLoggable<\/Declaration>An object which can be logged to SignpostLogger<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 36, - "key.doc.name" : "SignpostLoggable", - "key.doc.type" : "Class", - "key.doclength" : 55, - "key.docoffset" : 685, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> SignpostLoggable<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 80, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "SignpostLoggable", - "key.namelength" : 16, - "key.nameoffset" : 749, - "key.offset" : 740, - "key.parsed_declaration" : "protocol SignpostLoggable", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var signpostInfo: SignpostLoggingInfo<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 812, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> signpostInfo<\/decl.name>: SignpostLoggingInfo<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "signpostInfo", - "key.namelength" : 12, - "key.nameoffset" : 776, - "key.offset" : 772, - "key.parsed_declaration" : "var signpostInfo : SignpostLoggingInfo", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16SignpostLoggableP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "SignpostLoggingInfo", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVD", - "key.usr" : "s:10ListableUI16SignpostLoggableP12signpostInfoAA0c7LoggingF0Vvp" - } - ], - "key.typename" : "SignpostLoggable.Type", - "key.typeusr" : "$s10ListableUI16SignpostLoggable_pmD", - "key.usr" : "s:10ListableUI16SignpostLoggableP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SignpostLoggingInfo<\/Declaration>", - "key.bodylength" : 67, - "key.bodyoffset" : 918, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The info logged to `SignpostLogger` from a `SignpostLoggable`.", - "key.doc.column" : 8, - "key.doc.comment" : "The info logged to `SignpostLogger` from a `SignpostLoggable`.", - "key.doc.declaration" : "struct SignpostLoggingInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.doc.full_as_xml" : "SignpostLoggingInfo<\/Name>s:10ListableUI19SignpostLoggingInfoV<\/USR>struct SignpostLoggingInfo<\/Declaration>The info logged to SignpostLogger<\/codeVoice> from a SignpostLoggable<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "SignpostLoggingInfo", - "key.doc.type" : "Class", - "key.doclength" : 67, - "key.docoffset" : 823, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SignpostLoggingInfo<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 96, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "SignpostLoggingInfo", - "key.namelength" : 19, - "key.nameoffset" : 897, - "key.offset" : 890, - "key.parsed_declaration" : "struct SignpostLoggingInfo", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var identifier: String<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 927, - "key.offset" : 923, - "key.parsed_declaration" : "var identifier : String?", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI19SignpostLoggingInfoV10identifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var instanceIdentifier: String<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> instanceIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "instanceIdentifier", - "key.namelength" : 18, - "key.nameoffset" : 956, - "key.offset" : 952, - "key.parsed_declaration" : "var instanceIdentifier : String?", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI19SignpostLoggingInfoV18instanceIdentifierSSSgvp" - } - ], - "key.typename" : "SignpostLoggingInfo.Type", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVmD", - "key.usr" : "s:10ListableUI19SignpostLoggingInfoV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SignpostLogger<\/Declaration>", - "key.bodylength" : 2350, - "key.bodyoffset" : 1518, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Signpost logging is logging visible in Instruments.app\n\nListable utilizes signpost logging to instrument various parts of the\nlist update cycle: Content diffing, Collection View updating, item and header\/footer\nsizing, etc. \n\nResources\n---------\n WWDC 2018: https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/405\/\n WWDC 2019: https:\/\/developer.apple.com\/wwdc20\/10168\n Swift By Sundell: https:\/\/www.swiftbysundell.com\/wwdc2018\/getting-started-with-signposts\/\n", - "key.doc.column" : 8, - "key.doc.comment" : "\nSignpost logging is logging visible in Instruments.app\n\nListable utilizes signpost logging to instrument various parts of the\nlist update cycle: Content diffing, Collection View updating, item and header\/footer\nsizing, etc. \n\nResources\n---------\n WWDC 2018: https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/405\/\n WWDC 2019: https:\/\/developer.apple.com\/wwdc20\/10168\n Swift By Sundell: https:\/\/www.swiftbysundell.com\/wwdc2018\/getting-started-with-signposts\/", - "key.doc.declaration" : "struct SignpostLogger", - "key.doc.discussion" : [ - { - "Para" : "Listable utilizes signpost logging to instrument various parts of the list update cycle: Content diffing, Collection View updating, item and header\/footer sizing, etc." - }, - { - "Para" : "WWDC 2018: https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/405\/ WWDC 2019: https:\/\/developer.apple.com\/wwdc20\/10168 Swift By Sundell: https:\/\/www.swiftbysundell.com\/wwdc2018\/getting-started-with-signposts\/" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.doc.full_as_xml" : "SignpostLogger<\/Name>s:10ListableUI14SignpostLoggerV<\/USR>struct SignpostLogger<\/Declaration>Signpost logging is logging visible in Instruments.app<\/Para><\/Abstract>Listable utilizes signpost logging to instrument various parts of the list update cycle: Content diffing, Collection View updating, item and header\/footer sizing, etc.<\/Para>]]><\/rawHTML>Resources]]><\/rawHTML>WWDC 2018: https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/405\/ WWDC 2019: https:\/\/developer.apple.com\/wwdc20\/10168 Swift By Sundell: https:\/\/www.swiftbysundell.com\/wwdc2018\/getting-started-with-signposts\/<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 61, - "key.doc.name" : "SignpostLogger", - "key.doc.type" : "Class", - "key.doclength" : 506, - "key.docoffset" : 989, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SignpostLogger<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2374, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "SignpostLogger", - "key.namelength" : 14, - "key.nameoffset" : 1502, - "key.offset" : 1495, - "key.parsed_declaration" : "struct SignpostLogger", - "key.parsed_scope.end" : 146, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static let isLoggingEnabled: Bool<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "You may temporarily set this param to `false` to disable os_signpost logging,\nfor example if debugging performance in Instruments.app.\n\nNote that tests will fail while this is set to `false` in `DEBUG`, to ensure\nthis is not accidentally commited as `false`.", - "key.doc.column" : 16, - "key.doc.comment" : "You may temporarily set this param to `false` to disable os_signpost logging,\nfor example if debugging performance in Instruments.app.\n\nNote that tests will fail while this is set to `false` in `DEBUG`, to ensure\nthis is not accidentally commited as `false`.", - "key.doc.declaration" : "static let isLoggingEnabled: Bool", - "key.doc.discussion" : [ - { - "Para" : "Note that tests will fail while this is set to `false` in `DEBUG`, to ensure this is not accidentally commited as `false`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.doc.full_as_xml" : "isLoggingEnabled<\/Name>s:10ListableUI14SignpostLoggerV16isLoggingEnabledSbvpZ<\/USR>static let isLoggingEnabled: Bool<\/Declaration>You may temporarily set this param to false<\/codeVoice> to disable os_signpost logging, for example if debugging performance in Instruments.app.<\/Para><\/Abstract>Note that tests will fail while this is set to false<\/codeVoice> in DEBUG<\/codeVoice>, to ensure this is not accidentally commited as false<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 69, - "key.doc.name" : "isLoggingEnabled", - "key.doc.type" : "Other", - "key.doclength" : 294, - "key.docoffset" : 1542, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> isLoggingEnabled<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 34, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "isLoggingEnabled", - "key.namelength" : 16, - "key.nameoffset" : 1851, - "key.offset" : 1840, - "key.parsed_declaration" : "static let isLoggingEnabled = true", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14SignpostLoggerV16isLoggingEnabledSbvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.internal_diagnostic" : "Unable to resolve cursor info.", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 35, - "key.name" : "isLoggingEnabled", - "key.namelength" : 16, - "key.nameoffset" : 1900, - "key.offset" : 1889 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func log<Output>(log: OSLog<\/Type>, name: StaticString<\/Type>, for loggable: SignpostLoggable<\/Type>? = nil, _ output: () -> Output<\/Type>) -> Output<\/Type><\/Declaration>", - "key.bodylength" : 296, - "key.bodyoffset" : 2082, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> log<\/decl.name><Output<\/decl.generic_type_param.name><\/decl.generic_type_param>>(log<\/decl.var.parameter.argument_label>: OSLog<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, name<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> loggable<\/decl.var.parameter.name>: SignpostLoggable<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> output<\/decl.var.parameter.name>: () -> Output<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Output<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 434, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "log(log:name:for:_:)", - "key.namelength" : 109, - "key.nameoffset" : 1957, - "key.offset" : 1945, - "key.parsed_declaration" : "static func log(log : OSLog, name: StaticString, for loggable : SignpostLoggable? = nil, _ output : () -> Output) -> Output", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 74, - "key.related_decls" : [ - { - "key.annotated_decl" : "log(_:log:name:for:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Output<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "Output<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "Output", - "key.namelength" : 6, - "key.nameoffset" : 1961, - "key.offset" : 1961, - "key.parsed_declaration" : "static func loglet output: Output<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> output<\/decl.name>: Output<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 21, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "output", - "key.namelength" : 6, - "key.nameoffset" : 2256, - "key.offset" : 2252, - "key.parsed_declaration" : "let output = output()", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.typename" : "Output", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI14SignpostLoggerV3logAD4name3for_xSo06OS_os_E0C_s12StaticStringVAA0C8Loggable_pSgxyXEtlFZ6outputL0_xvp" - } - ], - "key.typename" : " (SignpostLogger.Type) -> (OSLog, StaticString, (any SignpostLoggable)?, () -> Output) -> Output", - "key.typeusr" : "$s3log4name3for_xSo06OS_os_A0C_s12StaticStringV10ListableUI16SignpostLoggable_pSgxyXEtcluD", - "key.usr" : "s:10ListableUI14SignpostLoggerV3logAD4name3for_xSo06OS_os_E0C_s12StaticStringVAA0C8Loggable_pSgxyXEtlFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func log(_ type: EventType<\/Type>, log: OSLog<\/Type>, name: StaticString<\/Type>, for loggable: SignpostLoggable<\/Type>? = nil)<\/Declaration>", - "key.bodylength" : 495, - "key.bodyoffset" : 2503, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> log<\/decl.name>(_<\/decl.var.parameter.argument_label> type<\/decl.var.parameter.name>: EventType<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, log<\/decl.var.parameter.argument_label>: OSLog<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, name<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> loggable<\/decl.var.parameter.name>: SignpostLoggable<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 610, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "log(_:log:name:for:)", - "key.namelength" : 96, - "key.nameoffset" : 2401, - "key.offset" : 2389, - "key.parsed_declaration" : "static func log(_ type : EventType, log : OSLog, name: StaticString, for loggable : SignpostLoggable? = nil)", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 89, - "key.related_decls" : [ - { - "key.annotated_decl" : "log(log:name:for:_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SignpostLogger.Type) -> (SignpostLogger.EventType, OSLog, StaticString, (any SignpostLoggable)?) -> ()", - "key.typeusr" : "$s_3log4name3fory10ListableUI14SignpostLoggerV9EventTypeO_So06OS_os_A0Cs12StaticStringVAD0F8Loggable_pSgtcD", - "key.usr" : "s:10ListableUI14SignpostLoggerV3log_AD4name3foryAC9EventTypeO_So06OS_os_E0Cs12StaticStringVAA0C8Loggable_pSgtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum SignpostLogger<\/Type>.EventType<\/Declaration>", - "key.bodylength" : 278, - "key.bodyoffset" : 3025, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> SignpostLogger<\/ref.struct>.EventType<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 295, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "EventType", - "key.namelength" : 9, - "key.nameoffset" : 3014, - "key.offset" : 3009, - "key.parsed_declaration" : "enum EventType", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 112, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 3034, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case begin<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> begin<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "begin", - "key.namelength" : 5, - "key.nameoffset" : 3039, - "key.offset" : 3039, - "key.parsed_declaration" : "case begin", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.typename" : "(SignpostLogger.EventType.Type) -> SignpostLogger.EventType", - "key.typeusr" : "$sy10ListableUI14SignpostLoggerV9EventTypeOAEmcD", - "key.usr" : "s:10ListableUI14SignpostLoggerV9EventTypeO5beginyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 3053, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case event<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> event<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "event", - "key.namelength" : 5, - "key.nameoffset" : 3058, - "key.offset" : 3058, - "key.parsed_declaration" : "case event", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.typename" : "(SignpostLogger.EventType.Type) -> SignpostLogger.EventType", - "key.typeusr" : "$sy10ListableUI14SignpostLoggerV9EventTypeOAEmcD", - "key.usr" : "s:10ListableUI14SignpostLoggerV9EventTypeO5eventyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 3072, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case end<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> end<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "end", - "key.namelength" : 3, - "key.nameoffset" : 3077, - "key.offset" : 3077, - "key.parsed_declaration" : "case end", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.typename" : "(SignpostLogger.EventType.Type) -> SignpostLogger.EventType", - "key.typeusr" : "$sy10ListableUI14SignpostLoggerV9EventTypeOAEmcD", - "key.usr" : "s:10ListableUI14SignpostLoggerV9EventTypeO3endyA2EmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var toSignpostType: OSSignpostType<\/Type> { get }<\/Declaration>", - "key.bodylength" : 162, - "key.bodyoffset" : 3135, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toSignpostType<\/decl.name>: OSSignpostType<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 200, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "toSignpostType", - "key.namelength" : 14, - "key.nameoffset" : 3102, - "key.offset" : 3098, - "key.parsed_declaration" : "var toSignpostType : OSSignpostType", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.typename" : "OSSignpostType", - "key.typeusr" : "$sSo18os_signpost_type_taD", - "key.usr" : "s:10ListableUI14SignpostLoggerV9EventTypeO02tocF0So18os_signpost_type_tavp" - } - ], - "key.typename" : "SignpostLogger.EventType.Type", - "key.typeusr" : "$s10ListableUI14SignpostLoggerV9EventTypeOmD", - "key.usr" : "s:10ListableUI14SignpostLoggerV9EventTypeO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func debuggingIdentifier(for loggable: SignpostLoggable<\/Type>) -> String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3314 - } - ], - "key.bodylength" : 468, - "key.bodyoffset" : 3398, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>(for<\/decl.var.parameter.argument_label> loggable<\/decl.var.parameter.name>: SignpostLoggable<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> String<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 545, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier(for:)", - "key.namelength" : 52, - "key.nameoffset" : 3334, - "key.offset" : 3322, - "key.parsed_declaration" : "private static func debuggingIdentifier(for loggable : SignpostLoggable) -> String", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let info: SignpostLoggingInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> info<\/decl.name>: SignpostLoggingInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 32, - "key.line" : 128, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 3420, - "key.offset" : 3416, - "key.parsed_declaration" : "let info = loggable.signpostInfo", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 128, - "key.reusingastcontext" : false, - "key.typename" : "SignpostLoggingInfo", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVD", - "key.usr" : "s:10ListableUI14SignpostLoggerV19debuggingIdentifier33_DED91A9F15380E1536C4C4958A08DE30LL3forSSAA0C8Loggable_p_tFZ4infoL_AA0C11LoggingInfoVvp" - }, - { - "key.annotated_decl" : "var components: [String<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/DebuggingAndLogging\/SignpostLogger.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> components<\/decl.name>: [String<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "components", - "key.namelength" : 10, - "key.nameoffset" : 3470, - "key.offset" : 3466, - "key.parsed_declaration" : "var components = [String]()", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.typename" : "[String]", - "key.typeusr" : "$sSaySSGD", - "key.usr" : "s:10ListableUI14SignpostLoggerV19debuggingIdentifier33_DED91A9F15380E1536C4C4958A08DE30LL3forSSAA0C8Loggable_p_tFZ10componentsL_SaySSGvp" - } - ], - "key.typename" : "(SignpostLogger.Type) -> (any SignpostLoggable) -> String", - "key.typeusr" : "$s3forSS10ListableUI16SignpostLoggable_p_tcD", - "key.usr" : "s:10ListableUI14SignpostLoggerV19debuggingIdentifier33_DED91A9F15380E1536C4C4958A08DE30LL3forSSAA0C8Loggable_p_tFZ" - } - ], - "key.typename" : "SignpostLogger.Type", - "key.typeusr" : "$s10ListableUI14SignpostLoggerVmD", - "key.usr" : "s:10ListableUI14SignpostLoggerV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Deprecations.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1526, - "key.offset" : 0, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Deprecated Jan 22, 2021", - "key.offset" : 1241 - }, - { - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 220, - "key.bodyoffset" : 1304, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nThis file contains deprecations which have occurred in Listable, for which there are reasonable\nforward-moving defaults (eg, renames), to ease transitions for consumers when they update their library version.\n\nTo add new deprecations and changes:\n------------------------------------\n1) Add a new `MARK: Deprecated ` section for the deprecations you are adding.\n\n2) Add deprecation annotations like so:\n ```\n @available(*, deprecated, renamed: \"ItemContent\")\n public typealias ItemElement = ItemContent\n ```\n\n Or, when deprecating properties, add a passthrough like so:\n ```\n public extension Item {\n @available(*, deprecated, renamed: \"content\")\n var element : Content {\n self.content\n }\n }\n ```\n\n3) After 1-2 months has passed, mark the previously `deprecated` items as `unavailable`:\n ```\n @available(*, unavailable, renamed: \"ItemContent\")\n ```\n\n4) After another 1-2 months have passed, feel free to remove the `MARK: Deprecated` section you added.", - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.doclength" : 1125, - "key.docoffset" : 109, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 250, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 1285, - "key.offset" : 1275, - "key.parsed_declaration" : "extension LayoutDescription", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1358 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 44, - "key.offset" : 1309 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 1461, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 158, - "key.name" : "list(_:)", - "key.namelength" : 70, - "key.nameoffset" : 1377, - "key.offset" : 1365, - "key.substructure" : [ - - ], - "key.typename" : "Self" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3991, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Item<Content> : AnyItem<\/Type>, AnyItemConvertible<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 106 - } - ], - "key.bodylength" : 1020, - "key.bodyoffset" : 159, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct Item : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "`Item` wraps an `ItemContent` struct (a protocol you implement to provide content), which drives the primary content of the row the `Item` displays." - }, - { - "Para" : "If you are used to working with a collection view or table view, you can think of `ItemContent` as what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc." - }, - { - "Para" : "Once added to a section, `Item` is type erased to`AnyItem`, to allow for mixed collections of content within a section." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI4ItemV<\/USR>public struct Item<Content> : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent<\/Declaration>An Item<\/codeVoice> is one of the core types deployed by Listable, allowing you to specify and control many of the behaviors, appearance options, and callbacks for interacting with rows within a list.<\/Para><\/Abstract>Item<\/codeVoice> wraps an ItemContent<\/codeVoice> struct (a protocol you implement to provide content), which drives the primary content of the row the Item<\/codeVoice> displays.<\/Para>If you are used to working with a collection view or table view, you can think of ItemContent<\/codeVoice> as what you put in the contentView<\/codeVoice> of your cell, and you can think of Item<\/codeVoice> as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.<\/Para>Once added to a section, Item<\/codeVoice> is type erased toAnyItem<\/codeVoice>, to allow for mixed collections of content within a section.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 22, - "key.doc.name" : "Item", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Item<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyItem<\/ref.protocol>, AnyItemConvertible<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1067, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 123, - "key.offset" : 113, - "key.parsed_declaration" : "public extension Item where Content == EmbeddedList", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func list<Identifier>(_ identifier: Identifier<\/Type>, sizing: EmbeddedList<\/Type>.Sizing<\/Type>, configure: ListProperties<\/Type>.Configure<\/Type>) -> Item<\/Type><EmbeddedList<\/Type>> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 262, - "key.bodyoffset" : 915, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates an `Item` which can be used to embed a list inside another list,\nfor example if you'd like to place a horizontally scrollable list within a vertically scrolling\nlist, or vice versa.\n\n```\nsection += Item.list(\n \"my-identifier\",\n sizing: .fixed(height: 200)\n) { list in\n\n list.layout = .table {\n $0.direction = .horizontal\n }\n\n list += Section(\"section-id\") {\n ...\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "Creates an `Item` which can be used to embed a list inside another list,\nfor example if you'd like to place a horizontally scrollable list within a vertically scrolling\nlist, or vice versa.\n\n```\nsection += Item.list(\n \"my-identifier\",\n sizing: .fixed(height: 200)\n) { list in\n\n list.layout = .table {\n $0.direction = .horizontal\n }\n\n list += Section(\"section-id\") {\n ...\n }\n}\n```", - "key.doc.declaration" : "static func list(_ identifier: Identifier, sizing: EmbeddedList.Sizing, configure: ListProperties.Configure) -> Item where Identifier : Hashable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.doc.full_as_xml" : "list(_:sizing:configure:)<\/Name>s:10ListableUI4ItemVA2A12EmbeddedListVRszrlE4list_6sizing9configureACyAEGqd___AE6SizingOyAA0E10PropertiesVzXEtSHRd__lFZ<\/USR>static func list<Identifier>(_ identifier: Identifier, sizing: EmbeddedList.Sizing, configure: ListProperties.Configure) -> Item<EmbeddedList> where Identifier : Hashable<\/Declaration>Creates an Item<\/codeVoice> which can be used to embed a list inside another list, for example if you’d like to place a horizontally scrollable list within a vertically scrolling list, or vice versa.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 32, - "key.doc.name" : "list(_:sizing:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 557, - "key.docoffset" : 164, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> list<\/decl.name><Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, sizing<\/decl.var.parameter.argument_label>: EmbeddedList<\/ref.struct>.Sizing<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: ListProperties<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Item<\/ref.struct><EmbeddedList<\/ref.struct>><\/decl.function.returntype> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 453, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "list(_:sizing:configure:)", - "key.namelength" : 150, - "key.nameoffset" : 737, - "key.offset" : 725, - "key.parsed_declaration" : "static func list(\n _ identifier : Identifier,\n sizing : EmbeddedList.Sizing,\n configure : ListProperties.Configure\n) -> Item", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Identifier : Hashable<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 753 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 742, - "key.offset" : 742, - "key.parsed_declaration" : "static func listIdentifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$sqd__mD", - "key.usr" : "s:10ListableUI4ItemVA2A12EmbeddedListVRszrlE4list_6sizing9configureACyAEGqd___AE6SizingOyAA0E10PropertiesVzXEtSHRd__lFZ10IdentifierL_qd__mfp" - } - ], - "key.typename" : " (Item.Type) -> (Identifier, EmbeddedList.Sizing, (inout ListProperties) -> ()) -> Item", - "key.typeusr" : "$s_6sizing9configure10ListableUI4ItemVyAC12EmbeddedListVGqd___AG6SizingOyAC0G10PropertiesVzXEtcSHRd__luD", - "key.usr" : "s:10ListableUI4ItemVA2A12EmbeddedListVRszrlE4list_6sizing9configureACyAEGqd___AE6SizingOyAA0E10PropertiesVzXEtSHRd__lFZ" - } - ], - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI4ItemV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct EmbeddedList : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1617 - } - ], - "key.bodylength" : 1490, - "key.bodyoffset" : 1659, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes item content which can be used to embed a list inside another list,\nfor example if you'd like to place a horizontally scrollable list within a vertically scrolling\nlist, or vice versa.\n\nYou rarely use this type directly. Instead, use the static `.list` function on `Item`.\n\nInternal TODO: This should use a coordinator to manage the scroll position of the contained list\nduring cell reuse.\n", - "key.doc.column" : 15, - "key.doc.comment" : "Describes item content which can be used to embed a list inside another list,\nfor example if you'd like to place a horizontally scrollable list within a vertically scrolling\nlist, or vice versa.\n\nYou rarely use this type directly. Instead, use the static `.list` function on `Item`.\n\nInternal TODO: This should use a coordinator to manage the scroll position of the contained list\nduring cell reuse.", - "key.doc.declaration" : "public struct EmbeddedList : ItemContent", - "key.doc.discussion" : [ - { - "Para" : "You rarely use this type directly. Instead, use the static `.list` function on `Item`." - }, - { - "Para" : "Internal TODO: This should use a coordinator to manage the scroll position of the contained list during cell reuse." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.doc.full_as_xml" : "EmbeddedList<\/Name>s:10ListableUI12EmbeddedListV<\/USR>public struct EmbeddedList : ItemContent<\/Declaration>Describes item content which can be used to embed a list inside another list, for example if you’d like to place a horizontally scrollable list within a vertically scrolling list, or vice versa.<\/Para><\/Abstract>You rarely use this type directly. Instead, use the static .list<\/codeVoice> function on Item<\/codeVoice>.<\/Para>Internal TODO: This should use a coordinator to manage the scroll position of the contained list during cell reuse.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 60, - "key.doc.name" : "EmbeddedList", - "key.doc.type" : "Class", - "key.doclength" : 434, - "key.docoffset" : 1183, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 1646 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> EmbeddedList<\/decl.name> : ItemContent<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1526, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "EmbeddedList", - "key.namelength" : 12, - "key.nameoffset" : 1631, - "key.offset" : 1624, - "key.parsed_declaration" : "public struct EmbeddedList : ItemContent", - "key.parsed_scope.end" : 118, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Public Properties", - "key.offset" : 1674 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var properties: ListProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1714 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> properties<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 1725, - "key.offset" : 1721, - "key.parsed_declaration" : "public var properties : ListProperties", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:10ListableUI12EmbeddedListV10propertiesAA0D10PropertiesVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentIdentifier: AnyHashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1757 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentIdentifier<\/decl.name>: AnyHashable<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "contentIdentifier", - "key.namelength" : 17, - "key.nameoffset" : 1768, - "key.offset" : 1764, - "key.parsed_declaration" : "public var contentIdentifier : AnyHashable", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AnyHashable", - "key.typeusr" : "$ss11AnyHashableVD", - "key.usr" : "s:10ListableUI12EmbeddedListV17contentIdentifiers11AnyHashableVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1819 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<Identifier>(identifier: Identifier<\/Type>, configure: ListProperties<\/Type>.Configure<\/Type>) where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1856 - } - ], - "key.bodylength" : 586, - "key.bodyoffset" : 1957, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>>(identifier<\/decl.var.parameter.argument_label>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: ListProperties<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 681, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "init(identifier:configure:)", - "key.namelength" : 88, - "key.nameoffset" : 1863, - "key.offset" : 1863, - "key.parsed_declaration" : "public init(identifier : Identifier, configure : ListProperties.Configure)", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Identifier : Hashable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 1879 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 1868, - "key.offset" : 1868, - "key.parsed_declaration" : "public initIdentifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI12EmbeddedListV10identifier9configureACx_yAA0D10PropertiesVzXEtcSHRzlufc10IdentifierL_xmfp" - } - ], - "key.typename" : " (EmbeddedList.Type) -> (Identifier, (inout ListProperties) -> ()) -> EmbeddedList", - "key.typeusr" : "$s10identifier9configure10ListableUI12EmbeddedListVx_yAC0F10PropertiesVzXEtcSHRzluD", - "key.usr" : "s:10ListableUI12EmbeddedListV10identifier9configureACx_yAA0D10PropertiesVzXEtcSHRzlufc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 17, - "key.name" : "MARK: ItemContent", - "key.offset" : 2564 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias EmbeddedList<\/Type>.ContentView = ListView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2602 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.column" : 20, - "key.doc.declaration" : "associatedtype ContentView : UIView", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ContentView<\/Name>s:10ListableUI11ItemContentP0D4ViewQa<\/USR>associatedtype ContentView : UIView<\/Declaration>The content view used to draw the content. The content view is drawn at the top of the view hierarchy, above the background views.<\/Para><\/Abstract>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 367, - "key.doc.name" : "ContentView", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> EmbeddedList<\/ref.struct>.ContentView<\/decl.name> = ListView<\/ref.class><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 32, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "ContentView", - "key.namelength" : 11, - "key.nameoffset" : 2619, - "key.offset" : 2609, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP0D4ViewQa" - } - ], - "key.parsed_declaration" : "public typealias ContentView = ListView", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "s:10ListableUI11ItemContentP0D4ViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var identifierValue: AnyHashable<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2651 - } - ], - "key.bodylength" : 43, - "key.bodyoffset" : 2692, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used to unique the item, control its lifetime, and identify it across update operations.\n\n### Identifier Stability\nThis value must be stable. Changing the `identifier` will mean that the list will think\nthe item has been removed from the list (and a new one inserted), which can cause\nundesired animations or other undesired behavior when a new view is created and inserted.\n\n```swift\nstruct MyItemContent : ItemContent {\n\n var identifierValue : UUID {\n \/\/ 🚫 Wrong; will change every time the item is accessed.\n UUID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let contentID = UUID()\n\n var identifierValue : UUID {\n \/\/ 🚫 Also wrong, will change every time the item is built.\n self.contentID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model \/\/ Conforms to Hashable\n\n var identifierValue : String {\n \/\/ 🚫 Wrong! This will change the value of the identifier\n \/\/ any time any value within our content changes.\n\n self.model\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Still wrong! Same as above, but with reflection. You should\n \/\/ never used a reflecting or describing method to generate an identifier.\n\n String(describing\/reflecting: self.model)\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Stable across updates.\n self.model.serverID\n }\n}\n```\n\nIdentifier stability is especially important with items that embed interactive controls, like buttons, sliders,\ntext fields, etc. The identifier of the control should be stable and **independent of the value\nthe control is currently representing**. Including the value the control is currently representing\nin the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.\n```swift\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n\n var identifierValue : String {\n \/\/ 🚫 Wrong; identifier will change every time the search text changes.\n searchText\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n let id : String \/\/ Something like \"item-search\".\n\n var identifierValue : String {\n \/\/ ✅ Good! Stable across updates.\n id\n }\n}\n```\n\n### Identifier Uniqueness\nWhile identifiers do need to be _stable_, they do not need to be globally unique – the list will make a\n\"best guess\" if there are multiple items with the same identifier. However, diffing of changes\nwill be more visually correct with a unique identifier.\n\nIf you are backing your content with some sort of client or server-provided data, consider using its\nserver or client UUID here, or some other stable unique identifier from the underlying data model.\n\nGenerally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID\nas mentioned above. For something without the concept of identity, consider providing a value\nbased on what the content represents (eg, a row title like \"Settings\").\n\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ 🚫 Likely wrong. If entered by the user,\n \/\/ there could be many items with this name,\n \/\/ or multiple items with no name at all, leading\n \/\/ to identifier collisions.\n\n self.model.name\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let setting : Setting\n\n var identifierValue : UUID {\n \/\/ 🤔 Probably good enough! Since this item\n \/\/ represents a setting in a settings screen,\n \/\/ returning the title of the row is likely\n \/\/ unique enough to guarantee stability.\n\n self.setting.name \/\/ Something like \"Location Services\".\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Very unique.\n self.model.serverID\n }\n}\n```\n\n### Identifier Leverages The Type System\nYour ``ItemContent\/identifierValue-swift.property`` gets wrapped up in an `Identifier`\nwhen it used by the list to unique the item, control its lifetime, and identify it across update operations. This\nadditional type information is used to further unique the identifier. You do not need to provide any\nadditional type-salting and uniquing information in your ``ItemContent\/identifierValue-swift.property`` besides the value from your content.\n\nEven once the ``Identifier`` is type-erased to ``AnyIdentifier``, this type information is retained:\n```swift\nlet first : AnyIdentifier = Identifier(\"a-value\")\nlet second : AnyIdentifier = Identifier(\"a-value\")\n\nlet isEqual = first == second \/\/ false\n```\n\nIn practical terms, this means that your ``ItemContent\/identifierValue-swift.property`` implementation should be:\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Not needed: Type information will be encoded into the Identifier.\n \"MyItemContent-\\(model.serverID)\"\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let model : Model\n\n var identifierValue : searchText {\n \/\/ ✅ Good! No need for the string interpolation.\n model.serverID\n }\n}\n```", - "key.doc.column" : 9, - "key.doc.declaration" : "var identifierValue: IdentifierValue { get }", - "key.doc.discussion" : [ - { - "Para" : "This value must be stable. Changing the `identifier` will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and . Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one." - }, - { - "CodeListing" : "" - }, - { - "Para" : "While identifiers do need to be , they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier." - }, - { - "Para" : "If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model." - }, - { - "Para" : "Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”)." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Your `ItemContent\/identifierValue-swift.property` gets wrapped up in an `Identifier` when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your `ItemContent\/identifierValue-swift.property` besides the value from your content." - }, - { - "Para" : "Even once the `Identifier` is type-erased to `AnyIdentifier`, this type information is retained:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In practical terms, this means that your `ItemContent\/identifierValue-swift.property` implementation should be:" - }, - { - "CodeListing" : "" - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "identifierValue<\/Name>s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp<\/USR>var identifierValue: IdentifierValue { get }<\/Declaration>Used to unique the item, control its lifetime, and identify it across update operations.<\/Para><\/Abstract>]]><\/rawHTML>Identifier Stability]]><\/rawHTML>This value must be stable. Changing the identifier<\/codeVoice> will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and independent of the value the control is currently representing<\/bold>. Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Uniqueness]]><\/rawHTML>While identifiers do need to be stable<\/emphasis>, they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier.<\/Para>If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model.<\/Para>Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”).<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Leverages The Type System]]><\/rawHTML>Your ItemContent\/identifierValue-swift.property<\/codeVoice> gets wrapped up in an Identifier<YourItemContent, IdentifierValue><\/codeVoice> when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your ItemContent\/identifierValue-swift.property<\/codeVoice> besides the value from your content.<\/Para>Even once the Identifier<\/codeVoice> is type-erased to AnyIdentifier<\/codeVoice>, this type information is retained:<\/Para>(\"a-value\")]]><\/zCodeLineNumbered>(\"a-value\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In practical terms, this means that your ItemContent\/identifierValue-swift.property<\/codeVoice> implementation should be:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 235, - "key.doc.name" : "identifierValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifierValue<\/decl.name>: AnyHashable<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 78, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "identifierValue", - "key.namelength" : 15, - "key.nameoffset" : 2662, - "key.offset" : 2658, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp" - } - ], - "key.parsed_declaration" : "public var identifierValue: AnyHashable", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.typename" : "AnyHashable", - "key.typeusr" : "$ss11AnyHashableVD", - "key.usr" : "s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func apply(to views: ItemContentViews<\/Type><`Self`>, for reason: ApplyReason<\/Type>, with info: ApplyItemContentInfo<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2746 - } - ], - "key.bodylength" : 60, - "key.bodyoffset" : 2863, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when rendering the content. This is where you should push data from your\ncontent into the passed in views.\n\nDo not retain a reference to the passed in views – they are reused by the list.\n", - "key.doc.column" : 10, - "key.doc.declaration" : "func apply(to views: ItemContentViews, for reason: ApplyReason, with info: ApplyItemContentInfo)", - "key.doc.discussion" : [ - { - "Para" : "Do not retain a reference to the passed in views – they are reused by the list." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "apply(to:for:with:)<\/Name>s:10ListableUI11ItemContentP5apply2to3for4withyAA0cD5ViewsVyxG_AA11ApplyReasonOAA0jcD4InfoVtF<\/USR>func apply(to views: ItemContentViews<Self>, for reason: ApplyReason, with info: ApplyItemContentInfo)<\/Declaration>Called when rendering the content. This is where you should push data from your content into the passed in views.<\/Para><\/Abstract>Do not retain a reference to the passed in views – they are reused by the list.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 338, - "key.doc.name" : "apply(to:for:with:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> views<\/decl.var.parameter.name>: ItemContentViews<\/ref.struct><`Self`><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 171, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 99, - "key.nameoffset" : 2758, - "key.offset" : 2753, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP5apply2to3for4withyAA0cD5ViewsVyxG_AA11ApplyReasonOAA0jcD4InfoVtF" - } - ], - "key.parsed_declaration" : "public func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(EmbeddedList) -> (ItemContentViews, ApplyReason, ApplyItemContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withy10ListableUI16ItemContentViewsVyAD12EmbeddedListVG_AD11ApplyReasonOAD0kfG4InfoVtcD", - "key.usr" : "s:10ListableUI11ItemContentP5apply2to3for4withyAA0cD5ViewsVyxG_AA11ApplyReasonOAA0jcD4InfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func isEquivalent(to other: EmbeddedList<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2934 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 2996, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used by the list to determine when the content of the item has changed; in order to\nremeasure the item and re-layout the list.\n\nYou should return `false` from this method when any content within your item that\naffects visual appearance or layout (and in particular, sizing) changes. When the list\nreceives `false` back from this method, it will invalidate any cached sizing it has stored\nfor the item, and re-measure + re-layout the content.\n\n```swift\nstruct MyItemContent : ItemContent, Equatable {\n\n var identifierValue : UUID\n var title : String\n var detail : String\n var theme : MyTheme\n var onTapDetail : () -> ()\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing checks for title and detail.\n \/\/ If they change, they likely affect sizing,\n \/\/ which would result in incorrect item sizing.\n\n self.theme == other.theme\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing check for theme.\n \/\/ If the theme changed; its likely that the device's\n \/\/ accessibility settings changed; dark mode was enabled,\n \/\/ etc. All of these can affect the appearance or sizing\n \/\/ of the item.\n\n self.title == other.title &&\n self.detail == other.detail\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ ✅ Checking all parameters which can affect appearance + layout.\n \/\/ Not checking identifierValue or onTapDetail, since they do not affect appearance + layout.\n\n self.theme == other.theme &&\n self.title == other.title &&\n self.detail == other.detail\n }\n}\n\nstruct MyItemContent : ItemContent, Equatable {\n \/\/ ✅ Nothing else needed!\n \/\/ `Equatable` conformance provides `isEquivalent(to:) for free!`\n}\n```\n\n#### Note\nIf your ``ItemContent`` conforms to ``Equatable``, there is a default\nimplementation of this method which simply returns `self == other`.\n", - "key.doc.column" : 10, - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "You should return `false` from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives `false` back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If your `ItemContent` conforms to `Equatable`, there is a default implementation of this method which simply returns `self == other`." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>Used by the list to determine when the content of the item has changed; in order to remeasure the item and re-layout the list.<\/Para><\/Abstract>You should return false<\/codeVoice> from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives false<\/codeVoice> back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ()]]><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>If your ItemContent<\/codeVoice> conforms to Equatable<\/codeVoice>, there is a default implementation of this method which simply returns self == other<\/codeVoice>.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 298, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: EmbeddedList<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 36, - "key.nameoffset" : 2946, - "key.offset" : 2941, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF" - } - ], - "key.parsed_declaration" : "public func isEquivalent(to other: EmbeddedList) -> Bool", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(EmbeddedList) -> (EmbeddedList) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI12EmbeddedListV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func createReusableContentView(frame: CGRect<\/Type>) -> ListView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3033 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 3111, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new content view used to render the content.\n\n### Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableContentView(frame: CGRect) -> ContentView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableContentView(frame:)<\/Name>s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ<\/USR>static func createReusableContentView(frame: CGRect) -> ContentView<\/Declaration>Create and return a new content view used to render the content.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 375, - "key.doc.name" : "createReusableContentView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableContentView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListView<\/ref.class><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 108, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "createReusableContentView(frame:)", - "key.namelength" : 41, - "key.nameoffset" : 3052, - "key.offset" : 3040, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ" - } - ], - "key.parsed_declaration" : "public static func createReusableContentView(frame : CGRect) -> ListView", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(EmbeddedList.Type) -> (CGRect) -> ListView", - "key.typeusr" : "$s5frame10ListableUI8ListViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "EmbeddedList.Type", - "key.typeusr" : "$s10ListableUI12EmbeddedListVmD", - "key.usr" : "s:10ListableUI12EmbeddedListV" - }, - { - "key.annotated_decl" : "public struct EmbeddedList : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 812, - "key.bodyoffset" : 3177, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes item content which can be used to embed a list inside another list,\nfor example if you'd like to place a horizontally scrollable list within a vertically scrolling\nlist, or vice versa.\n\nYou rarely use this type directly. Instead, use the static `.list` function on `Item`.\n\nInternal TODO: This should use a coordinator to manage the scroll position of the contained list\nduring cell reuse.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct EmbeddedList : ItemContent", - "key.doc.discussion" : [ - { - "Para" : "You rarely use this type directly. Instead, use the static `.list` function on `Item`." - }, - { - "Para" : "Internal TODO: This should use a coordinator to manage the scroll position of the contained list during cell reuse." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.doc.full_as_xml" : "EmbeddedList<\/Name>s:10ListableUI12EmbeddedListV<\/USR>public struct EmbeddedList : ItemContent<\/Declaration>Describes item content which can be used to embed a list inside another list, for example if you’d like to place a horizontally scrollable list within a vertically scrolling list, or vice versa.<\/Para><\/Abstract>You rarely use this type directly. Instead, use the static .list<\/codeVoice> function on Item<\/codeVoice>.<\/Para>Internal TODO: This should use a coordinator to manage the scroll position of the contained list during cell reuse.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 60, - "key.doc.name" : "EmbeddedList", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> EmbeddedList<\/decl.name> : ItemContent<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 837, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "EmbeddedList", - "key.namelength" : 12, - "key.nameoffset" : 3163, - "key.offset" : 3153, - "key.parsed_declaration" : "extension EmbeddedList", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Sizing : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3418 - } - ], - "key.bodylength" : 533, - "key.bodyoffset" : 3454, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How you specify sizing for an embedded list. The surface area\nof this `Sizing` enum is intentionally reduced from the standard `Sizing`\nenum, because several of those values do not make sense for embedded lists.", - "key.doc.column" : 17, - "key.doc.comment" : "How you specify sizing for an embedded list. The surface area\nof this `Sizing` enum is intentionally reduced from the standard `Sizing`\nenum, because several of those values do not make sense for embedded lists.", - "key.doc.declaration" : "public enum Sizing : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.doc.full_as_xml" : "Sizing<\/Name>s:10ListableUI12EmbeddedListV6SizingO<\/USR>public enum Sizing : Equatable<\/Declaration>How you specify sizing for an embedded list. The surface area of this Sizing<\/codeVoice> enum is intentionally reduced from the standard Sizing<\/codeVoice> enum, because several of those values do not make sense for embedded lists.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 126, - "key.doc.name" : "Sizing", - "key.doc.type" : "Other", - "key.doclength" : 232, - "key.docoffset" : 3182, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3439 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sizing<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 563, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "Sizing", - "key.namelength" : 6, - "key.nameoffset" : 3430, - "key.offset" : 3425, - "key.parsed_declaration" : "public enum Sizing : Equatable", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 56, - "key.offset" : 3742, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fixed(width: CGFloat<\/Type> = 0.0, height: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A fixed size item with the given width or height.\n\nNote: Depending on the list layout type, only one of width or height may be used.\nEg, for list layouts, vertical lists only use the height, and horizontal lists only use the width.", - "key.doc.column" : 14, - "key.doc.comment" : "A fixed size item with the given width or height.\n\nNote: Depending on the list layout type, only one of width or height may be used.\nEg, for list layouts, vertical lists only use the height, and horizontal lists only use the width.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "Note: Depending on the list layout type, only one of width or height may be used. Eg, for list layouts, vertical lists only use the height, and horizontal lists only use the width." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.doc.full_as_xml" : "fixed(width:height:)<\/Name>s:10ListableUI12EmbeddedListV6SizingO5fixedyAE14CoreFoundation7CGFloatV_AItcAEmF<\/USR><\/Declaration>A fixed size item with the given width or height.<\/Para><\/Abstract>Note: Depending on the list layout type, only one of width or height may be used. Eg, for list layouts, vertical lists only use the height, and horizontal lists only use the width.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 132, - "key.doc.name" : "fixed(width:height:)", - "key.doc.type" : "Other", - "key.doclength" : 271, - "key.docoffset" : 3463, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name>(width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 51, - "key.line" : 132, - "key.modulename" : "ListableUI", - "key.name" : "fixed(width:height:)", - "key.namelength" : 51, - "key.nameoffset" : 3747, - "key.offset" : 3747, - "key.parsed_declaration" : "case fixed(width: CGFloat = 0.0, height : CGFloat = 0.0)", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(EmbeddedList.Sizing.Type) -> (CGFloat, CGFloat) -> EmbeddedList.Sizing", - "key.typeusr" : "$sy10ListableUI12EmbeddedListV6SizingO14CoreFoundation7CGFloatV_AHtcAEmcD", - "key.usr" : "s:10ListableUI12EmbeddedListV6SizingO5fixedyAE14CoreFoundation7CGFloatV_AItcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var toStandardSizing: ListableUI.Sizing<\/Type> { get }<\/Declaration>", - "key.bodylength" : 123, - "key.bodyoffset" : 3858, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/EmbeddedList.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toStandardSizing<\/decl.name>: ListableUI.Sizing<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 166, - "key.line" : 134, - "key.modulename" : "ListableUI", - "key.name" : "toStandardSizing", - "key.namelength" : 16, - "key.nameoffset" : 3820, - "key.offset" : 3816, - "key.parsed_declaration" : "var toStandardSizing : ListableUI.Sizing", - "key.parsed_scope.end" : 138, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI12EmbeddedListV6SizingO010toStandardE0AaDOvp" - } - ], - "key.typename" : "EmbeddedList.Sizing.Type", - "key.typeusr" : "$s10ListableUI12EmbeddedListV6SizingOmD", - "key.usr" : "s:10ListableUI12EmbeddedListV6SizingO" - } - ], - "key.typename" : "EmbeddedList.Type", - "key.typeusr" : "$s10ListableUI12EmbeddedListVmD", - "key.usr" : "s:10ListableUI12EmbeddedListV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1886, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListEnvironment<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1187 - } - ], - "key.bodylength" : 665, - "key.bodyoffset" : 1218, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An environment of keys and values that are passed to every `ItemContent` and `HeaderFooter`\nduring layout and measurement, to allow passing down data.\n\nThis type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`,\nand then provide a custom getter and setter to read and write the content:\n\n```\nenum MyLayoutTypeKey : ListEnvironmentKey {\n var defaultValue : MyLayoutType {\n .defaultLayout\n }\n}\n\nextension ListEnvironment {\n var myLayoutType : MyLayoutType {\n get { self[MyLayoutTypeKey.self] }\n set { self[MyLayoutTypeKey.self] = newValue }\n }\n}\n```\n\nYou can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`'s\n`apply(to:for:with:)` methods.\n\n```\nfunc apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n) {\n switch info.environment.myLayoutType {\n ...\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "An environment of keys and values that are passed to every `ItemContent` and `HeaderFooter`\nduring layout and measurement, to allow passing down data.\n\nThis type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`,\nand then provide a custom getter and setter to read and write the content:\n\n```\nenum MyLayoutTypeKey : ListEnvironmentKey {\n var defaultValue : MyLayoutType {\n .defaultLayout\n }\n}\n\nextension ListEnvironment {\n var myLayoutType : MyLayoutType {\n get { self[MyLayoutTypeKey.self] }\n set { self[MyLayoutTypeKey.self] = newValue }\n }\n}\n```\n\nYou can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`'s\n`apply(to:for:with:)` methods.\n\n```\nfunc apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n) {\n switch info.environment.myLayoutType {\n ...\n }\n}\n```", - "key.doc.declaration" : "public struct ListEnvironment", - "key.doc.discussion" : [ - { - "Para" : "This type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`, and then provide a custom getter and setter to read and write the content:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`’s `apply(to:for:with:)` methods." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "ListEnvironment<\/Name>s:10ListableUI15ListEnvironmentV<\/USR>public struct ListEnvironment<\/Declaration>An environment of keys and values that are passed to every ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice> during layout and measurement, to allow passing down data.<\/Para><\/Abstract>This type is similar to the SwiftUI or Blueprint Environment<\/codeVoice>, where you define a ListEnvironmentKey<\/codeVoice>, and then provide a custom getter and setter to read and write the content:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can retrieve the ListEnvironment<\/codeVoice> through the info<\/codeVoice> object passed in ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice>’s apply(to:for:with:)<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered>,]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 44, - "key.doc.name" : "ListEnvironment", - "key.doc.type" : "Class", - "key.doclength" : 1092, - "key.docoffset" : 95, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListEnvironment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 690, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "ListEnvironment", - "key.namelength" : 15, - "key.nameoffset" : 1201, - "key.offset" : 1194, - "key.parsed_declaration" : "public struct ListEnvironment", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let empty: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1342 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A default \"empty\" environment, with no values overridden.\nEach key will return its default value.", - "key.doc.column" : 23, - "key.doc.comment" : "A default \"empty\" environment, with no values overridden.\nEach key will return its default value.", - "key.doc.declaration" : "public static let empty: ListableUI.ListEnvironment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "empty<\/Name>s:10ListableUI15ListEnvironmentV5emptyACvpZ<\/USR>public static let empty: ListableUI.ListEnvironment<\/Declaration>A default “empty” environment, with no values overridden. Each key will return its default value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 48, - "key.doc.name" : "empty", - "key.doc.type" : "Other", - "key.doclength" : 110, - "key.docoffset" : 1228, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> empty<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 36, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "empty", - "key.namelength" : 5, - "key.nameoffset" : 1360, - "key.offset" : 1349, - "key.parsed_declaration" : "public static let empty = ListEnvironment()", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI15ListEnvironmentV5emptyACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<Key>(key: Key<\/Type>.Type) -> Key<\/Type>.Value<\/Type> where Key<\/Type> : ListEnvironmentKey<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1445 - } - ], - "key.bodylength" : 296, - "key.bodyoffset" : 1526, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Gets or sets an environment value by its key.", - "key.doc.column" : 12, - "key.doc.comment" : "Gets or sets an environment value by its key.", - "key.doc.declaration" : "public subscript(key: Key.Type) -> Key.Value where Key : ListableUI.ListEnvironmentKey { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "subscript(_:)<\/Name>s:10ListableUI15ListEnvironmentVy5ValueQzxmcAA0cD3KeyRzluip<\/USR>public subscript<Key>(key: Key.Type) -> Key.Value where Key : ListableUI.ListEnvironmentKey { get set }<\/Declaration>Gets or sets an environment value by its key.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 51, - "key.doc.name" : "subscript(_:)", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 1391, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><Key<\/decl.generic_type_param.name><\/decl.generic_type_param>>(key<\/decl.var.parameter.name>: Key<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> Key<\/ref.generic_type_param>.Value<\/ref.associatedtype><\/decl.function.returntype> where<\/syntaxtype.keyword> Key<\/ref.generic_type_param> : ListEnvironmentKey<\/ref.protocol><\/decl.generic_type_requirement> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 371, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "subscript(_:)", - "key.namelength" : 29, - "key.nameoffset" : 1452, - "key.offset" : 1452, - "key.parsed_declaration" : "public subscript(key: Key.Type) -> Key.Value where Key: ListEnvironmentKey", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.substructure" : [ - { - "key.annotated_decl" : "Key<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "Key<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 3, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "Key", - "key.namelength" : 3, - "key.nameoffset" : 1462, - "key.offset" : 1462, - "key.parsed_declaration" : "public subscript (Key.Type) -> Key.Value", - "key.typeusr" : "$sy5ValueQzxmc10ListableUI18ListEnvironmentKeyRzluD", - "key.usr" : "s:10ListableUI15ListEnvironmentVy5ValueQzxmcAA0cD3KeyRzluip" - }, - { - "key.annotated_decl" : "let objectId: ObjectIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> objectId<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "objectId", - "key.namelength" : 8, - "key.nameoffset" : 1557, - "key.offset" : 1553, - "key.parsed_declaration" : "let objectId = ObjectIdentifier(key)", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI15ListEnvironmentVy5ValueQzxmcAA0cD3KeyRzluig8objectIdL_SOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var values: [ObjectIdentifier<\/Type> : Any]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1833 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> values<\/decl.name>: [ObjectIdentifier<\/ref.struct> : Any<\/syntaxtype.keyword>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "values", - "key.namelength" : 6, - "key.nameoffset" : 1845, - "key.offset" : 1841, - "key.parsed_declaration" : "private var values: [ObjectIdentifier: Any] = [:]", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ObjectIdentifier : Any]", - "key.typeusr" : "$sSDySOypGD", - "key.usr" : "s:10ListableUI15ListEnvironmentV6values33_E2BBBD1B174472683F6C63A6F1DB6EC2LLSDySOypGvp" - } - ], - "key.typename" : "ListEnvironment.Type", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVmD", - "key.usr" : "s:10ListableUI15ListEnvironmentV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 520, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListEnvironmentKey<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 245 - } - ], - "key.bodylength" : 237, - "key.bodyoffset" : 281, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Defines a value stored in the `ListEnvironment` of a list.\n\nSee `ListEnvironment` for more info and examples.", - "key.doc.column" : 17, - "key.doc.comment" : "Defines a value stored in the `ListEnvironment` of a list.\n\nSee `ListEnvironment` for more info and examples.", - "key.doc.declaration" : "public protocol ListEnvironmentKey", - "key.doc.discussion" : [ - { - "Para" : "See `ListEnvironment` for more info and examples." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "ListEnvironmentKey<\/Name>s:10ListableUI18ListEnvironmentKeyP<\/USR>public protocol ListEnvironmentKey<\/Declaration>Defines a value stored in the ListEnvironment<\/codeVoice> of a list.<\/Para><\/Abstract>See ListEnvironment<\/codeVoice> for more info and examples.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "ListEnvironmentKey", - "key.doc.type" : "Class", - "key.doclength" : 121, - "key.docoffset" : 124, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListEnvironmentKey<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 267, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "ListEnvironmentKey", - "key.namelength" : 18, - "key.nameoffset" : 261, - "key.offset" : 252, - "key.parsed_declaration" : "public protocol ListEnvironmentKey", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype Value<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of value stored by this key.", - "key.doc.column" : 20, - "key.doc.comment" : "The type of value stored by this key.", - "key.doc.declaration" : "associatedtype Value", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "Value<\/Name>s:10ListableUI18ListEnvironmentKeyP5ValueQa<\/USR>associatedtype Value<\/Declaration>The type of value stored by this key.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "Value", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 291, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> Value<\/decl.name><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 20, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 352, - "key.offset" : 337, - "key.parsed_declaration" : "associatedtype Value", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.Value.Type", - "key.typeusr" : "$s5ValueQzmD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP5ValueQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var defaultValue: Self<\/Type>.Value<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 511, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value has been set.", - "key.doc.column" : 16, - "key.doc.comment" : "The default value that will be vended by an `Environment` for this key if no other value has been set.", - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.doclength" : 107, - "key.docoffset" : 363, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Self<\/ref.generic_type_param>.Value<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 43, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 485, - "key.offset" : 474, - "key.parsed_declaration" : "static var defaultValue: Self.Value", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.Value", - "key.typeusr" : "$s5ValueQzD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.typename" : "ListEnvironmentKey.Type", - "key.typeusr" : "$s10ListableUI18ListEnvironmentKey_pmD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 903, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyHeaderFooter : AnyHeaderFooterConvertible<\/Type>, AnyHeaderFooter_Internal<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 127 - } - ], - "key.bodylength" : 193, - "key.bodyoffset" : 215, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 26, - "key.offset" : 161 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 189 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyHeaderFooter<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol>, AnyHeaderFooter_Internal<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyHeaderFooterConvertible" - }, - { - "key.name" : "AnyHeaderFooter_Internal" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 275, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "AnyHeaderFooter", - "key.namelength" : 15, - "key.nameoffset" : 143, - "key.offset" : 134, - "key.parsed_declaration" : "public protocol AnyHeaderFooter : AnyHeaderFooterConvertible, AnyHeaderFooter_Internal", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var anyContent: Any { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 242, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyContent<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "anyContent", - "key.namelength" : 10, - "key.nameoffset" : 224, - "key.offset" : 220, - "key.parsed_declaration" : "var anyContent : Any", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI15AnyHeaderFooterP10anyContentypvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var sizing: Sizing<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 279, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 262, - "key.offset" : 258, - "key.parsed_declaration" : "var sizing : Sizing", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI15AnyHeaderFooterP6sizingAA6SizingOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var layouts: HeaderFooterLayouts<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 329, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layouts<\/decl.name>: HeaderFooterLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 298, - "key.offset" : 294, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP7layoutsAA0dE7LayoutsVvp" - } - ], - "key.parsed_declaration" : "var layouts : HeaderFooterLayouts", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HeaderFooterLayouts", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVD", - "key.usr" : "s:10ListableUI15AnyHeaderFooterP7layoutsAA0dE7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 401, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 353, - "key.offset" : 349, - "key.parsed_declaration" : "var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI15AnyHeaderFooterP22reappliesToVisibleViewAA09ReappliesghI0Ovp" - } - ], - "key.typename" : "AnyHeaderFooter.Type", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pmD", - "key.usr" : "s:10ListableUI15AnyHeaderFooterP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyHeaderFooter_Internal<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 412 - } - ], - "key.bodylength" : 447, - "key.bodyoffset" : 454, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyHeaderFooter_Internal<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 483, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "AnyHeaderFooter_Internal", - "key.namelength" : 24, - "key.nameoffset" : 428, - "key.offset" : 419, - "key.parsed_declaration" : "public protocol AnyHeaderFooter_Internal", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var isStickySectionHeader: Bool<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 494, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isStickySectionHeader<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "isStickySectionHeader", - "key.namelength" : 21, - "key.nameoffset" : 463, - "key.offset" : 459, - "key.parsed_declaration" : "var isStickySectionHeader : Bool?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP015isStickySectionD0SbSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var layouts: HeaderFooterLayouts<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 545, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layouts<\/decl.name>: HeaderFooterLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 514, - "key.offset" : 510, - "key.parsed_declaration" : "var layouts : HeaderFooterLayouts", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterLayouts", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP7layoutsAA0dE7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func apply(to headerFooterView: UIView<\/Type>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> headerFooterView<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 138, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 133, - "key.nameoffset" : 566, - "key.offset" : 561, - "key.parsed_declaration" : "func apply(\n to headerFooterView : UIView,\n for reason : ApplyReason,\n with info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UIView, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withySo6UIViewC_10ListableUI11ApplyReasonOAF0G23HeaderFooterContentInfoVtcD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP5apply2to3for4withySo6UIViewC_AA11ApplyReasonOAA0ldE11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func anyIsEquivalent(to other: AnyHeaderFooter<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> anyIsEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyHeaderFooter<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 56, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "anyIsEquivalent(to:)", - "key.namelength" : 43, - "key.nameoffset" : 714, - "key.offset" : 709, - "key.parsed_declaration" : "func anyIsEquivalent(to other : AnyHeaderFooter) -> Bool", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyHeaderFooter) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI15AnyHeaderFooter_p_tcD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP15anyIsEquivalent2toSbAA0cdE0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func newPresentationHeaderFooterState(kind: SupplementaryKind<\/Type>, performsContentCallbacks: Bool<\/Type>) -> Any<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooter.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> newPresentationHeaderFooterState<\/decl.name>(kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Any<\/syntaxtype.keyword><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "newPresentationHeaderFooterState(kind:performsContentCallbacks:)", - "key.namelength" : 113, - "key.nameoffset" : 780, - "key.offset" : 775, - "key.parsed_declaration" : "func newPresentationHeaderFooterState(\n kind : SupplementaryKind,\n performsContentCallbacks : Bool\n) -> Any", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (SupplementaryKind, Bool) -> Any", - "key.typeusr" : "$s4kind24performsContentCallbacksyp10ListableUI17SupplementaryKindO_SbtcD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP015newPresentationdE5State4kind24performsContentCallbacksypAA17SupplementaryKindO_SbtF" - } - ], - "key.typename" : "AnyHeaderFooter_Internal.Type", - "key.typeusr" : "$s10ListableUI24AnyHeaderFooter_Internal_pmD", - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1050, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyHeaderFooterConvertible<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 873 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 917, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type which can be converted into a `HeaderFooter`, so you\ndo not need to explicitly wrap \/ convert your `HeaderFooterContent`\nin a `HeaderFooter` when providing an header or footer to a list or section:\n\n```\nSection(\"id\") { section in\n section.header = MyHeaderContent(title: \"Hello, World!\")\n}\n\nstruct MyHeaderContent : HeaderFooterContent {\n var title : String\n ...\n}\n```\n\nOnly two types conform to this protocol:\n\n### `HeaderFooter`\nThe `HeaderFooter` conformance simply returns self.\n\n### `HeaderFooterContent`\nThe `HeaderFooterContent` conformance returns `HeaderFooter(self)`,\nutilizing the default values from the `HeaderFooter` initializer.\n", - "key.doc.column" : 17, - "key.doc.comment" : "A type which can be converted into a `HeaderFooter`, so you\ndo not need to explicitly wrap \/ convert your `HeaderFooterContent`\nin a `HeaderFooter` when providing an header or footer to a list or section:\n\n```\nSection(\"id\") { section in\n section.header = MyHeaderContent(title: \"Hello, World!\")\n}\n\nstruct MyHeaderContent : HeaderFooterContent {\n var title : String\n ...\n}\n```\n\nOnly two types conform to this protocol:\n\n### `HeaderFooter`\nThe `HeaderFooter` conformance simply returns self.\n\n### `HeaderFooterContent`\nThe `HeaderFooterContent` conformance returns `HeaderFooter(self)`,\nutilizing the default values from the `HeaderFooter` initializer.", - "key.doc.declaration" : "public protocol AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "Only two types conform to this protocol:" - }, - { - "Para" : "The `HeaderFooter` conformance simply returns self." - }, - { - "Para" : "The `HeaderFooterContent` conformance returns `HeaderFooter(self)`, utilizing the default values from the `HeaderFooter` initializer." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.doc.full_as_xml" : "AnyHeaderFooterConvertible<\/Name>s:10ListableUI26AnyHeaderFooterConvertibleP<\/USR>public protocol AnyHeaderFooterConvertible<\/Declaration>A type which can be converted into a HeaderFooter<\/codeVoice>, so you do not need to explicitly wrap \/ convert your HeaderFooterContent<\/codeVoice> in a HeaderFooter<\/codeVoice> when providing an header or footer to a list or section:<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Only two types conform to this protocol:<\/Para>]]><\/rawHTML>HeaderFooter<\/codeVoice>]]><\/rawHTML>The HeaderFooter<\/codeVoice> conformance simply returns self.<\/Para>]]><\/rawHTML>HeaderFooterContent<\/codeVoice>]]><\/rawHTML>The HeaderFooterContent<\/codeVoice> conformance returns HeaderFooter(self)<\/codeVoice>, utilizing the default values from the HeaderFooter<\/codeVoice> initializer.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 35, - "key.doc.name" : "AnyHeaderFooterConvertible", - "key.doc.type" : "Class", - "key.doclength" : 749, - "key.docoffset" : 124, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyHeaderFooterConvertible<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 167, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "AnyHeaderFooterConvertible", - "key.namelength" : 26, - "key.nameoffset" : 889, - "key.offset" : 880, - "key.parsed_declaration" : "public protocol AnyHeaderFooterConvertible", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func asAnyHeaderFooter() -> AnyHeaderFooter<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyHeaderFooter` instance.", - "key.doc.column" : 10, - "key.doc.comment" : "Converts the object into a type-erased `AnyHeaderFooter` instance.", - "key.doc.declaration" : "func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.doc.full_as_xml" : "asAnyHeaderFooter()<\/Name>s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF<\/USR>func asAnyHeaderFooter() -> AnyHeaderFooter<\/Declaration>Converts the object into a type-erased AnyHeaderFooter<\/codeVoice> instance.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 38, - "key.doc.name" : "asAnyHeaderFooter()", - "key.doc.type" : "Function", - "key.doclength" : 71, - "key.docoffset" : 927, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> asAnyHeaderFooter<\/decl.name>() -> AnyHeaderFooter<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 43, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "asAnyHeaderFooter()", - "key.namelength" : 19, - "key.nameoffset" : 1007, - "key.offset" : 1002, - "key.parsed_declaration" : "func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> any AnyHeaderFooter", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pycD", - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF" - } - ], - "key.typename" : "AnyHeaderFooterConvertible.Type", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pmD", - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1872, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct DefaultHeaderFooterProperties<ContentType> where ContentType<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 645 - } - ], - "key.bodylength" : 1147, - "key.bodyoffset" : 723, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows specifying default properties to apply to a header \/ footer when it is initialized,\nif those values are not provided to the initializer.\nOnly non-nil values are used – if you do not want to provide a default value,\nsimply leave the property nil.\n\nThe order of precedence used when assigning values is:\n1) The value passed to the initializer.\n2) The value from `defaultHeaderFooterProperties` on the contained `HeaderFooterContent`, if non-nil.\n3) A standard, default value.", - "key.doc.column" : 15, - "key.doc.comment" : "Allows specifying default properties to apply to a header \/ footer when it is initialized,\nif those values are not provided to the initializer.\nOnly non-nil values are used – if you do not want to provide a default value,\nsimply leave the property nil.\n\nThe order of precedence used when assigning values is:\n1) The value passed to the initializer.\n2) The value from `defaultHeaderFooterProperties` on the contained `HeaderFooterContent`, if non-nil.\n3) A standard, default value.", - "key.doc.declaration" : "public struct DefaultHeaderFooterProperties where ContentType : ListableUI.HeaderFooterContent", - "key.doc.discussion" : [ - { - "Para" : "The order of precedence used when assigning values is:" - }, - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.doc.full_as_xml" : "DefaultHeaderFooterProperties<\/Name>s:10ListableUI29DefaultHeaderFooterPropertiesV<\/USR>public struct DefaultHeaderFooterProperties<ContentType> where ContentType : ListableUI.HeaderFooterContent<\/Declaration>Allows specifying default properties to apply to a header \/ footer when it is initialized, if those values are not provided to the initializer. Only non-nil values are used – if you do not want to provide a default value, simply leave the property nil.<\/Para><\/Abstract>The order of precedence used when assigning values is:<\/Para>The value passed to the initializer.<\/Para><\/Item>The value from defaultHeaderFooterProperties<\/codeVoice> on the contained HeaderFooterContent<\/codeVoice>, if non-nil.<\/Para><\/Item>A standard, default value.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 20, - "key.doc.name" : "DefaultHeaderFooterProperties", - "key.doc.type" : "Class", - "key.doclength" : 518, - "key.docoffset" : 127, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> DefaultHeaderFooterProperties<\/decl.name><ContentType<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> ContentType<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1219, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "DefaultHeaderFooterProperties", - "key.namelength" : 29, - "key.nameoffset" : 659, - "key.offset" : 652, - "key.parsed_declaration" : "public struct DefaultHeaderFooterProperties", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ContentType : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 45, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 701 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "ContentType<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 31, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "ContentType", - "key.namelength" : 11, - "key.nameoffset" : 689, - "key.offset" : 689, - "key.parsed_declaration" : "public struct DefaultHeaderFooterPropertiespublic typealias DefaultHeaderFooterProperties<\/Type><ContentType<\/Type>>.HeaderFooter = ListableUI.HeaderFooter<\/Type><ContentType<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 728 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> DefaultHeaderFooterProperties<\/ref.struct><ContentType<\/ref.generic_type_param>>.HeaderFooter<\/decl.name> = ListableUI.HeaderFooter<\/ref.struct><ContentType<\/ref.generic_type_param>><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 61, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 745, - "key.offset" : 735, - "key.parsed_declaration" : "public typealias HeaderFooter = ListableUI.HeaderFooter", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV0dE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sizing: Sizing<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 806 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 817, - "key.offset" : 813, - "key.parsed_declaration" : "public var sizing : Sizing?", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing?", - "key.typeusr" : "$s10ListableUI6SizingOSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV6sizingAA6SizingOSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: HeaderFooterLayouts<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 838 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: HeaderFooterLayouts<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 849, - "key.offset" : 845, - "key.parsed_declaration" : "public var layouts : HeaderFooterLayouts?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HeaderFooterLayouts?", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV7layoutsAA0dE7LayoutsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onTap: HeaderFooter<\/Type>.OnTap<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 884 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onTap<\/decl.name>: HeaderFooter<\/ref.typealias>.OnTap<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "onTap", - "key.namelength" : 5, - "key.nameoffset" : 895, - "key.offset" : 891, - "key.parsed_declaration" : "public var onTap : HeaderFooter.OnTap?", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(() -> ())?", - "key.typeusr" : "$syycSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV5onTapyycSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDisplay: HeaderFooter<\/Type>.OnDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 927 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDisplay<\/decl.name>: HeaderFooter<\/ref.typealias>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "onDisplay", - "key.namelength" : 9, - "key.nameoffset" : 938, - "key.offset" : 934, - "key.parsed_declaration" : "public var onDisplay : HeaderFooter.OnDisplay.Callback?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((HeaderFooter.OnDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV9OnDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV9onDisplayyAA0dE0V02OnH0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onEndDisplay: HeaderFooter<\/Type>.OnEndDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 987 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onEndDisplay<\/decl.name>: HeaderFooter<\/ref.typealias>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 54, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "onEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 998, - "key.offset" : 994, - "key.parsed_declaration" : "public var onEndDisplay : HeaderFooter.OnEndDisplay.Callback?", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((HeaderFooter.OnEndDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV12OnEndDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV12onEndDisplayyAA0dE0V02OnhI0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1053 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 1064, - "key.offset" : 1060, - "key.parsed_declaration" : "public var debuggingIdentifier : String?", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV19debuggingIdentifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(sizing: Sizing<\/Type>? = nil, layouts: HeaderFooterLayouts<\/Type>? = nil, onTap: HeaderFooter<\/Type>.OnTap<\/Type>? = nil, onDisplay: HeaderFooter<\/Type>.OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: HeaderFooter<\/Type>.OnEndDisplay<\/Type>.Callback<\/Type>? = nil, debuggingIdentifier: String<\/Type>? = nil, configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1103 - } - ], - "key.bodylength" : 257, - "key.bodyoffset" : 1474, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: HeaderFooterLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onTap<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.typealias>.OnTap<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.typealias>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.typealias>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, debuggingIdentifier<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 622, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "init(sizing:layouts:onTap:onDisplay:onEndDisplay:debuggingIdentifier:configure:)", - "key.namelength" : 362, - "key.nameoffset" : 1110, - "key.offset" : 1110, - "key.parsed_declaration" : "public init(\n sizing : Sizing? = nil,\n layouts : HeaderFooterLayouts? = nil,\n onTap : HeaderFooter.OnTap? = nil,\n onDisplay : HeaderFooter.OnDisplay.Callback? = nil,\n onEndDisplay : HeaderFooter.OnEndDisplay.Callback? = nil,\n debuggingIdentifier : String? = nil,\n \n configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DefaultHeaderFooterProperties.Type) -> (Sizing?, HeaderFooterLayouts?, (() -> ())?, ((HeaderFooter.OnDisplay) -> ())?, ((HeaderFooter.OnEndDisplay) -> ())?, String?, (inout DefaultHeaderFooterProperties) -> ()) -> DefaultHeaderFooterProperties", - "key.typeusr" : "$s6sizing7layouts5onTap0C7Display0c3EndE019debuggingIdentifier9configure10ListableUI29DefaultHeaderFooterPropertiesVyxGAH6SizingOSg_AH0mN7LayoutsVSgyycSgyAH0mN0V02OnE0Vyx_GcSgyAT0rfE0Vyx_GcSgSSSgyAKzXEtcD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV6sizing7layouts5onTap0I7Display0i3EndK019debuggingIdentifier9configureACyxGAA6SizingOSg_AA0dE7LayoutsVSgyycSgyAA0dE0V02OnK0Vyx_GcSgyAT0rlK0Vyx_GcSgSSSgyAKzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func defaults(with configure: (inout `Self`) -> () = { _ in }) -> DefaultHeaderFooterProperties<\/Type><ContentType<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1742 - } - ], - "key.bodylength" : 41, - "key.bodyoffset" : 1827, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/DefaultHeaderFooterProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> defaults<\/decl.name>(with<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> DefaultHeaderFooterProperties<\/ref.struct><ContentType<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 120, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "defaults(with:)", - "key.namelength" : 56, - "key.nameoffset" : 1761, - "key.offset" : 1749, - "key.parsed_declaration" : "public static func defaults(with configure : (inout Self) -> () = { _ in }) -> Self", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DefaultHeaderFooterProperties.Type) -> ((inout DefaultHeaderFooterProperties) -> ()) -> DefaultHeaderFooterProperties", - "key.typeusr" : "$s4with10ListableUI29DefaultHeaderFooterPropertiesVyxGyAEzXE_tcD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV8defaults4withACyxGyAFzXE_tFZ" - } - ], - "key.typename" : "DefaultHeaderFooterProperties.Type", - "key.typeusr" : "$s10ListableUI29DefaultHeaderFooterPropertiesVyxGmD", - "key.usr" : "s:10ListableUI29DefaultHeaderFooterPropertiesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4804, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Header<Content> = HeaderFooter<\/Type><Content<\/Type>> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 105 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Header<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> = HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 69, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Header", - "key.namelength" : 6, - "key.nameoffset" : 122, - "key.offset" : 112, - "key.parsed_declaration" : "public typealias Header = HeaderFooter", - "key.parsed_scope.end" : 11, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 137 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 129, - "key.offset" : 129, - "key.parsed_declaration" : "public typealias HeaderContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI6Headera7Contentxmfp" - } - ], - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI6Headera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Footer<Content> = HeaderFooter<\/Type><Content<\/Type>> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 182 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Footer<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> = HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 69, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "Footer", - "key.namelength" : 6, - "key.nameoffset" : 199, - "key.offset" : 189, - "key.parsed_declaration" : "public typealias Footer = HeaderFooter", - "key.parsed_scope.end" : 12, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 214 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 206, - "key.offset" : 206, - "key.parsed_declaration" : "public typealias FooterContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI6Footera7Contentxmfp" - } - ], - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI6Footera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HeaderFooter<Content> : AnyHeaderFooter<\/Type> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 261 - } - ], - "key.bodylength" : 3046, - "key.bodyoffset" : 336, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 15, - "key.offset" : 319 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooter<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyHeaderFooter<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyHeaderFooter" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3115, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 275, - "key.offset" : 268, - "key.parsed_declaration" : "public struct HeaderFooter : AnyHeaderFooter", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 296 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 288, - "key.offset" : 288, - "key.parsed_declaration" : "public struct HeaderFooterpublic var content: Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 341 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 352, - "key.offset" : 348, - "key.parsed_declaration" : "public var content : Content", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Content", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI12HeaderFooterV7contentxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sizing: Sizing<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 379 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 390, - "key.offset" : 386, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP6sizingAA6SizingOvp" - } - ], - "key.parsed_declaration" : "public var sizing : Sizing", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI12HeaderFooterV6sizingAA6SizingOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: HeaderFooterLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 410 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: HeaderFooterLayouts<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 421, - "key.offset" : 417, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP7layoutsAA0dE7LayoutsVvp" - }, - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP7layoutsAA0dE7LayoutsVvp" - } - ], - "key.parsed_declaration" : "public var layouts : HeaderFooterLayouts", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HeaderFooterLayouts", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVD", - "key.usr" : "s:10ListableUI12HeaderFooterV7layoutsAA0cD7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias HeaderFooter<\/Type><Content<\/Type>>.OnTap = () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 460 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>>.OnTap<\/decl.name> = () -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 26, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "OnTap", - "key.namelength" : 5, - "key.nameoffset" : 477, - "key.offset" : 467, - "key.parsed_declaration" : "public typealias OnTap = () -> ()", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "(() -> ()).Type", - "key.typeusr" : "$syycmD", - "key.usr" : "s:10ListableUI12HeaderFooterV5OnTapa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onTap: OnTap<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 498 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onTap<\/decl.name>: OnTap<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "onTap", - "key.namelength" : 5, - "key.nameoffset" : 509, - "key.offset" : 505, - "key.parsed_declaration" : "public var onTap : OnTap?", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(() -> ())?", - "key.typeusr" : "$syycSgD", - "key.usr" : "s:10ListableUI12HeaderFooterV5onTapyycSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDisplay: OnDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 533 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDisplay<\/decl.name>: OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "onDisplay", - "key.namelength" : 9, - "key.nameoffset" : 544, - "key.offset" : 540, - "key.parsed_declaration" : "public var onDisplay : OnDisplay.Callback?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((HeaderFooter.OnDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV9OnDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI12HeaderFooterV9onDisplayyAC02OnF0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onEndDisplay: OnEndDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 580 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onEndDisplay<\/decl.name>: OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "onEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 591, - "key.offset" : 587, - "key.parsed_declaration" : "public var onEndDisplay : OnEndDisplay.Callback?", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((HeaderFooter.OnEndDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV12OnEndDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI12HeaderFooterV12onEndDisplayyAC02OnfG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 638 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 649, - "key.offset" : 645, - "key.parsed_declaration" : "public var debuggingIdentifier : String? = nil", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI12HeaderFooterV19debuggingIdentifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal let reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 694 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> let<\/syntaxtype.keyword> reuseIdentifier<\/decl.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "reuseIdentifier", - "key.namelength" : 15, - "key.nameoffset" : 707, - "key.offset" : 703, - "key.parsed_declaration" : "internal let reuseIdentifier : ReuseIdentifier", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "ReuseIdentifier", - "key.typeusr" : "$s10ListableUI15ReuseIdentifierCyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV15reuseIdentifierAA05ReuseF0CyxGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 769 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias HeaderFooter<\/Type><Content<\/Type>>.Configure = (inout HeaderFooter<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 806 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>>.Configure<\/decl.name> = (inout<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 48, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "Configure", - "key.namelength" : 9, - "key.nameoffset" : 823, - "key.offset" : 813, - "key.parsed_declaration" : "public typealias Configure = (inout HeaderFooter) -> ()", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.typename" : "((inout HeaderFooter) -> ()).Type", - "key.typeusr" : "$sy10ListableUI12HeaderFooterVyxGzcmD", - "key.usr" : "s:10ListableUI12HeaderFooterV9Configurea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ content: Content<\/Type>, configure: Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 871 - } - ], - "key.bodylength" : 66, - "key.bodyoffset" : 950, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 139, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "init(_:configure:)", - "key.namelength" : 70, - "key.nameoffset" : 878, - "key.offset" : 878, - "key.parsed_declaration" : "public init(\n _ content : Content,\n configure : Configure\n)", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 38, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:sizing:layouts:onTap:onDisplay:onEndDisplay:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooter.Type) -> (Content, (inout HeaderFooter) -> ()) -> HeaderFooter", - "key.typeusr" : "$s_9configure10ListableUI12HeaderFooterVyxGx_yAEzXEtcD", - "key.usr" : "s:10ListableUI12HeaderFooterV_9configureACyxGx_yAEzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ content: Content<\/Type>, sizing: Sizing<\/Type>? = nil, layouts: HeaderFooterLayouts<\/Type>? = nil, onTap: OnTap<\/Type>? = nil, onDisplay: OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: OnEndDisplay<\/Type>.Callback<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1027 - } - ], - "key.bodylength" : 625, - "key.bodyoffset" : 1283, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: HeaderFooterLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onTap<\/decl.var.parameter.argument_label>: OnTap<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 875, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "init(_:sizing:layouts:onTap:onDisplay:onEndDisplay:)", - "key.namelength" : 247, - "key.nameoffset" : 1034, - "key.offset" : 1034, - "key.parsed_declaration" : "public init(\n _ content : Content,\n sizing : Sizing? = nil,\n layouts : HeaderFooterLayouts? = nil,\n onTap : OnTap? = nil,\n onDisplay : OnDisplay.Callback? = nil,\n onEndDisplay : OnEndDisplay.Callback? = nil\n)", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 47, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let defaults: DefaultHeaderFooterProperties<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> defaults<\/decl.name>: DefaultHeaderFooterProperties<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 57, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 1385, - "key.offset" : 1381, - "key.parsed_declaration" : "let defaults = self.content.defaultHeaderFooterProperties", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.typename" : "DefaultHeaderFooterProperties", - "key.typeusr" : "$s10ListableUI29DefaultHeaderFooterPropertiesVyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV_6sizing7layouts5onTap0G7Display0g3EndI0ACyxGx_AA6SizingOSgAA0cD7LayoutsVSgyycSgyAC02OnI0Vyx_GcSgyAC0mjI0Vyx_GcSgtcfc8defaultsL_AA07DefaultcD10PropertiesVyxGvp" - } - ], - "key.typename" : " (HeaderFooter.Type) -> (Content, Sizing?, HeaderFooterLayouts?, (() -> ())?, ((HeaderFooter.OnDisplay) -> ())?, ((HeaderFooter.OnEndDisplay) -> ())?) -> HeaderFooter", - "key.typeusr" : "$s_6sizing7layouts5onTap0C7Display0c3EndE010ListableUI12HeaderFooterVyxGx_AF6SizingOSgAF0iJ7LayoutsVSgyycSgyAH02OnE0Vyx_GcSgyAH0mfE0Vyx_GcSgtcD", - "key.usr" : "s:10ListableUI12HeaderFooterV_6sizing7layouts5onTap0G7Display0g3EndI0ACyxGx_AA6SizingOSgAA0cD7LayoutsVSgyycSgyAC02OnI0Vyx_GcSgyAC0mjI0Vyx_GcSgtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: AnyHeaderFooter", - "key.offset" : 1922 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var anyContent: Any { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1953 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 1981, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> anyContent<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "anyContent", - "key.namelength" : 10, - "key.nameoffset" : 1964, - "key.offset" : 1960, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP10anyContentypvp" - } - ], - "key.parsed_declaration" : "public var anyContent: Any", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI12HeaderFooterV10anyContentypvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2018 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 2077, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 102, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 2029, - "key.offset" : 2025, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI15AnyHeaderFooterP22reappliesToVisibleViewAA09ReappliesghI0Ovp" - } - ], - "key.parsed_declaration" : "public var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI12HeaderFooterV22reappliesToVisibleViewAA09ReappliesfgH0Ovp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 32, - "key.name" : "MARK: AnyHeaderFooterConvertible", - "key.offset" : 2140 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func asAnyHeaderFooter() -> AnyHeaderFooter<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2182 - } - ], - "key.bodylength" : 18, - "key.bodyoffset" : 2234, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyHeaderFooter` instance.", - "key.doc.column" : 10, - "key.doc.declaration" : "func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.doc.full_as_xml" : "asAnyHeaderFooter()<\/Name>s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF<\/USR>func asAnyHeaderFooter() -> AnyHeaderFooter<\/Declaration>Converts the object into a type-erased AnyHeaderFooter<\/codeVoice> instance.<\/Para><\/Abstract>This documentation comment was inherited from AnyHeaderFooterConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 38, - "key.doc.name" : "asAnyHeaderFooter()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> asAnyHeaderFooter<\/decl.name>() -> AnyHeaderFooter<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 64, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "asAnyHeaderFooter()", - "key.namelength" : 19, - "key.nameoffset" : 2194, - "key.offset" : 2189, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF" - } - ], - "key.parsed_declaration" : "public func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.typename" : " (HeaderFooter) -> () -> any AnyHeaderFooter", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pycD", - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: AnyHeaderFooter_Internal", - "key.offset" : 2266 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isStickySectionHeader: Bool<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2306 - } - ], - "key.bodylength" : 43, - "key.bodyoffset" : 2347, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isStickySectionHeader<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 78, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "isStickySectionHeader", - "key.namelength" : 21, - "key.nameoffset" : 2317, - "key.offset" : 2313, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP015isStickySectionD0SbSgvp" - } - ], - "key.parsed_declaration" : "public var isStickySectionHeader: Bool?", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI12HeaderFooterV015isStickySectionC0SbSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func apply(to anyView: UIView<\/Type>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2401 - } - ], - "key.bodylength" : 262, - "key.bodyoffset" : 2539, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> anyView<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 394, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 124, - "key.nameoffset" : 2413, - "key.offset" : 2408, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP5apply2to3for4withySo6UIViewC_AA11ApplyReasonOAA0ldE11ContentInfoVtF" - } - ], - "key.parsed_declaration" : "public func apply(\n to anyView : UIView,\n for reason : ApplyReason,\n with info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: HeaderFooterContentView<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: HeaderFooterContentView<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 55, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 2552, - "key.offset" : 2548, - "key.parsed_declaration" : "let view = anyView as! HeaderFooterContentView", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentView", - "key.typeusr" : "$s10ListableUI23HeaderFooterContentViewCyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV5apply2to3for4withySo6UIViewC_AA11ApplyReasonOAA0jcD11ContentInfoVtF4viewL_AA0cdL4ViewCyxGvp" - }, - { - "key.annotated_decl" : "let views: HeaderFooterContentViews<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> views<\/decl.name>: HeaderFooterContentViews<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 57, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 2625, - "key.offset" : 2621, - "key.parsed_declaration" : "let views = HeaderFooterContentViews(view: view)", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentViews", - "key.typeusr" : "$s10ListableUI24HeaderFooterContentViewsVyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV5apply2to3for4withySo6UIViewC_AA11ApplyReasonOAA0jcD11ContentInfoVtF5viewsL_AA0cdL5ViewsVyxGvp" - } - ], - "key.typename" : " (HeaderFooter) -> (UIView, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withySo6UIViewC_10ListableUI11ApplyReasonOAF0G23HeaderFooterContentInfoVtcD", - "key.usr" : "s:10ListableUI12HeaderFooterV5apply2to3for4withySo6UIViewC_AA11ApplyReasonOAA0jcD11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func anyIsEquivalent(to other: AnyHeaderFooter<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2816 - } - ], - "key.bodylength" : 174, - "key.bodyoffset" : 2885, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> anyIsEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyHeaderFooter<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 237, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "anyIsEquivalent(to:)", - "key.namelength" : 43, - "key.nameoffset" : 2828, - "key.offset" : 2823, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP15anyIsEquivalent2toSbAA0cdE0_p_tF" - } - ], - "key.parsed_declaration" : "public func anyIsEquivalent(to other : AnyHeaderFooter) -> Bool", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooter) -> (any AnyHeaderFooter) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI15AnyHeaderFooter_p_tcD", - "key.usr" : "s:10ListableUI12HeaderFooterV15anyIsEquivalent2toSbAA03AnycD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func newPresentationHeaderFooterState(kind: SupplementaryKind<\/Type>, performsContentCallbacks: Bool<\/Type>) -> Any<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3070 - } - ], - "key.bodylength" : 172, - "key.bodyoffset" : 3208, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newPresentationHeaderFooterState<\/decl.name>(kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Any<\/syntaxtype.keyword><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 304, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "newPresentationHeaderFooterState(kind:performsContentCallbacks:)", - "key.namelength" : 113, - "key.nameoffset" : 3082, - "key.offset" : 3077, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyHeaderFooter_InternalP015newPresentationdE5State4kind24performsContentCallbacksypAA17SupplementaryKindO_SbtF" - } - ], - "key.parsed_declaration" : "public func newPresentationHeaderFooterState(\n kind : SupplementaryKind,\n performsContentCallbacks : Bool\n) -> Any", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooter) -> (SupplementaryKind, Bool) -> Any", - "key.typeusr" : "$s4kind24performsContentCallbacksyp10ListableUI17SupplementaryKindO_SbtcD", - "key.usr" : "s:10ListableUI12HeaderFooterV015newPresentationcD5State4kind24performsContentCallbacksypAA17SupplementaryKindO_SbtF" - } - ], - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI12HeaderFooterV" - }, - { - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.bodylength" : 1161, - "key.bodyoffset" : 3417, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1193, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 3396, - "key.offset" : 3386, - "key.parsed_declaration" : "extension HeaderFooterContent", - "key.parsed_scope.end" : 169, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func with(sizing: Sizing<\/Type>? = nil, layouts: HeaderFooterLayouts<\/Type>? = nil, onTap: HeaderFooter<\/Type><Self<\/Type>>.OnTap<\/Type>? = nil, onDisplay: HeaderFooter<\/Type><Self<\/Type>>.OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: HeaderFooter<\/Type><Self<\/Type>>.OnEndDisplay<\/Type>.Callback<\/Type>? = nil) -> HeaderFooter<\/Type><Self<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4049 - } - ], - "key.bodylength" : 212, - "key.bodyoffset" : 4364, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Identical to `HeaderFooter.init` which takes in a `HeaderFooterContent`,\nexcept you can call this on the `HeaderFooterContent` itself, instead of wrapping it,\nto avoid additional nesting, and to hoist your content up in your code.\n\n```\nSection(\"id\") { section in\n section.header = MyHeaderContent(\n title: \"Hello, World!\"\n )\n .with(\n sizing: .thatFits(.noConstraint),\n )\n\nstruct MyHeaderContent : HeaderFooterContent {\n var title : String\n ...\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "Identical to `HeaderFooter.init` which takes in a `HeaderFooterContent`,\nexcept you can call this on the `HeaderFooterContent` itself, instead of wrapping it,\nto avoid additional nesting, and to hoist your content up in your code.\n\n```\nSection(\"id\") { section in\n section.header = MyHeaderContent(\n title: \"Hello, World!\"\n )\n .with(\n sizing: .thatFits(.noConstraint),\n )\n\nstruct MyHeaderContent : HeaderFooterContent {\n var title : String\n ...\n}\n```", - "key.doc.declaration" : "public func with(sizing: Sizing? = nil, layouts: HeaderFooterLayouts? = nil, onTap: HeaderFooter.OnTap? = nil, onDisplay: HeaderFooter.OnDisplay.Callback? = nil, onEndDisplay: HeaderFooter.OnEndDisplay.Callback? = nil) -> HeaderFooter", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.doc.full_as_xml" : "with(sizing:layouts:onTap:onDisplay:onEndDisplay:)<\/Name>s:10ListableUI19HeaderFooterContentPAAE4with6sizing7layouts5onTap0I7Display0i3EndK0AA0cD0VyxGAA6SizingOSg_AA0cD7LayoutsVSgyycSgyAK02OnK0Vyx_GcSgyAK0olK0Vyx_GcSgtF<\/USR>public func with(sizing: Sizing? = nil, layouts: HeaderFooterLayouts? = nil, onTap: HeaderFooter<Self>.OnTap? = nil, onDisplay: HeaderFooter<Self>.OnDisplay.Callback? = nil, onEndDisplay: HeaderFooter<Self>.OnEndDisplay.Callback? = nil) -> HeaderFooter<Self><\/Declaration>Identical to HeaderFooter.init<\/codeVoice> which takes in a HeaderFooterContent<\/codeVoice>, except you can call this on the HeaderFooterContent<\/codeVoice> itself, instead of wrapping it, to avoid additional nesting, and to hoist your content up in your code.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 152, - "key.doc.name" : "with(sizing:layouts:onTap:onDisplay:onEndDisplay:)", - "key.doc.type" : "Function", - "key.doclength" : 618, - "key.docoffset" : 3427, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> with<\/decl.name>(sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: HeaderFooterLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onTap<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.struct><Self<\/ref.generic_type_param>>.OnTap<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.struct><Self<\/ref.generic_type_param>>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: HeaderFooter<\/ref.struct><Self<\/ref.generic_type_param>>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> HeaderFooter<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 521, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "with(sizing:layouts:onTap:onDisplay:onEndDisplay:)", - "key.namelength" : 275, - "key.nameoffset" : 4061, - "key.offset" : 4056, - "key.parsed_declaration" : "public func with(\n sizing : Sizing? = nil,\n layouts : HeaderFooterLayouts? = nil,\n onTap : HeaderFooter.OnTap? = nil,\n onDisplay : HeaderFooter.OnDisplay.Callback? = nil,\n onEndDisplay : HeaderFooter.OnEndDisplay.Callback? = nil\n) -> HeaderFooter", - "key.parsed_scope.end" : 168, - "key.parsed_scope.start" : 152, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Sizing?, HeaderFooterLayouts?, (() -> ())?, ((HeaderFooter.OnDisplay) -> ())?, ((HeaderFooter.OnEndDisplay) -> ())?) -> HeaderFooter", - "key.typeusr" : "$s6sizing7layouts5onTap0C7Display0c3EndE010ListableUI12HeaderFooterVyxGAF6SizingOSg_AF0iJ7LayoutsVSgyycSgyAH02OnE0Vyx_GcSgyAH0mfE0Vyx_GcSgtcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentPAAE4with6sizing7layouts5onTap0I7Display0i3EndK0AA0cD0VyxGAA6SizingOSg_AA0cD7LayoutsVSgyycSgyAK02OnK0Vyx_GcSgyAK0olK0Vyx_GcSgtF" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.annotated_decl" : "public struct HeaderFooter<Content> : AnyHeaderFooter<\/Type> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.bodylength" : 177, - "key.bodyoffset" : 4625, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 4607 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooter<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyHeaderFooter<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "SignpostLoggable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 221, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 4592, - "key.offset" : 4582, - "key.parsed_declaration" : "extension HeaderFooter : SignpostLoggable", - "key.parsed_scope.end" : 180, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var signpostInfo: SignpostLoggingInfo<\/Type> { get }<\/Declaration>", - "key.bodylength" : 130, - "key.bodyoffset" : 4670, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> signpostInfo<\/decl.name>: SignpostLoggingInfo<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 171, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "signpostInfo", - "key.namelength" : 12, - "key.nameoffset" : 4634, - "key.offset" : 4630, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16SignpostLoggableP12signpostInfoAA0c7LoggingF0Vvp" - } - ], - "key.parsed_declaration" : "var signpostInfo : SignpostLoggingInfo", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.typename" : "SignpostLoggingInfo", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVD", - "key.usr" : "s:10ListableUI12HeaderFooterV12signpostInfoAA015SignpostLoggingF0Vvp" - } - ], - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI12HeaderFooterV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 690, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public struct HeaderFooter<Content> : AnyHeaderFooter<\/Type> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.bodylength" : 546, - "key.bodyoffset" : 142, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooter.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooter<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyHeaderFooter<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 571, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 128, - "key.offset" : 118, - "key.parsed_declaration" : "extension HeaderFooter", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct OnDisplay<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 221 - } - ], - "key.bodylength" : 157, - "key.bodyoffset" : 250, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onDisplay` callback for `HeaderFooter`.", - "key.doc.column" : 19, - "key.doc.comment" : "Value passed to the `onDisplay` callback for `HeaderFooter`.", - "key.doc.declaration" : "public struct OnDisplay", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.doc.full_as_xml" : "OnDisplay<\/Name>s:10ListableUI12HeaderFooterV9OnDisplayV<\/USR>public struct OnDisplay<\/Declaration>Value passed to the onDisplay<\/codeVoice> callback for HeaderFooter<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "OnDisplay", - "key.doc.type" : "Class", - "key.doclength" : 65, - "key.docoffset" : 152, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> OnDisplay<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 180, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "OnDisplay", - "key.namelength" : 9, - "key.nameoffset" : 235, - "key.offset" : 228, - "key.parsed_declaration" : "public struct OnDisplay", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias HeaderFooter<\/Type><Content<\/Type>>.OnDisplay<\/Type>.Callback = (OnDisplay<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 259 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>>.OnDisplay<\/ref.struct>.Callback<\/decl.name> = (OnDisplay<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 276, - "key.offset" : 266, - "key.parsed_declaration" : "public typealias Callback = (OnDisplay) -> ()", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "((HeaderFooter.OnDisplay) -> ()).Type", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV9OnDisplayVyx_GcmD", - "key.usr" : "s:10ListableUI12HeaderFooterV9OnDisplayV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var headerFooter: HeaderFooter<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 314 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> headerFooter<\/decl.name>: HeaderFooter<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 325, - "key.offset" : 321, - "key.parsed_declaration" : "public var headerFooter : HeaderFooter", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HeaderFooter", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV9OnDisplayV06headerD0ACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isFirstDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 370 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFirstDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "isFirstDisplay", - "key.namelength" : 14, - "key.nameoffset" : 381, - "key.offset" : 377, - "key.parsed_declaration" : "public var isFirstDisplay : Bool", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI12HeaderFooterV9OnDisplayV07isFirstF0Sbvp" - } - ], - "key.typename" : "HeaderFooter.OnDisplay.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterV9OnDisplayVyx_GmD", - "key.usr" : "s:10ListableUI12HeaderFooterV9OnDisplayV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct OnEndDisplay<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 490 - } - ], - "key.bodylength" : 163, - "key.bodyoffset" : 522, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onEndDisplay` callback for `HeaderFooter`.", - "key.doc.column" : 19, - "key.doc.comment" : "Value passed to the `onEndDisplay` callback for `HeaderFooter`.", - "key.doc.declaration" : "public struct OnEndDisplay", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.doc.full_as_xml" : "OnEndDisplay<\/Name>s:10ListableUI12HeaderFooterV12OnEndDisplayV<\/USR>public struct OnEndDisplay<\/Declaration>Value passed to the onEndDisplay<\/codeVoice> callback for HeaderFooter<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 24, - "key.doc.name" : "OnEndDisplay", - "key.doc.type" : "Class", - "key.doclength" : 68, - "key.docoffset" : 418, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> OnEndDisplay<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 189, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "OnEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 504, - "key.offset" : 497, - "key.parsed_declaration" : "public struct OnEndDisplay", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias HeaderFooter<\/Type><Content<\/Type>>.OnEndDisplay<\/Type>.Callback = (OnEndDisplay<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 531 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>>.OnEndDisplay<\/ref.struct>.Callback<\/decl.name> = (OnEndDisplay<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 41, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 548, - "key.offset" : 538, - "key.parsed_declaration" : "public typealias Callback = (OnEndDisplay) -> ()", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.typename" : "((HeaderFooter.OnEndDisplay) -> ()).Type", - "key.typeusr" : "$sy10ListableUI12HeaderFooterV12OnEndDisplayVyx_GcmD", - "key.usr" : "s:10ListableUI12HeaderFooterV12OnEndDisplayV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var headerFooter: HeaderFooter<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 589 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> headerFooter<\/decl.name>: HeaderFooter<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 600, - "key.offset" : 596, - "key.parsed_declaration" : "public var headerFooter : HeaderFooter", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HeaderFooter", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGD", - "key.usr" : "s:10ListableUI12HeaderFooterV12OnEndDisplayV06headerD0ACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isFirstEndDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 645 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFirstEndDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "isFirstEndDisplay", - "key.namelength" : 17, - "key.nameoffset" : 656, - "key.offset" : 652, - "key.parsed_declaration" : "public var isFirstEndDisplay : Bool", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI12HeaderFooterV12OnEndDisplayV07isFirstfG0Sbvp" - } - ], - "key.typename" : "HeaderFooter.OnEndDisplay.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterV12OnEndDisplayVyx_GmD", - "key.usr" : "s:10ListableUI12HeaderFooterV12OnEndDisplayV" - } - ], - "key.typename" : "HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGmD", - "key.usr" : "s:10ListableUI12HeaderFooterV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8823, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias HeaderContent = HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 112 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> HeaderContent<\/decl.name> = HeaderFooterContent<\/ref.protocol><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 45, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "HeaderContent", - "key.namelength" : 13, - "key.nameoffset" : 129, - "key.offset" : 119, - "key.parsed_declaration" : "public typealias HeaderContent = HeaderFooterContent", - "key.parsed_scope.end" : 11, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI13HeaderContenta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias FooterContent = HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 165 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> FooterContent<\/decl.name> = HeaderFooterContent<\/ref.protocol><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 45, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "FooterContent", - "key.namelength" : 13, - "key.nameoffset" : 182, - "key.offset" : 172, - "key.parsed_declaration" : "public typealias FooterContent = HeaderFooterContent", - "key.parsed_scope.end" : 12, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI13FooterContenta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1626 - } - ], - "key.bodylength" : 4097, - "key.bodyoffset" : 1692, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nA `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`", - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.doclength" : 1406, - "key.docoffset" : 220, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 26, - "key.offset" : 1664 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyHeaderFooterConvertible" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 4157, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 1642, - "key.offset" : 1633, - "key.parsed_declaration" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Tracking Changes", - "key.offset" : 1707 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isEquivalent(to other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If your `HeaderFooterContent` is `Equatable`, `isEquivalent` is based on the `Equatable` implementation.", - "key.doc.column" : 10, - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI19HeaderFooterContentPAASQRzrlE12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>If your HeaderFooterContent<\/codeVoice> is Equatable<\/codeVoice>, isEquivalent<\/codeVoice> is based on the Equatable<\/codeVoice> implementation.<\/Para><\/Abstract>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 224, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 42, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 29, - "key.nameoffset" : 1751, - "key.offset" : 1746, - "key.parsed_declaration" : "func isEquivalent(to other : Self) -> Bool", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isEquivalent(to: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s2toSbx_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentPAASQRzrlE12isEquivalent2toSbx_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Default Properties", - "key.offset" : 1808 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias HeaderFooterContent<\/Type>.DefaultProperties = DefaultHeaderFooterProperties<\/Type><Self<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> HeaderFooterContent<\/ref.protocol>.DefaultProperties<\/decl.name> = DefaultHeaderFooterProperties<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 65, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "DefaultProperties", - "key.namelength" : 17, - "key.nameoffset" : 1859, - "key.offset" : 1849, - "key.parsed_declaration" : "typealias DefaultProperties = DefaultHeaderFooterProperties", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultHeaderFooterProperties.Type", - "key.typeusr" : "$s10ListableUI29DefaultHeaderFooterPropertiesVyxGmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP17DefaultPropertiesa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var defaultHeaderFooterProperties: DefaultProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2170, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Default values to assign to various properties on the `HeaderFooter` which wraps\nthis `HeaderFooterContent`, if those values are not passed to the `HeaderFooter` initializer.", - "key.doc.column" : 9, - "key.doc.comment" : "Default values to assign to various properties on the `HeaderFooter` which wraps\nthis `HeaderFooterContent`, if those values are not passed to the `HeaderFooter` initializer.", - "key.doc.declaration" : "var defaultHeaderFooterProperties: DefaultProperties { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "defaultHeaderFooterProperties<\/Name>s:10ListableUI19HeaderFooterContentP07defaultcD10PropertiesAA07DefaultcdG0VyxGvp<\/USR>var defaultHeaderFooterProperties: DefaultProperties { get }<\/Declaration>Default values to assign to various properties on the HeaderFooter<\/codeVoice> which wraps this HeaderFooterContent<\/codeVoice>, if those values are not passed to the HeaderFooter<\/codeVoice> initializer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "defaultHeaderFooterProperties", - "key.doc.type" : "Other", - "key.doclength" : 187, - "key.docoffset" : 1924, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> defaultHeaderFooterProperties<\/decl.name>: DefaultProperties<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 61, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "defaultHeaderFooterProperties", - "key.namelength" : 29, - "key.nameoffset" : 2119, - "key.offset" : 2115, - "key.parsed_declaration" : "var defaultHeaderFooterProperties : DefaultProperties", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "defaultHeaderFooterProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultHeaderFooterProperties", - "key.typeusr" : "$s10ListableUI29DefaultHeaderFooterPropertiesVyxGD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP07defaultcD10PropertiesAA07DefaultcdG0VyxGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 2196 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var isStickySectionHeader: Bool<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2480, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If this `HeaderFooterContent` is used as a header in a section,\nsetting this value to `true` will result in the header being sticky at the\ntop of the list while the section's rect is visible.", - "key.doc.column" : 9, - "key.doc.comment" : "If this `HeaderFooterContent` is used as a header in a section,\nsetting this value to `true` will result in the header being sticky at the\ntop of the list while the section's rect is visible.", - "key.doc.declaration" : "var isStickySectionHeader: Bool? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "isStickySectionHeader<\/Name>s:10ListableUI19HeaderFooterContentP015isStickySectionC0SbSgvp<\/USR>var isStickySectionHeader: Bool? { get }<\/Declaration>If this HeaderFooterContent<\/codeVoice> is used as a header in a section, setting this value to true<\/codeVoice> will result in the header being sticky at the top of the list while the section’s rect is visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "isStickySectionHeader", - "key.doc.type" : "Other", - "key.doclength" : 212, - "key.docoffset" : 2229, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isStickySectionHeader<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "isStickySectionHeader", - "key.namelength" : 21, - "key.nameoffset" : 2449, - "key.offset" : 2445, - "key.parsed_declaration" : "var isStickySectionHeader : Bool?", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 72, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isStickySectionHeader<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP015isStickySectionC0SbSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 32, - "key.name" : "MARK: Applying To Displayed View", - "key.offset" : 2506 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func apply(to views: HeaderFooterContentViews<\/Type><Self<\/Type>>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> views<\/decl.var.parameter.name>: HeaderFooterContentViews<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 151, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 146, - "key.nameoffset" : 2560, - "key.offset" : 2555, - "key.parsed_declaration" : "func apply(\n to views : HeaderFooterContentViews,\n for reason : ApplyReason,\n with info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 78, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (HeaderFooterContentViews, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withy10ListableUI24HeaderFooterContentViewsVyxG_AD11ApplyReasonOAD0jfgH4InfoVtcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP5apply2to3for4withyAA0cdE5ViewsVyxG_AA11ApplyReasonOAA0kcdE4InfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3014, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the `HeaderFooterContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.column" : 9, - "key.doc.comment" : "When the `HeaderFooterContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.declaration" : "var reappliesToVisibleView: ReappliesToVisibleView { get }", - "key.doc.discussion" : [ - { - "Para" : "Defaults to `ReappliesToVisibleView\/always`." - }, - { - "Para" : "See `ReappliesToVisibleView` for a full discussion." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "reappliesToVisibleView<\/Name>s:10ListableUI19HeaderFooterContentP22reappliesToVisibleViewAA09ReappliesghI0Ovp<\/USR>var reappliesToVisibleView: ReappliesToVisibleView { get }<\/Declaration>When the HeaderFooterContent<\/codeVoice> is on screen, controls how and when to apply updates to the view.<\/Para><\/Abstract>Defaults to ReappliesToVisibleView\/always<\/codeVoice>.<\/Para>See ReappliesToVisibleView<\/codeVoice> for a full discussion.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 90, - "key.doc.name" : "reappliesToVisibleView", - "key.doc.type" : "Other", - "key.doclength" : 242, - "key.docoffset" : 2716, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 2966, - "key.offset" : 2962, - "key.parsed_declaration" : "var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "reappliesToVisibleView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP22reappliesToVisibleViewAA09ReappliesghI0Ovp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 40, - "key.name" : "MARK: Creating & Providing Content Views", - "key.offset" : 3040 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype ContentView : UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.column" : 20, - "key.doc.comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.declaration" : "associatedtype ContentView : UIView", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "ContentView<\/Name>s:10ListableUI19HeaderFooterContentP0E4ViewQa<\/USR>associatedtype ContentView : UIView<\/Declaration>The content view used to draw the content. The content view is drawn at the top of the view hierarchy, above the background views.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 98, - "key.doc.name" : "ContentView", - "key.doc.type" : "Other", - "key.doclength" : 143, - "key.docoffset" : 3097, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> ContentView<\/decl.name> : UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 33, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "ContentView", - "key.namelength" : 11, - "key.nameoffset" : 3259, - "key.offset" : 3244, - "key.parsed_declaration" : "associatedtype ContentView:UIView", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.ContentView.Type", - "key.typeusr" : "$s11ContentViewQzmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP0E4ViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableContentView(frame: CGRect<\/Type>) -> ContentView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new content view used to render the content.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new content view used to render the content.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableContentView(frame: CGRect) -> ContentView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusableContentView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP014createReusableE4View5frame0eH0QzSo6CGRectV_tFZ<\/USR>static func createReusableContentView(frame: CGRect) -> ContentView<\/Declaration>Create and return a new content view used to render the content.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 107, - "key.doc.name" : "createReusableContentView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 328, - "key.docoffset" : 3288, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableContentView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ContentView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 68, - "key.line" : 107, - "key.modulename" : "ListableUI", - "key.name" : "createReusableContentView(frame:)", - "key.namelength" : 41, - "key.nameoffset" : 3632, - "key.offset" : 3620, - "key.parsed_declaration" : "static func createReusableContentView(frame : CGRect) -> ContentView", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 107, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.ContentView", - "key.typeusr" : "$s5frame11ContentViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP014createReusableE4View5frame0eH0QzSo6CGRectV_tFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 43, - "key.name" : "MARK: Creating & Providing Background Views", - "key.offset" : 3708 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype BackgroundView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view used to draw the background of the content.\nThe background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a background view.\n", - "key.doc.column" : 20, - "key.doc.comment" : "The background view used to draw the background of the content.\nThe background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a background view.", - "key.doc.declaration" : "associatedtype BackgroundView : UIView = UIView", - "key.doc.discussion" : [ - { - "Para" : "Defaults to a `UIView` with no drawn appearance or state. You do not need to provide this `typealias` unless you would like to draw a background view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "BackgroundView<\/Name>s:10ListableUI19HeaderFooterContentP14BackgroundViewQa<\/USR>associatedtype BackgroundView : UIView = UIView<\/Declaration>The background view used to draw the background of the content. The background view is drawn below the content view.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Defaults to a UIView<\/codeVoice> with no drawn appearance or state. You do not need to provide this typealias<\/codeVoice> unless you would like to draw a background view.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 122, - "key.doc.name" : "BackgroundView", - "key.doc.type" : "Other", - "key.doclength" : 346, - "key.docoffset" : 3768, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> BackgroundView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 45, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "BackgroundView", - "key.namelength" : 14, - "key.nameoffset" : 4133, - "key.offset" : 4118, - "key.parsed_declaration" : "associatedtype BackgroundView:UIView = UIView", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 122, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.BackgroundView.Type", - "key.typeusr" : "$s14BackgroundViewQzmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP14BackgroundViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 130, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 344, - "key.docoffset" : 4173, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 74, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 44, - "key.nameoffset" : 4533, - "key.offset" : 4521, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame : CGRect) -> BackgroundView", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 130, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frame14BackgroundViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype PressedBackgroundView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The selected background view used to draw the background of the content when it is selected or highlighted.\nThe selected background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a selected background view.\n", - "key.doc.column" : 20, - "key.doc.comment" : "The selected background view used to draw the background of the content when it is selected or highlighted.\nThe selected background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a selected background view.", - "key.doc.declaration" : "associatedtype PressedBackgroundView : UIView = UIView", - "key.doc.discussion" : [ - { - "Para" : "Defaults to a `UIView` with no drawn appearance or state. You do not need to provide this `typealias` unless you would like to draw a selected background view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "PressedBackgroundView<\/Name>s:10ListableUI19HeaderFooterContentP21PressedBackgroundViewQa<\/USR>associatedtype PressedBackgroundView : UIView = UIView<\/Declaration>The selected background view used to draw the background of the content when it is selected or highlighted. The selected background view is drawn below the content view.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Defaults to a UIView<\/codeVoice> with no drawn appearance or state. You do not need to provide this typealias<\/codeVoice> unless you would like to draw a selected background view.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 141, - "key.doc.name" : "PressedBackgroundView", - "key.doc.type" : "Other", - "key.doclength" : 408, - "key.docoffset" : 4605, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> PressedBackgroundView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 52, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "PressedBackgroundView", - "key.namelength" : 21, - "key.nameoffset" : 5032, - "key.offset" : 5017, - "key.parsed_declaration" : "associatedtype PressedBackgroundView:UIView = UIView", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.PressedBackgroundView.Type", - "key.typeusr" : "$s21PressedBackgroundViewQzmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP21PressedBackgroundViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusablePressedBackgroundView(frame: CGRect<\/Type>) -> PressedBackgroundView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's pressed background.\n\nThis view is displayed when the user taps\/presses the header \/ footer.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new background view used to render the content's pressed background.\n\nThis view is displayed when the user taps\/presses the header \/ footer.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the user taps\/presses the header \/ footer." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusablePressedBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ<\/USR>static func createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s pressed background.<\/Para><\/Abstract>This view is displayed when the user taps\/presses the header \/ footer.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 154, - "key.doc.name" : "createReusablePressedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 617, - "key.docoffset" : 5079, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusablePressedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> PressedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 88, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "createReusablePressedBackgroundView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 5712, - "key.offset" : 5700, - "key.parsed_declaration" : "static func createReusablePressedBackgroundView(frame : CGRect) -> PressedBackgroundView", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 154, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.PressedBackgroundView", - "key.typeusr" : "$s5frame21PressedBackgroundViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ApplyHeaderFooterContentInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5995 - } - ], - "key.bodylength" : 147, - "key.bodyoffset" : 6039, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Information about the current state of the content, which is passed to `apply(to:for:with:)`\nduring configuration and preparation for display.\n\nTODO: Rename to `ApplyHeaderFooterContext`", - "key.doc.column" : 15, - "key.doc.comment" : "Information about the current state of the content, which is passed to `apply(to:for:with:)`\nduring configuration and preparation for display.\n\nTODO: Rename to `ApplyHeaderFooterContext`", - "key.doc.declaration" : "public struct ApplyHeaderFooterContentInfo", - "key.doc.discussion" : [ - { - "Para" : "TODO: Rename to `ApplyHeaderFooterContext`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "ApplyHeaderFooterContentInfo<\/Name>s:10ListableUI28ApplyHeaderFooterContentInfoV<\/USR>public struct ApplyHeaderFooterContentInfo<\/Declaration>Information about the current state of the content, which is passed to apply(to:for:with:)<\/codeVoice> during configuration and preparation for display.<\/Para><\/Abstract>TODO: Rename to ApplyHeaderFooterContext<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 162, - "key.doc.name" : "ApplyHeaderFooterContentInfo", - "key.doc.type" : "Class", - "key.doclength" : 202, - "key.docoffset" : 5793, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ApplyHeaderFooterContentInfo<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 185, - "key.line" : 162, - "key.modulename" : "ListableUI", - "key.name" : "ApplyHeaderFooterContentInfo", - "key.namelength" : 28, - "key.nameoffset" : 6009, - "key.offset" : 6002, - "key.parsed_declaration" : "public struct ApplyHeaderFooterContentInfo", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var environment: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6145 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The environment of the containing list.\nSee `ListEnvironment` for usage information.", - "key.doc.column" : 16, - "key.doc.comment" : "The environment of the containing list.\nSee `ListEnvironment` for usage information.", - "key.doc.declaration" : "public var environment: ListEnvironment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:10ListableUI28ApplyHeaderFooterContentInfoV11environmentAA15ListEnvironmentVvp<\/USR>public var environment: ListEnvironment<\/Declaration>The environment of the containing list. See ListEnvironment<\/codeVoice> for usage information.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 166, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 97, - "key.docoffset" : 6044, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 6156, - "key.offset" : 6152, - "key.parsed_declaration" : "public var environment : ListEnvironment", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI28ApplyHeaderFooterContentInfoV11environmentAA15ListEnvironmentVvp" - } - ], - "key.typename" : "ApplyHeaderFooterContentInfo.Type", - "key.typeusr" : "$s10ListableUI28ApplyHeaderFooterContentInfoVmD", - "key.usr" : "s:10ListableUI28ApplyHeaderFooterContentInfoV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HeaderFooterContentViews<Content> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6295 - } - ], - "key.bodylength" : 897, - "key.bodyoffset" : 6364, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The views owned by the item content, passed to the `apply(to:) method to theme and provide content.`", - "key.doc.column" : 15, - "key.doc.comment" : "The views owned by the item content, passed to the `apply(to:) method to theme and provide content.`", - "key.doc.declaration" : "public struct HeaderFooterContentViews where Content : ListableUI.HeaderFooterContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContentViews<\/Name>s:10ListableUI24HeaderFooterContentViewsV<\/USR>public struct HeaderFooterContentViews<Content> where Content : ListableUI.HeaderFooterContent<\/Declaration>The views owned by the item content, passed to the apply(to:) method to theme and provide content.<\/codeVoice><\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 171, - "key.doc.name" : "HeaderFooterContentViews", - "key.doc.type" : "Class", - "key.doclength" : 105, - "key.docoffset" : 6190, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterContentViews<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 960, - "key.line" : 171, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContentViews", - "key.namelength" : 24, - "key.nameoffset" : 6309, - "key.offset" : 6302, - "key.parsed_declaration" : "public struct HeaderFooterContentViews", - "key.parsed_scope.end" : 199, - "key.parsed_scope.start" : 171, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 40, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 6342 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 171, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6334, - "key.offset" : 6334, - "key.parsed_declaration" : "public struct HeaderFooterContentViewslet view: HeaderFooterContentView<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: HeaderFooterContentView<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 6373, - "key.offset" : 6369, - "key.parsed_declaration" : "let view : HeaderFooterContentView", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentView", - "key.typeusr" : "$s10ListableUI23HeaderFooterContentViewCyxGD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV4viewAA0cdE4ViewCyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: Content<\/Type>.ContentView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6463 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 6505, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view of the content.", - "key.doc.column" : 16, - "key.doc.comment" : "The content view of the content.", - "key.doc.declaration" : "public var content: Content.ContentView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "content<\/Name>s:10ListableUI24HeaderFooterContentViewsV7content0E4ViewQzvp<\/USR>public var content: Content.ContentView { get }<\/Declaration>The content view of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 176, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.doclength" : 37, - "key.docoffset" : 6422, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.generic_type_param>.ContentView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 176, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 6474, - "key.offset" : 6470, - "key.parsed_declaration" : "public var content : Content.ContentView", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 176, - "key.reusingastcontext" : false, - "key.typename" : "Content.ContentView", - "key.typeusr" : "$s11ContentViewQzD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV7content0E4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var background: Content<\/Type>.BackgroundView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6586 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 6634, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content.", - "key.doc.declaration" : "public var background: Content.BackgroundView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "background<\/Name>s:10ListableUI24HeaderFooterContentViewsV10background14BackgroundViewQzvp<\/USR>public var background: Content.BackgroundView { get }<\/Declaration>The background view of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 181, - "key.doc.name" : "background", - "key.doc.type" : "Other", - "key.doclength" : 40, - "key.docoffset" : 6542, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> background<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 71, - "key.line" : 181, - "key.modulename" : "ListableUI", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 6597, - "key.offset" : 6593, - "key.parsed_declaration" : "public var background : Content.BackgroundView", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 181, - "key.reusingastcontext" : false, - "key.typename" : "Content.BackgroundView", - "key.typeusr" : "$s14BackgroundViewQzD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV10background14BackgroundViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var backgroundIfLoaded: Content<\/Type>.BackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6739 - } - ], - "key.bodylength" : 37, - "key.bodyoffset" : 6796, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content, if it has been used.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content, if it has been used.", - "key.doc.declaration" : "public var backgroundIfLoaded: Content.BackgroundView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "backgroundIfLoaded<\/Name>s:10ListableUI24HeaderFooterContentViewsV18backgroundIfLoaded14BackgroundViewQzSgvp<\/USR>public var backgroundIfLoaded: Content.BackgroundView? { get }<\/Declaration>The background view of the content, if it has been used.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 186, - "key.doc.name" : "backgroundIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 61, - "key.docoffset" : 6674, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> backgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 88, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "backgroundIfLoaded", - "key.namelength" : 18, - "key.nameoffset" : 6750, - "key.offset" : 6746, - "key.parsed_declaration" : "public var backgroundIfLoaded : Content.BackgroundView?", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.typename" : "Content.BackgroundView?", - "key.typeusr" : "$s14BackgroundViewQzSgD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV18backgroundIfLoaded14BackgroundViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pressedBackground: Content<\/Type>.PressedBackgroundView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6929 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 6991, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content that's displayed while a press is active.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content that's displayed while a press is active.", - "key.doc.declaration" : "public var pressedBackground: Content.PressedBackgroundView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "pressedBackground<\/Name>s:10ListableUI24HeaderFooterContentViewsV17pressedBackground07PressedH4ViewQzvp<\/USR>public var pressedBackground: Content.PressedBackgroundView { get }<\/Declaration>The background view of the content that’s displayed while a press is active.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 191, - "key.doc.name" : "pressedBackground", - "key.doc.type" : "Other", - "key.doclength" : 81, - "key.docoffset" : 6844, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pressedBackground<\/decl.name>: Content<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 92, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "pressedBackground", - "key.namelength" : 17, - "key.nameoffset" : 6940, - "key.offset" : 6936, - "key.parsed_declaration" : "public var pressedBackground : Content.PressedBackgroundView", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.typename" : "Content.PressedBackgroundView", - "key.typeusr" : "$s21PressedBackgroundViewQzD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV17pressedBackground07PressedH4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pressedBackgroundIfLoaded: Content<\/Type>.PressedBackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7144 - } - ], - "key.bodylength" : 44, - "key.bodyoffset" : 7215, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content that's displayed while a press is active, if it has been used.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content that's displayed while a press is active, if it has been used.", - "key.doc.declaration" : "public var pressedBackgroundIfLoaded: Content.PressedBackgroundView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "pressedBackgroundIfLoaded<\/Name>s:10ListableUI24HeaderFooterContentViewsV25pressedBackgroundIfLoaded07PressedH4ViewQzSgvp<\/USR>public var pressedBackgroundIfLoaded: Content.PressedBackgroundView? { get }<\/Declaration>The background view of the content that’s displayed while a press is active, if it has been used.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 196, - "key.doc.name" : "pressedBackgroundIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 102, - "key.docoffset" : 7038, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pressedBackgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 109, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "pressedBackgroundIfLoaded", - "key.namelength" : 25, - "key.nameoffset" : 7155, - "key.offset" : 7151, - "key.parsed_declaration" : "public var pressedBackgroundIfLoaded : Content.PressedBackgroundView?", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.typename" : "Content.PressedBackgroundView?", - "key.typeusr" : "$s21PressedBackgroundViewQzSgD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV25pressedBackgroundIfLoaded07PressedH4ViewQzSgvp" - } - ], - "key.typename" : "HeaderFooterContentViews.Type", - "key.typeusr" : "$s10ListableUI24HeaderFooterContentViewsVyxGmD", - "key.usr" : "s:10ListableUI24HeaderFooterContentViewsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7355 - } - ], - "key.bodylength" : 85, - "key.bodyoffset" : 7393, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a default implementation of `reappliesToVisibleView` which returns `.always`.", - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.doclength" : 90, - "key.docoffset" : 7265, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 117, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 7372, - "key.offset" : 7362, - "key.parsed_declaration" : "public extension HeaderFooterContent", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 203, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 7455, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the `HeaderFooterContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.column" : 9, - "key.doc.declaration" : "var reappliesToVisibleView: ReappliesToVisibleView { get }", - "key.doc.discussion" : [ - { - "Para" : "Defaults to `ReappliesToVisibleView\/always`." - }, - { - "Para" : "See `ReappliesToVisibleView` for a full discussion." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "reappliesToVisibleView<\/Name>s:10ListableUI19HeaderFooterContentP22reappliesToVisibleViewAA09ReappliesghI0Ovp<\/USR>var reappliesToVisibleView: ReappliesToVisibleView { get }<\/Declaration>When the HeaderFooterContent<\/codeVoice> is on screen, controls how and when to apply updates to the view.<\/Para><\/Abstract>Defaults to ReappliesToVisibleView\/always<\/codeVoice>.<\/Para>See ReappliesToVisibleView<\/codeVoice> for a full discussion.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 90, - "key.doc.name" : "reappliesToVisibleView", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 74, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 7407, - "key.offset" : 7403, - "key.parsed_declaration" : "var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 205, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "reappliesToVisibleView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP22reappliesToVisibleViewAA09ReappliesghI0Ovp" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7482 - } - ], - "key.bodylength" : 134, - "key.bodyoffset" : 7520, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 166, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 7499, - "key.offset" : 7489, - "key.parsed_declaration" : "public extension HeaderFooterContent", - "key.parsed_scope.end" : 218, - "key.parsed_scope.start" : 211, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 32, - "key.name" : "MARK: AnyHeaderFooterConvertible", - "key.offset" : 7533 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func asAnyHeaderFooter() -> AnyHeaderFooter<\/Type><\/Declaration>", - "key.bodylength" : 32, - "key.bodyoffset" : 7620, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyHeaderFooter` instance.", - "key.doc.column" : 10, - "key.doc.declaration" : "func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/AnyHeaderFooterConvertible.swift", - "key.doc.full_as_xml" : "asAnyHeaderFooter()<\/Name>s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF<\/USR>func asAnyHeaderFooter() -> AnyHeaderFooter<\/Declaration>Converts the object into a type-erased AnyHeaderFooter<\/codeVoice> instance.<\/Para><\/Abstract>This documentation comment was inherited from AnyHeaderFooterConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 38, - "key.doc.name" : "asAnyHeaderFooter()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> asAnyHeaderFooter<\/decl.name>() -> AnyHeaderFooter<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 78, - "key.line" : 215, - "key.modulename" : "ListableUI", - "key.name" : "asAnyHeaderFooter()", - "key.namelength" : 19, - "key.nameoffset" : 7580, - "key.offset" : 7575, - "key.parsed_declaration" : "func asAnyHeaderFooter() -> AnyHeaderFooter", - "key.parsed_scope.end" : 217, - "key.parsed_scope.start" : 215, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "asAnyHeaderFooter() -> AnyHeaderFooter<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> () -> any AnyHeaderFooter", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pycD", - "key.usr" : "s:10ListableUI26AnyHeaderFooterConvertibleP02ascdE0AA0cdE0_pyF" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7658 - } - ], - "key.bodylength" : 191, - "key.bodyoffset" : 7717, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 244, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 7675, - "key.offset" : 7665, - "key.parsed_declaration" : "public extension HeaderFooterContent where Self:Equatable", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 221, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isEquivalent(to other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 27, - "key.bodyoffset" : 7879, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If your `HeaderFooterContent` is `Equatable`, `isEquivalent` is based on the `Equatable` implementation.", - "key.doc.column" : 10, - "key.doc.comment" : "If your `HeaderFooterContent` is `Equatable`, `isEquivalent` is based on the `Equatable` implementation.", - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI19HeaderFooterContentPAASQRzrlE12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>If your HeaderFooterContent<\/codeVoice> is Equatable<\/codeVoice>, isEquivalent<\/codeVoice> is based on the Equatable<\/codeVoice> implementation.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 224, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.doclength" : 109, - "key.docoffset" : 7722, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 72, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 29, - "key.nameoffset" : 7840, - "key.offset" : 7835, - "key.parsed_declaration" : "func isEquivalent(to other : Self) -> Bool", - "key.parsed_scope.end" : 226, - "key.parsed_scope.start" : 224, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isEquivalent(to: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s2toSbx_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentPAASQRzrlE12isEquivalent2toSbx_tF" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7912 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 7986, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 197, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 7929, - "key.offset" : 7919, - "key.parsed_declaration" : "public extension HeaderFooterContent where Self.BackgroundView == UIView", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 8071, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 130, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 123, - "key.line" : 232, - "key.modulename" : "ListableUI", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 44, - "key.nameoffset" : 8003, - "key.offset" : 7991, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame : CGRect) -> BackgroundView", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 232, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP28createReusableBackgroundView5frame0hI0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8119 - } - ], - "key.bodylength" : 150, - "key.bodyoffset" : 8200, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 225, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 8136, - "key.offset" : 8126, - "key.parsed_declaration" : "public extension HeaderFooterContent where Self.PressedBackgroundView == UIView", - "key.parsed_scope.end" : 245, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusablePressedBackgroundView(frame: CGRect<\/Type>) -> PressedBackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 49, - "key.bodyoffset" : 8299, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's pressed background.\n\nThis view is displayed when the user taps\/presses the header \/ footer.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the user taps\/presses the header \/ footer." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "createReusablePressedBackgroundView(frame:)<\/Name>s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ<\/USR>static func createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s pressed background.<\/Para><\/Abstract>This view is displayed when the user taps\/presses the header \/ footer.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 154, - "key.doc.name" : "createReusablePressedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusablePressedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> PressedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 144, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "createReusablePressedBackgroundView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 8217, - "key.offset" : 8205, - "key.parsed_declaration" : "static func createReusablePressedBackgroundView(frame : CGRect) -> PressedBackgroundView", - "key.parsed_scope.end" : 244, - "key.parsed_scope.start" : 241, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusablePressedBackgroundView(frame: CGRect) -> PressedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.PressedBackgroundView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP35createReusablePressedBackgroundView5frame0hiJ0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8498 - } - ], - "key.bodylength" : 83, - "key.bodyoffset" : 8536, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a default implementation of `defaultHeaderFooterProperties` which returns an\nempty instance that does not provide any defaults.", - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.doclength" : 144, - "key.docoffset" : 8354, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 115, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 8515, - "key.offset" : 8505, - "key.parsed_declaration" : "public extension HeaderFooterContent", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 250, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var defaultHeaderFooterProperties: DefaultProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 8596, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Default values to assign to various properties on the `HeaderFooter` which wraps\nthis `HeaderFooterContent`, if those values are not passed to the `HeaderFooter` initializer.", - "key.doc.column" : 9, - "key.doc.declaration" : "var defaultHeaderFooterProperties: DefaultProperties { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "defaultHeaderFooterProperties<\/Name>s:10ListableUI19HeaderFooterContentP07defaultcD10PropertiesAA07DefaultcdG0VyxGvp<\/USR>var defaultHeaderFooterProperties: DefaultProperties { get }<\/Declaration>Default values to assign to various properties on the HeaderFooter<\/codeVoice> which wraps this HeaderFooterContent<\/codeVoice>, if those values are not passed to the HeaderFooter<\/codeVoice> initializer.<\/Para><\/Abstract>This documentation comment was inherited from HeaderFooterContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "defaultHeaderFooterProperties", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> defaultHeaderFooterProperties<\/decl.name>: DefaultProperties<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 77, - "key.line" : 252, - "key.modulename" : "ListableUI", - "key.name" : "defaultHeaderFooterProperties", - "key.namelength" : 29, - "key.nameoffset" : 8545, - "key.offset" : 8541, - "key.parsed_declaration" : "var defaultHeaderFooterProperties : DefaultProperties", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 252, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "defaultHeaderFooterProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultHeaderFooterProperties", - "key.typeusr" : "$s10ListableUI29DefaultHeaderFooterPropertiesVyxGD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP07defaultcD10PropertiesAA07DefaultcdG0VyxGvp" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterContent : AnyHeaderFooterConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8623 - } - ], - "key.bodylength" : 160, - "key.bodyoffset" : 8661, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `HeaderFooterContent` is a type which specifies the content of a header, footer,\nor other supplementary view within a listable list.\n\nA non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):\n```\nstruct MyHeaderContent : HeaderFooterContent, Equatable\n{\n var title : String\n\n static func createReusableContentView(frame : CGRect) -> MyHeaderView {\n MyHeaderView(frame: frame)\n }\n\n func apply(to views : HeaderFooterContentViews, reason : ApplyReason) {\n views.content.text = self.title\n views.content.leftIcon = UIImage(named: \"person_icon\")\n }\n}\n```\nThe header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`,\nbased on the header's properties.\n\nIf you want to add support for rendering a background view and a pressed state, you should provide\nboth `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-Index 3) `ContentView`\nz-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.)\nz-Index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible", - "key.doc.discussion" : [ - { - "Para" : "A non-tappable header that shows a label and icon might look like this (implementation of `MyHeaderView` left up to the reader):" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The header is made `Equatable` in order to synthesize automatic conformance to `isEquivalent`, based on the header’s properties." - }, - { - "Para" : "If you want to add support for rendering a background view and a pressed state, you should provide both `createReusableBackgroundView` and `createReusablePressedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-Index 3) `ContentView` z-Index 2) `PressedBackgroundView` (Only if the header\/footer is pressed, eg if the wrapping `HeaderFooter` has an `onTap` handler.) z-Index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "HeaderFooterContent<\/Name>s:10ListableUI19HeaderFooterContentP<\/USR>public protocol HeaderFooterContent : ListableUI.AnyHeaderFooterConvertible<\/Declaration>A HeaderFooterContent<\/codeVoice> is a type which specifies the content of a header, footer, or other supplementary view within a listable list.<\/Para><\/Abstract>A non-tappable header that shows a label and icon might look like this (implementation of MyHeaderView<\/codeVoice> left up to the reader):<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyHeaderView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, reason : ApplyReason) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The header is made Equatable<\/codeVoice> in order to synthesize automatic conformance to isEquivalent<\/codeVoice>, based on the header’s properties.<\/Para>If you want to add support for rendering a background view and a pressed state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusablePressedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-Index 3) ContentView<\/codeVoice> z-Index 2) PressedBackgroundView<\/codeVoice> (Only if the header\/footer is pressed, eg if the wrapping HeaderFooter<\/codeVoice> has an onTap<\/codeVoice> handler.) z-Index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 47, - "key.doc.name" : "HeaderFooterContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterContent<\/decl.name> : AnyHeaderFooterConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 192, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContent", - "key.namelength" : 19, - "key.nameoffset" : 8640, - "key.offset" : 8630, - "key.parsed_declaration" : "public extension HeaderFooterContent", - "key.parsed_scope.end" : 264, - "key.parsed_scope.start" : 258, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var isStickySectionHeader: Bool<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 17, - "key.bodyoffset" : 8802, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, headers will be sticky depending on their content or section configuration.", - "key.doc.column" : 9, - "key.doc.comment" : "By default, headers will be sticky depending on their content or section configuration.", - "key.doc.declaration" : "var isStickySectionHeader: Bool? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.doc.full_as_xml" : "isStickySectionHeader<\/Name>s:10ListableUI19HeaderFooterContentPAAE015isStickySectionC0SbSgvp<\/USR>var isStickySectionHeader: Bool? { get }<\/Declaration>By default, headers will be sticky depending on their content or section configuration.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 261, - "key.doc.name" : "isStickySectionHeader", - "key.doc.type" : "Other", - "key.doclength" : 92, - "key.docoffset" : 8671, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isStickySectionHeader<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 261, - "key.modulename" : "ListableUI", - "key.name" : "isStickySectionHeader", - "key.namelength" : 21, - "key.nameoffset" : 8771, - "key.offset" : 8767, - "key.parsed_declaration" : "var isStickySectionHeader : Bool?", - "key.parsed_scope.end" : 263, - "key.parsed_scope.start" : 261, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isStickySectionHeader<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19HeaderFooterContentPAAE015isStickySectionC0SbSgvp" - } - ], - "key.typename" : "HeaderFooterContent.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterContent_pmD", - "key.usr" : "s:10ListableUI19HeaderFooterContentP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3861, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HeaderFooterLayouts<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1543 - } - ], - "key.bodylength" : 1294, - "key.bodyoffset" : 1578, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`HeaderFooterLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your header:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `HeaderFooter` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n\nmyHeader.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n padding: 10\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\n`HeaderFooterLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your header:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `HeaderFooter` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n\nmyHeader.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n padding: 10\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public struct HeaderFooterLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your header:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `HeaderFooter` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`, to provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "HeaderFooterLayouts<\/Name>s:10ListableUI19HeaderFooterLayoutsV<\/USR>public struct HeaderFooterLayouts<\/Declaration>HeaderFooterLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your header:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the HeaderFooter<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to HeaderFooterLayouts<\/codeVoice>, to provide easier access to your layout-specific HeaderFooterLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 55, - "key.doc.name" : "HeaderFooterLayouts", - "key.doc.type" : "Class", - "key.doclength" : 1426, - "key.docoffset" : 117, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1323, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayouts", - "key.namelength" : 19, - "key.nameoffset" : 1557, - "key.offset" : 1550, - "key.parsed_declaration" : "public struct HeaderFooterLayouts", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1720 - } - ], - "key.bodylength" : 70, - "key.bodyoffset" : 1792, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.declaration" : "public init(_ configure: (inout `Self`) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI19HeaderFooterLayoutsVyACyACzXEcfc<\/USR>public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>Creates a new instance of the layouts, with an optional configure<\/codeVoice> closure, to allow you to set up styling inline.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 59, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 128, - "key.docoffset" : 1588, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 136, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 63, - "key.nameoffset" : 1727, - "key.offset" : 1727, - "key.parsed_declaration" : "public init(\n _ configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(HeaderFooterLayouts.Type) -> ((inout HeaderFooterLayouts) -> ()) -> HeaderFooterLayouts", - "key.typeusr" : "$sy10ListableUI19HeaderFooterLayoutsVyACzXEcD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsVyACyACzXEcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var storage: ContentLayoutsStorage<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1873 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> storage<\/decl.name>: ContentLayoutsStorage<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 1885, - "key.offset" : 1881, - "key.parsed_declaration" : "private var storage : ContentLayoutsStorage", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ContentLayoutsStorage", - "key.typeusr" : "$s10ListableUI21ContentLayoutsStorageVD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV7storage33_AEFF59B9891C827F923FD7D479A9E22ALLAA07ContentE7StorageVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<ValueType>(valueType: ValueType<\/Type>.Type) -> ValueType<\/Type> where ValueType<\/Type> : HeaderFooterLayoutsValue<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2632 - } - ], - "key.bodylength" : 141, - "key.bodyoffset" : 2729, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows accessing the various `HeaderFooterLayoutValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\n### Note\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type.\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 12, - "key.doc.comment" : "Allows accessing the various `HeaderFooterLayoutValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\n### Note\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type.\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public subscript(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.HeaderFooterLayoutsValue { get set }", - "key.doc.discussion" : [ - { - "Para" : "When implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`, to provide easier access to your layout-specific `HeaderFooterLayoutsValue` type." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "subscript(_:)<\/Name>s:10ListableUI19HeaderFooterLayoutsVyxxmcAA0cdE5ValueRzluip<\/USR>public subscript<ValueType>(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.HeaderFooterLayoutsValue { get set }<\/Declaration>Allows accessing the various HeaderFooterLayoutValue<\/codeVoice>s stored within the object. This method will return the defaultValue<\/codeVoice> for a value if none is set.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to HeaderFooterLayouts<\/codeVoice>, to provide easier access to your layout-specific HeaderFooterLayoutsValue<\/codeVoice> type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 84, - "key.doc.name" : "subscript(_:)", - "key.doc.type" : "Other", - "key.doclength" : 702, - "key.docoffset" : 1926, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(valueType<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> ValueType<\/ref.generic_type_param><\/decl.function.returntype> where<\/syntaxtype.keyword> ValueType<\/ref.generic_type_param> : HeaderFooterLayoutsValue<\/ref.protocol><\/decl.generic_type_requirement> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 232, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "subscript(_:)", - "key.namelength" : 75, - "key.nameoffset" : 2639, - "key.offset" : 2639, - "key.parsed_declaration" : "public subscript(_ valueType : ValueType.Type) -> ValueType", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.substructure" : [ - { - "key.annotated_decl" : "ValueType : HeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 2659 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "ValueType<\/decl.generic_type_param.name> : HeaderFooterLayoutsValue<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 34, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "ValueType", - "key.namelength" : 9, - "key.nameoffset" : 2649, - "key.offset" : 2649, - "key.parsed_declaration" : "public subscript (ValueType.Type) -> ValueType", - "key.typeusr" : "$syxxmc10ListableUI24HeaderFooterLayoutsValueRzluD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsVyxxmcAA0cdE5ValueRzluip" - } - ], - "key.typename" : "HeaderFooterLayouts.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVmD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol HeaderFooterLayoutsValue<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3424 - } - ], - "key.bodylength" : 118, - "key.bodyoffset" : 3466, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `HeaderFooterLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `HeaderFooterLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, HeaderFooterLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "\nThe `HeaderFooterLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `HeaderFooterLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, HeaderFooterLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.declaration" : "public protocol HeaderFooterLayoutsValue", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "HeaderFooterLayoutsValue<\/Name>s:10ListableUI24HeaderFooterLayoutsValueP<\/USR>public protocol HeaderFooterLayoutsValue<\/Declaration>The HeaderFooterLayoutsValue<\/codeVoice> protocol provides a default value for the different layouts stored within HeaderFooterLayouts<\/codeVoice>. Provide a defaultValue<\/codeVoice> with reasonable defaults, as the developer should not need to set these values at all times when using your layout.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 109, - "key.doc.name" : "HeaderFooterLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 548, - "key.docoffset" : 2876, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> HeaderFooterLayoutsValue<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 154, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayoutsValue", - "key.namelength" : 24, - "key.nameoffset" : 3440, - "key.offset" : 3431, - "key.parsed_declaration" : "public protocol HeaderFooterLayoutsValue", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var defaultValue: Self<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3577, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.comment" : "The default value used when accessing the value, if none is set.", - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 3472, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Self<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 38, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3556, - "key.offset" : 3545, - "key.parsed_declaration" : "static var defaultValue : Self", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 112, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.typename" : "HeaderFooterLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI24HeaderFooterLayoutsValue_pmD", - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct EmptyHeaderFooterLayoutsValue : HeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3665 - } - ], - "key.bodylength" : 122, - "key.bodyoffset" : 3737, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Use this type if you have no `HeaderFooterLayout` for your `ListLayout`.", - "key.doc.column" : 15, - "key.doc.comment" : "Use this type if you have no `HeaderFooterLayout` for your `ListLayout`.", - "key.doc.declaration" : "public struct EmptyHeaderFooterLayoutsValue : HeaderFooterLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "EmptyHeaderFooterLayoutsValue<\/Name>s:10ListableUI29EmptyHeaderFooterLayoutsValueV<\/USR>public struct EmptyHeaderFooterLayoutsValue : HeaderFooterLayoutsValue<\/Declaration>Use this type if you have no HeaderFooterLayout<\/codeVoice> for your ListLayout<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 117, - "key.doc.name" : "EmptyHeaderFooterLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 77, - "key.docoffset" : 3588, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 3711 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> EmptyHeaderFooterLayoutsValue<\/decl.name> : HeaderFooterLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 188, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "EmptyHeaderFooterLayoutsValue", - "key.namelength" : 29, - "key.nameoffset" : 3679, - "key.offset" : 3672, - "key.parsed_declaration" : "public struct EmptyHeaderFooterLayoutsValue : HeaderFooterLayoutsValue", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3747 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 3762, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 3754, - "key.offset" : 3754, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "(EmptyHeaderFooterLayoutsValue.Type) -> () -> EmptyHeaderFooterLayoutsValue", - "key.typeusr" : "$s10ListableUI29EmptyHeaderFooterLayoutsValueVycD", - "key.usr" : "s:10ListableUI29EmptyHeaderFooterLayoutsValueVACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: EmptyHeaderFooterLayoutsValue<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3773 - } - ], - "key.bodylength" : 21, - "key.bodyoffset" : 3836, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from HeaderFooterLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: EmptyHeaderFooterLayoutsValue<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 78, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3791, - "key.offset" : 3780, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue: EmptyHeaderFooterLayoutsValue", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "EmptyHeaderFooterLayoutsValue", - "key.typeusr" : "$s10ListableUI29EmptyHeaderFooterLayoutsValueVD", - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.typename" : "EmptyHeaderFooterLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI29EmptyHeaderFooterLayoutsValueVmD", - "key.usr" : "s:10ListableUI29EmptyHeaderFooterLayoutsValueV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5941, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class Identifier<Represented, Value> : AnyIdentifier<\/Type> where Value<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 1546 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1539 - } - ], - "key.bodylength" : 1585, - "key.bodyoffset" : 1615, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Identifier` is used to unique items in Listable lists. Sections,\nand items in those sections have identifiers, which are used to keep track\nof those items and sections as updates are pushed through the list view.\n\nIdentifiers for content shouldn't change – if it does, the item or section is\ntreated as new. This means that for your `ItemContent` or `Section`,\nyou should use a stable identifier like server ID or other\nunique value that does not change across updates to the list.\n\nIdentifiers do _not_ have to be unique, but it certainly helps.\nWhen applying updates, Listable will convert duplicate identifiers to\nunique identifiers by counting upward for each equal identifier it finds: (eg, \"myID\".1, \"myID\".2, \"myID\".3\", etc).\nHowever, you should do your best to ensure identifiers are unique,\nas this helps generate a visually correct diff when applying updates.\n\nIdentifiers are strongly typed; alongside their contained value,\nthey also encode their `Represented` type. This means that these two\nidentifiers are different, despite having the same `value`.\n```swift\nlet first = Identifier(\"value\")\nlet second = Identifier(\"value\")\n```\nEven once type-erased to `AnyIdentifier`, these identifiers will still not be\nequal, because their underlying `Represented` type is different.\n", - "key.doc.column" : 20, - "key.doc.comment" : "\nAn `Identifier` is used to unique items in Listable lists. Sections,\nand items in those sections have identifiers, which are used to keep track\nof those items and sections as updates are pushed through the list view.\n\nIdentifiers for content shouldn't change – if it does, the item or section is\ntreated as new. This means that for your `ItemContent` or `Section`,\nyou should use a stable identifier like server ID or other\nunique value that does not change across updates to the list.\n\nIdentifiers do _not_ have to be unique, but it certainly helps.\nWhen applying updates, Listable will convert duplicate identifiers to\nunique identifiers by counting upward for each equal identifier it finds: (eg, \"myID\".1, \"myID\".2, \"myID\".3\", etc).\nHowever, you should do your best to ensure identifiers are unique,\nas this helps generate a visually correct diff when applying updates.\n\nIdentifiers are strongly typed; alongside their contained value,\nthey also encode their `Represented` type. This means that these two\nidentifiers are different, despite having the same `value`.\n```swift\nlet first = Identifier(\"value\")\nlet second = Identifier(\"value\")\n```\nEven once type-erased to `AnyIdentifier`, these identifiers will still not be\nequal, because their underlying `Represented` type is different.", - "key.doc.declaration" : "public final class Identifier : AnyIdentifier where Value : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Identifiers for content shouldn’t change – if it does, the item or section is treated as new. This means that for your `ItemContent` or `Section`, you should use a stable identifier like server ID or other unique value that does not change across updates to the list." - }, - { - "Para" : "Identifiers do have to be unique, but it certainly helps. When applying updates, Listable will convert duplicate identifiers to unique identifiers by counting upward for each equal identifier it finds: (eg, “myID”.1, “myID”.2, “myID”.3”, etc). However, you should do your best to ensure identifiers are unique, as this helps generate a visually correct diff when applying updates." - }, - { - "Para" : "Identifiers are strongly typed; alongside their contained value, they also encode their `Represented` type. This means that these two identifiers are different, despite having the same `value`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Even once type-erased to `AnyIdentifier`, these identifiers will still not be equal, because their underlying `Represented` type is different." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "Identifier<\/Name>s:10ListableUI10IdentifierC<\/USR>public final class Identifier<Represented, Value> : AnyIdentifier where Value : Hashable<\/Declaration>An Identifier<\/codeVoice> is used to unique items in Listable lists. Sections, and items in those sections have identifiers, which are used to keep track of those items and sections as updates are pushed through the list view.<\/Para><\/Abstract>Identifiers for content shouldn’t change – if it does, the item or section is treated as new. This means that for your ItemContent<\/codeVoice> or Section<\/codeVoice>, you should use a stable identifier like server ID or other unique value that does not change across updates to the list.<\/Para>Identifiers do not<\/emphasis> have to be unique, but it certainly helps. When applying updates, Listable will convert duplicate identifiers to unique identifiers by counting upward for each equal identifier it finds: (eg, “myID”.1, “myID”.2, “myID”.3”, etc). However, you should do your best to ensure identifiers are unique, as this helps generate a visually correct diff when applying updates.<\/Para>Identifiers are strongly typed; alongside their contained value, they also encode their Represented<\/codeVoice> type. This means that these two identifiers are different, despite having the same value<\/codeVoice>.<\/Para>(\"value\")]]><\/zCodeLineNumbered>(\"value\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Even once type-erased to AnyIdentifier<\/codeVoice>, these identifiers will still not be equal, because their underlying Represented<\/codeVoice> type is different.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 37, - "key.doc.name" : "Identifier", - "key.doc.type" : "Class", - "key.doclength" : 1432, - "key.docoffset" : 107, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 13, - "key.offset" : 1600 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Identifier<\/decl.name><Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>, Value<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyIdentifier<\/ref.class> where<\/syntaxtype.keyword> Value<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyIdentifier" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1649, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 1558, - "key.offset" : 1552, - "key.parsed_declaration" : "public final class Identifier : AnyIdentifier", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Represented<\/Declaration>", - "key.column" : 31, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "Represented<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "Represented", - "key.namelength" : 11, - "key.nameoffset" : 1569, - "key.offset" : 1569, - "key.parsed_declaration" : "public final class IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 44, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 1588 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 14, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 1582, - "key.offset" : 1582, - "key.parsed_declaration" : "public final class Identifierpublic var value: Value<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1900 - } - ], - "key.bodylength" : 42, - "key.bodyoffset" : 1926, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlying value that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `value` will be `\"1\"`.\n", - "key.doc.column" : 16, - "key.doc.comment" : "\nThe underlying value that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `value` will be `\"1\"`.", - "key.doc.declaration" : "public var value: Value { get }", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "Then the value of `value` will be `\"1\"`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "value<\/Name>s:10ListableUI10IdentifierC5valueq_vp<\/USR>public var value: Value { get }<\/Declaration>The underlying value that backs the identifier. For example, if you create an identifier using:<\/Para><\/Abstract>(\"1\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Then the value of value<\/codeVoice> will be "1"<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 49, - "key.doc.name" : "value", - "key.doc.type" : "Other", - "key.doclength" : 243, - "key.docoffset" : 1653, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> value<\/decl.name>: Value<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 1911, - "key.offset" : 1907, - "key.parsed_declaration" : "public var value : Value", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.typename" : "Value", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI10IdentifierC5valueq_vp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1982 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(_ value: Value<\/Type>)<\/Declaration>", - "key.bodylength" : 127, - "key.bodyoffset" : 2822, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates an identifier which identifies by both `Represented`, and the `value` passed to init.\n\n### Note\nIt is intentional that this method is internal. You should not directly create identifiers\nby calling this method. Instead, use the extensions on `Section` and `ItemContent` to create\nstrongly typed identifiers with the correct `Value` type:\n```swift\nMyItem.identifier(with: \"my-id\") \/\/ ✅ OK\nMyItem.identifier(with: 1) \/\/ 🚫 Error: MyItem's IdentifierValue is String.\n```\n\nYou can also read ``Item.identifier-swift.property`` or ``AnyItem.anyIdentifier-swift.property``\nto get the identifier of an item that has been created in a type safe manner.\n", - "key.doc.column" : 5, - "key.doc.comment" : "\nCreates an identifier which identifies by both `Represented`, and the `value` passed to init.\n\n### Note\nIt is intentional that this method is internal. You should not directly create identifiers\nby calling this method. Instead, use the extensions on `Section` and `ItemContent` to create\nstrongly typed identifiers with the correct `Value` type:\n```swift\nMyItem.identifier(with: \"my-id\") \/\/ ✅ OK\nMyItem.identifier(with: 1) \/\/ 🚫 Error: MyItem's IdentifierValue is String.\n```\n\nYou can also read ``Item.identifier-swift.property`` or ``AnyItem.anyIdentifier-swift.property``\nto get the identifier of an item that has been created in a type safe manner.", - "key.doc.declaration" : "init(_ value: Value)", - "key.doc.discussion" : [ - { - "Para" : "It is intentional that this method is internal. You should not directly create identifiers by calling this method. Instead, use the extensions on `Section` and `ItemContent` to create strongly typed identifiers with the correct `Value` type:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can also read `Item.identifier-swift.property` or `AnyItem.anyIdentifier-swift.property` to get the identifier of an item that has been created in a type safe manner." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI10IdentifierCyACyxq_Gq_cfc<\/USR>init(_ value: Value)<\/Declaration>Creates an identifier which identifies by both Represented<\/codeVoice>, and the value<\/codeVoice> passed to init.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>It is intentional that this method is internal. You should not directly create identifiers by calling this method. Instead, use the extensions on Section<\/codeVoice> and ItemContent<\/codeVoice> to create strongly typed identifiers with the correct Value<\/codeVoice> type:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can also read Item.identifier-swift.property<\/codeVoice> or AnyItem.anyIdentifier-swift.property<\/codeVoice> to get the identifier of an item that has been created in a type safe manner.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 70, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 779, - "key.docoffset" : 2012, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 155, - "key.line" : 70, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 21, - "key.nameoffset" : 2795, - "key.offset" : 2795, - "key.parsed_declaration" : "init(_ value : Value)", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 70, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Identifier.Type) -> (Value) -> Identifier", - "key.typeusr" : "$sy10ListableUI10IdentifierCyxq_Gq_cD", - "key.usr" : "s:10ListableUI10IdentifierCyACyxq_Gq_cfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 34, - "key.name" : "MARK: CustomDebugStringConvertible", - "key.offset" : 2963 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public override var debugDescription: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3014 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3007 - } - ], - "key.bodylength" : 144, - "key.bodyoffset" : 3054, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A textual representation of this instance, suitable for debugging.\n\nCalling this property directly is discouraged. Instead, convert an\ninstance of any type to a string by using the `String(reflecting:)`\ninitializer. This initializer works with any type, and uses the custom\n`debugDescription` property for types that conform to\n`CustomDebugStringConvertible`:\n\n struct Point: CustomDebugStringConvertible {\n let x: Int, y: Int\n\n var debugDescription: String {\n return \"(\\(x), \\(y))\"\n }\n }\n\n let p = Point(x: 21, y: 30)\n let s = String(reflecting: p)\n print(s)\n \/\/ Prints \"(21, 30)\"\n\nThe conversion of `p` to a string in the assignment to `s` uses the\n`Point` type's `debugDescription` property.", - "key.doc.declaration" : "var debugDescription: String { get }", - "key.doc.discussion" : [ - { - "Para" : "Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The conversion of `p` to a string in the assignment to `s` uses the `Point` type’s `debugDescription` property." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "debugDescription<\/Name>s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp<\/USR>var debugDescription: String { get }<\/Declaration>A textual representation of this instance, suitable for debugging.<\/Para><\/Abstract>Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)<\/codeVoice> initializer. This initializer works with any type, and uses the custom debugDescription<\/codeVoice> property for types that conform to CustomDebugStringConvertible<\/codeVoice>:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The conversion of p<\/codeVoice> to a string in the assignment to s<\/codeVoice> uses the Point<\/codeVoice> type’s debugDescription<\/codeVoice> property.<\/Para>This documentation comment was inherited from CustomDebugStringConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "debugDescription", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debugDescription<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 176, - "key.line" : 80, - "key.modulename" : "ListableUI", - "key.name" : "debugDescription", - "key.namelength" : 16, - "key.nameoffset" : 3027, - "key.offset" : 3023, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyIdentifierC16debugDescriptionSSvp" - }, - { - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - } - ], - "key.parsed_declaration" : "public override var debugDescription : String", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 80, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - } - ], - "key.typename" : "Identifier.Type", - "key.typeusr" : "$s10ListableUI10IdentifierCyxq_GmD", - "key.usr" : "s:10ListableUI10IdentifierC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public class AnyIdentifier : Hashable<\/Type>, CustomDebugStringConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3968 - } - ], - "key.bodylength" : 1532, - "key.bodyoffset" : 4037, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type-erased `Identifier` used to identify content in a list.\n\nEven though type-erased, the original `Represented` type from the `Identifier`\nis still retained when being type erased, meaning comparing two `AnyIdentifiers`\nwith the same `value` but different `Represented` types will report `false`:\n```swift\nlet first = Identifier(\"value\") as AnyIdentifier\nlet second = Identifier(\"value\") as AnyIdentifier\n\nlet equal = first == second \/\/ false\n```\n\n**Note** – Like Swift's`KeyPath`, `AnyIdentifier` is the base type for\n`Identifier`. This is done for performance reasons;\nit allows free bridging from `Identifier` to `AnyIdentifier`.\n", - "key.doc.column" : 14, - "key.doc.comment" : "\nA type-erased `Identifier` used to identify content in a list.\n\nEven though type-erased, the original `Represented` type from the `Identifier`\nis still retained when being type erased, meaning comparing two `AnyIdentifiers`\nwith the same `value` but different `Represented` types will report `false`:\n```swift\nlet first = Identifier(\"value\") as AnyIdentifier\nlet second = Identifier(\"value\") as AnyIdentifier\n\nlet equal = first == second \/\/ false\n```\n\n**Note** – Like Swift's`KeyPath`, `AnyIdentifier` is the base type for\n`Identifier`. This is done for performance reasons;\nit allows free bridging from `Identifier` to `AnyIdentifier`.", - "key.doc.declaration" : "public class AnyIdentifier : Hashable, CustomDebugStringConvertible", - "key.doc.discussion" : [ - { - "Para" : "Even though type-erased, the original `Represented` type from the `Identifier` is still retained when being type erased, meaning comparing two `AnyIdentifiers` with the same `value` but different `Represented` types will report `false`:" - }, - { - "CodeListing" : "" - }, - { - "Para" : " – Like Swift’s`KeyPath`, `AnyIdentifier` is the base type for `Identifier`. This is done for performance reasons; it allows free bridging from `Identifier` to `AnyIdentifier`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "AnyIdentifier<\/Name>s:10ListableUI13AnyIdentifierC<\/USR>public class AnyIdentifier : Hashable, CustomDebugStringConvertible<\/Declaration>A type-erased Identifier<\/codeVoice> used to identify content in a list.<\/Para><\/Abstract>Even though type-erased, the original Represented<\/codeVoice> type from the Identifier<\/codeVoice> is still retained when being type erased, meaning comparing two AnyIdentifiers<\/codeVoice> with the same value<\/codeVoice> but different Represented<\/codeVoice> types will report false<\/codeVoice>:<\/Para>(\"value\") as AnyIdentifier]]><\/zCodeLineNumbered>(\"value\") as AnyIdentifier]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Note<\/bold> – Like Swift’sKeyPath<\/codeVoice>, AnyIdentifier<\/codeVoice> is the base type for Identifier<Represented, Value><\/codeVoice>. This is done for performance reasons; it allows free bridging from Identifier<\/codeVoice> to AnyIdentifier<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 103, - "key.doc.name" : "AnyIdentifier", - "key.doc.type" : "Class", - "key.doclength" : 764, - "key.docoffset" : 3204, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 3997 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 4007 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> class<\/syntaxtype.keyword> AnyIdentifier<\/decl.name> : Hashable<\/ref.protocol>, CustomDebugStringConvertible<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - }, - { - "key.name" : "CustomDebugStringConvertible" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1595, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "AnyIdentifier", - "key.namelength" : 13, - "key.nameoffset" : 3981, - "key.offset" : 3975, - "key.parsed_declaration" : "public class AnyIdentifier : Hashable, CustomDebugStringConvertible", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let anyValue: AnyHashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4373 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlying value that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `anyValue` will be `AnyHashable(\"1\")`.\n\nTo directly read the value, access `anyValue.base`.\n", - "key.doc.column" : 16, - "key.doc.comment" : "\nThe underlying value that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `anyValue` will be `AnyHashable(\"1\")`.\n\nTo directly read the value, access `anyValue.base`.", - "key.doc.declaration" : "public let anyValue: AnyHashable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "Then the value of `anyValue` will be `AnyHashable(\"1\")`." - }, - { - "Para" : "To directly read the value, access `anyValue.base`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "anyValue<\/Name>s:10ListableUI13AnyIdentifierC8anyValues0C8HashableVvp<\/USR>public let anyValue: AnyHashable<\/Declaration>The underlying value that backs the identifier. For example, if you create an identifier using:<\/Para><\/Abstract>(\"1\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Then the value of anyValue<\/codeVoice> will be AnyHashable("1")<\/codeVoice>.<\/Para>To directly read the value, access anyValue.base<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 115, - "key.doc.name" : "anyValue", - "key.doc.type" : "Other", - "key.doclength" : 327, - "key.docoffset" : 4042, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> anyValue<\/decl.name>: AnyHashable<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "anyValue", - "key.namelength" : 8, - "key.nameoffset" : 4384, - "key.offset" : 4380, - "key.parsed_declaration" : "public let anyValue : AnyHashable", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.typename" : "AnyHashable", - "key.typeusr" : "$ss11AnyHashableVD", - "key.usr" : "s:10ListableUI13AnyIdentifierC8anyValues0C8HashableVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let representedType: ObjectIdentifier<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4699 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlying type that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `representedType` will be `ObjectIdentifier(MyThing.self)`.\n", - "key.doc.column" : 16, - "key.doc.comment" : "\nThe underlying type that backs the identifier.\nFor example, if you create an identifier using:\n```swift\nIdentifier(\"1\")\n```\nThen the value of `representedType` will be `ObjectIdentifier(MyThing.self)`.", - "key.doc.declaration" : "public let representedType: ObjectIdentifier", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "Then the value of `representedType` will be `ObjectIdentifier(MyThing.self)`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.doc.full_as_xml" : "representedType<\/Name>s:10ListableUI13AnyIdentifierC15representedTypeSOvp<\/USR>public let representedType: ObjectIdentifier<\/Declaration>The underlying type that backs the identifier. For example, if you create an identifier using:<\/Para><\/Abstract>(\"1\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Then the value of representedType<\/codeVoice> will be ObjectIdentifier(MyThing.self)<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 125, - "key.doc.name" : "representedType", - "key.doc.type" : "Other", - "key.doclength" : 279, - "key.docoffset" : 4416, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> representedType<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "representedType", - "key.namelength" : 15, - "key.nameoffset" : 4710, - "key.offset" : 4706, - "key.parsed_declaration" : "public let representedType : ObjectIdentifier", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI13AnyIdentifierC15representedTypeSOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let hash: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4754 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> hash<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 127, - "key.modulename" : "ListableUI", - "key.name" : "hash", - "key.namelength" : 4, - "key.nameoffset" : 4766, - "key.offset" : 4762, - "key.parsed_declaration" : "private let hash : Int", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 127, - "key.related_decls" : [ - { - "key.annotated_decl" : "hash(into:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13AnyIdentifierC4hash33_BA28FAC8DEEB4752FC6A34FE3F1788FCLLSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate init(type: ObjectIdentifier<\/Type>, value: AnyHashable<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 4786 - } - ], - "key.bodylength" : 231, - "key.bodyoffset" : 4854, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(type<\/decl.var.parameter.argument_label>: ObjectIdentifier<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, value<\/decl.var.parameter.argument_label>: AnyHashable<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 288, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "init(type:value:)", - "key.namelength" : 50, - "key.nameoffset" : 4798, - "key.offset" : 4798, - "key.parsed_declaration" : "fileprivate init(type : ObjectIdentifier, value : AnyHashable)", - "key.parsed_scope.end" : 138, - "key.parsed_scope.start" : 129, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyIdentifierC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var hasher: Hasher<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> hasher<\/decl.name>: Hasher<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 21, - "key.line" : 134, - "key.modulename" : "ListableUI", - "key.name" : "hasher", - "key.namelength" : 6, - "key.nameoffset" : 4942, - "key.offset" : 4938, - "key.parsed_declaration" : "var hasher = Hasher()", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.typename" : "Hasher", - "key.typeusr" : "$ss6HasherVD", - "key.usr" : "s:10ListableUI13AnyIdentifierC4type5valueACSO_s0C8HashableVtc33_BA28FAC8DEEB4752FC6A34FE3F1788FCLlfc6hasherL_s6HasherVvp" - } - ], - "key.typename" : "(AnyIdentifier.Type) -> (ObjectIdentifier, AnyHashable) -> AnyIdentifier", - "key.typeusr" : "$s4type5value10ListableUI13AnyIdentifierCSO_s0E8HashableVtcD", - "key.usr" : "s:10ListableUI13AnyIdentifierC4type5valueACSO_s0C8HashableVtc33_BA28FAC8DEEB4752FC6A34FE3F1788FCLlfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 15, - "key.name" : "MARK: Equatable", - "key.offset" : 5099 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func == (lhs: AnyIdentifier<\/Type>, rhs: AnyIdentifier<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5124 - } - ], - "key.bodylength" : 119, - "key.bodyoffset" : 5200, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 189, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 43, - "key.nameoffset" : 5143, - "key.offset" : 5131, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "public static func == (lhs: AnyIdentifier, rhs: AnyIdentifier) -> Bool", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AnyIdentifier.Type) -> (AnyIdentifier, AnyIdentifier) -> Bool", - "key.typeusr" : "$sySb10ListableUI13AnyIdentifierC_ACtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 14, - "key.name" : "MARK: Hashable", - "key.offset" : 5333 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func hash(into hasher: inout Hasher<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5357 - } - ], - "key.bodylength" : 39, - "key.bodyoffset" : 5406, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Hashes the essential components of this value by feeding them into the\ngiven hasher.\n\nImplement this method to conform to the `Hashable` protocol. The\ncomponents used for hashing must be the same as the components compared\nin your type's `==` operator implementation. Call `hasher.combine(_:)`\nwith each of these components.\n\n- Important: In your implementation of `hash(into:)`,\n don't call `finalize()` on the `hasher` instance provided,\n or replace it with a different instance.\n Doing so may become a compile-time error in the future.\n\n- Parameter hasher: The hasher to use when combining the components\n of this instance.", - "key.doc.declaration" : "func hash(into hasher: inout Hasher)", - "key.doc.discussion" : [ - { - "Para" : "Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type’s `==` operator implementation. Call `hasher.combine(_:)` with each of these components." - }, - { - "Important" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "hash(into:)<\/Name>s:SH4hash4intoys6HasherVz_tF<\/USR>func hash(into hasher: inout Hasher)<\/Declaration>Hashes the essential components of this value by feeding them into the given hasher.<\/Para><\/Abstract>hasher<\/Name>in<\/Direction>The hasher to use when combining the components of this instance.<\/Para><\/Discussion><\/Parameter><\/Parameters>Implement this method to conform to the Hashable<\/codeVoice> protocol. The components used for hashing must be the same as the components compared in your type’s ==<\/codeVoice> operator implementation. Call hasher.combine(_:)<\/codeVoice> with each of these components.<\/Para>In your implementation of hash(into:)<\/codeVoice>, don’t call finalize()<\/codeVoice> on the hasher<\/codeVoice> instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.<\/Para><\/Important>This documentation comment was inherited from Hashable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "hash(into:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The hasher to use when combining the components of this instance." - } - ], - "name" : "hasher" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> hash<\/decl.name>(into<\/decl.var.parameter.argument_label> hasher<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Hasher<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 149, - "key.modulename" : "ListableUI", - "key.name" : "hash(into:)", - "key.namelength" : 31, - "key.nameoffset" : 5369, - "key.offset" : 5364, - "key.overrides" : [ - { - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.parsed_declaration" : "public func hash(into hasher: inout Hasher)", - "key.parsed_scope.end" : 152, - "key.parsed_scope.start" : 149, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyIdentifierC" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "hash<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(AnyIdentifier) -> (inout Hasher) -> ()", - "key.typeusr" : "$s4intoys6HasherVz_tcD", - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 34, - "key.name" : "MARK: CustomDebugStringConvertible", - "key.offset" : 5459 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debugDescription: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5503 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 5541, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A textual representation of this instance, suitable for debugging.\n\nCalling this property directly is discouraged. Instead, convert an\ninstance of any type to a string by using the `String(reflecting:)`\ninitializer. This initializer works with any type, and uses the custom\n`debugDescription` property for types that conform to\n`CustomDebugStringConvertible`:\n\n struct Point: CustomDebugStringConvertible {\n let x: Int, y: Int\n\n var debugDescription: String {\n return \"(\\(x), \\(y))\"\n }\n }\n\n let p = Point(x: 21, y: 30)\n let s = String(reflecting: p)\n print(s)\n \/\/ Prints \"(21, 30)\"\n\nThe conversion of `p` to a string in the assignment to `s` uses the\n`Point` type's `debugDescription` property.", - "key.doc.declaration" : "var debugDescription: String { get }", - "key.doc.discussion" : [ - { - "Para" : "Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The conversion of `p` to a string in the assignment to `s` uses the `Point` type’s `debugDescription` property." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "debugDescription<\/Name>s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp<\/USR>var debugDescription: String { get }<\/Declaration>A textual representation of this instance, suitable for debugging.<\/Para><\/Abstract>Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)<\/codeVoice> initializer. This initializer works with any type, and uses the custom debugDescription<\/codeVoice> property for types that conform to CustomDebugStringConvertible<\/codeVoice>:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The conversion of p<\/codeVoice> to a string in the assignment to s<\/codeVoice> uses the Point<\/codeVoice> type’s debugDescription<\/codeVoice> property.<\/Para>This documentation comment was inherited from CustomDebugStringConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "debugDescription", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debugDescription<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "debugDescription", - "key.namelength" : 16, - "key.nameoffset" : 5514, - "key.offset" : 5510, - "key.overrides" : [ - { - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - } - ], - "key.parsed_declaration" : "public var debugDescription : String", - "key.parsed_scope.end" : 158, - "key.parsed_scope.start" : 156, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyIdentifierC" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - } - ], - "key.typename" : "AnyIdentifier.Type", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCmD", - "key.usr" : "s:10ListableUI13AnyIdentifierC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@frozen struct AnyHashable<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 5573 - } - ], - "key.bodylength" : 331, - "key.bodyoffset" : 5608, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type-erased hashable value.\n\nThe `AnyHashable` type forwards equality comparisons and hashing operations\nto an underlying hashable value, hiding the type of the wrapped value.\n\nWhere conversion using `as` or `as?` is possible between two types (such as\n`Int` and `NSNumber`), `AnyHashable` uses a canonical representation of the\ntype-erased value so that instances wrapping the same value of either type\ncompare as equal. For example, `AnyHashable(42)` compares as equal to\n`AnyHashable(42 as NSNumber)`.\n\nYou can store mixed-type keys in dictionaries and other collections that\nrequire `Hashable` conformance by wrapping mixed-type keys in\n`AnyHashable` instances:\n\n let descriptions: [AnyHashable: Any] = [\n 42: \"an Int\",\n 43 as Int8: \"an Int8\",\n [\"a\", \"b\"] as Set: \"a set of strings\"\n ]\n print(descriptions[42]!) \/\/ prints \"an Int\"\n print(descriptions[42 as Int8]!) \/\/ prints \"an Int\"\n print(descriptions[43 as Int8]!) \/\/ prints \"an Int8\"\n print(descriptions[44]) \/\/ prints \"nil\"\n print(descriptions[[\"a\", \"b\"] as Set]!) \/\/ prints \"a set of strings\"\n\nNote that `AnyHashable` does not guarantee that it preserves the hash\nencoding of wrapped values. Do not rely on `AnyHashable` generating such\ncompatible hashes, as the hash encoding that it uses may change between any\ntwo releases of the standard library.", - "key.doc.declaration" : "@frozen struct AnyHashable", - "key.doc.discussion" : [ - { - "Para" : "The `AnyHashable` type forwards equality comparisons and hashing operations to an underlying hashable value, hiding the type of the wrapped value." - }, - { - "Para" : "Where conversion using `as` or `as?` is possible between two types (such as `Int` and `NSNumber`), `AnyHashable` uses a canonical representation of the type-erased value so that instances wrapping the same value of either type compare as equal. For example, `AnyHashable(42)` compares as equal to `AnyHashable(42 as NSNumber)`." - }, - { - "Para" : "You can store mixed-type keys in dictionaries and other collections that require `Hashable` conformance by wrapping mixed-type keys in `AnyHashable` instances:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Note that `AnyHashable` does not guarantee that it preserves the hash encoding of wrapped values. Do not rely on `AnyHashable` generating such compatible hashes, as the hash encoding that it uses may change between any two releases of the standard library." - } - ], - "key.doc.full_as_xml" : "AnyHashable<\/Name>s:s11AnyHashableV<\/USR>@frozen struct AnyHashable<\/Declaration>A type-erased hashable value.<\/Para><\/Abstract>The AnyHashable<\/codeVoice> type forwards equality comparisons and hashing operations to an underlying hashable value, hiding the type of the wrapped value.<\/Para>Where conversion using as<\/codeVoice> or as?<\/codeVoice> is possible between two types (such as Int<\/codeVoice> and NSNumber<\/codeVoice>), AnyHashable<\/codeVoice> uses a canonical representation of the type-erased value so that instances wrapping the same value of either type compare as equal. For example, AnyHashable(42)<\/codeVoice> compares as equal to AnyHashable(42 as NSNumber)<\/codeVoice>.<\/Para>You can store mixed-type keys in dictionaries and other collections that require Hashable<\/codeVoice> conformance by wrapping mixed-type keys in AnyHashable<\/codeVoice> instances:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Note that AnyHashable<\/codeVoice> does not guarantee that it preserves the hash encoding of wrapped values. Do not rely on AnyHashable<\/codeVoice> generating such compatible hashes, as the hash encoding that it uses may change between any two releases of the standard library.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "AnyHashable", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> AnyHashable<\/decl.name><\/decl.struct>", - "key.groupname" : "Hashing", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 355, - "key.modulename" : "Swift", - "key.name" : "AnyHashable", - "key.namelength" : 11, - "key.nameoffset" : 5595, - "key.offset" : 5585, - "key.parsed_declaration" : "fileprivate extension AnyHashable", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "var identifierContentString: String<\/Type> { get }<\/Declaration>", - "key.bodylength" : 286, - "key.bodyoffset" : 5651, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Identifier.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifierContentString<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 325, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "identifierContentString", - "key.namelength" : 23, - "key.nameoffset" : 5617, - "key.offset" : 5613, - "key.parsed_declaration" : "var identifierContentString : String", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 164, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:s11AnyHashableV10ListableUIE23identifierContentString33_BA28FAC8DEEB4752FC6A34FE3F1788FCLLSSvp" - } - ], - "key.typename" : "AnyHashable.Type", - "key.typeusr" : "$ss11AnyHashableVmD", - "key.usr" : "s:s11AnyHashableV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2072, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@frozen @_eagerMove struct Array<Element> : _DestructorSafeContainer<\/Type><\/Declaration>", - "key.bodylength" : 1949, - "key.bodyoffset" : 121, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An ordered, random-access collection.\n\nArrays are one of the most commonly used data types in an app. You use\narrays to organize your app's data. Specifically, you use the `Array` type\nto hold elements of a single type, the array's `Element` type. An array\ncan store any kind of elements---from integers to strings to classes.\n\nSwift makes it easy to create arrays in your code using an array literal:\nsimply surround a comma-separated list of values with square brackets.\nWithout any other information, Swift creates an array that includes the\nspecified values, automatically inferring the array's `Element` type. For\nexample:\n\n \/\/ An array of 'Int' elements\n let oddNumbers = [1, 3, 5, 7, 9, 11, 13, 15]\n\n \/\/ An array of 'String' elements\n let streets = [\"Albemarle\", \"Brandywine\", \"Chesapeake\"]\n\nYou can create an empty array by specifying the `Element` type of your\narray in the declaration. For example:\n\n \/\/ Shortened forms are preferred\n var emptyDoubles: [Double] = []\n\n \/\/ The full type name is also allowed\n var emptyFloats: Array = Array()\n\nIf you need an array that is preinitialized with a fixed number of default\nvalues, use the `Array(repeating:count:)` initializer.\n\n var digitCounts = Array(repeating: 0, count: 10)\n print(digitCounts)\n \/\/ Prints \"[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\"\n\nAccessing Array Values\n======================\n\nWhen you need to perform an operation on all of an array's elements, use a\n`for`-`in` loop to iterate through the array's contents.\n\n for street in streets {\n print(\"I don't live on \\(street).\")\n }\n \/\/ Prints \"I don't live on Albemarle.\"\n \/\/ Prints \"I don't live on Brandywine.\"\n \/\/ Prints \"I don't live on Chesapeake.\"\n\nUse the `isEmpty` property to check quickly whether an array has any\nelements, or use the `count` property to find the number of elements in\nthe array.\n\n if oddNumbers.isEmpty {\n print(\"I don't know any odd numbers.\")\n } else {\n print(\"I know \\(oddNumbers.count) odd numbers.\")\n }\n \/\/ Prints \"I know 8 odd numbers.\"\n\nUse the `first` and `last` properties for safe access to the value of the\narray's first and last elements. If the array is empty, these properties\nare `nil`.\n\n if let firstElement = oddNumbers.first, let lastElement = oddNumbers.last {\n print(firstElement, lastElement, separator: \", \")\n }\n \/\/ Prints \"1, 15\"\n\n print(emptyDoubles.first, emptyDoubles.last, separator: \", \")\n \/\/ Prints \"nil, nil\"\n\nYou can access individual array elements through a subscript. The first\nelement of a nonempty array is always at index zero. You can subscript an\narray with any integer from zero up to, but not including, the count of\nthe array. Using a negative number or an index equal to or greater than\n`count` triggers a runtime error. For example:\n\n print(oddNumbers[0], oddNumbers[3], separator: \", \")\n \/\/ Prints \"1, 7\"\n\n print(emptyDoubles[0])\n \/\/ Triggers runtime error: Index out of range\n\nAdding and Removing Elements\n============================\n\nSuppose you need to store a list of the names of students that are signed\nup for a class you're teaching. During the registration period, you need\nto add and remove names as students add and drop the class.\n\n var students = [\"Ben\", \"Ivy\", \"Jordell\"]\n\nTo add single elements to the end of an array, use the `append(_:)` method.\nAdd multiple elements at the same time by passing another array or a\nsequence of any kind to the `append(contentsOf:)` method.\n\n students.append(\"Maxime\")\n students.append(contentsOf: [\"Shakia\", \"William\"])\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\", \"Shakia\", \"William\"]\n\nYou can add new elements in the middle of an array by using the\n`insert(_:at:)` method for single elements and by using\n`insert(contentsOf:at:)` to insert multiple elements from another\ncollection or array literal. The elements at that index and later indices\nare shifted back to make room.\n\n students.insert(\"Liam\", at: 3)\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\nTo remove elements from an array, use the `remove(at:)`,\n`removeSubrange(_:)`, and `removeLast()` methods.\n\n \/\/ Ben's family is moving to another state\n students.remove(at: 0)\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\n \/\/ William is signing up for a different class\n students.removeLast()\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\"]\n\nYou can replace an existing element with a new value by assigning the new\nvalue to the subscript.\n\n if let i = students.firstIndex(of: \"Maxime\") {\n students[i] = \"Max\"\n }\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Max\", \"Shakia\"]\n\nGrowing the Size of an Array\n----------------------------\n\nEvery array reserves a specific amount of memory to hold its contents. When\nyou add elements to an array and that array begins to exceed its reserved\ncapacity, the array allocates a larger region of memory and copies its\nelements into the new storage. The new storage is a multiple of the old\nstorage's size. This exponential growth strategy means that appending an\nelement happens in constant time, averaging the performance of many append\noperations. Append operations that trigger reallocation have a performance\ncost, but they occur less and less often as the array grows larger.\n\nIf you know approximately how many elements you will need to store, use the\n`reserveCapacity(_:)` method before appending to the array to avoid\nintermediate reallocations. Use the `capacity` and `count` properties to\ndetermine how many more elements the array can store without allocating\nlarger storage.\n\nFor arrays of most `Element` types, this storage is a contiguous block of\nmemory. For arrays with an `Element` type that is a class or `@objc`\nprotocol type, this storage can be a contiguous block of memory or an\ninstance of `NSArray`. Because any arbitrary subclass of `NSArray` can\nbecome an `Array`, there are no guarantees about representation or\nefficiency in this case.\n\nModifying Copies of Arrays\n==========================\n\nEach array has an independent value that includes the values of all of its\nelements. For simple types such as integers and other structures, this\nmeans that when you change a value in one array, the value of that element\ndoes not change in any copies of the array. For example:\n\n var numbers = [1, 2, 3, 4, 5]\n var numbersCopy = numbers\n numbers[0] = 100\n print(numbers)\n \/\/ Prints \"[100, 2, 3, 4, 5]\"\n print(numbersCopy)\n \/\/ Prints \"[1, 2, 3, 4, 5]\"\n\nIf the elements in an array are instances of a class, the semantics are the\nsame, though they might appear different at first. In this case, the\nvalues stored in the array are references to objects that live outside the\narray. If you change a reference to an object in one array, only that\narray has a reference to the new object. However, if two arrays contain\nreferences to the same object, you can observe changes to that object's\nproperties from both arrays. For example:\n\n \/\/ An integer type with reference semantics\n class IntegerReference {\n var value = 10\n }\n var firstIntegers = [IntegerReference(), IntegerReference()]\n var secondIntegers = firstIntegers\n\n \/\/ Modifications to an instance are visible from either array\n firstIntegers[0].value = 100\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\n \/\/ Replacements, additions, and removals are still visible\n \/\/ only in the modified array\n firstIntegers[0] = IntegerReference()\n print(firstIntegers[0].value)\n \/\/ Prints \"10\"\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\nArrays, like all variable-size collections in the standard library, use\ncopy-on-write optimization. Multiple copies of an array share the same\nstorage until you modify one of the copies. When that happens, the array\nbeing modified replaces its storage with a uniquely owned copy of itself,\nwhich is then modified in place. Optimizations are sometimes applied that\ncan reduce the amount of copying.\n\nThis means that if an array is sharing storage with other copies, the first\nmutating operation on that array incurs the cost of copying the array. An\narray that is the sole owner of its storage can perform mutating\noperations in place.\n\nIn the example below, a `numbers` array is created along with two copies\nthat share the same storage. When the original `numbers` array is\nmodified, it makes a unique copy of its storage before making the\nmodification. Further modifications to `numbers` are made in place, while\nthe two copies continue to share the original storage.\n\n var numbers = [1, 2, 3, 4, 5]\n var firstCopy = numbers\n var secondCopy = numbers\n\n \/\/ The storage for 'numbers' is copied here\n numbers[0] = 100\n numbers[1] = 200\n numbers[2] = 300\n \/\/ 'numbers' is [100, 200, 300, 4, 5]\n \/\/ 'firstCopy' and 'secondCopy' are [1, 2, 3, 4, 5]\n\nBridging Between Array and NSArray\n==================================\n\nWhen you need to access APIs that require data in an `NSArray` instance\ninstead of `Array`, use the type-cast operator (`as`) to bridge your\ninstance. For bridging to be possible, the `Element` type of your array\nmust be a class, an `@objc` protocol (a protocol imported from Objective-C\nor marked with the `@objc` attribute), or a type that bridges to a\nFoundation type.\n\nThe following example shows how you can bridge an `Array` instance to\n`NSArray` to use the `write(to:atomically:)` method. In this example, the\n`colors` array can be bridged to `NSArray` because the `colors` array's\n`String` elements bridge to `NSString`. The compiler prevents bridging the\n`moreColors` array, on the other hand, because its `Element` type is\n`Optional`, which does *not* bridge to a Foundation type.\n\n let colors = [\"periwinkle\", \"rose\", \"moss\"]\n let moreColors: [String?] = [\"ochre\", \"pine\"]\n\n let url = URL(fileURLWithPath: \"names.plist\")\n (colors as NSArray).write(to: url, atomically: true)\n \/\/ true\n\n (moreColors as NSArray).write(to: url, atomically: true)\n \/\/ error: cannot convert value of type '[String?]' to type 'NSArray'\n\nBridging from `Array` to `NSArray` takes O(1) time and O(1) space if the\narray's elements are already instances of a class or an `@objc` protocol;\notherwise, it takes O(*n*) time and space.\n\nWhen the destination array's element type is a class or an `@objc`\nprotocol, bridging from `NSArray` to `Array` first calls the `copy(with:)`\n(`- copyWithZone:` in Objective-C) method on the array to get an immutable\ncopy and then performs additional Swift bookkeeping work that takes O(1)\ntime. For instances of `NSArray` that are already immutable, `copy(with:)`\nusually returns the same array in O(1) time; otherwise, the copying\nperformance is unspecified. If `copy(with:)` returns the same array, the\ninstances of `NSArray` and `Array` share storage using the same\ncopy-on-write optimization that is used when two instances of `Array`\nshare storage.\n\nWhen the destination array's element type is a nonclass type that bridges\nto a Foundation type, bridging from `NSArray` to `Array` performs a\nbridging copy of the elements to contiguous storage in O(*n*) time. For\nexample, bridging from `NSArray` to `Array` performs such a copy. No\nfurther bridging is required when accessing elements of the `Array`\ninstance.\n\n- Note: The `ContiguousArray` and `ArraySlice` types are not bridged;\n instances of those types always have a contiguous block of memory as\n their storage.", - "key.doc.declaration" : "@frozen struct Array : _DestructorSafeContainer", - "key.doc.discussion" : [ - { - "Para" : "Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the `Array` type to hold elements of a single type, the array’s `Element` type. An array can store any kind of elements—from integers to strings to classes." - }, - { - "Para" : "Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s `Element` type. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can create an empty array by specifying the `Element` type of your array in the declaration. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you need an array that is preinitialized with a fixed number of default values, use the `Array(repeating:count:)` initializer." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to perform an operation on all of an array’s elements, use a `for`-`in` loop to iterate through the array’s contents." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `isEmpty` property to check quickly whether an array has any elements, or use the `count` property to find the number of elements in the array." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `first` and `last` properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are `nil`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than `count` triggers a runtime error. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To add single elements to the end of an array, use the `append(_:)` method. Add multiple elements at the same time by passing another array or a sequence of any kind to the `append(contentsOf:)` method." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can add new elements in the middle of an array by using the `insert(_:at:)` method for single elements and by using `insert(contentsOf:at:)` to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To remove elements from an array, use the `remove(at:)`, `removeSubrange(_:)`, and `removeLast()` methods." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can replace an existing element with a new value by assigning the new value to the subscript." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger." - }, - { - "Para" : "If you know approximately how many elements you will need to store, use the `reserveCapacity(_:)` method before appending to the array to avoid intermediate reallocations. Use the `capacity` and `count` properties to determine how many more elements the array can store without allocating larger storage." - }, - { - "Para" : "For arrays of most `Element` types, this storage is a contiguous block of memory. For arrays with an `Element` type that is a class or `@objc` protocol type, this storage can be a contiguous block of memory or an instance of `NSArray`. Because any arbitrary subclass of `NSArray` can become an `Array`, there are no guarantees about representation or efficiency in this case." - }, - { - "Para" : "Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying." - }, - { - "Para" : "This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place." - }, - { - "Para" : "In the example below, a `numbers` array is created along with two copies that share the same storage. When the original `numbers` array is modified, it makes a unique copy of its storage before making the modification. Further modifications to `numbers` are made in place, while the two copies continue to share the original storage." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to access APIs that require data in an `NSArray` instance instead of `Array`, use the type-cast operator (`as`) to bridge your instance. For bridging to be possible, the `Element` type of your array must be a class, an `@objc` protocol (a protocol imported from Objective-C or marked with the `@objc` attribute), or a type that bridges to a Foundation type." - }, - { - "Para" : "The following example shows how you can bridge an `Array` instance to `NSArray` to use the `write(to:atomically:)` method. In this example, the `colors` array can be bridged to `NSArray` because the `colors` array’s `String` elements bridge to `NSString`. The compiler prevents bridging the `moreColors` array, on the other hand, because its `Element` type is `Optional`, which does bridge to a Foundation type." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Bridging from `Array` to `NSArray` takes O(1) time and O(1) space if the array’s elements are already instances of a class or an `@objc` protocol; otherwise, it takes O() time and space." - }, - { - "Para" : "When the destination array’s element type is a class or an `@objc` protocol, bridging from `NSArray` to `Array` first calls the `copy(with:)` (`- copyWithZone:` in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of `NSArray` that are already immutable, `copy(with:)` usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If `copy(with:)` returns the same array, the instances of `NSArray` and `Array` share storage using the same copy-on-write optimization that is used when two instances of `Array` share storage." - }, - { - "Para" : "When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from `NSArray` to `Array` performs a bridging copy of the elements to contiguous storage in O() time. For example, bridging from `NSArray` to `Array` performs such a copy. No further bridging is required when accessing elements of the `Array` instance." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "Array<\/Name>s:Sa<\/USR>@frozen struct Array<Element> : _DestructorSafeContainer<\/Declaration>An ordered, random-access collection.<\/Para><\/Abstract>Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the Array<\/codeVoice> type to hold elements of a single type, the array’s Element<\/codeVoice> type. An array can store any kind of elements—from integers to strings to classes.<\/Para>Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s Element<\/codeVoice> type. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can create an empty array by specifying the Element<\/codeVoice> type of your array in the declaration. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> = Array()]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you need an array that is preinitialized with a fixed number of default values, use the Array(repeating:count:)<\/codeVoice> initializer.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Accessing Array Values]]><\/rawHTML>When you need to perform an operation on all of an array’s elements, use a for<\/codeVoice>-in<\/codeVoice> loop to iterate through the array’s contents.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the isEmpty<\/codeVoice> property to check quickly whether an array has any elements, or use the count<\/codeVoice> property to find the number of elements in the array.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the first<\/codeVoice> and last<\/codeVoice> properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are nil<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than count<\/codeVoice> triggers a runtime error. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Adding and Removing Elements]]><\/rawHTML>Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To add single elements to the end of an array, use the append(_:)<\/codeVoice> method. Add multiple elements at the same time by passing another array or a sequence of any kind to the append(contentsOf:)<\/codeVoice> method.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can add new elements in the middle of an array by using the insert(_:at:)<\/codeVoice> method for single elements and by using insert(contentsOf:at:)<\/codeVoice> to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To remove elements from an array, use the remove(at:)<\/codeVoice>, removeSubrange(_:)<\/codeVoice>, and removeLast()<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can replace an existing element with a new value by assigning the new value to the subscript.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Growing the Size of an Array]]><\/rawHTML>Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger.<\/Para>If you know approximately how many elements you will need to store, use the reserveCapacity(_:)<\/codeVoice> method before appending to the array to avoid intermediate reallocations. Use the capacity<\/codeVoice> and count<\/codeVoice> properties to determine how many more elements the array can store without allocating larger storage.<\/Para>For arrays of most Element<\/codeVoice> types, this storage is a contiguous block of memory. For arrays with an Element<\/codeVoice> type that is a class or @objc<\/codeVoice> protocol type, this storage can be a contiguous block of memory or an instance of NSArray<\/codeVoice>. Because any arbitrary subclass of NSArray<\/codeVoice> can become an Array<\/codeVoice>, there are no guarantees about representation or efficiency in this case.<\/Para>]]><\/rawHTML>Modifying Copies of Arrays]]><\/rawHTML>Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying.<\/Para>This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place.<\/Para>In the example below, a numbers<\/codeVoice> array is created along with two copies that share the same storage. When the original numbers<\/codeVoice> array is modified, it makes a unique copy of its storage before making the modification. Further modifications to numbers<\/codeVoice> are made in place, while the two copies continue to share the original storage.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Bridging Between Array and NSArray]]><\/rawHTML>When you need to access APIs that require data in an NSArray<\/codeVoice> instance instead of Array<\/codeVoice>, use the type-cast operator (as<\/codeVoice>) to bridge your instance. For bridging to be possible, the Element<\/codeVoice> type of your array must be a class, an @objc<\/codeVoice> protocol (a protocol imported from Objective-C or marked with the @objc<\/codeVoice> attribute), or a type that bridges to a Foundation type.<\/Para>The following example shows how you can bridge an Array<\/codeVoice> instance to NSArray<\/codeVoice> to use the write(to:atomically:)<\/codeVoice> method. In this example, the colors<\/codeVoice> array can be bridged to NSArray<\/codeVoice> because the colors<\/codeVoice> array’s String<\/codeVoice> elements bridge to NSString<\/codeVoice>. The compiler prevents bridging the moreColors<\/codeVoice> array, on the other hand, because its Element<\/codeVoice> type is Optional<String><\/codeVoice>, which does not<\/emphasis> bridge to a Foundation type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Bridging from Array<\/codeVoice> to NSArray<\/codeVoice> takes O(1) time and O(1) space if the array’s elements are already instances of a class or an @objc<\/codeVoice> protocol; otherwise, it takes O(n<\/emphasis>) time and space.<\/Para>When the destination array’s element type is a class or an @objc<\/codeVoice> protocol, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> first calls the copy(with:)<\/codeVoice> (- copyWithZone:<\/codeVoice> in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of NSArray<\/codeVoice> that are already immutable, copy(with:)<\/codeVoice> usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If copy(with:)<\/codeVoice> returns the same array, the instances of NSArray<\/codeVoice> and Array<\/codeVoice> share storage using the same copy-on-write optimization that is used when two instances of Array<\/codeVoice> share storage.<\/Para>When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> performs a bridging copy of the elements to contiguous storage in O(n<\/emphasis>) time. For example, bridging from NSArray<\/codeVoice> to Array<Int><\/codeVoice> performs such a copy. No further bridging is required when accessing elements of the Array<\/codeVoice> instance.<\/Para>The ContiguousArray<\/codeVoice> and ArraySlice<\/codeVoice> types are not bridged; instances of those types always have a contiguous block of memory as their storage.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "Array", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_eagerMove<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> Array<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> : _DestructorSafeContainer<\/ref.protocol><\/decl.struct>", - "key.groupname" : "Collection\/Array", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1967, - "key.modulename" : "Swift", - "key.name" : "Array", - "key.namelength" : 5, - "key.nameoffset" : 114, - "key.offset" : 104, - "key.parsed_declaration" : "extension Array", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func forEachWithIndex(_ block: (Int<\/Type>, Bool<\/Type>, Element<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 230, - "key.bodyoffset" : 191, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> forEachWithIndex<\/decl.name>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 296, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "forEachWithIndex(_:)", - "key.namelength" : 54, - "key.nameoffset" : 131, - "key.offset" : 126, - "key.parsed_declaration" : "func forEachWithIndex(_ block : (Int, Bool, Element) -> ())", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let count: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 204, - "key.offset" : 200, - "key.parsed_declaration" : "let count = self.count", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE16forEachWithIndexyyySi_SbxtXEF5countL_Sivp" - }, - { - "key.annotated_decl" : "var index: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> index<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 19, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "index", - "key.namelength" : 5, - "key.nameoffset" : 235, - "key.offset" : 231, - "key.parsed_declaration" : "var index : Int = 0", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.related_decls" : [ - { - "key.annotated_decl" : "index(_:_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE16forEachWithIndexyyySi_SbxtXEF5indexL_Sivp" - } - ], - "key.typename" : " (Array) -> ((Int, Bool, Element) -> ()) -> ()", - "key.typeusr" : "$syyySi_SbxtXEcD", - "key.usr" : "s:Sa10ListableUIE16forEachWithIndexyyySi_SbxtXEF" - }, - { - "key.annotated_decl" : "func mapWithIndex<Mapped>(_ block: (Int<\/Type>, Bool<\/Type>, Element<\/Type>) -> Mapped<\/Type>) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 360, - "key.bodyoffset" : 517, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> mapWithIndex<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 446, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "mapWithIndex(_:)", - "key.namelength" : 62, - "key.nameoffset" : 437, - "key.offset" : 432, - "key.parsed_declaration" : "func mapWithIndex(_ block : (Int, Bool, Element) -> Mapped) -> [Mapped]", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 450, - "key.offset" : 450, - "key.parsed_declaration" : "func mapWithIndexvar mapped: [Mapped<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: [Mapped<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 23, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 530, - "key.offset" : 526, - "key.parsed_declaration" : "var mapped = [Mapped]()", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.typename" : "[Mapped]", - "key.typeusr" : "$sSayqd__GD", - "key.usr" : "s:Sa10ListableUIE12mapWithIndexySayqd__Gqd__Si_SbxtXElF6mappedL_ACvp" - }, - { - "key.annotated_decl" : "let count: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 614, - "key.offset" : 610, - "key.parsed_declaration" : "let count = self.count", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE12mapWithIndexySayqd__Gqd__Si_SbxtXElF5countL_Sivp" - }, - { - "key.annotated_decl" : "var index: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> index<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 19, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "index", - "key.namelength" : 5, - "key.nameoffset" : 645, - "key.offset" : 641, - "key.parsed_declaration" : "var index : Int = 0", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.related_decls" : [ - { - "key.annotated_decl" : "index(_:_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE12mapWithIndexySayqd__Gqd__Si_SbxtXElF5indexL_Sivp" - } - ], - "key.typename" : " (Array) -> ((Int, Bool, Element) -> Mapped) -> [Mapped]", - "key.typeusr" : "$sySayqd__Gqd__Si_SbxtXEcluD", - "key.usr" : "s:Sa10ListableUIE12mapWithIndexySayqd__Gqd__Si_SbxtXElF" - }, - { - "key.annotated_decl" : "func compactMapWithIndex<Mapped>(_ block: (Int<\/Type>, Bool<\/Type>, Element<\/Type>) -> Mapped<\/Type>?) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 439, - "key.bodyoffset" : 981, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> compactMapWithIndex<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param>?<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 533, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "compactMapWithIndex(_:)", - "key.namelength" : 70, - "key.nameoffset" : 893, - "key.offset" : 888, - "key.parsed_declaration" : "func compactMapWithIndex(_ block : (Int, Bool, Element) -> Mapped?) -> [Mapped]", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 913, - "key.offset" : 913, - "key.parsed_declaration" : "func compactMapWithIndexvar mapped: [Mapped<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: [Mapped<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 23, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 994, - "key.offset" : 990, - "key.parsed_declaration" : "var mapped = [Mapped]()", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "[Mapped]", - "key.typeusr" : "$sSayqd__GD", - "key.usr" : "s:Sa10ListableUIE19compactMapWithIndexySayqd__Gqd__SgSi_SbxtXElF6mappedL_ACvp" - }, - { - "key.annotated_decl" : "let count: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 1078, - "key.offset" : 1074, - "key.parsed_declaration" : "let count = self.count", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE19compactMapWithIndexySayqd__Gqd__SgSi_SbxtXElF5countL_Sivp" - }, - { - "key.annotated_decl" : "var index: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> index<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 19, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "index", - "key.namelength" : 5, - "key.nameoffset" : 1109, - "key.offset" : 1105, - "key.parsed_declaration" : "var index : Int = 0", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.related_decls" : [ - { - "key.annotated_decl" : "index(_:_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE19compactMapWithIndexySayqd__Gqd__SgSi_SbxtXElF5indexL_Sivp" - } - ], - "key.typename" : " (Array) -> ((Int, Bool, Element) -> Mapped?) -> [Mapped]", - "key.typeusr" : "$sySayqd__Gqd__SgSi_SbxtXEcluD", - "key.usr" : "s:Sa10ListableUIE19compactMapWithIndexySayqd__Gqd__SgSi_SbxtXElF" - }, - { - "key.annotated_decl" : "mutating func popPassing(_ predicate: (Element<\/Type>) -> Bool<\/Type>) -> [Element<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 1634 - } - ], - "key.bodylength" : 362, - "key.bodyoffset" : 1706, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Pops all of the items passing the given `predicate` from the beginning of the array.\nIf there are no passing elements at the beginning, or the array is empty, an empty array is returned.", - "key.doc.column" : 19, - "key.doc.comment" : "Pops all of the items passing the given `predicate` from the beginning of the array.\nIf there are no passing elements at the beginning, or the array is empty, an empty array is returned.", - "key.doc.declaration" : "mutating func popPassing(_ predicate: (Element) -> Bool) -> [Element]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.doc.full_as_xml" : "popPassing(_:)<\/Name>s:Sa10ListableUIE10popPassingySayxGSbxXEF<\/USR>mutating func popPassing(_ predicate: (Element) -> Bool) -> [Element]<\/Declaration>Pops all of the items passing the given predicate<\/codeVoice> from the beginning of the array. If there are no passing elements at the beginning, or the array is empty, an empty array is returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 65, - "key.doc.name" : "popPassing(_:)", - "key.doc.type" : "Function", - "key.doclength" : 199, - "key.docoffset" : 1431, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> popPassing<\/decl.name>(_<\/decl.var.parameter.argument_label> predicate<\/decl.var.parameter.name>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Element<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 426, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "popPassing(_:)", - "key.namelength" : 43, - "key.nameoffset" : 1648, - "key.offset" : 1643, - "key.parsed_declaration" : "mutating func popPassing(_ predicate : (Element) -> Bool) -> [Element]", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let all: [Element<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Array.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> all<\/decl.name>: [Element<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 14, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 2000, - "key.offset" : 1996, - "key.parsed_declaration" : "let all = self", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 76, - "key.related_decls" : [ - { - "key.annotated_decl" : "all(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "[Element]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:Sa10ListableUIE10popPassingySayxGSbxXEF3allL_ACvp" - } - ], - "key.typename" : " (inout Array) -> ((Element) -> Bool) -> [Element]", - "key.typeusr" : "$sySayxGSbxXEcD", - "key.usr" : "s:Sa10ListableUIE10popPassingySayxGSbxXEF" - } - ], - "key.typename" : "Array.Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:Sa" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1802, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func listableInternalFatal(_ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line) -> Never<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 108 - } - ], - "key.bodylength" : 230, - "key.bodyoffset" : 274, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listableInternalFatal<\/decl.name>(_<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>) -> Never<\/ref.enum><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 379, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "listableInternalFatal(_:file:line:)", - "key.namelength" : 132, - "key.nameoffset" : 131, - "key.offset" : 126, - "key.parsed_declaration" : "func listableInternalFatal(\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n) -> Never", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> String, StaticString, UInt) -> Never", - "key.typeusr" : "$s_4file4lines5NeverOSSyXK_s12StaticStringVSutcD", - "key.usr" : "s:10ListableUI21listableInternalFatal_4file4lines5NeverOSSyXK_s12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func listableInternalPrecondition(_ condition: @autoclosure () -> Bool<\/Type>, _ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 507 - } - ], - "key.bodylength" : 270, - "key.bodyoffset" : 713, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listableInternalPrecondition<\/decl.name>(_<\/decl.var.parameter.argument_label> condition<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 459, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "listableInternalPrecondition(_:_:file:line:)", - "key.namelength" : 181, - "key.nameoffset" : 530, - "key.offset" : 525, - "key.parsed_declaration" : "func listableInternalPrecondition(\n _ condition: @autoclosure () -> Bool,\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n)", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> Bool, @autoclosure () -> String, StaticString, UInt) -> ()", - "key.typeusr" : "$s__4file4lineySbyXK_SSyXKs12StaticStringVSutcD", - "key.usr" : "s:10ListableUI28listableInternalPrecondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@inline(__always) func precondition(_ condition: @autoclosure () -> Bool<\/Type>, _ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 1137 - } - ], - "key.bodylength" : 91, - "key.bodyoffset" : 1327, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, `precondition` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.column" : 6, - "key.doc.comment" : "By default, `precondition` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.declaration" : "func precondition(_ condition: @autoclosure () -> Bool, _ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.doc.full_as_xml" : "precondition(_:_:file:line:)<\/Name>s:10ListableUI12precondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF<\/USR>func precondition(_ condition: @autoclosure () -> Bool, _ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)<\/Declaration>By default, precondition<\/codeVoice> error messages are not included in release builds. We would like that! https:\/\/github.com\/apple\/swift\/issues\/43517<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 55, - "key.doc.name" : "precondition(_:_:file:line:)", - "key.doc.type" : "Function", - "key.doclength" : 150, - "key.docoffset" : 987, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> precondition<\/decl.name>(_<\/decl.var.parameter.argument_label> condition<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 264, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "precondition(_:_:file:line:)", - "key.namelength" : 165, - "key.nameoffset" : 1160, - "key.offset" : 1155, - "key.parsed_declaration" : "func precondition(\n _ condition: @autoclosure () -> Bool,\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 55, - "key.related_decls" : [ - { - "key.annotated_decl" : "precondition(_: @autoclosure () -> Bool, _: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> Bool, @autoclosure () -> String, StaticString, UInt) -> ()", - "key.typeusr" : "$s__4file4lineySbyXK_SSyXKs12StaticStringVSutcD", - "key.usr" : "s:10ListableUI12precondition__4file4lineySbyXK_SSyXKs12StaticStringVSutF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@inline(__always) public func preconditionFailure(_ message: @autoclosure () -> String<\/Type> = String(), file: StaticString<\/Type> = #file, line: UInt<\/Type> = #line) -> Never<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1596 - }, - { - "key.attribute" : "source.decl.attribute.inline", - "key.length" : 17, - "key.offset" : 1578 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 1749, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "By default, `preconditionFailure` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.column" : 13, - "key.doc.comment" : "By default, `preconditionFailure` error messages are not included in release builds. We would like that!\nhttps:\/\/github.com\/apple\/swift\/issues\/43517", - "key.doc.declaration" : "public func preconditionFailure(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.doc.full_as_xml" : "preconditionFailure(_:file:line:)<\/Name>s:10ListableUI19preconditionFailure_4file4lines5NeverOSSyXK_s12StaticStringVSutF<\/USR>public func preconditionFailure(_ message: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never<\/Declaration>By default, preconditionFailure<\/codeVoice> error messages are not included in release builds. We would like that! https:\/\/github.com\/apple\/swift\/issues\/43517<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 69, - "key.doc.name" : "preconditionFailure(_:file:line:)", - "key.doc.type" : "Function", - "key.doclength" : 157, - "key.docoffset" : 1421, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Assertions.swift", - "key.fully_annotated_decl" : "@inline(__always)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preconditionFailure<\/decl.name>(_<\/decl.var.parameter.argument_label> message<\/decl.var.parameter.name>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> String<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type> = String()<\/decl.var.parameter>, file<\/decl.var.parameter.argument_label>: StaticString<\/ref.struct><\/decl.var.parameter.type> = #file<\/syntaxtype.keyword><\/decl.var.parameter>, line<\/decl.var.parameter.argument_label>: UInt<\/ref.struct><\/decl.var.parameter.type> = #line<\/syntaxtype.keyword><\/decl.var.parameter>) -> Never<\/ref.enum><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 198, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "preconditionFailure(_:file:line:)", - "key.namelength" : 130, - "key.nameoffset" : 1608, - "key.offset" : 1603, - "key.parsed_declaration" : "public func preconditionFailure(\n _ message: @autoclosure () -> String = String(),\n file: StaticString = #file,\n line: UInt = #line\n) -> Never", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 69, - "key.related_decls" : [ - { - "key.annotated_decl" : "preconditionFailure(_: @autoclosure () -> String = String(), file: StaticString = #file, line: UInt = #line) -> Never<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(@autoclosure () -> String, StaticString, UInt) -> Never", - "key.typeusr" : "$s_4file4lines5NeverOSSyXK_s12StaticStringVSutcD", - "key.usr" : "s:10ListableUI19preconditionFailure_4file4lines5NeverOSSyXK_s12StaticStringVSutF" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 993, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "struct CGRect<\/Declaration>", - "key.bodylength" : 954, - "key.bodyoffset" : 37, - "key.column" : 8, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/CoreFoundation.framework\/Headers\/CFCGTypes.h", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CGRect<\/decl.name><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 973, - "key.line" : 76, - "key.modulename" : "CoreFoundation.CFCGTypes", - "key.name" : "CGRect", - "key.namelength" : 6, - "key.nameoffset" : 29, - "key.offset" : 19, - "key.parsed_declaration" : "extension CGRect", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 3, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func percentageVisible(inside container: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 793, - "key.bodyoffset" : 196, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the percentage from `0.0` to `1.0` that this rect overlaps `container`.", - "key.doc.column" : 10, - "key.doc.comment" : "Returns the percentage from `0.0` to `1.0` that this rect overlaps `container`.", - "key.doc.declaration" : "func percentageVisible(inside container: CGRect) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift", - "key.doc.full_as_xml" : "percentageVisible(inside:)<\/Name>s:So6CGRectV10ListableUIE17percentageVisible6inside14CoreFoundation7CGFloatVAB_tF<\/USR>func percentageVisible(inside container: CGRect) -> CGFloat<\/Declaration>Returns the percentage from 0.0<\/codeVoice> to 1.0<\/codeVoice> that this rect overlaps container<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 6, - "key.doc.name" : "percentageVisible(inside:)", - "key.doc.type" : "Function", - "key.doclength" : 84, - "key.docoffset" : 47, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> percentageVisible<\/decl.name>(inside<\/decl.var.parameter.argument_label> container<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 855, - "key.line" : 6, - "key.modulename" : "ListableUI", - "key.name" : "percentageVisible(inside:)", - "key.namelength" : 43, - "key.nameoffset" : 140, - "key.offset" : 135, - "key.parsed_declaration" : "func percentageVisible(inside container: CGRect) -> CGFloat", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 6, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let container: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> container<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 202, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "container", - "key.namelength" : 9, - "key.nameoffset" : 607, - "key.offset" : 603, - "key.parsed_declaration" : "let container = CGRect(\n x: floor(container.origin.x),\n y: floor(container.origin.y),\n width: ceil(container.width),\n height: ceil(container.height)\n)", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:So6CGRectV10ListableUIE17percentageVisible6inside14CoreFoundation7CGFloatVAB_tF9containerL0_ABvp" - }, - { - "key.annotated_decl" : "let overlap: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> overlap<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 37, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "overlap", - "key.namelength" : 7, - "key.nameoffset" : 818, - "key.offset" : 814, - "key.parsed_declaration" : "let overlap = intersection(container)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:So6CGRectV10ListableUIE17percentageVisible6inside14CoreFoundation7CGFloatVAB_tF7overlapL_ABvp" - }, - { - "key.annotated_decl" : "let area: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGRect.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> area<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "area", - "key.namelength" : 4, - "key.nameoffset" : 864, - "key.offset" : 860, - "key.parsed_declaration" : "let area = (width * height)", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:So6CGRectV10ListableUIE17percentageVisible6inside14CoreFoundation7CGFloatVAB_tF4areaL_AHvp" - } - ], - "key.typename" : "(CGRect) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s6inside14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:So6CGRectV10ListableUIE17percentageVisible6inside14CoreFoundation7CGFloatVAB_tF" - } - ], - "key.typename" : "CGRect.Type", - "key.typeusr" : "$sSo6CGRectVmD", - "key.usr" : "c:@S@CGRect" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGSize.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 234, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CGSize<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 118 - } - ], - "key.bodylength" : 87, - "key.bodyoffset" : 145, - "key.column" : 8, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/CoreFoundation.framework\/Headers\/CFCGTypes.h", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CGSize<\/decl.name><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 106, - "key.line" : 58, - "key.modulename" : "CoreFoundation.CFCGTypes", - "key.name" : "CGSize", - "key.namelength" : 6, - "key.nameoffset" : 137, - "key.offset" : 127, - "key.parsed_declaration" : "internal extension CGSize", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isEmpty: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 60, - "key.bodyoffset" : 170, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/CGSize.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 81, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "isEmpty", - "key.namelength" : 7, - "key.nameoffset" : 154, - "key.offset" : 150, - "key.parsed_declaration" : "var isEmpty : Bool", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:So6CGSizeV10ListableUIE7isEmptySbvp" - } - ], - "key.typename" : "CGSize.Type", - "key.typeusr" : "$sSo6CGSizeVmD", - "key.usr" : "c:@S@CGSize" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 19113, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<Element, Identifier> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 9006, - "key.bodyoffset" : 156, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 9055, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff", - "key.namelength" : 9, - "key.nameoffset" : 115, - "key.offset" : 108, - "key.parsed_declaration" : "struct ArrayDiff", - "key.parsed_scope.end" : 319, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Element<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Element<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 125, - "key.offset" : 125, - "key.parsed_declaration" : "struct ArrayDiffIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 145 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 134, - "key.offset" : 134, - "key.parsed_declaration" : "struct ArrayDiffvar added: [Added<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> added<\/decl.name>: [Added<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "added", - "key.namelength" : 5, - "key.nameoffset" : 165, - "key.offset" : 161, - "key.parsed_declaration" : "var added : [Added]", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ArrayDiff.Added]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV5AddedVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV5addedSayAC5AddedVyxq__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var removed: [Removed<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> removed<\/decl.name>: [Removed<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 189, - "key.offset" : 185, - "key.parsed_declaration" : "var removed : [Removed]", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ArrayDiff.Removed]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV7RemovedVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV7removedSayAC7RemovedVyxq__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var moved: [Moved<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> moved<\/decl.name>: [Moved<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "moved", - "key.namelength" : 5, - "key.nameoffset" : 222, - "key.offset" : 218, - "key.parsed_declaration" : "var moved : [Moved]", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ArrayDiff.Moved]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV5MovedVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV5movedSayAC5MovedVyxq__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var updated: [Updated<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> updated<\/decl.name>: [Updated<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "updated", - "key.namelength" : 7, - "key.nameoffset" : 246, - "key.offset" : 242, - "key.parsed_declaration" : "var updated : [Updated]", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ArrayDiff.Updated]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV7UpdatedVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV7updatedSayAC7UpdatedVyxq__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var noChange: [NoChange<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> noChange<\/decl.name>: [NoChange<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "noChange", - "key.namelength" : 8, - "key.nameoffset" : 274, - "key.offset" : 270, - "key.parsed_declaration" : "var noChange : [NoChange]", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ArrayDiff.NoChange]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV8NoChangeVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV8noChangeSayAC02NoF0Vyxq__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var changeCount: Int<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> changeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "changeCount", - "key.namelength" : 11, - "key.nameoffset" : 309, - "key.offset" : 305, - "key.parsed_declaration" : "var changeCount : Int", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV11changeCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let usedFastPath: Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> usedFastPath<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "usedFastPath", - "key.namelength" : 12, - "key.nameoffset" : 340, - "key.offset" : 336, - "key.parsed_declaration" : "let usedFastPath : Bool", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ArrayDiffV12usedFastPathSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Added<\/Declaration>", - "key.bodylength" : 112, - "key.bodyoffset" : 387, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Added<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 131, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "Added", - "key.namelength" : 5, - "key.nameoffset" : 376, - "key.offset" : 369, - "key.parsed_declaration" : "struct Added", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: Identifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 400, - "key.offset" : 396, - "key.parsed_declaration" : "let identifier : Identifier", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI9ArrayDiffV5AddedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 445, - "key.offset" : 441, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV5AddedV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 481, - "key.offset" : 477, - "key.parsed_declaration" : "let new : Element", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV5AddedV3newxvp" - } - ], - "key.typename" : "ArrayDiff.Added.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5AddedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV5AddedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Removed<\/Declaration>", - "key.bodylength" : 112, - "key.bodyoffset" : 530, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Removed<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 133, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "Removed", - "key.namelength" : 7, - "key.nameoffset" : 517, - "key.offset" : 510, - "key.parsed_declaration" : "struct Removed", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: Identifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 543, - "key.offset" : 539, - "key.parsed_declaration" : "let identifier : Identifier", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI9ArrayDiffV7RemovedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 588, - "key.offset" : 584, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV7RemovedV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let old: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 624, - "key.offset" : 620, - "key.parsed_declaration" : "let old : Element", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV7RemovedV3oldxvp" - } - ], - "key.typename" : "ArrayDiff.Removed.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7RemovedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV7RemovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Moved<\/Declaration>", - "key.bodylength" : 100, - "key.bodyoffset" : 671, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Moved<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 119, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "Moved", - "key.namelength" : 5, - "key.nameoffset" : 660, - "key.offset" : 653, - "key.parsed_declaration" : "struct Moved", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: Identifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 684, - "key.offset" : 680, - "key.parsed_declaration" : "let identifier : Identifier", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI9ArrayDiffV5MovedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let old: Removed<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Removed<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 729, - "key.offset" : 725, - "key.parsed_declaration" : "let old : Removed", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Removed", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7RemovedVyxq__GD", - "key.usr" : "s:10ListableUI9ArrayDiffV5MovedV3oldAC7RemovedVyxq__Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: Added<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Added<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 755, - "key.offset" : 751, - "key.parsed_declaration" : "let new : Added", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Added", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5AddedVyxq__GD", - "key.usr" : "s:10ListableUI9ArrayDiffV5MovedV3newAC5AddedVyxq__Gvp" - } - ], - "key.typename" : "ArrayDiff.Moved.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5MovedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV5MovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Updated<\/Declaration>", - "key.bodylength" : 165, - "key.bodyoffset" : 802, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Updated<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 186, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "Updated", - "key.namelength" : 7, - "key.nameoffset" : 789, - "key.offset" : 782, - "key.parsed_declaration" : "struct Updated", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: Identifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 815, - "key.offset" : 811, - "key.parsed_declaration" : "let identifier : Identifier", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 860, - "key.offset" : 856, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 887, - "key.offset" : 883, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let old: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 923, - "key.offset" : 919, - "key.parsed_declaration" : "let old : Element", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV3oldxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 949, - "key.offset" : 945, - "key.parsed_declaration" : "let new : Element", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV3newxvp" - } - ], - "key.typename" : "ArrayDiff.Updated.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7UpdatedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.NoChange<\/Declaration>", - "key.bodylength" : 165, - "key.bodyoffset" : 999, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.NoChange<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 187, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "NoChange", - "key.namelength" : 8, - "key.nameoffset" : 985, - "key.offset" : 978, - "key.parsed_declaration" : "struct NoChange", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: Identifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 1012, - "key.offset" : 1008, - "key.parsed_declaration" : "let identifier : Identifier", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 1057, - "key.offset" : 1053, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 1084, - "key.offset" : 1080, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let old: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 1120, - "key.offset" : 1116, - "key.parsed_declaration" : "let old : Element", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV3oldxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: Element<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Element<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 1146, - "key.offset" : 1142, - "key.parsed_declaration" : "let new : Element", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.typename" : "Element", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV3newxvp" - } - ], - "key.typename" : "ArrayDiff.NoChange.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV8NoChangeVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(old: [Element<\/Type>], new: [Element<\/Type>], identifierProvider: (Element<\/Type>) -> Identifier<\/Type>, movedHint: (Element<\/Type>, Element<\/Type>) -> Bool<\/Type>, updated: (Element<\/Type>, Element<\/Type>) -> Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 4515, - "key.bodyoffset" : 1393, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(old<\/decl.var.parameter.argument_label>: [Element<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Element<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, identifierProvider<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, movedHint<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4734, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "init(old:new:identifierProvider:movedHint:updated:)", - "key.namelength" : 212, - "key.nameoffset" : 1175, - "key.offset" : 1175, - "key.parsed_declaration" : "init(\n old : [Element],\n new : [Element],\n identifierProvider : (Element) -> Identifier,\n movedHint : (Element, Element) -> Bool,\n updated : (Element, Element) -> Bool\n )", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: DiffableCollection<\/Type><Element<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: DiffableCollection<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 107, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 2237, - "key.offset" : 2233, - "key.parsed_declaration" : "let old = DiffableCollection(elements: old, identifierProvider)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 107, - "key.reusingastcontext" : false, - "key.typename" : "DiffableCollection", - "key.typeusr" : "$s10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfcADL0_AA18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_Gvp" - }, - { - "key.annotated_decl" : "let new: DiffableCollection<\/Type><Element<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: DiffableCollection<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 108, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 2309, - "key.offset" : 2305, - "key.parsed_declaration" : "let new = DiffableCollection(elements: new, identifierProvider)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.typename" : "DiffableCollection", - "key.typeusr" : "$s10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfcAEL0_AA18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_Gvp" - }, - { - "key.annotated_decl" : "let added: [DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> added<\/decl.name>: [DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "added", - "key.namelength" : 5, - "key.nameoffset" : 2456, - "key.offset" : 2452, - "key.parsed_declaration" : "let added = new.subtractDifference(from: old)", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.typename" : "[DiffContainer]", - "key.typeusr" : "$sSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc5addedL_SayAA0D9Container33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGvp" - }, - { - "key.annotated_decl" : "let removed: [DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removed<\/decl.name>: [DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 47, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 2510, - "key.offset" : 2506, - "key.parsed_declaration" : "let removed = old.subtractDifference(from: new)", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.typename" : "[DiffContainer]", - "key.typeusr" : "$sSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc7removedL_SayAA0D9Container33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGvp" - }, - { - "key.annotated_decl" : "let pairs: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Pair<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> pairs<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Pair<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 86, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "pairs", - "key.namelength" : 5, - "key.nameoffset" : 3198, - "key.offset" : 3194, - "key.parsed_declaration" : "let pairs = Pair.pairs(withNew: new, old: old, movedHint: movedHint, updated: updated)", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Pair]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc5pairsL_SayAC4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGvp" - }, - { - "key.annotated_decl" : "let moveHinted: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Pair<\/Type>]<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moveHinted<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Pair<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 76, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "moveHinted", - "key.namelength" : 10, - "key.nameoffset" : 3303, - "key.offset" : 3298, - "key.parsed_declaration" : "let (moveHinted, moveNotHinted) = pairs.separate { pair in pair.moveHinted }", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Pair]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc10moveHintedL_SayAC4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGvp" - }, - { - "key.annotated_decl" : "let moveNotHinted: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Pair<\/Type>]<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moveNotHinted<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Pair<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 76, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "moveNotHinted", - "key.namelength" : 13, - "key.nameoffset" : 3315, - "key.offset" : 3298, - "key.parsed_declaration" : "let (moveHinted, moveNotHinted) = pairs.separate { pair in pair.moveHinted }", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Pair]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc13moveNotHintedL_SayAC4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGvp" - }, - { - "key.annotated_decl" : "var sorted: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Pair<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sorted<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Pair<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 21, - "key.line" : 150, - "key.modulename" : "ListableUI", - "key.name" : "sorted", - "key.namelength" : 6, - "key.nameoffset" : 3596, - "key.offset" : 3592, - "key.parsed_declaration" : "var sorted = [Pair]()", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Pair]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc6sortedL_SayAC4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGvp" - } - ], - "key.typename" : " (ArrayDiff.Type) -> ([Element], [Element], (Element) -> Identifier, (Element, Element) -> Bool, (Element, Element) -> Bool) -> ArrayDiff", - "key.typeusr" : "$s3old3new18identifierProvider9movedHint7updated10ListableUI9ArrayDiffVyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcD", - "key.usr" : "s:10ListableUI9ArrayDiffV3old3new18identifierProvider9movedHint7updatedACyxq_GSayxG_AJq_xXESbx_xtXESbx_xtXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func fastPastDiff(old: [Element<\/Type>], new: [Element<\/Type>], identifierProvider: (Element<\/Type>) -> Identifier<\/Type>, updated: (Element<\/Type>, Element<\/Type>) -> Bool<\/Type>) -> ([Updated<\/Type>], [NoChange<\/Type>])?<\/Declaration>", - "key.bodylength" : 1186, - "key.bodyoffset" : 6133, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> fastPastDiff<\/decl.name>(old<\/decl.var.parameter.argument_label>: [Element<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Element<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, identifierProvider<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ([Updated<\/ref.struct>]<\/tuple.element.type><\/tuple.element>, [NoChange<\/ref.struct>]<\/tuple.element.type><\/tuple.element>)<\/tuple>?<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 1401, - "key.line" : 213, - "key.modulename" : "ListableUI", - "key.name" : "fastPastDiff(old:new:identifierProvider:updated:)", - "key.namelength" : 168, - "key.nameoffset" : 5931, - "key.offset" : 5919, - "key.parsed_declaration" : "static func fastPastDiff(\n old : [Element],\n new : [Element],\n identifierProvider : (Element) -> Identifier,\n updated : (Element, Element) -> Bool\n) -> ([Updated], [NoChange])?", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 213, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var updates: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Updated<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> updates<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Updated<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 25, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "updates", - "key.namelength" : 7, - "key.nameoffset" : 6232, - "key.offset" : 6228, - "key.parsed_declaration" : "var updates = [Updated]()", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 224, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Updated]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV7UpdatedVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV08fastPastD03old3new18identifierProvider7updatedSayAC7UpdatedVyxq__GG_SayAC8NoChangeVyxq__GGtSgSayxG_ARq_xXESbx_xtXEtFZ7updatesL_ALvp" - }, - { - "key.annotated_decl" : "var notChanged: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.NoChange<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> notChanged<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.NoChange<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 29, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "notChanged", - "key.namelength" : 10, - "key.nameoffset" : 6275, - "key.offset" : 6271, - "key.parsed_declaration" : "var notChanged = [NoChange]()", - "key.parsed_scope.end" : 226, - "key.parsed_scope.start" : 226, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.NoChange]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV8NoChangeVyxq__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV08fastPastD03old3new18identifierProvider7updatedSayAC7UpdatedVyxq__GG_SayAC8NoChangeVyxq__GGtSgSayxG_ARq_xXESbx_xtXEtFZ10notChangedL_APvp" - } - ], - "key.typename" : " (ArrayDiff.Type) -> ([Element], [Element], (Element) -> Identifier, (Element, Element) -> Bool) -> ([ArrayDiff.Updated], [ArrayDiff.NoChange])?", - "key.typeusr" : "$s3old3new18identifierProvider7updatedSay10ListableUI9ArrayDiffV7UpdatedVyxq__GG_SayAG8NoChangeVyxq__GGtSgSayxG_AQq_xXESbx_xtXEtcD", - "key.usr" : "s:10ListableUI9ArrayDiffV08fastPastD03old3new18identifierProvider7updatedSayAC7UpdatedVyxq__GG_SayAC8NoChangeVyxq__GGtSgSayxG_ARq_xXESbx_xtXEtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private final class ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Pair<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 7338 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7330 - } - ], - "key.bodylength" : 1800, - "key.bodyoffset" : 7360, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Pair<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1817, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "Pair", - "key.namelength" : 4, - "key.nameoffset" : 7350, - "key.offset" : 7344, - "key.parsed_declaration" : "private final class Pair", - "key.parsed_scope.end" : 318, - "key.parsed_scope.start" : 264, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 266, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 7373, - "key.offset" : 7369, - "key.parsed_declaration" : "let new : DiffContainer", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 266, - "key.reusingastcontext" : false, - "key.typename" : "DiffContainer", - "key.typeusr" : "$s10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC3newAA0D9ContainerAELLCyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let old: DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 267, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 7426, - "key.offset" : 7422, - "key.parsed_declaration" : "let old : DiffContainer", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 267, - "key.reusingastcontext" : false, - "key.typename" : "DiffContainer", - "key.typeusr" : "$s10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC3oldAA0D9ContainerAELLCyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: UniqueIdentifier<\/Type><Element<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: UniqueIdentifier<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 54, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 7488, - "key.offset" : 7484, - "key.parsed_declaration" : "let identifier : UniqueIdentifier", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.typename" : "UniqueIdentifier", - "key.typeusr" : "$s10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_GD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC10identifierAA16UniqueIdentifierAELLVyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let distance: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> distance<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 271, - "key.modulename" : "ListableUI", - "key.name" : "distance", - "key.namelength" : 8, - "key.nameoffset" : 7560, - "key.offset" : 7556, - "key.parsed_declaration" : "let distance : Int", - "key.parsed_scope.end" : 271, - "key.parsed_scope.start" : 271, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC8distanceSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let moveHinted: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moveHinted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 273, - "key.modulename" : "ListableUI", - "key.name" : "moveHinted", - "key.namelength" : 10, - "key.nameoffset" : 7596, - "key.offset" : 7592, - "key.parsed_declaration" : "let moveHinted : Bool", - "key.parsed_scope.end" : 273, - "key.parsed_scope.start" : 273, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC10moveHintedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let updated: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> updated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 274, - "key.modulename" : "ListableUI", - "key.name" : "updated", - "key.namelength" : 7, - "key.nameoffset" : 7626, - "key.offset" : 7622, - "key.parsed_declaration" : "let updated : Bool", - "key.parsed_scope.end" : 274, - "key.parsed_scope.start" : 274, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC7updatedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(new: DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>>, old: DiffContainer<\/Type><Element<\/Type>, Identifier<\/Type>>, identifier: UniqueIdentifier<\/Type><Element<\/Type>, Identifier<\/Type>>, distance: Int<\/Type>, moveHinted: Bool<\/Type>, updated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 256, - "key.bodyoffset" : 7945, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(new<\/decl.var.parameter.argument_label>: DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, old<\/decl.var.parameter.argument_label>: DiffContainer<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, identifier<\/decl.var.parameter.argument_label>: UniqueIdentifier<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, distance<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, moveHinted<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 544, - "key.line" : 276, - "key.modulename" : "ListableUI", - "key.name" : "init(new:old:identifier:distance:moveHinted:updated:)", - "key.namelength" : 277, - "key.nameoffset" : 7658, - "key.offset" : 7658, - "key.parsed_declaration" : "init(\n new : DiffContainer,\n old : DiffContainer,\n identifier : UniqueIdentifier,\n distance : Int,\n moveHinted : Bool,\n updated : Bool\n )", - "key.parsed_scope.end" : 294, - "key.parsed_scope.start" : 276, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ArrayDiff.Pair.Type) -> (DiffContainer, DiffContainer, UniqueIdentifier, Int, Bool, Bool) -> ArrayDiff.Pair", - "key.typeusr" : "$s3new3old10identifier8distance10moveHinted7updated10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GAG0K9ContainerAKLLCyxq_G_ApG16UniqueIdentifierAKLLVyxq_GSiS2btcD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC3new3old10identifier8distance10moveHinted7updatedAFyxq__GAA0D9ContainerAELLCyxq_G_ApA16UniqueIdentifierAELLVyxq_GSiS2btcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func pairs(withNew new: DiffableCollection<\/Type><Element<\/Type>, Identifier<\/Type>>, old: DiffableCollection<\/Type><Element<\/Type>, Identifier<\/Type>>, movedHint: (Element<\/Type>, Element<\/Type>) -> Bool<\/Type>, updated: (Element<\/Type>, Element<\/Type>) -> Bool<\/Type>) -> [Pair<\/Type>]<\/Declaration>", - "key.bodylength" : 655, - "key.bodyoffset" : 8499, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> pairs<\/decl.name>(withNew<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: DiffableCollection<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, old<\/decl.var.parameter.argument_label>: DiffableCollection<\/ref.class><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, movedHint<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Pair<\/ref.class>]<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 935, - "key.line" : 296, - "key.modulename" : "ListableUI", - "key.name" : "pairs(withNew:old:movedHint:updated:)", - "key.namelength" : 247, - "key.nameoffset" : 8232, - "key.offset" : 8220, - "key.parsed_declaration" : "static func pairs(\n withNew new : DiffableCollection,\n old : DiffableCollection,\n movedHint : (Element, Element) -> Bool,\n updated : (Element, Element) -> Bool\n ) -> [Pair]", - "key.parsed_scope.end" : 317, - "key.parsed_scope.start" : 296, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ArrayDiff.Pair.Type) -> (DiffableCollection, DiffableCollection, (Element, Element) -> Bool, (Element, Element) -> Bool) -> [ArrayDiff.Pair]", - "key.typeusr" : "$s7withNew3old9movedHint7updatedSay10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GGAE18DiffableCollectionAILLCyxq_G_AOSbx_xtXESbx_xtXEtcD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC5pairs7withNew3old9movedHint7updatedSayAFyxq__GGAA18DiffableCollectionAELLCyxq_G_APSbx_xtXESbx_xtXEtFZ" - } - ], - "key.typename" : "ArrayDiff.Pair.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV4Pair33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - } - ], - "key.typename" : "ArrayDiff.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffVyxq_GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<Element, Identifier> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9224, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9187 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 60, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff", - "key.namelength" : 9, - "key.nameoffset" : 9175, - "key.offset" : 9165, - "key.parsed_declaration" : "extension ArrayDiff : Equatable where Element : Equatable", - "key.parsed_scope.end" : 321, - "key.parsed_scope.start" : 321, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffVyxq_GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Added<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9292, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9255 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Added<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 66, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff.Added", - "key.namelength" : 15, - "key.nameoffset" : 9237, - "key.offset" : 9227, - "key.parsed_declaration" : "extension ArrayDiff.Added : Equatable where Element : Equatable", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 323, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Added.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5AddedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV5AddedV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Removed<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9361, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9324 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Removed<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 68, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff.Removed", - "key.namelength" : 17, - "key.nameoffset" : 9304, - "key.offset" : 9294, - "key.parsed_declaration" : "extension ArrayDiff.Removed : Equatable where Element : Equatable", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Removed.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7RemovedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV7RemovedV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Moved<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9428, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9391 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Moved<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 66, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff.Moved", - "key.namelength" : 15, - "key.nameoffset" : 9373, - "key.offset" : 9363, - "key.parsed_declaration" : "extension ArrayDiff.Moved : Equatable where Element : Equatable", - "key.parsed_scope.end" : 325, - "key.parsed_scope.start" : 325, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Moved.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5MovedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV5MovedV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Updated<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9497, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9460 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Updated<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 68, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff.Updated", - "key.namelength" : 17, - "key.nameoffset" : 9440, - "key.offset" : 9430, - "key.parsed_declaration" : "extension ArrayDiff.Updated : Equatable where Element : Equatable", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 326, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Updated.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7UpdatedVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV7UpdatedV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.NoChange<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 9567, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9530 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.NoChange<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 69, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff.NoChange", - "key.namelength" : 18, - "key.nameoffset" : 9509, - "key.offset" : 9499, - "key.parsed_declaration" : "extension ArrayDiff.NoChange : Equatable where Element : Equatable", - "key.parsed_scope.end" : 327, - "key.parsed_scope.start" : 327, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.NoChange.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV8NoChangeVyxq__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV8NoChangeV" - }, - { - "key.annotated_decl" : "struct ArrayDiff<Element, Identifier> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 2918, - "key.bodyoffset" : 9592, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ArrayDiff<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2940, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ArrayDiff", - "key.namelength" : 9, - "key.nameoffset" : 9581, - "key.offset" : 9571, - "key.parsed_declaration" : "extension ArrayDiff", - "key.parsed_scope.end" : 433, - "key.parsed_scope.start" : 330, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func transform<Mapped>(old: [Mapped<\/Type>], removed: (Element<\/Type>, Mapped<\/Type>) -> (), added: (Element<\/Type>) -> Mapped<\/Type>, moved: (Element<\/Type>, Element<\/Type>, inout Mapped<\/Type>) -> (), updated: (Element<\/Type>, Element<\/Type>, inout Mapped<\/Type>) -> (), noChange: (Element<\/Type>, Element<\/Type>, inout Mapped<\/Type>) -> ()) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 2068, - "key.bodyoffset" : 9924, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> transform<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(old<\/decl.var.parameter.argument_label>: [Mapped<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, removed<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, added<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, moved<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, noChange<\/decl.var.parameter.argument_label>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2396, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "transform(old:removed:added:moved:updated:noChange:)", - "key.namelength" : 304, - "key.nameoffset" : 9602, - "key.offset" : 9597, - "key.parsed_declaration" : "func transform(\n old : [Mapped],\n removed : (Element, Mapped) -> (),\n added : (Element) -> Mapped,\n moved : (Element, Element, inout Mapped) -> (),\n updated : (Element, Element, inout Mapped) -> (),\n noChange : (Element, Element, inout Mapped) -> ()\n ) -> [Mapped]", - "key.parsed_scope.end" : 408, - "key.parsed_scope.start" : 332, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 9612, - "key.offset" : 9612, - "key.parsed_declaration" : "func transformvar removes: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Removal<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> removes<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Removal<\/ref.class><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 345, - "key.modulename" : "ListableUI", - "key.name" : "removes", - "key.namelength" : 7, - "key.nameoffset" : 10098, - "key.offset" : 10094, - "key.parsed_declaration" : "var removes = [Removal]()", - "key.parsed_scope.end" : 345, - "key.parsed_scope.start" : 345, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Removal]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV9transform3old7removed5added5moved7updated8noChangeSayqd__GAK_yx_qd__tXEqd__xXEyx_xqd__ztXEyx_xqd__ztXEyx_xqd__ztXEtlF7removesL_SayAC7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GGvp" - }, - { - "key.annotated_decl" : "var inserts: [ArrayDiff<\/Type><Element<\/Type>, Identifier<\/Type>>.Insertion<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> inserts<\/decl.name>: [ArrayDiff<\/ref.struct><Element<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Insertion<\/ref.class><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 35, - "key.line" : 361, - "key.modulename" : "ListableUI", - "key.name" : "inserts", - "key.namelength" : 7, - "key.nameoffset" : 10629, - "key.offset" : 10625, - "key.parsed_declaration" : "var inserts = [Insertion]()", - "key.parsed_scope.end" : 361, - "key.parsed_scope.start" : 361, - "key.reusingastcontext" : false, - "key.typename" : "[ArrayDiff.Insertion]", - "key.typeusr" : "$sSay10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GGD", - "key.usr" : "s:10ListableUI9ArrayDiffV9transform3old7removed5added5moved7updated8noChangeSayqd__GAK_yx_qd__tXEqd__xXEyx_xqd__ztXEyx_xqd__ztXEyx_xqd__ztXEtlF7insertsL_SayAC9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GGvp" - }, - { - "key.annotated_decl" : "var new: [Mapped<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> new<\/decl.name>: [Mapped<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 13, - "key.line" : 379, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 11241, - "key.offset" : 11237, - "key.parsed_declaration" : "var new = old", - "key.parsed_scope.end" : 379, - "key.parsed_scope.start" : 379, - "key.reusingastcontext" : false, - "key.typename" : "[Mapped]", - "key.typeusr" : "$sSayqd__GD", - "key.usr" : "s:10ListableUI9ArrayDiffV9transform3old7removed5added5moved7updated8noChangeSayqd__GAK_yx_qd__tXEqd__xXEyx_xqd__ztXEyx_xqd__ztXEyx_xqd__ztXEtlF3newL_AKvp" - } - ], - "key.typename" : " (ArrayDiff) -> ([Mapped], (Element, Mapped) -> (), (Element) -> Mapped, (Element, Element, inout Mapped) -> (), (Element, Element, inout Mapped) -> (), (Element, Element, inout Mapped) -> ()) -> [Mapped]", - "key.typeusr" : "$s3old7removed5added5moved7updated8noChangeSayqd__GAG_yx_qd__tXEqd__xXEyx_xqd__ztXEyx_xqd__ztXEyx_xqd__ztXEtcluD", - "key.usr" : "s:10ListableUI9ArrayDiffV9transform3old7removed5added5moved7updated8noChangeSayqd__GAK_yx_qd__tXEqd__xXEyx_xqd__ztXEyx_xqd__ztXEyx_xqd__ztXEtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "final private class Insertion<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12009 - }, - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 12003 - } - ], - "key.bodylength" : 201, - "key.bodyoffset" : 12046, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Insertion<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 231, - "key.line" : 410, - "key.modulename" : "ListableUI", - "key.name" : "Insertion", - "key.namelength" : 9, - "key.nameoffset" : 12023, - "key.offset" : 12017, - "key.parsed_declaration" : "final private class Insertion", - "key.parsed_scope.end" : 420, - "key.parsed_scope.start" : 410, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 35, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 410, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 12033, - "key.offset" : 12033, - "key.parsed_declaration" : "final private class Insertionlet mapped: Mapped<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 412, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 12059, - "key.offset" : 12055, - "key.parsed_declaration" : "let mapped : Mapped", - "key.parsed_scope.end" : 412, - "key.parsed_scope.start" : 412, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLC6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let insert: Added<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insert<\/decl.name>: Added<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 413, - "key.modulename" : "ListableUI", - "key.name" : "insert", - "key.namelength" : 6, - "key.nameoffset" : 12087, - "key.offset" : 12083, - "key.parsed_declaration" : "let insert : Added", - "key.parsed_scope.end" : 413, - "key.parsed_scope.start" : 413, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Added", - "key.typeusr" : "$s10ListableUI9ArrayDiffV5AddedVyxq__GD", - "key.usr" : "s:10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLC6insertAC5AddedVyxq__Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(mapped: Mapped<\/Type>, insert: Added<\/Type>)<\/Declaration>", - "key.bodylength" : 75, - "key.bodyoffset" : 12166, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(mapped<\/decl.var.parameter.argument_label>: Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, insert<\/decl.var.parameter.argument_label>: Added<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 123, - "key.line" : 415, - "key.modulename" : "ListableUI", - "key.name" : "init(mapped:insert:)", - "key.namelength" : 37, - "key.nameoffset" : 12119, - "key.offset" : 12119, - "key.parsed_declaration" : "init(mapped : Mapped, insert : Added)", - "key.parsed_scope.end" : 419, - "key.parsed_scope.start" : 415, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ArrayDiff.Insertion.Type) -> (Mapped, ArrayDiff.Added) -> ArrayDiff.Insertion", - "key.typeusr" : "$s6mapped6insert10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__Gqd___AE5AddedVyxq__GtcD", - "key.usr" : "s:10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLC6mapped6insertAFyxq__qd__Gqd___AC5AddedVyxq__Gtcfc" - } - ], - "key.typename" : "ArrayDiff.Insertion.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV9Insertion33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "final private class Removal<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12264 - }, - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 12258 - } - ], - "key.bodylength" : 209, - "key.bodyoffset" : 12299, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Removal<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 237, - "key.line" : 422, - "key.modulename" : "ListableUI", - "key.name" : "Removal", - "key.namelength" : 7, - "key.nameoffset" : 12278, - "key.offset" : 12272, - "key.parsed_declaration" : "final private class Removal", - "key.parsed_scope.end" : 432, - "key.parsed_scope.start" : 422, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 33, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 422, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 12286, - "key.offset" : 12286, - "key.parsed_declaration" : "final private class Removallet mapped: Mapped<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 424, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 12312, - "key.offset" : 12308, - "key.parsed_declaration" : "let mapped : Mapped", - "key.parsed_scope.end" : 424, - "key.parsed_scope.start" : 424, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLC6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let removed: Removed<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removed<\/decl.name>: Removed<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 425, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 12340, - "key.offset" : 12336, - "key.parsed_declaration" : "let removed : Removed", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 425, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff.Removed", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7RemovedVyxq__GD", - "key.usr" : "s:10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLC7removedAC7RemovedVyxq__Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(mapped: Mapped<\/Type>, removed: Removed<\/Type>)<\/Declaration>", - "key.bodylength" : 77, - "key.bodyoffset" : 12425, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(mapped<\/decl.var.parameter.argument_label>: Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, removed<\/decl.var.parameter.argument_label>: Removed<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 128, - "key.line" : 427, - "key.modulename" : "ListableUI", - "key.name" : "init(mapped:removed:)", - "key.namelength" : 40, - "key.nameoffset" : 12375, - "key.offset" : 12375, - "key.parsed_declaration" : "init(mapped : Mapped, removed : Removed)", - "key.parsed_scope.end" : 431, - "key.parsed_scope.start" : 427, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ArrayDiff.Removal.Type) -> (Mapped, ArrayDiff.Removed) -> ArrayDiff.Removal", - "key.typeusr" : "$s6mapped7removed10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__Gqd___AE7RemovedVyxq__GtcD", - "key.usr" : "s:10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLC6mapped7removedAFyxq__qd__Gqd___AC7RemovedVyxq__Gtcfc" - } - ], - "key.typename" : "ArrayDiff.Removal.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq__qd__GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV7Removal33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - } - ], - "key.typename" : "ArrayDiff.Type", - "key.typeusr" : "$s10ListableUI9ArrayDiffVyxq_GmD", - "key.usr" : "s:10ListableUI9ArrayDiffV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private class DiffContainer<Value, Identifier> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12514 - } - ], - "key.bodylength" : 1022, - "key.bodyoffset" : 12571, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DiffContainer<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1072, - "key.line" : 436, - "key.modulename" : "ListableUI", - "key.name" : "DiffContainer", - "key.namelength" : 13, - "key.nameoffset" : 12528, - "key.offset" : 12522, - "key.parsed_declaration" : "private class DiffContainer", - "key.parsed_scope.end" : 469, - "key.parsed_scope.start" : 436, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 436, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 12542, - "key.offset" : 12542, - "key.parsed_declaration" : "private class DiffContainerIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 36, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 12560 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 436, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 12549, - "key.offset" : 12549, - "key.parsed_declaration" : "private class DiffContainerlet identifier: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 438, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 12580, - "key.offset" : 12576, - "key.parsed_declaration" : "let identifier : UniqueIdentifier", - "key.parsed_scope.end" : 438, - "key.parsed_scope.start" : 438, - "key.reusingastcontext" : false, - "key.typename" : "UniqueIdentifier", - "key.typeusr" : "$s10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_GD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC10identifierAA16UniqueIdentifierACLLVyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let value: Value<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> value<\/decl.name>: Value<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 439, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 12637, - "key.offset" : 12633, - "key.parsed_declaration" : "let value : Value", - "key.parsed_scope.end" : 439, - "key.parsed_scope.start" : 439, - "key.reusingastcontext" : false, - "key.typename" : "Value", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC5valuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let index: Int<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> index<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 440, - "key.modulename" : "ListableUI", - "key.name" : "index", - "key.namelength" : 5, - "key.nameoffset" : 12659, - "key.offset" : 12655, - "key.parsed_declaration" : "let index : Int", - "key.parsed_scope.end" : 440, - "key.parsed_scope.start" : 440, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC5indexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(value: Value<\/Type>, index: Int<\/Type>, identifierProvider: (Value<\/Type>) -> Identifier<\/Type>, identifierFactory: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>>.Factory<\/Type>)<\/Declaration>", - "key.bodylength" : 160, - "key.bodyoffset" : 12869, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(value<\/decl.var.parameter.argument_label>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, index<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, identifierProvider<\/decl.var.parameter.argument_label>: (Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, identifierFactory<\/decl.var.parameter.argument_label>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Factory<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 350, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "init(value:index:identifierProvider:identifierFactory:)", - "key.namelength" : 183, - "key.nameoffset" : 12680, - "key.offset" : 12680, - "key.parsed_declaration" : "init(\n value : Value,\n index : Int,\n identifierProvider : (Value) -> Identifier,\n identifierFactory : UniqueIdentifier.Factory\n )", - "key.parsed_scope.end" : 453, - "key.parsed_scope.start" : 442, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffContainer.Type) -> (Value, Int, (Value) -> Identifier, UniqueIdentifier.Factory) -> DiffContainer", - "key.typeusr" : "$s5value5index18identifierProvider0C7Factory10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_Gx_Siq_xXEAE16UniqueIdentifierAGLLV0E0Cyxq__GtcD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC5value5index18identifierProvider0O7FactoryADyxq_Gx_Siq_xXEAA16UniqueIdentifierACLLV0Q0Cyxq__Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func containers(with elements: [Value<\/Type>], identifierProvider: (Value<\/Type>) -> Identifier<\/Type>) -> [DiffContainer<\/Type>]<\/Declaration>", - "key.bodylength" : 435, - "key.bodyoffset" : 13156, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> containers<\/decl.name>(with<\/decl.var.parameter.argument_label> elements<\/decl.var.parameter.name>: [Value<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, identifierProvider<\/decl.var.parameter.argument_label>: (Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [DiffContainer<\/ref.class>]<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 552, - "key.line" : 455, - "key.modulename" : "ListableUI", - "key.name" : "containers(with:identifierProvider:)", - "key.namelength" : 79, - "key.nameoffset" : 13052, - "key.offset" : 13040, - "key.parsed_declaration" : "static func containers(with elements : [Value], identifierProvider : (Value) -> Identifier) -> [DiffContainer]", - "key.parsed_scope.end" : 468, - "key.parsed_scope.start" : 455, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let identifierFactory: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>>.Factory<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifierFactory<\/decl.name>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Factory<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 69, - "key.line" : 457, - "key.modulename" : "ListableUI", - "key.name" : "identifierFactory", - "key.namelength" : 17, - "key.nameoffset" : 13169, - "key.offset" : 13165, - "key.parsed_declaration" : "let identifierFactory = UniqueIdentifier.Factory()", - "key.parsed_scope.end" : 457, - "key.parsed_scope.start" : 457, - "key.reusingastcontext" : false, - "key.typename" : "UniqueIdentifier.Factory", - "key.typeusr" : "$s10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryCyxq__GD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC10containers4with18identifierProviderSayADyxq_GGSayxG_q_xXEtFZ0O7FactoryL_AA16UniqueIdentifierACLLV0Q0Cyxq__Gvp" - } - ], - "key.typename" : " (DiffContainer.Type) -> ([Value], (Value) -> Identifier) -> [DiffContainer]", - "key.typeusr" : "$s4with18identifierProviderSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGSayxG_q_xXEtcD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC10containers4with18identifierProviderSayADyxq_GGSayxG_q_xXEtFZ" - } - ], - "key.typename" : "DiffContainer.Type", - "key.typeusr" : "$s10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GmD", - "key.usr" : "s:10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private struct UniqueIdentifier<Type, Identifier> : Hashable<\/Type> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13597 - } - ], - "key.bodylength" : 1155, - "key.bodyoffset" : 13668, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 13658 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> UniqueIdentifier<\/decl.name><Type<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> : Hashable<\/ref.protocol> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1219, - "key.line" : 472, - "key.modulename" : "ListableUI", - "key.name" : "UniqueIdentifier", - "key.namelength" : 16, - "key.nameoffset" : 13612, - "key.offset" : 13605, - "key.parsed_declaration" : "private struct UniqueIdentifier : Hashable", - "key.parsed_scope.end" : 519, - "key.parsed_scope.start" : 472, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Type<\/Declaration>", - "key.column" : 33, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Type<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 4, - "key.line" : 472, - "key.modulename" : "ListableUI", - "key.name" : "Type", - "key.namelength" : 4, - "key.nameoffset" : 13629, - "key.offset" : 13629, - "key.parsed_declaration" : "private struct UniqueIdentifierIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 39, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 13646 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 472, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 13635, - "key.offset" : 13635, - "key.parsed_declaration" : "private struct UniqueIdentifierlet base: Identifier<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> base<\/decl.name>: Identifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 474, - "key.modulename" : "ListableUI", - "key.name" : "base", - "key.namelength" : 4, - "key.nameoffset" : 13677, - "key.offset" : 13673, - "key.parsed_declaration" : "let base : Identifier", - "key.parsed_scope.end" : 474, - "key.parsed_scope.start" : 474, - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV4baseq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let modifier: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13704 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> modifier<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 476, - "key.modulename" : "ListableUI", - "key.name" : "modifier", - "key.namelength" : 8, - "key.nameoffset" : 13716, - "key.offset" : 13712, - "key.parsed_declaration" : "private let modifier : Int", - "key.parsed_scope.end" : 476, - "key.parsed_scope.start" : 476, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV8modifierSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let hash: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13740 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> hash<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 478, - "key.modulename" : "ListableUI", - "key.name" : "hash", - "key.namelength" : 4, - "key.nameoffset" : 13752, - "key.offset" : 13748, - "key.parsed_declaration" : "private let hash : Int", - "key.parsed_scope.end" : 478, - "key.parsed_scope.start" : 478, - "key.related_decls" : [ - { - "key.annotated_decl" : "hash(into:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV4hashSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(base: Identifier<\/Type>, modifier: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 212, - "key.bodyoffset" : 13817, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(base<\/decl.var.parameter.argument_label>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, modifier<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 258, - "key.line" : 480, - "key.modulename" : "ListableUI", - "key.name" : "init(base:modifier:)", - "key.namelength" : 39, - "key.nameoffset" : 13772, - "key.offset" : 13772, - "key.parsed_declaration" : "init(base : Identifier, modifier : Int)", - "key.parsed_scope.end" : 489, - "key.parsed_scope.start" : 480, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var hasher: Hasher<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> hasher<\/decl.name>: Hasher<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 21, - "key.line" : 485, - "key.modulename" : "ListableUI", - "key.name" : "hasher", - "key.namelength" : 6, - "key.nameoffset" : 13897, - "key.offset" : 13893, - "key.parsed_declaration" : "var hasher = Hasher()", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 485, - "key.reusingastcontext" : false, - "key.typename" : "Hasher", - "key.typeusr" : "$ss6HasherVD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV4base8modifierADyxq_Gq__Sitcfc6hasherL_s6HasherVvp" - } - ], - "key.typename" : " (UniqueIdentifier.Type) -> (Identifier, Int) -> UniqueIdentifier", - "key.typeusr" : "$s4base8modifier10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_Gq__SitcD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV4base8modifierADyxq_Gq__Sitcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func == (lhs: UniqueIdentifier<\/Type>, rhs: UniqueIdentifier<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 97, - "key.bodyoffset" : 14115, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: UniqueIdentifier<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: UniqueIdentifier<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 173, - "key.line" : 491, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 49, - "key.nameoffset" : 14052, - "key.offset" : 14040, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "static func == (lhs: UniqueIdentifier, rhs: UniqueIdentifier) -> Bool", - "key.parsed_scope.end" : 494, - "key.parsed_scope.start" : 491, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (UniqueIdentifier.Type) -> (UniqueIdentifier, UniqueIdentifier) -> Bool", - "key.typeusr" : "$sySb10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_G_AEtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func hash(into hasher: inout Hasher<\/Type>)<\/Declaration>", - "key.bodylength" : 39, - "key.bodyoffset" : 14265, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Hashes the essential components of this value by feeding them into the\ngiven hasher.\n\nImplement this method to conform to the `Hashable` protocol. The\ncomponents used for hashing must be the same as the components compared\nin your type's `==` operator implementation. Call `hasher.combine(_:)`\nwith each of these components.\n\n- Important: In your implementation of `hash(into:)`,\n don't call `finalize()` on the `hasher` instance provided,\n or replace it with a different instance.\n Doing so may become a compile-time error in the future.\n\n- Parameter hasher: The hasher to use when combining the components\n of this instance.", - "key.doc.declaration" : "func hash(into hasher: inout Hasher)", - "key.doc.discussion" : [ - { - "Para" : "Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type’s `==` operator implementation. Call `hasher.combine(_:)` with each of these components." - }, - { - "Important" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "hash(into:)<\/Name>s:SH4hash4intoys6HasherVz_tF<\/USR>func hash(into hasher: inout Hasher)<\/Declaration>Hashes the essential components of this value by feeding them into the given hasher.<\/Para><\/Abstract>hasher<\/Name>in<\/Direction>The hasher to use when combining the components of this instance.<\/Para><\/Discussion><\/Parameter><\/Parameters>Implement this method to conform to the Hashable<\/codeVoice> protocol. The components used for hashing must be the same as the components compared in your type’s ==<\/codeVoice> operator implementation. Call hasher.combine(_:)<\/codeVoice> with each of these components.<\/Para>In your implementation of hash(into:)<\/codeVoice>, don’t call finalize()<\/codeVoice> on the hasher<\/codeVoice> instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.<\/Para><\/Important>This documentation comment was inherited from Hashable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "hash(into:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The hasher to use when combining the components of this instance." - } - ], - "name" : "hasher" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> hash<\/decl.name>(into<\/decl.var.parameter.argument_label> hasher<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Hasher<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 496, - "key.modulename" : "ListableUI", - "key.name" : "hash(into:)", - "key.namelength" : 31, - "key.nameoffset" : 14228, - "key.offset" : 14223, - "key.overrides" : [ - { - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.parsed_declaration" : "func hash(into hasher: inout Hasher)", - "key.parsed_scope.end" : 499, - "key.parsed_scope.start" : 496, - "key.related_decls" : [ - { - "key.annotated_decl" : "hash<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (UniqueIdentifier) -> (inout Hasher) -> ()", - "key.typeusr" : "$s4intoys6HasherVz_tcD", - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class UniqueIdentifier<\/Type><Type<\/Type>, Identifier<\/Type>>.Factory<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 14315 - } - ], - "key.bodylength" : 481, - "key.bodyoffset" : 14340, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> UniqueIdentifier<\/ref.struct><Type<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>.Factory<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 501, - "key.line" : 501, - "key.modulename" : "ListableUI", - "key.name" : "Factory", - "key.namelength" : 7, - "key.nameoffset" : 14327, - "key.offset" : 14321, - "key.parsed_declaration" : "final class Factory", - "key.parsed_scope.end" : 518, - "key.parsed_scope.start" : 501, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var counts: [Identifier<\/Type> : Int<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14349 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> counts<\/decl.name>: [Identifier<\/ref.generic_type_param> : Int<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 503, - "key.modulename" : "ListableUI", - "key.name" : "counts", - "key.namelength" : 6, - "key.nameoffset" : 14361, - "key.offset" : 14357, - "key.parsed_declaration" : "private var counts : [Identifier:Int] = [:]", - "key.parsed_scope.end" : 503, - "key.parsed_scope.start" : 503, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[Identifier : Int]", - "key.typeusr" : "$sSDyq_SiGD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryC6countsSDyq_SiGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func reserveCapacity(_ minimumCapacity: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 66, - "key.bodyoffset" : 14465, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> reserveCapacity<\/decl.name>(_<\/decl.var.parameter.argument_label> minimumCapacity<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 122, - "key.line" : 505, - "key.modulename" : "ListableUI", - "key.name" : "reserveCapacity(_:)", - "key.namelength" : 40, - "key.nameoffset" : 14415, - "key.offset" : 14410, - "key.parsed_declaration" : "func reserveCapacity(_ minimumCapacity : Int)", - "key.parsed_scope.end" : 508, - "key.parsed_scope.start" : 505, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (UniqueIdentifier.Factory) -> (Int) -> ()", - "key.typeusr" : "$syySicD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryC15reserveCapacityyySiF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func identifier(for base: Identifier<\/Type>) -> UniqueIdentifier<\/Type><\/Declaration>", - "key.bodylength" : 197, - "key.bodyoffset" : 14618, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> identifier<\/decl.name>(for<\/decl.var.parameter.argument_label> base<\/decl.var.parameter.name>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> UniqueIdentifier<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 266, - "key.line" : 510, - "key.modulename" : "ListableUI", - "key.name" : "identifier(for:)", - "key.namelength" : 33, - "key.nameoffset" : 14555, - "key.offset" : 14550, - "key.parsed_declaration" : "func identifier(for base : Identifier) -> UniqueIdentifier", - "key.parsed_scope.end" : 517, - "key.parsed_scope.start" : 510, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let count: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 512, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 14635, - "key.offset" : 14631, - "key.parsed_declaration" : "let count = self.counts[base, default:1]", - "key.parsed_scope.end" : 512, - "key.parsed_scope.start" : 512, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryC10identifier3forADyxq_Gq__tF5countL_Sivp" - } - ], - "key.typename" : " (UniqueIdentifier.Factory) -> (Identifier) -> UniqueIdentifier", - "key.typeusr" : "$s3for10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_Gq__tcD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryC10identifier3forADyxq_Gq__tF" - } - ], - "key.typename" : "UniqueIdentifier.Factory.Type", - "key.typeusr" : "$s10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryCyxq__GmD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV7FactoryC" - } - ], - "key.typename" : "UniqueIdentifier.Type", - "key.typeusr" : "$s10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_GmD", - "key.usr" : "s:10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private final class DiffableCollection<Value, Identifier> where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 14834 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14826 - } - ], - "key.bodylength" : 3166, - "key.bodyoffset" : 14894, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DiffableCollection<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>, Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3221, - "key.line" : 521, - "key.modulename" : "ListableUI", - "key.name" : "DiffableCollection", - "key.namelength" : 18, - "key.nameoffset" : 14846, - "key.offset" : 14840, - "key.parsed_declaration" : "private final class DiffableCollection", - "key.parsed_scope.end" : 628, - "key.parsed_scope.start" : 521, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 40, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 521, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 14865, - "key.offset" : 14865, - "key.parsed_declaration" : "private final class DiffableCollectionIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 47, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 14883 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 521, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 14872, - "key.offset" : 14872, - "key.parsed_declaration" : "private final class DiffableCollectionprivate(set) var containers: [DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 14899 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> containers<\/decl.name>: [DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 523, - "key.modulename" : "ListableUI", - "key.name" : "containers", - "key.namelength" : 10, - "key.nameoffset" : 14916, - "key.offset" : 14912, - "key.parsed_declaration" : "private(set) var containers : [DiffContainer]", - "key.parsed_scope.end" : 523, - "key.parsed_scope.start" : 523, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[DiffContainer]", - "key.typeusr" : "$sSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC10containersSayAA13DiffContainerACLLCyxq_GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var containersByIdentifier: [UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>> : DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14968 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> containersByIdentifier<\/decl.name>: [UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>> : DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 99, - "key.line" : 524, - "key.modulename" : "ListableUI", - "key.name" : "containersByIdentifier", - "key.namelength" : 22, - "key.nameoffset" : 14980, - "key.offset" : 14976, - "key.parsed_declaration" : "private var containersByIdentifier : [UniqueIdentifier:DiffContainer]", - "key.parsed_scope.end" : 524, - "key.parsed_scope.start" : 524, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[UniqueIdentifier : DiffContainer]", - "key.typeusr" : "$sSDy10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_GAA13DiffContainerACLLCyxq_GGD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC22containersByIdentifierSDyAA06UniqueO0ACLLVyxq_GAA13DiffContainerACLLCyxq_GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(elements: [Value<\/Type>], _ identifierProvider: (Value<\/Type>) -> Identifier<\/Type>)<\/Declaration>", - "key.bodylength" : 353, - "key.bodyoffset" : 15161, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(elements<\/decl.var.parameter.argument_label>: [Value<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> identifierProvider<\/decl.var.parameter.name>: (Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 430, - "key.line" : 526, - "key.modulename" : "ListableUI", - "key.name" : "init(elements:_:)", - "key.namelength" : 70, - "key.nameoffset" : 15085, - "key.offset" : 15085, - "key.parsed_declaration" : "init(elements : [Value], _ identifierProvider : (Value) -> Identifier)", - "key.parsed_scope.end" : 535, - "key.parsed_scope.start" : 526, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection.Type) -> ([Value], (Value) -> Identifier) -> DiffableCollection", - "key.typeusr" : "$s8elements_10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GSayxG_q_xXEtcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC8elements_ADyxq_GSayxG_q_xXEtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Querying The Collection", - "key.offset" : 15528 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func index(of identifier: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>>) -> Int<\/Type><\/Declaration>", - "key.bodylength" : 115, - "key.bodyoffset" : 15643, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> index<\/decl.name>(of<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 192, - "key.line" : 539, - "key.modulename" : "ListableUI", - "key.name" : "index(of:)", - "key.namelength" : 58, - "key.nameoffset" : 15572, - "key.offset" : 15567, - "key.parsed_declaration" : "func index(of identifier : UniqueIdentifier) -> Int", - "key.parsed_scope.end" : 544, - "key.parsed_scope.start" : 539, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> (UniqueIdentifier) -> Int", - "key.typeusr" : "$s2ofSi10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_G_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC5index2ofSiAA16UniqueIdentifierACLLVyxq_G_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func contains(identifier: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 67, - "key.bodyoffset" : 15846, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> contains<\/decl.name>(identifier<\/decl.var.parameter.argument_label>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 145, - "key.line" : 546, - "key.modulename" : "ListableUI", - "key.name" : "contains(identifier:)", - "key.namelength" : 58, - "key.nameoffset" : 15774, - "key.offset" : 15769, - "key.parsed_declaration" : "func contains(identifier : UniqueIdentifier) -> Bool", - "key.parsed_scope.end" : 549, - "key.parsed_scope.start" : 546, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> (UniqueIdentifier) -> Bool", - "key.typeusr" : "$s10identifierSb10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_G_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC8contains10identifierSbAA16UniqueIdentifierACLLVyxq_G_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func container(for identifier: UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>>) -> DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.bodylength" : 61, - "key.bodyoffset" : 16034, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> container<\/decl.name>(for<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 172, - "key.line" : 551, - "key.modulename" : "ListableUI", - "key.name" : "container(for:)", - "key.namelength" : 63, - "key.nameoffset" : 15929, - "key.offset" : 15924, - "key.parsed_declaration" : "func container(for identifier : UniqueIdentifier) -> DiffContainer", - "key.parsed_scope.end" : 554, - "key.parsed_scope.start" : 551, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> (UniqueIdentifier) -> DiffContainer", - "key.typeusr" : "$s3for10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GAB16UniqueIdentifierADLLVyxq_G_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC9container3forAA13DiffContainerACLLCyxq_GAA16UniqueIdentifierACLLVyxq_G_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func difference(from other: DiffableCollection<\/Type>) -> [DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.bodylength" : 236, - "key.bodyoffset" : 16198, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> difference<\/decl.name>(from<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: DiffableCollection<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> [DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 329, - "key.line" : 556, - "key.modulename" : "ListableUI", - "key.name" : "difference(from:)", - "key.namelength" : 43, - "key.nameoffset" : 16111, - "key.offset" : 16106, - "key.parsed_declaration" : "func difference(from other : DiffableCollection) -> [DiffContainer]", - "key.parsed_scope.end" : 565, - "key.parsed_scope.start" : 556, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> (DiffableCollection) -> [DiffContainer]", - "key.typeusr" : "$s4fromSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGAB18DiffableCollectionADLLCyxq_G_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC10difference4fromSayAA13DiffContainerACLLCyxq_GGADyxq_G_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func subtractDifference(from other: DiffableCollection<\/Type>) -> [DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.bodylength" : 147, - "key.bodyoffset" : 16545, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> subtractDifference<\/decl.name>(from<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: DiffableCollection<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> [DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 248, - "key.line" : 567, - "key.modulename" : "ListableUI", - "key.name" : "subtractDifference(from:)", - "key.namelength" : 51, - "key.nameoffset" : 16450, - "key.offset" : 16445, - "key.parsed_declaration" : "func subtractDifference(from other : DiffableCollection) -> [DiffContainer]", - "key.parsed_scope.end" : 574, - "key.parsed_scope.start" : 567, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let difference: [DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> difference<\/decl.name>: [DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 569, - "key.modulename" : "ListableUI", - "key.name" : "difference", - "key.namelength" : 10, - "key.nameoffset" : 16558, - "key.offset" : 16554, - "key.parsed_declaration" : "let difference = self.difference(from: other)", - "key.parsed_scope.end" : 569, - "key.parsed_scope.start" : 569, - "key.reusingastcontext" : false, - "key.typename" : "[DiffContainer]", - "key.typeusr" : "$sSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC18subtractDifference4fromSayAA13DiffContainerACLLCyxq_GGADyxq_G_tF10differenceL_AJvp" - } - ], - "key.typename" : " (DiffableCollection) -> (DiffableCollection) -> [DiffContainer]", - "key.typeusr" : "$s4fromSay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GGAB18DiffableCollectionADLLCyxq_G_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC18subtractDifference4fromSayAA13DiffContainerACLLCyxq_GGADyxq_G_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 27, - "key.name" : "MARK: Core Mutating Methods", - "key.offset" : 16706 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func move(from: Int<\/Type>, to: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 255, - "key.bodyoffset" : 16779, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> move<\/decl.name>(from<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 292, - "key.line" : 578, - "key.modulename" : "ListableUI", - "key.name" : "move(from:to:)", - "key.namelength" : 25, - "key.nameoffset" : 16748, - "key.offset" : 16743, - "key.parsed_declaration" : "func move(from : Int, to: Int)", - "key.parsed_scope.end" : 590, - "key.parsed_scope.start" : 578, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let value: DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> value<\/decl.name>: DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 584, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 16862, - "key.offset" : 16858, - "key.parsed_declaration" : "let value = self.containers[from]", - "key.parsed_scope.end" : 584, - "key.parsed_scope.start" : 584, - "key.reusingastcontext" : false, - "key.typename" : "DiffContainer", - "key.typeusr" : "$s10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC4move4from2toySi_SitF5valueL_AA13DiffContainerACLLCyxq_Gvp" - } - ], - "key.typename" : " (DiffableCollection) -> (Int, Int) -> ()", - "key.typeusr" : "$s4from2toySi_SitcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC4move4from2toySi_SitF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func remove(containers: [DiffContainer<\/Type><Value<\/Type>, Identifier<\/Type>>])<\/Declaration>", - "key.bodylength" : 381, - "key.bodyoffset" : 17111, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> remove<\/decl.name>(containers<\/decl.var.parameter.argument_label>: [DiffContainer<\/ref.class><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 448, - "key.line" : 592, - "key.modulename" : "ListableUI", - "key.name" : "remove(containers:)", - "key.namelength" : 55, - "key.nameoffset" : 17050, - "key.offset" : 17045, - "key.parsed_declaration" : "func remove(containers : [DiffContainer])", - "key.parsed_scope.end" : 607, - "key.parsed_scope.start" : 592, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let indexes: [Int<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexes<\/decl.name>: [Int<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 114, - "key.line" : 598, - "key.modulename" : "ListableUI", - "key.name" : "indexes", - "key.namelength" : 7, - "key.nameoffset" : 17247, - "key.offset" : 17243, - "key.parsed_declaration" : "let indexes = containers.map({\n return self.index(of: $0.identifier)\n}).sorted(by: { $0 > $1 })", - "key.parsed_scope.end" : 598, - "key.parsed_scope.start" : 598, - "key.reusingastcontext" : false, - "key.typename" : "[Int]", - "key.typeusr" : "$sSaySiGD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC6remove10containersySayAA13DiffContainerACLLCyxq_GG_tF7indexesL_SaySiGvp" - } - ], - "key.typename" : " (DiffableCollection) -> ([DiffContainer]) -> ()", - "key.typeusr" : "$s10containersySay10ListableUI13DiffContainer33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GG_tcD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC6remove10containersySayAA13DiffContainerACLLCyxq_GG_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Private Methods", - "key.offset" : 17506 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var uniqueIdentifierIndexes: [UniqueIdentifier<\/Type><Value<\/Type>, Identifier<\/Type>> : Int<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 17537 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> uniqueIdentifierIndexes<\/decl.name>: [UniqueIdentifier<\/ref.struct><Value<\/ref.generic_type_param>, Identifier<\/ref.generic_type_param>> : Int<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 77, - "key.line" : 611, - "key.modulename" : "ListableUI", - "key.name" : "uniqueIdentifierIndexes", - "key.namelength" : 23, - "key.nameoffset" : 17549, - "key.offset" : 17545, - "key.parsed_declaration" : "private var uniqueIdentifierIndexes : [UniqueIdentifier:Int] = [:]", - "key.parsed_scope.end" : 611, - "key.parsed_scope.start" : 611, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[UniqueIdentifier : Int]", - "key.typeusr" : "$sSDy10ListableUI16UniqueIdentifier33_C15E326CC9B009491D3ADB78FA7FFECBLLVyxq_GSiGD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC23uniqueIdentifierIndexesSDyAA06UniqueN0ACLLVyxq_GSiGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func resetIndexLookups()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 17632 - } - ], - "key.bodylength" : 75, - "key.bodyoffset" : 17670, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> resetIndexLookups<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 106, - "key.line" : 613, - "key.modulename" : "ListableUI", - "key.name" : "resetIndexLookups()", - "key.namelength" : 19, - "key.nameoffset" : 17645, - "key.offset" : 17640, - "key.parsed_declaration" : "private func resetIndexLookups()", - "key.parsed_scope.end" : 616, - "key.parsed_scope.start" : 613, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC17resetIndexLookupsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func generateIndexLookupsIfNeeded()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 17756 - } - ], - "key.bodylength" : 253, - "key.bodyoffset" : 17805, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> generateIndexLookupsIfNeeded<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 295, - "key.line" : 618, - "key.modulename" : "ListableUI", - "key.name" : "generateIndexLookupsIfNeeded()", - "key.namelength" : 30, - "key.nameoffset" : 17769, - "key.offset" : 17764, - "key.parsed_declaration" : "private func generateIndexLookupsIfNeeded()", - "key.parsed_scope.end" : 627, - "key.parsed_scope.start" : 618, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DiffableCollection) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC28generateIndexLookupsIfNeededyyF" - } - ], - "key.typename" : "DiffableCollection.Type", - "key.typeusr" : "$s10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLCyxq_GmD", - "key.usr" : "s:10ListableUI18DiffableCollection33_C15E326CC9B009491D3ADB78FA7FFECBLLC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@frozen @_eagerMove struct Array<Element> : _DestructorSafeContainer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 18063 - } - ], - "key.bodylength" : 378, - "key.bodyoffset" : 18088, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An ordered, random-access collection.\n\nArrays are one of the most commonly used data types in an app. You use\narrays to organize your app's data. Specifically, you use the `Array` type\nto hold elements of a single type, the array's `Element` type. An array\ncan store any kind of elements---from integers to strings to classes.\n\nSwift makes it easy to create arrays in your code using an array literal:\nsimply surround a comma-separated list of values with square brackets.\nWithout any other information, Swift creates an array that includes the\nspecified values, automatically inferring the array's `Element` type. For\nexample:\n\n \/\/ An array of 'Int' elements\n let oddNumbers = [1, 3, 5, 7, 9, 11, 13, 15]\n\n \/\/ An array of 'String' elements\n let streets = [\"Albemarle\", \"Brandywine\", \"Chesapeake\"]\n\nYou can create an empty array by specifying the `Element` type of your\narray in the declaration. For example:\n\n \/\/ Shortened forms are preferred\n var emptyDoubles: [Double] = []\n\n \/\/ The full type name is also allowed\n var emptyFloats: Array = Array()\n\nIf you need an array that is preinitialized with a fixed number of default\nvalues, use the `Array(repeating:count:)` initializer.\n\n var digitCounts = Array(repeating: 0, count: 10)\n print(digitCounts)\n \/\/ Prints \"[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\"\n\nAccessing Array Values\n======================\n\nWhen you need to perform an operation on all of an array's elements, use a\n`for`-`in` loop to iterate through the array's contents.\n\n for street in streets {\n print(\"I don't live on \\(street).\")\n }\n \/\/ Prints \"I don't live on Albemarle.\"\n \/\/ Prints \"I don't live on Brandywine.\"\n \/\/ Prints \"I don't live on Chesapeake.\"\n\nUse the `isEmpty` property to check quickly whether an array has any\nelements, or use the `count` property to find the number of elements in\nthe array.\n\n if oddNumbers.isEmpty {\n print(\"I don't know any odd numbers.\")\n } else {\n print(\"I know \\(oddNumbers.count) odd numbers.\")\n }\n \/\/ Prints \"I know 8 odd numbers.\"\n\nUse the `first` and `last` properties for safe access to the value of the\narray's first and last elements. If the array is empty, these properties\nare `nil`.\n\n if let firstElement = oddNumbers.first, let lastElement = oddNumbers.last {\n print(firstElement, lastElement, separator: \", \")\n }\n \/\/ Prints \"1, 15\"\n\n print(emptyDoubles.first, emptyDoubles.last, separator: \", \")\n \/\/ Prints \"nil, nil\"\n\nYou can access individual array elements through a subscript. The first\nelement of a nonempty array is always at index zero. You can subscript an\narray with any integer from zero up to, but not including, the count of\nthe array. Using a negative number or an index equal to or greater than\n`count` triggers a runtime error. For example:\n\n print(oddNumbers[0], oddNumbers[3], separator: \", \")\n \/\/ Prints \"1, 7\"\n\n print(emptyDoubles[0])\n \/\/ Triggers runtime error: Index out of range\n\nAdding and Removing Elements\n============================\n\nSuppose you need to store a list of the names of students that are signed\nup for a class you're teaching. During the registration period, you need\nto add and remove names as students add and drop the class.\n\n var students = [\"Ben\", \"Ivy\", \"Jordell\"]\n\nTo add single elements to the end of an array, use the `append(_:)` method.\nAdd multiple elements at the same time by passing another array or a\nsequence of any kind to the `append(contentsOf:)` method.\n\n students.append(\"Maxime\")\n students.append(contentsOf: [\"Shakia\", \"William\"])\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\", \"Shakia\", \"William\"]\n\nYou can add new elements in the middle of an array by using the\n`insert(_:at:)` method for single elements and by using\n`insert(contentsOf:at:)` to insert multiple elements from another\ncollection or array literal. The elements at that index and later indices\nare shifted back to make room.\n\n students.insert(\"Liam\", at: 3)\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\nTo remove elements from an array, use the `remove(at:)`,\n`removeSubrange(_:)`, and `removeLast()` methods.\n\n \/\/ Ben's family is moving to another state\n students.remove(at: 0)\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\n \/\/ William is signing up for a different class\n students.removeLast()\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\"]\n\nYou can replace an existing element with a new value by assigning the new\nvalue to the subscript.\n\n if let i = students.firstIndex(of: \"Maxime\") {\n students[i] = \"Max\"\n }\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Max\", \"Shakia\"]\n\nGrowing the Size of an Array\n----------------------------\n\nEvery array reserves a specific amount of memory to hold its contents. When\nyou add elements to an array and that array begins to exceed its reserved\ncapacity, the array allocates a larger region of memory and copies its\nelements into the new storage. The new storage is a multiple of the old\nstorage's size. This exponential growth strategy means that appending an\nelement happens in constant time, averaging the performance of many append\noperations. Append operations that trigger reallocation have a performance\ncost, but they occur less and less often as the array grows larger.\n\nIf you know approximately how many elements you will need to store, use the\n`reserveCapacity(_:)` method before appending to the array to avoid\nintermediate reallocations. Use the `capacity` and `count` properties to\ndetermine how many more elements the array can store without allocating\nlarger storage.\n\nFor arrays of most `Element` types, this storage is a contiguous block of\nmemory. For arrays with an `Element` type that is a class or `@objc`\nprotocol type, this storage can be a contiguous block of memory or an\ninstance of `NSArray`. Because any arbitrary subclass of `NSArray` can\nbecome an `Array`, there are no guarantees about representation or\nefficiency in this case.\n\nModifying Copies of Arrays\n==========================\n\nEach array has an independent value that includes the values of all of its\nelements. For simple types such as integers and other structures, this\nmeans that when you change a value in one array, the value of that element\ndoes not change in any copies of the array. For example:\n\n var numbers = [1, 2, 3, 4, 5]\n var numbersCopy = numbers\n numbers[0] = 100\n print(numbers)\n \/\/ Prints \"[100, 2, 3, 4, 5]\"\n print(numbersCopy)\n \/\/ Prints \"[1, 2, 3, 4, 5]\"\n\nIf the elements in an array are instances of a class, the semantics are the\nsame, though they might appear different at first. In this case, the\nvalues stored in the array are references to objects that live outside the\narray. If you change a reference to an object in one array, only that\narray has a reference to the new object. However, if two arrays contain\nreferences to the same object, you can observe changes to that object's\nproperties from both arrays. For example:\n\n \/\/ An integer type with reference semantics\n class IntegerReference {\n var value = 10\n }\n var firstIntegers = [IntegerReference(), IntegerReference()]\n var secondIntegers = firstIntegers\n\n \/\/ Modifications to an instance are visible from either array\n firstIntegers[0].value = 100\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\n \/\/ Replacements, additions, and removals are still visible\n \/\/ only in the modified array\n firstIntegers[0] = IntegerReference()\n print(firstIntegers[0].value)\n \/\/ Prints \"10\"\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\nArrays, like all variable-size collections in the standard library, use\ncopy-on-write optimization. Multiple copies of an array share the same\nstorage until you modify one of the copies. When that happens, the array\nbeing modified replaces its storage with a uniquely owned copy of itself,\nwhich is then modified in place. Optimizations are sometimes applied that\ncan reduce the amount of copying.\n\nThis means that if an array is sharing storage with other copies, the first\nmutating operation on that array incurs the cost of copying the array. An\narray that is the sole owner of its storage can perform mutating\noperations in place.\n\nIn the example below, a `numbers` array is created along with two copies\nthat share the same storage. When the original `numbers` array is\nmodified, it makes a unique copy of its storage before making the\nmodification. Further modifications to `numbers` are made in place, while\nthe two copies continue to share the original storage.\n\n var numbers = [1, 2, 3, 4, 5]\n var firstCopy = numbers\n var secondCopy = numbers\n\n \/\/ The storage for 'numbers' is copied here\n numbers[0] = 100\n numbers[1] = 200\n numbers[2] = 300\n \/\/ 'numbers' is [100, 200, 300, 4, 5]\n \/\/ 'firstCopy' and 'secondCopy' are [1, 2, 3, 4, 5]\n\nBridging Between Array and NSArray\n==================================\n\nWhen you need to access APIs that require data in an `NSArray` instance\ninstead of `Array`, use the type-cast operator (`as`) to bridge your\ninstance. For bridging to be possible, the `Element` type of your array\nmust be a class, an `@objc` protocol (a protocol imported from Objective-C\nor marked with the `@objc` attribute), or a type that bridges to a\nFoundation type.\n\nThe following example shows how you can bridge an `Array` instance to\n`NSArray` to use the `write(to:atomically:)` method. In this example, the\n`colors` array can be bridged to `NSArray` because the `colors` array's\n`String` elements bridge to `NSString`. The compiler prevents bridging the\n`moreColors` array, on the other hand, because its `Element` type is\n`Optional`, which does *not* bridge to a Foundation type.\n\n let colors = [\"periwinkle\", \"rose\", \"moss\"]\n let moreColors: [String?] = [\"ochre\", \"pine\"]\n\n let url = URL(fileURLWithPath: \"names.plist\")\n (colors as NSArray).write(to: url, atomically: true)\n \/\/ true\n\n (moreColors as NSArray).write(to: url, atomically: true)\n \/\/ error: cannot convert value of type '[String?]' to type 'NSArray'\n\nBridging from `Array` to `NSArray` takes O(1) time and O(1) space if the\narray's elements are already instances of a class or an `@objc` protocol;\notherwise, it takes O(*n*) time and space.\n\nWhen the destination array's element type is a class or an `@objc`\nprotocol, bridging from `NSArray` to `Array` first calls the `copy(with:)`\n(`- copyWithZone:` in Objective-C) method on the array to get an immutable\ncopy and then performs additional Swift bookkeeping work that takes O(1)\ntime. For instances of `NSArray` that are already immutable, `copy(with:)`\nusually returns the same array in O(1) time; otherwise, the copying\nperformance is unspecified. If `copy(with:)` returns the same array, the\ninstances of `NSArray` and `Array` share storage using the same\ncopy-on-write optimization that is used when two instances of `Array`\nshare storage.\n\nWhen the destination array's element type is a nonclass type that bridges\nto a Foundation type, bridging from `NSArray` to `Array` performs a\nbridging copy of the elements to contiguous storage in O(*n*) time. For\nexample, bridging from `NSArray` to `Array` performs such a copy. No\nfurther bridging is required when accessing elements of the `Array`\ninstance.\n\n- Note: The `ContiguousArray` and `ArraySlice` types are not bridged;\n instances of those types always have a contiguous block of memory as\n their storage.", - "key.doc.declaration" : "@frozen struct Array : _DestructorSafeContainer", - "key.doc.discussion" : [ - { - "Para" : "Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the `Array` type to hold elements of a single type, the array’s `Element` type. An array can store any kind of elements—from integers to strings to classes." - }, - { - "Para" : "Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s `Element` type. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can create an empty array by specifying the `Element` type of your array in the declaration. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you need an array that is preinitialized with a fixed number of default values, use the `Array(repeating:count:)` initializer." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to perform an operation on all of an array’s elements, use a `for`-`in` loop to iterate through the array’s contents." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `isEmpty` property to check quickly whether an array has any elements, or use the `count` property to find the number of elements in the array." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `first` and `last` properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are `nil`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than `count` triggers a runtime error. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To add single elements to the end of an array, use the `append(_:)` method. Add multiple elements at the same time by passing another array or a sequence of any kind to the `append(contentsOf:)` method." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can add new elements in the middle of an array by using the `insert(_:at:)` method for single elements and by using `insert(contentsOf:at:)` to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To remove elements from an array, use the `remove(at:)`, `removeSubrange(_:)`, and `removeLast()` methods." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can replace an existing element with a new value by assigning the new value to the subscript." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger." - }, - { - "Para" : "If you know approximately how many elements you will need to store, use the `reserveCapacity(_:)` method before appending to the array to avoid intermediate reallocations. Use the `capacity` and `count` properties to determine how many more elements the array can store without allocating larger storage." - }, - { - "Para" : "For arrays of most `Element` types, this storage is a contiguous block of memory. For arrays with an `Element` type that is a class or `@objc` protocol type, this storage can be a contiguous block of memory or an instance of `NSArray`. Because any arbitrary subclass of `NSArray` can become an `Array`, there are no guarantees about representation or efficiency in this case." - }, - { - "Para" : "Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying." - }, - { - "Para" : "This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place." - }, - { - "Para" : "In the example below, a `numbers` array is created along with two copies that share the same storage. When the original `numbers` array is modified, it makes a unique copy of its storage before making the modification. Further modifications to `numbers` are made in place, while the two copies continue to share the original storage." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to access APIs that require data in an `NSArray` instance instead of `Array`, use the type-cast operator (`as`) to bridge your instance. For bridging to be possible, the `Element` type of your array must be a class, an `@objc` protocol (a protocol imported from Objective-C or marked with the `@objc` attribute), or a type that bridges to a Foundation type." - }, - { - "Para" : "The following example shows how you can bridge an `Array` instance to `NSArray` to use the `write(to:atomically:)` method. In this example, the `colors` array can be bridged to `NSArray` because the `colors` array’s `String` elements bridge to `NSString`. The compiler prevents bridging the `moreColors` array, on the other hand, because its `Element` type is `Optional`, which does bridge to a Foundation type." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Bridging from `Array` to `NSArray` takes O(1) time and O(1) space if the array’s elements are already instances of a class or an `@objc` protocol; otherwise, it takes O() time and space." - }, - { - "Para" : "When the destination array’s element type is a class or an `@objc` protocol, bridging from `NSArray` to `Array` first calls the `copy(with:)` (`- copyWithZone:` in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of `NSArray` that are already immutable, `copy(with:)` usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If `copy(with:)` returns the same array, the instances of `NSArray` and `Array` share storage using the same copy-on-write optimization that is used when two instances of `Array` share storage." - }, - { - "Para" : "When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from `NSArray` to `Array` performs a bridging copy of the elements to contiguous storage in O() time. For example, bridging from `NSArray` to `Array` performs such a copy. No further bridging is required when accessing elements of the `Array` instance." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "Array<\/Name>s:Sa<\/USR>@frozen struct Array<Element> : _DestructorSafeContainer<\/Declaration>An ordered, random-access collection.<\/Para><\/Abstract>Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the Array<\/codeVoice> type to hold elements of a single type, the array’s Element<\/codeVoice> type. An array can store any kind of elements—from integers to strings to classes.<\/Para>Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s Element<\/codeVoice> type. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can create an empty array by specifying the Element<\/codeVoice> type of your array in the declaration. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> = Array()]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you need an array that is preinitialized with a fixed number of default values, use the Array(repeating:count:)<\/codeVoice> initializer.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Accessing Array Values]]><\/rawHTML>When you need to perform an operation on all of an array’s elements, use a for<\/codeVoice>-in<\/codeVoice> loop to iterate through the array’s contents.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the isEmpty<\/codeVoice> property to check quickly whether an array has any elements, or use the count<\/codeVoice> property to find the number of elements in the array.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the first<\/codeVoice> and last<\/codeVoice> properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are nil<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than count<\/codeVoice> triggers a runtime error. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Adding and Removing Elements]]><\/rawHTML>Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To add single elements to the end of an array, use the append(_:)<\/codeVoice> method. Add multiple elements at the same time by passing another array or a sequence of any kind to the append(contentsOf:)<\/codeVoice> method.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can add new elements in the middle of an array by using the insert(_:at:)<\/codeVoice> method for single elements and by using insert(contentsOf:at:)<\/codeVoice> to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To remove elements from an array, use the remove(at:)<\/codeVoice>, removeSubrange(_:)<\/codeVoice>, and removeLast()<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can replace an existing element with a new value by assigning the new value to the subscript.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Growing the Size of an Array]]><\/rawHTML>Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger.<\/Para>If you know approximately how many elements you will need to store, use the reserveCapacity(_:)<\/codeVoice> method before appending to the array to avoid intermediate reallocations. Use the capacity<\/codeVoice> and count<\/codeVoice> properties to determine how many more elements the array can store without allocating larger storage.<\/Para>For arrays of most Element<\/codeVoice> types, this storage is a contiguous block of memory. For arrays with an Element<\/codeVoice> type that is a class or @objc<\/codeVoice> protocol type, this storage can be a contiguous block of memory or an instance of NSArray<\/codeVoice>. Because any arbitrary subclass of NSArray<\/codeVoice> can become an Array<\/codeVoice>, there are no guarantees about representation or efficiency in this case.<\/Para>]]><\/rawHTML>Modifying Copies of Arrays]]><\/rawHTML>Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying.<\/Para>This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place.<\/Para>In the example below, a numbers<\/codeVoice> array is created along with two copies that share the same storage. When the original numbers<\/codeVoice> array is modified, it makes a unique copy of its storage before making the modification. Further modifications to numbers<\/codeVoice> are made in place, while the two copies continue to share the original storage.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Bridging Between Array and NSArray]]><\/rawHTML>When you need to access APIs that require data in an NSArray<\/codeVoice> instance instead of Array<\/codeVoice>, use the type-cast operator (as<\/codeVoice>) to bridge your instance. For bridging to be possible, the Element<\/codeVoice> type of your array must be a class, an @objc<\/codeVoice> protocol (a protocol imported from Objective-C or marked with the @objc<\/codeVoice> attribute), or a type that bridges to a Foundation type.<\/Para>The following example shows how you can bridge an Array<\/codeVoice> instance to NSArray<\/codeVoice> to use the write(to:atomically:)<\/codeVoice> method. In this example, the colors<\/codeVoice> array can be bridged to NSArray<\/codeVoice> because the colors<\/codeVoice> array’s String<\/codeVoice> elements bridge to NSString<\/codeVoice>. The compiler prevents bridging the moreColors<\/codeVoice> array, on the other hand, because its Element<\/codeVoice> type is Optional<String><\/codeVoice>, which does not<\/emphasis> bridge to a Foundation type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Bridging from Array<\/codeVoice> to NSArray<\/codeVoice> takes O(1) time and O(1) space if the array’s elements are already instances of a class or an @objc<\/codeVoice> protocol; otherwise, it takes O(n<\/emphasis>) time and space.<\/Para>When the destination array’s element type is a class or an @objc<\/codeVoice> protocol, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> first calls the copy(with:)<\/codeVoice> (- copyWithZone:<\/codeVoice> in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of NSArray<\/codeVoice> that are already immutable, copy(with:)<\/codeVoice> usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If copy(with:)<\/codeVoice> returns the same array, the instances of NSArray<\/codeVoice> and Array<\/codeVoice> share storage using the same copy-on-write optimization that is used when two instances of Array<\/codeVoice> share storage.<\/Para>When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> performs a bridging copy of the elements to contiguous storage in O(n<\/emphasis>) time. For example, bridging from NSArray<\/codeVoice> to Array<Int><\/codeVoice> performs such a copy. No further bridging is required when accessing elements of the Array<\/codeVoice> instance.<\/Para>The ContiguousArray<\/codeVoice> and ArraySlice<\/codeVoice> types are not bridged; instances of those types always have a contiguous block of memory as their storage.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "Array", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_eagerMove<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> Array<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> : _DestructorSafeContainer<\/ref.protocol><\/decl.struct>", - "key.groupname" : "Collection\/Array", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 396, - "key.modulename" : "Swift", - "key.name" : "Array", - "key.namelength" : 5, - "key.nameoffset" : 18081, - "key.offset" : 18071, - "key.parsed_declaration" : "private extension Array", - "key.parsed_scope.end" : 647, - "key.parsed_scope.start" : 630, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func separate(_ block: (Element<\/Type>) -> Bool<\/Type>) -> ([Element<\/Type>], [Element<\/Type>])<\/Declaration>", - "key.bodylength" : 297, - "key.bodyoffset" : 18167, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> separate<\/decl.name>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ([Element<\/ref.generic_type_param>]<\/tuple.element.type><\/tuple.element>, [Element<\/ref.generic_type_param>]<\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 372, - "key.line" : 632, - "key.modulename" : "ListableUI", - "key.name" : "separate(_:)", - "key.namelength" : 37, - "key.nameoffset" : 18098, - "key.offset" : 18093, - "key.parsed_declaration" : "func separate(_ block : (Element) -> Bool) -> ([Element], [Element])", - "key.parsed_scope.end" : 646, - "key.parsed_scope.start" : 632, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var left: [Element<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> left<\/decl.name>: [Element<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 634, - "key.modulename" : "ListableUI", - "key.name" : "left", - "key.namelength" : 4, - "key.nameoffset" : 18180, - "key.offset" : 18176, - "key.parsed_declaration" : "var left = [Element]()", - "key.parsed_scope.end" : 634, - "key.parsed_scope.start" : 634, - "key.reusingastcontext" : false, - "key.typename" : "[Element]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:Sa10ListableUIE8separate33_C15E326CC9B009491D3ADB78FA7FFECBLLySayxG_ADtSbxXEF4leftL_ADvp" - }, - { - "key.annotated_decl" : "var right: [Element<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> right<\/decl.name>: [Element<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 23, - "key.line" : 635, - "key.modulename" : "ListableUI", - "key.name" : "right", - "key.namelength" : 5, - "key.nameoffset" : 18211, - "key.offset" : 18207, - "key.parsed_declaration" : "var right = [Element]()", - "key.parsed_scope.end" : 635, - "key.parsed_scope.start" : 635, - "key.reusingastcontext" : false, - "key.typename" : "[Element]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:Sa10ListableUIE8separate33_C15E326CC9B009491D3ADB78FA7FFECBLLySayxG_ADtSbxXEF5rightL_ADvp" - } - ], - "key.typename" : " (Array) -> ((Element) -> Bool) -> ([Element], [Element])", - "key.typeusr" : "$sySayxG_AAtSbxXEcD", - "key.usr" : "s:Sa10ListableUIE8separate33_C15E326CC9B009491D3ADB78FA7FFECBLLySayxG_ADtSbxXEF" - } - ], - "key.typename" : "Array.Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:Sa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@frozen @_eagerMove struct Array<Element> : _DestructorSafeContainer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 18469 - } - ], - "key.bodylength" : 617, - "key.bodyoffset" : 18494, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An ordered, random-access collection.\n\nArrays are one of the most commonly used data types in an app. You use\narrays to organize your app's data. Specifically, you use the `Array` type\nto hold elements of a single type, the array's `Element` type. An array\ncan store any kind of elements---from integers to strings to classes.\n\nSwift makes it easy to create arrays in your code using an array literal:\nsimply surround a comma-separated list of values with square brackets.\nWithout any other information, Swift creates an array that includes the\nspecified values, automatically inferring the array's `Element` type. For\nexample:\n\n \/\/ An array of 'Int' elements\n let oddNumbers = [1, 3, 5, 7, 9, 11, 13, 15]\n\n \/\/ An array of 'String' elements\n let streets = [\"Albemarle\", \"Brandywine\", \"Chesapeake\"]\n\nYou can create an empty array by specifying the `Element` type of your\narray in the declaration. For example:\n\n \/\/ Shortened forms are preferred\n var emptyDoubles: [Double] = []\n\n \/\/ The full type name is also allowed\n var emptyFloats: Array = Array()\n\nIf you need an array that is preinitialized with a fixed number of default\nvalues, use the `Array(repeating:count:)` initializer.\n\n var digitCounts = Array(repeating: 0, count: 10)\n print(digitCounts)\n \/\/ Prints \"[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\"\n\nAccessing Array Values\n======================\n\nWhen you need to perform an operation on all of an array's elements, use a\n`for`-`in` loop to iterate through the array's contents.\n\n for street in streets {\n print(\"I don't live on \\(street).\")\n }\n \/\/ Prints \"I don't live on Albemarle.\"\n \/\/ Prints \"I don't live on Brandywine.\"\n \/\/ Prints \"I don't live on Chesapeake.\"\n\nUse the `isEmpty` property to check quickly whether an array has any\nelements, or use the `count` property to find the number of elements in\nthe array.\n\n if oddNumbers.isEmpty {\n print(\"I don't know any odd numbers.\")\n } else {\n print(\"I know \\(oddNumbers.count) odd numbers.\")\n }\n \/\/ Prints \"I know 8 odd numbers.\"\n\nUse the `first` and `last` properties for safe access to the value of the\narray's first and last elements. If the array is empty, these properties\nare `nil`.\n\n if let firstElement = oddNumbers.first, let lastElement = oddNumbers.last {\n print(firstElement, lastElement, separator: \", \")\n }\n \/\/ Prints \"1, 15\"\n\n print(emptyDoubles.first, emptyDoubles.last, separator: \", \")\n \/\/ Prints \"nil, nil\"\n\nYou can access individual array elements through a subscript. The first\nelement of a nonempty array is always at index zero. You can subscript an\narray with any integer from zero up to, but not including, the count of\nthe array. Using a negative number or an index equal to or greater than\n`count` triggers a runtime error. For example:\n\n print(oddNumbers[0], oddNumbers[3], separator: \", \")\n \/\/ Prints \"1, 7\"\n\n print(emptyDoubles[0])\n \/\/ Triggers runtime error: Index out of range\n\nAdding and Removing Elements\n============================\n\nSuppose you need to store a list of the names of students that are signed\nup for a class you're teaching. During the registration period, you need\nto add and remove names as students add and drop the class.\n\n var students = [\"Ben\", \"Ivy\", \"Jordell\"]\n\nTo add single elements to the end of an array, use the `append(_:)` method.\nAdd multiple elements at the same time by passing another array or a\nsequence of any kind to the `append(contentsOf:)` method.\n\n students.append(\"Maxime\")\n students.append(contentsOf: [\"Shakia\", \"William\"])\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\", \"Shakia\", \"William\"]\n\nYou can add new elements in the middle of an array by using the\n`insert(_:at:)` method for single elements and by using\n`insert(contentsOf:at:)` to insert multiple elements from another\ncollection or array literal. The elements at that index and later indices\nare shifted back to make room.\n\n students.insert(\"Liam\", at: 3)\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\nTo remove elements from an array, use the `remove(at:)`,\n`removeSubrange(_:)`, and `removeLast()` methods.\n\n \/\/ Ben's family is moving to another state\n students.remove(at: 0)\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\n \/\/ William is signing up for a different class\n students.removeLast()\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\"]\n\nYou can replace an existing element with a new value by assigning the new\nvalue to the subscript.\n\n if let i = students.firstIndex(of: \"Maxime\") {\n students[i] = \"Max\"\n }\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Max\", \"Shakia\"]\n\nGrowing the Size of an Array\n----------------------------\n\nEvery array reserves a specific amount of memory to hold its contents. When\nyou add elements to an array and that array begins to exceed its reserved\ncapacity, the array allocates a larger region of memory and copies its\nelements into the new storage. The new storage is a multiple of the old\nstorage's size. This exponential growth strategy means that appending an\nelement happens in constant time, averaging the performance of many append\noperations. Append operations that trigger reallocation have a performance\ncost, but they occur less and less often as the array grows larger.\n\nIf you know approximately how many elements you will need to store, use the\n`reserveCapacity(_:)` method before appending to the array to avoid\nintermediate reallocations. Use the `capacity` and `count` properties to\ndetermine how many more elements the array can store without allocating\nlarger storage.\n\nFor arrays of most `Element` types, this storage is a contiguous block of\nmemory. For arrays with an `Element` type that is a class or `@objc`\nprotocol type, this storage can be a contiguous block of memory or an\ninstance of `NSArray`. Because any arbitrary subclass of `NSArray` can\nbecome an `Array`, there are no guarantees about representation or\nefficiency in this case.\n\nModifying Copies of Arrays\n==========================\n\nEach array has an independent value that includes the values of all of its\nelements. For simple types such as integers and other structures, this\nmeans that when you change a value in one array, the value of that element\ndoes not change in any copies of the array. For example:\n\n var numbers = [1, 2, 3, 4, 5]\n var numbersCopy = numbers\n numbers[0] = 100\n print(numbers)\n \/\/ Prints \"[100, 2, 3, 4, 5]\"\n print(numbersCopy)\n \/\/ Prints \"[1, 2, 3, 4, 5]\"\n\nIf the elements in an array are instances of a class, the semantics are the\nsame, though they might appear different at first. In this case, the\nvalues stored in the array are references to objects that live outside the\narray. If you change a reference to an object in one array, only that\narray has a reference to the new object. However, if two arrays contain\nreferences to the same object, you can observe changes to that object's\nproperties from both arrays. For example:\n\n \/\/ An integer type with reference semantics\n class IntegerReference {\n var value = 10\n }\n var firstIntegers = [IntegerReference(), IntegerReference()]\n var secondIntegers = firstIntegers\n\n \/\/ Modifications to an instance are visible from either array\n firstIntegers[0].value = 100\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\n \/\/ Replacements, additions, and removals are still visible\n \/\/ only in the modified array\n firstIntegers[0] = IntegerReference()\n print(firstIntegers[0].value)\n \/\/ Prints \"10\"\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\nArrays, like all variable-size collections in the standard library, use\ncopy-on-write optimization. Multiple copies of an array share the same\nstorage until you modify one of the copies. When that happens, the array\nbeing modified replaces its storage with a uniquely owned copy of itself,\nwhich is then modified in place. Optimizations are sometimes applied that\ncan reduce the amount of copying.\n\nThis means that if an array is sharing storage with other copies, the first\nmutating operation on that array incurs the cost of copying the array. An\narray that is the sole owner of its storage can perform mutating\noperations in place.\n\nIn the example below, a `numbers` array is created along with two copies\nthat share the same storage. When the original `numbers` array is\nmodified, it makes a unique copy of its storage before making the\nmodification. Further modifications to `numbers` are made in place, while\nthe two copies continue to share the original storage.\n\n var numbers = [1, 2, 3, 4, 5]\n var firstCopy = numbers\n var secondCopy = numbers\n\n \/\/ The storage for 'numbers' is copied here\n numbers[0] = 100\n numbers[1] = 200\n numbers[2] = 300\n \/\/ 'numbers' is [100, 200, 300, 4, 5]\n \/\/ 'firstCopy' and 'secondCopy' are [1, 2, 3, 4, 5]\n\nBridging Between Array and NSArray\n==================================\n\nWhen you need to access APIs that require data in an `NSArray` instance\ninstead of `Array`, use the type-cast operator (`as`) to bridge your\ninstance. For bridging to be possible, the `Element` type of your array\nmust be a class, an `@objc` protocol (a protocol imported from Objective-C\nor marked with the `@objc` attribute), or a type that bridges to a\nFoundation type.\n\nThe following example shows how you can bridge an `Array` instance to\n`NSArray` to use the `write(to:atomically:)` method. In this example, the\n`colors` array can be bridged to `NSArray` because the `colors` array's\n`String` elements bridge to `NSString`. The compiler prevents bridging the\n`moreColors` array, on the other hand, because its `Element` type is\n`Optional`, which does *not* bridge to a Foundation type.\n\n let colors = [\"periwinkle\", \"rose\", \"moss\"]\n let moreColors: [String?] = [\"ochre\", \"pine\"]\n\n let url = URL(fileURLWithPath: \"names.plist\")\n (colors as NSArray).write(to: url, atomically: true)\n \/\/ true\n\n (moreColors as NSArray).write(to: url, atomically: true)\n \/\/ error: cannot convert value of type '[String?]' to type 'NSArray'\n\nBridging from `Array` to `NSArray` takes O(1) time and O(1) space if the\narray's elements are already instances of a class or an `@objc` protocol;\notherwise, it takes O(*n*) time and space.\n\nWhen the destination array's element type is a class or an `@objc`\nprotocol, bridging from `NSArray` to `Array` first calls the `copy(with:)`\n(`- copyWithZone:` in Objective-C) method on the array to get an immutable\ncopy and then performs additional Swift bookkeeping work that takes O(1)\ntime. For instances of `NSArray` that are already immutable, `copy(with:)`\nusually returns the same array in O(1) time; otherwise, the copying\nperformance is unspecified. If `copy(with:)` returns the same array, the\ninstances of `NSArray` and `Array` share storage using the same\ncopy-on-write optimization that is used when two instances of `Array`\nshare storage.\n\nWhen the destination array's element type is a nonclass type that bridges\nto a Foundation type, bridging from `NSArray` to `Array` performs a\nbridging copy of the elements to contiguous storage in O(*n*) time. For\nexample, bridging from `NSArray` to `Array` performs such a copy. No\nfurther bridging is required when accessing elements of the `Array`\ninstance.\n\n- Note: The `ContiguousArray` and `ArraySlice` types are not bridged;\n instances of those types always have a contiguous block of memory as\n their storage.", - "key.doc.declaration" : "@frozen struct Array : _DestructorSafeContainer", - "key.doc.discussion" : [ - { - "Para" : "Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the `Array` type to hold elements of a single type, the array’s `Element` type. An array can store any kind of elements—from integers to strings to classes." - }, - { - "Para" : "Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s `Element` type. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can create an empty array by specifying the `Element` type of your array in the declaration. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you need an array that is preinitialized with a fixed number of default values, use the `Array(repeating:count:)` initializer." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to perform an operation on all of an array’s elements, use a `for`-`in` loop to iterate through the array’s contents." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `isEmpty` property to check quickly whether an array has any elements, or use the `count` property to find the number of elements in the array." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `first` and `last` properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are `nil`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than `count` triggers a runtime error. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To add single elements to the end of an array, use the `append(_:)` method. Add multiple elements at the same time by passing another array or a sequence of any kind to the `append(contentsOf:)` method." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can add new elements in the middle of an array by using the `insert(_:at:)` method for single elements and by using `insert(contentsOf:at:)` to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To remove elements from an array, use the `remove(at:)`, `removeSubrange(_:)`, and `removeLast()` methods." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can replace an existing element with a new value by assigning the new value to the subscript." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger." - }, - { - "Para" : "If you know approximately how many elements you will need to store, use the `reserveCapacity(_:)` method before appending to the array to avoid intermediate reallocations. Use the `capacity` and `count` properties to determine how many more elements the array can store without allocating larger storage." - }, - { - "Para" : "For arrays of most `Element` types, this storage is a contiguous block of memory. For arrays with an `Element` type that is a class or `@objc` protocol type, this storage can be a contiguous block of memory or an instance of `NSArray`. Because any arbitrary subclass of `NSArray` can become an `Array`, there are no guarantees about representation or efficiency in this case." - }, - { - "Para" : "Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying." - }, - { - "Para" : "This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place." - }, - { - "Para" : "In the example below, a `numbers` array is created along with two copies that share the same storage. When the original `numbers` array is modified, it makes a unique copy of its storage before making the modification. Further modifications to `numbers` are made in place, while the two copies continue to share the original storage." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to access APIs that require data in an `NSArray` instance instead of `Array`, use the type-cast operator (`as`) to bridge your instance. For bridging to be possible, the `Element` type of your array must be a class, an `@objc` protocol (a protocol imported from Objective-C or marked with the `@objc` attribute), or a type that bridges to a Foundation type." - }, - { - "Para" : "The following example shows how you can bridge an `Array` instance to `NSArray` to use the `write(to:atomically:)` method. In this example, the `colors` array can be bridged to `NSArray` because the `colors` array’s `String` elements bridge to `NSString`. The compiler prevents bridging the `moreColors` array, on the other hand, because its `Element` type is `Optional`, which does bridge to a Foundation type." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Bridging from `Array` to `NSArray` takes O(1) time and O(1) space if the array’s elements are already instances of a class or an `@objc` protocol; otherwise, it takes O() time and space." - }, - { - "Para" : "When the destination array’s element type is a class or an `@objc` protocol, bridging from `NSArray` to `Array` first calls the `copy(with:)` (`- copyWithZone:` in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of `NSArray` that are already immutable, `copy(with:)` usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If `copy(with:)` returns the same array, the instances of `NSArray` and `Array` share storage using the same copy-on-write optimization that is used when two instances of `Array` share storage." - }, - { - "Para" : "When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from `NSArray` to `Array` performs a bridging copy of the elements to contiguous storage in O() time. For example, bridging from `NSArray` to `Array` performs such a copy. No further bridging is required when accessing elements of the `Array` instance." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "Array<\/Name>s:Sa<\/USR>@frozen struct Array<Element> : _DestructorSafeContainer<\/Declaration>An ordered, random-access collection.<\/Para><\/Abstract>Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the Array<\/codeVoice> type to hold elements of a single type, the array’s Element<\/codeVoice> type. An array can store any kind of elements—from integers to strings to classes.<\/Para>Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s Element<\/codeVoice> type. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can create an empty array by specifying the Element<\/codeVoice> type of your array in the declaration. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> = Array()]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you need an array that is preinitialized with a fixed number of default values, use the Array(repeating:count:)<\/codeVoice> initializer.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Accessing Array Values]]><\/rawHTML>When you need to perform an operation on all of an array’s elements, use a for<\/codeVoice>-in<\/codeVoice> loop to iterate through the array’s contents.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the isEmpty<\/codeVoice> property to check quickly whether an array has any elements, or use the count<\/codeVoice> property to find the number of elements in the array.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the first<\/codeVoice> and last<\/codeVoice> properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are nil<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than count<\/codeVoice> triggers a runtime error. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Adding and Removing Elements]]><\/rawHTML>Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To add single elements to the end of an array, use the append(_:)<\/codeVoice> method. Add multiple elements at the same time by passing another array or a sequence of any kind to the append(contentsOf:)<\/codeVoice> method.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can add new elements in the middle of an array by using the insert(_:at:)<\/codeVoice> method for single elements and by using insert(contentsOf:at:)<\/codeVoice> to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To remove elements from an array, use the remove(at:)<\/codeVoice>, removeSubrange(_:)<\/codeVoice>, and removeLast()<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can replace an existing element with a new value by assigning the new value to the subscript.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Growing the Size of an Array]]><\/rawHTML>Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger.<\/Para>If you know approximately how many elements you will need to store, use the reserveCapacity(_:)<\/codeVoice> method before appending to the array to avoid intermediate reallocations. Use the capacity<\/codeVoice> and count<\/codeVoice> properties to determine how many more elements the array can store without allocating larger storage.<\/Para>For arrays of most Element<\/codeVoice> types, this storage is a contiguous block of memory. For arrays with an Element<\/codeVoice> type that is a class or @objc<\/codeVoice> protocol type, this storage can be a contiguous block of memory or an instance of NSArray<\/codeVoice>. Because any arbitrary subclass of NSArray<\/codeVoice> can become an Array<\/codeVoice>, there are no guarantees about representation or efficiency in this case.<\/Para>]]><\/rawHTML>Modifying Copies of Arrays]]><\/rawHTML>Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying.<\/Para>This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place.<\/Para>In the example below, a numbers<\/codeVoice> array is created along with two copies that share the same storage. When the original numbers<\/codeVoice> array is modified, it makes a unique copy of its storage before making the modification. Further modifications to numbers<\/codeVoice> are made in place, while the two copies continue to share the original storage.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Bridging Between Array and NSArray]]><\/rawHTML>When you need to access APIs that require data in an NSArray<\/codeVoice> instance instead of Array<\/codeVoice>, use the type-cast operator (as<\/codeVoice>) to bridge your instance. For bridging to be possible, the Element<\/codeVoice> type of your array must be a class, an @objc<\/codeVoice> protocol (a protocol imported from Objective-C or marked with the @objc<\/codeVoice> attribute), or a type that bridges to a Foundation type.<\/Para>The following example shows how you can bridge an Array<\/codeVoice> instance to NSArray<\/codeVoice> to use the write(to:atomically:)<\/codeVoice> method. In this example, the colors<\/codeVoice> array can be bridged to NSArray<\/codeVoice> because the colors<\/codeVoice> array’s String<\/codeVoice> elements bridge to NSString<\/codeVoice>. The compiler prevents bridging the moreColors<\/codeVoice> array, on the other hand, because its Element<\/codeVoice> type is Optional<String><\/codeVoice>, which does not<\/emphasis> bridge to a Foundation type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Bridging from Array<\/codeVoice> to NSArray<\/codeVoice> takes O(1) time and O(1) space if the array’s elements are already instances of a class or an @objc<\/codeVoice> protocol; otherwise, it takes O(n<\/emphasis>) time and space.<\/Para>When the destination array’s element type is a class or an @objc<\/codeVoice> protocol, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> first calls the copy(with:)<\/codeVoice> (- copyWithZone:<\/codeVoice> in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of NSArray<\/codeVoice> that are already immutable, copy(with:)<\/codeVoice> usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If copy(with:)<\/codeVoice> returns the same array, the instances of NSArray<\/codeVoice> and Array<\/codeVoice> share storage using the same copy-on-write optimization that is used when two instances of Array<\/codeVoice> share storage.<\/Para>When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> performs a bridging copy of the elements to contiguous storage in O(n<\/emphasis>) time. For example, bridging from NSArray<\/codeVoice> to Array<Int><\/codeVoice> performs such a copy. No further bridging is required when accessing elements of the Array<\/codeVoice> instance.<\/Para>The ContiguousArray<\/codeVoice> and ArraySlice<\/codeVoice> types are not bridged; instances of those types always have a contiguous block of memory as their storage.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "Array", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_eagerMove<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> Array<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> : _DestructorSafeContainer<\/ref.protocol><\/decl.struct>", - "key.groupname" : "Collection\/Array", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 635, - "key.modulename" : "Swift", - "key.name" : "Array", - "key.namelength" : 5, - "key.nameoffset" : 18487, - "key.offset" : 18477, - "key.parsed_declaration" : "private extension Array", - "key.parsed_scope.end" : 668, - "key.parsed_scope.start" : 649, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func toUniqueDictionary<Key, Value>(_ block: (Int<\/Type>, Element<\/Type>) -> (Key<\/Type>, Value<\/Type>)) -> Dictionary<\/Type><Key<\/Type>, Value<\/Type>> where Key<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 493, - "key.bodyoffset" : 18616, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toUniqueDictionary<\/decl.name><Key<\/decl.generic_type_param.name><\/decl.generic_type_param>, Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> (Key<\/ref.generic_type_param><\/tuple.element.type><\/tuple.element>, Value<\/ref.generic_type_param><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Dictionary<\/ref.struct><Key<\/ref.generic_type_param>, Value<\/ref.generic_type_param>><\/decl.function.returntype> where<\/syntaxtype.keyword> Key<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 611, - "key.line" : 651, - "key.modulename" : "ListableUI", - "key.name" : "toUniqueDictionary(_:)", - "key.namelength" : 81, - "key.nameoffset" : 18504, - "key.offset" : 18499, - "key.parsed_declaration" : "func toUniqueDictionary(_ block : (Int, Element) -> (Key, Value)) -> Dictionary", - "key.parsed_scope.end" : 667, - "key.parsed_scope.start" : 651, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Key : Hashable<\/Type><\/Declaration>", - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 18527 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Key<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 12, - "key.line" : 651, - "key.modulename" : "ListableUI", - "key.name" : "Key", - "key.namelength" : 3, - "key.nameoffset" : 18523, - "key.offset" : 18523, - "key.parsed_declaration" : "func toUniqueDictionaryValue<\/Declaration>", - "key.column" : 43, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 651, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 18537, - "key.offset" : 18537, - "key.parsed_declaration" : "func toUniqueDictionaryvar dictionary: [Key<\/Type> : Value<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/ArrayDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> dictionary<\/decl.name>: [Key<\/ref.generic_type_param> : Value<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 653, - "key.modulename" : "ListableUI", - "key.name" : "dictionary", - "key.namelength" : 10, - "key.nameoffset" : 18629, - "key.offset" : 18625, - "key.parsed_declaration" : "var dictionary = Dictionary()", - "key.parsed_scope.end" : 653, - "key.parsed_scope.start" : 653, - "key.reusingastcontext" : false, - "key.typename" : "[Key : Value]", - "key.typeusr" : "$sSDyqd__qd_0_GD", - "key.usr" : "s:Sa10ListableUIE18toUniqueDictionary33_C15E326CC9B009491D3ADB78FA7FFECBLLySDyqd__qd_0_Gqd___qd_0_tSi_xtXESHRd__r0_lF10dictionaryL_ADvp" - } - ], - "key.typename" : " (Array) -> ((Int, Element) -> (Key, Value)) -> Dictionary", - "key.typeusr" : "$sySDyqd__qd_0_Gqd___qd_0_tSi_xtXEcSHRd__r0_luD", - "key.usr" : "s:Sa10ListableUIE18toUniqueDictionary33_C15E326CC9B009491D3ADB78FA7FFECBLLySDyqd__qd_0_Gqd___qd_0_tSi_xtXESHRd__r0_lF" - } - ], - "key.typename" : "Array.Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:Sa" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 19690, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<Section, SectionIdentifier, Item, ItemIdentifier> where SectionIdentifier<\/Type> : Hashable<\/Type>, ItemIdentifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 11641, - "key.bodyoffset" : 202, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/decl.name><Section<\/decl.generic_type_param.name><\/decl.generic_type_param>, SectionIdentifier<\/decl.generic_type_param.name><\/decl.generic_type_param>, Item<\/decl.generic_type_param.name><\/decl.generic_type_param>, ItemIdentifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> SectionIdentifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement>, ItemIdentifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 11732, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff", - "key.namelength" : 13, - "key.nameoffset" : 119, - "key.offset" : 112, - "key.parsed_declaration" : "struct SectionedDiff", - "key.parsed_scope.end" : 391, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Section<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Section<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Section", - "key.namelength" : 7, - "key.nameoffset" : 133, - "key.offset" : 133, - "key.parsed_declaration" : "struct SectionedDiffSectionIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 31, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 160 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "SectionIdentifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 26, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "SectionIdentifier", - "key.namelength" : 17, - "key.nameoffset" : 142, - "key.offset" : 142, - "key.parsed_declaration" : "struct SectionedDiffItem<\/Declaration>", - "key.column" : 59, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Item<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 4, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 170, - "key.offset" : 170, - "key.parsed_declaration" : "struct SectionedDiffItemIdentifier : Hashable<\/Type><\/Declaration>", - "key.column" : 65, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 191 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "ItemIdentifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 23, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ItemIdentifier", - "key.namelength" : 14, - "key.nameoffset" : 176, - "key.offset" : 176, - "key.parsed_declaration" : "struct SectionedDifflet old: [Section<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: [Section<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 211, - "key.offset" : 207, - "key.parsed_declaration" : "let old : [Section]", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "[Section]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:10ListableUI13SectionedDiffV3oldSayxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let new: [Section<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: [Section<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 235, - "key.offset" : 231, - "key.parsed_declaration" : "let new : [Section]", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "[Section]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:10ListableUI13SectionedDiffV3newSayxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let changes: SectionChanges<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> changes<\/decl.name>: SectionChanges<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "changes", - "key.namelength" : 7, - "key.nameoffset" : 264, - "key.offset" : 260, - "key.parsed_declaration" : "let changes : SectionChanges", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesVyxq_q0_q1__GD", - "key.usr" : "s:10ListableUI13SectionedDiffV7changesAC14SectionChangesVyxq_q0_q1__Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(old: [Section<\/Type>], new: [Section<\/Type>], configuration: Configuration<\/Type>)<\/Declaration>", - "key.bodylength" : 194, - "key.bodyoffset" : 372, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(old<\/decl.var.parameter.argument_label>: [Section<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Section<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, configuration<\/decl.var.parameter.argument_label>: Configuration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 269, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "init(old:new:configuration:)", - "key.namelength" : 68, - "key.nameoffset" : 298, - "key.offset" : 298, - "key.parsed_declaration" : "init(old : [Section], new: [Section], configuration : Configuration)", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.Type) -> ([Section], [Section], SectionedDiff.Configuration) -> SectionedDiff", - "key.typeusr" : "$s3old3new13configuration10ListableUI13SectionedDiffVyxq_q0_q1_GSayxG_AhF13ConfigurationVyxq_q0_q1__GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV3old3new13configurationACyxq_q0_q1_GSayxG_AhC13ConfigurationVyxq_q0_q1__Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.Configuration<\/Declaration>", - "key.bodylength" : 1477, - "key.bodyoffset" : 603, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.Configuration<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1504, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "Configuration", - "key.namelength" : 13, - "key.nameoffset" : 584, - "key.offset" : 577, - "key.parsed_declaration" : "struct Configuration", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var section: SectionProviders<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> section<\/decl.name>: SectionProviders<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 616, - "key.offset" : 612, - "key.parsed_declaration" : "var section : SectionProviders", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "SectionedDiff.Configuration.SectionProviders", - "key.typeusr" : "$s10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersVyxq_q0_q1___GD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV7sectionAE16SectionProvidersVyxq_q0_q1___Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var item: ItemProviders<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> item<\/decl.name>: ItemProviders<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 655, - "key.offset" : 651, - "key.parsed_declaration" : "var item : ItemProviders", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "SectionedDiff.Configuration.ItemProviders", - "key.typeusr" : "$s10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersVyxq_q0_q1___GD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV4itemAE13ItemProvidersVyxq_q0_q1___Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(section: SectionProviders<\/Type>, item: ItemProviders<\/Type>)<\/Declaration>", - "key.bodylength" : 73, - "key.bodyoffset" : 757, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(section<\/decl.var.parameter.argument_label>: SectionProviders<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, item<\/decl.var.parameter.argument_label>: ItemProviders<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 138, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init(section:item:)", - "key.namelength" : 54, - "key.nameoffset" : 693, - "key.offset" : 693, - "key.parsed_declaration" : "init(section : SectionProviders, item : ItemProviders)", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.Configuration.Type) -> (SectionedDiff.Configuration.SectionProviders, SectionedDiff.Configuration.ItemProviders) -> SectionedDiff.Configuration", - "key.typeusr" : "$s7section4item10ListableUI13SectionedDiffV13ConfigurationVyxq_q0_q1__GAG16SectionProvidersVyxq_q0_q1___G_AG04ItemI0Vyxq_q0_q1___GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV7section4itemAEyxq_q0_q1__GAE16SectionProvidersVyxq_q0_q1___G_AE04ItemI0Vyxq_q0_q1___Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.Configuration<\/Type>.SectionProviders<\/Declaration>", - "key.bodylength" : 585, - "key.bodyoffset" : 882, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.Configuration<\/ref.struct>.SectionProviders<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 619, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "SectionProviders", - "key.namelength" : 16, - "key.nameoffset" : 856, - "key.offset" : 849, - "key.parsed_declaration" : "struct SectionProviders", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var identifier: (Section<\/Type>) -> SectionIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifier<\/decl.name>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> SectionIdentifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 899, - "key.offset" : 895, - "key.parsed_declaration" : "var identifier : (Section) -> SectionIdentifier", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Section) -> SectionIdentifier", - "key.typeusr" : "$syq_xcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersV10identifieryq_xcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var items: (Section<\/Type>) -> [Item<\/Type>]<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Item<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 972, - "key.offset" : 968, - "key.parsed_declaration" : "var items : (Section) -> [Item]", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Section) -> [Item]", - "key.typeusr" : "$sySayq0_GxcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersV5itemsySayq0_Gxcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var movedHint: (Section<\/Type>, Section<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> movedHint<\/decl.name>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "movedHint", - "key.namelength" : 9, - "key.nameoffset" : 1029, - "key.offset" : 1025, - "key.parsed_declaration" : "var movedHint : (Section, Section) -> Bool", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Section, Section) -> Bool", - "key.typeusr" : "$sySbx_xtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersV9movedHintySbx_xtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(identifier: @escaping (Section<\/Type>) -> SectionIdentifier<\/Type>, items: @escaping (Section<\/Type>) -> [Item<\/Type>], movedHint: @escaping (Section<\/Type>, Section<\/Type>) -> Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 136, - "key.bodyoffset" : 1321, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(identifier<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> SectionIdentifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, items<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Item<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, movedHint<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 365, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "init(identifier:items:movedHint:)", - "key.namelength" : 214, - "key.nameoffset" : 1093, - "key.offset" : 1093, - "key.parsed_declaration" : "init(\n identifier : @escaping (Section) -> SectionIdentifier,\n items : @escaping (Section) -> [Item],\n movedHint : @escaping (Section, Section) -> Bool\n )", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.Configuration.SectionProviders.Type) -> (@escaping (Section) -> SectionIdentifier, @escaping (Section) -> [Item], @escaping (Section, Section) -> Bool) -> SectionedDiff.Configuration.SectionProviders", - "key.typeusr" : "$s10identifier5items9movedHint10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersVyxq_q0_q1___Gq_xc_Sayq0_GxcSbx_xtctcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersV10identifier5items9movedHintAGyxq_q0_q1___Gq_xc_Sayq0_GxcSbx_xtctcfc" - } - ], - "key.typename" : "SectionedDiff.Configuration.SectionProviders.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV16SectionProvidersV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.Configuration<\/Type>.ItemProviders<\/Declaration>", - "key.bodylength" : 558, - "key.bodyoffset" : 1516, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.Configuration<\/ref.struct>.ItemProviders<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 589, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "ItemProviders", - "key.namelength" : 13, - "key.nameoffset" : 1493, - "key.offset" : 1486, - "key.parsed_declaration" : "struct ItemProviders", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var identifier: (Item<\/Type>) -> ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifier<\/decl.name>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemIdentifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 1533, - "key.offset" : 1529, - "key.parsed_declaration" : "var identifier : (Item) -> ItemIdentifier", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Item) -> ItemIdentifier", - "key.typeusr" : "$syq1_q0_cD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersV10identifieryq1_q0_cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var updated: (Item<\/Type>, Item<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> updated<\/decl.name>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "updated", - "key.namelength" : 7, - "key.nameoffset" : 1600, - "key.offset" : 1596, - "key.parsed_declaration" : "var updated : (Item, Item) -> Bool", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Item, Item) -> Bool", - "key.typeusr" : "$sySbq0__q0_tcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersV7updatedySbq0__q0_tcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var movedHint: (Item<\/Type>, Item<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> movedHint<\/decl.name>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "movedHint", - "key.namelength" : 9, - "key.nameoffset" : 1647, - "key.offset" : 1643, - "key.parsed_declaration" : "var movedHint : (Item, Item) -> Bool", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Item, Item) -> Bool", - "key.typeusr" : "$sySbq0__q0_tcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersV9movedHintySbq0__q0_tcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(identifier: @escaping (Item<\/Type>) -> ItemIdentifier<\/Type>, updated: @escaping (Item<\/Type>, Item<\/Type>) -> Bool<\/Type>, movedHint: @escaping (Item<\/Type>, Item<\/Type>) -> Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 140, - "key.bodyoffset" : 1924, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(identifier<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemIdentifier<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, movedHint<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 360, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "init(identifier:updated:movedHint:)", - "key.namelength" : 205, - "key.nameoffset" : 1705, - "key.offset" : 1705, - "key.parsed_declaration" : "init(\n identifier : @escaping (Item) -> ItemIdentifier,\n updated : @escaping (Item, Item) -> Bool,\n movedHint : @escaping (Item, Item) -> Bool\n )", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.Configuration.ItemProviders.Type) -> (@escaping (Item) -> ItemIdentifier, @escaping (Item, Item) -> Bool, @escaping (Item, Item) -> Bool) -> SectionedDiff.Configuration.ItemProviders", - "key.typeusr" : "$s10identifier7updated9movedHint10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersVyxq_q0_q1___Gq1_q0_c_Sbq0__q0_tcSbq0__q0_tctcD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersV10identifier7updated9movedHintAGyxq_q0_q1___Gq1_q0_c_Sbq0__q0_tcSbq0__q0_tctcfc" - } - ], - "key.typename" : "SectionedDiff.Configuration.ItemProviders.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV13ItemProvidersV" - } - ], - "key.typename" : "SectionedDiff.Configuration.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV13ConfigurationVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV13ConfigurationV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Declaration>", - "key.bodylength" : 5494, - "key.bodyoffset" : 2118, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 5522, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "SectionChanges", - "key.namelength" : 14, - "key.nameoffset" : 2098, - "key.offset" : 2091, - "key.parsed_declaration" : "struct SectionChanges", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let added: [Added<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> added<\/decl.name>: [Added<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "added", - "key.namelength" : 5, - "key.nameoffset" : 2131, - "key.offset" : 2127, - "key.parsed_declaration" : "let added : [Added]", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.Added]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV5AddedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5addedSayAE5AddedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let removed: [Removed<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removed<\/decl.name>: [Removed<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 2159, - "key.offset" : 2155, - "key.parsed_declaration" : "let removed : [Removed]", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.Removed]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV7RemovedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7removedSayAE7RemovedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let moved: [Moved<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moved<\/decl.name>: [Moved<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "moved", - "key.namelength" : 5, - "key.nameoffset" : 2200, - "key.offset" : 2196, - "key.parsed_declaration" : "let moved : [Moved]", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.Moved]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV5MovedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5movedSayAE5MovedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let noChange: [NoChange<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> noChange<\/decl.name>: [NoChange<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "noChange", - "key.namelength" : 8, - "key.nameoffset" : 2228, - "key.offset" : 2224, - "key.parsed_declaration" : "let noChange : [NoChange]", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.NoChange]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV8NoChangeVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8noChangeSayAE02NoH0Vyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let addedItemIdentifiers: Set<\/Type><ItemIdentifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> addedItemIdentifiers<\/decl.name>: Set<\/ref.struct><ItemIdentifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "addedItemIdentifiers", - "key.namelength" : 20, - "key.nameoffset" : 2271, - "key.offset" : 2267, - "key.parsed_declaration" : "let addedItemIdentifiers : Set", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShyq1_GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV20addedItemIdentifiersShyq1_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let removedItemIdentifiers: Set<\/Type><ItemIdentifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removedItemIdentifiers<\/decl.name>: Set<\/ref.struct><ItemIdentifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "removedItemIdentifiers", - "key.namelength" : 22, - "key.nameoffset" : 2326, - "key.offset" : 2322, - "key.parsed_declaration" : "let removedItemIdentifiers : Set", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShyq1_GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV22removedItemIdentifiersShyq1_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let sectionsChangeCount: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> sectionsChangeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "sectionsChangeCount", - "key.namelength" : 19, - "key.nameoffset" : 2392, - "key.offset" : 2388, - "key.parsed_declaration" : "let sectionsChangeCount : Int", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV19sectionsChangeCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let itemsChangeCount: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemsChangeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "itemsChangeCount", - "key.namelength" : 16, - "key.nameoffset" : 2430, - "key.offset" : 2426, - "key.parsed_declaration" : "let itemsChangeCount : Int", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV16itemsChangeCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var totalChangeCount: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 70, - "key.bodyoffset" : 2498, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> totalChangeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 99, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "totalChangeCount", - "key.namelength" : 16, - "key.nameoffset" : 2474, - "key.offset" : 2470, - "key.parsed_declaration" : "var totalChangeCount : Int", - "key.parsed_scope.end" : 97, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV16totalChangeCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isEmpty: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 2607, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 69, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "isEmpty", - "key.namelength" : 7, - "key.nameoffset" : 2591, - "key.offset" : 2587, - "key.parsed_declaration" : "var isEmpty : Bool", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7isEmptySbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let diff: ArrayDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2674 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> diff<\/decl.name>: ArrayDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "diff", - "key.namelength" : 4, - "key.nameoffset" : 2686, - "key.offset" : 2682, - "key.parsed_declaration" : "private let diff : ArrayDiff", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff", - "key.typeusr" : "$s10ListableUI9ArrayDiffVyxq_GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV4diff33_459A16665E334F63AE247A06F35B0E51LLAA05ArrayD0Vyxq_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(old: [Section<\/Type>], new: [Section<\/Type>], configuration: Configuration<\/Type>)<\/Declaration>", - "key.bodylength" : 3326, - "key.bodyoffset" : 2827, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(old<\/decl.var.parameter.argument_label>: [Section<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Section<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, configuration<\/decl.var.parameter.argument_label>: Configuration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3406, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "init(old:new:configuration:)", - "key.namelength" : 69, - "key.nameoffset" : 2748, - "key.offset" : 2748, - "key.parsed_declaration" : "init(old : [Section], new : [Section], configuration : Configuration)", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let sectionsChangeCount: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> sectionsChangeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 130, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "sectionsChangeCount", - "key.namelength" : 19, - "key.nameoffset" : 4958, - "key.offset" : 4954, - "key.parsed_declaration" : "let sectionsChangeCount =\n self.added.count\n + self.removed.count\n + self.moved.count", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV3old3new13configurationAEyxq_q0_q1__GSayxG_AjC13ConfigurationVyxq_q0_q1__Gtcfc19sectionsChangeCountL_Sivp" - }, - { - "key.annotated_decl" : "let itemsChangeCount: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemsChangeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 175, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "itemsChangeCount", - "key.namelength" : 16, - "key.nameoffset" : 5114, - "key.offset" : 5110, - "key.parsed_declaration" : "let itemsChangeCount =\n self.moved.reduce(0, { $0 + $1.itemChanges.changeCount })\n + self.noChange.reduce(0, { $0 + $1.itemChanges.changeCount })", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV3old3new13configurationAEyxq_q0_q1__GSayxG_AjC13ConfigurationVyxq_q0_q1__Gtcfc16itemsChangeCountL_Sivp" - }, - { - "key.annotated_decl" : "let hasChanges: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> hasChanges<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "hasChanges", - "key.namelength" : 10, - "key.nameoffset" : 5440, - "key.offset" : 5436, - "key.parsed_declaration" : "let hasChanges = itemsChangeCount > 0 || sectionsChangeCount > 0", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 179, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV3old3new13configurationAEyxq_q0_q1__GSayxG_AjC13ConfigurationVyxq_q0_q1__Gtcfc03hasF0L_Sbvp" - } - ], - "key.typename" : " (SectionedDiff.SectionChanges.Type) -> ([Section], [Section], SectionedDiff.Configuration) -> SectionedDiff.SectionChanges", - "key.typeusr" : "$s3old3new13configuration10ListableUI13SectionedDiffV14SectionChangesVyxq_q0_q1__GSayxG_AjF13ConfigurationVyxq_q0_q1__GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV3old3new13configurationAEyxq_q0_q1__GSayxG_AjC13ConfigurationVyxq_q0_q1__Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func allItemIDs(in sections: [Section<\/Type>], configuration: Configuration<\/Type>) -> Set<\/Type><ItemIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6172 - } - ], - "key.bodylength" : 320, - "key.bodyoffset" : 6283, - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> allItemIDs<\/decl.name>(in<\/decl.var.parameter.argument_label> sections<\/decl.var.parameter.name>: [Section<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, configuration<\/decl.var.parameter.argument_label>: Configuration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Set<\/ref.struct><ItemIdentifier<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 424, - "key.line" : 195, - "key.modulename" : "ListableUI", - "key.name" : "allItemIDs(in:configuration:)", - "key.namelength" : 66, - "key.nameoffset" : 6192, - "key.offset" : 6180, - "key.parsed_declaration" : "private static func allItemIDs(in sections : [Section], configuration : Configuration) -> Set", - "key.parsed_scope.end" : 206, - "key.parsed_scope.start" : 195, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var IDs: Set<\/Type><ItemIdentifier<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> IDs<\/decl.name>: Set<\/ref.struct><ItemIdentifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 197, - "key.modulename" : "ListableUI", - "key.name" : "IDs", - "key.namelength" : 3, - "key.nameoffset" : 6313, - "key.offset" : 6309, - "key.parsed_declaration" : "var IDs = Set()", - "key.parsed_scope.end" : 197, - "key.parsed_scope.start" : 197, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShyq1_GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV10allItemIDs33_459A16665E334F63AE247A06F35B0E51LL2in13configurationShyq1_GSayxG_AC13ConfigurationVyxq_q0_q1__GtFZ0I0L_AJvp" - } - ], - "key.typename" : " (SectionedDiff.SectionChanges.Type) -> ([Section], SectionedDiff.Configuration) -> Set", - "key.typeusr" : "$s2in13configurationShyq1_GSayxG_10ListableUI13SectionedDiffV13ConfigurationVyxq_q0_q1__GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV10allItemIDs33_459A16665E334F63AE247A06F35B0E51LL2in13configurationShyq1_GSayxG_AC13ConfigurationVyxq_q0_q1__GtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Added<\/Declaration>", - "key.bodylength" : 148, - "key.bodyoffset" : 6644, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Added<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 171, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "Added", - "key.namelength" : 5, - "key.nameoffset" : 6629, - "key.offset" : 6622, - "key.parsed_declaration" : "struct Added", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: SectionIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: SectionIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 6661, - "key.offset" : 6657, - "key.parsed_declaration" : "let identifier : SectionIdentifier", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 210, - "key.reusingastcontext" : false, - "key.typename" : "SectionIdentifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5AddedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 6721, - "key.offset" : 6717, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 212, - "key.parsed_scope.start" : 212, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5AddedV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 214, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 6765, - "key.offset" : 6761, - "key.parsed_declaration" : "let newValue : Section", - "key.parsed_scope.end" : 214, - "key.parsed_scope.start" : 214, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5AddedV8newValuexvp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Added.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV5AddedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5AddedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Removed<\/Declaration>", - "key.bodylength" : 148, - "key.bodyoffset" : 6835, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Removed<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 173, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "Removed", - "key.namelength" : 7, - "key.nameoffset" : 6818, - "key.offset" : 6811, - "key.parsed_declaration" : "struct Removed", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 217, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: SectionIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: SectionIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 219, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 6852, - "key.offset" : 6848, - "key.parsed_declaration" : "let identifier : SectionIdentifier", - "key.parsed_scope.end" : 219, - "key.parsed_scope.start" : 219, - "key.reusingastcontext" : false, - "key.typename" : "SectionIdentifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7RemovedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 221, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 6912, - "key.offset" : 6908, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 221, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7RemovedV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 223, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 6956, - "key.offset" : 6952, - "key.parsed_declaration" : "let oldValue : Section", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 223, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7RemovedV8oldValuexvp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Removed.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV7RemovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7RemovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Moved<\/Declaration>", - "key.bodylength" : 269, - "key.bodyoffset" : 7024, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Moved<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 292, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "Moved", - "key.namelength" : 5, - "key.nameoffset" : 7009, - "key.offset" : 7002, - "key.parsed_declaration" : "struct Moved", - "key.parsed_scope.end" : 237, - "key.parsed_scope.start" : 226, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: SectionIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: SectionIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 228, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 7041, - "key.offset" : 7037, - "key.parsed_declaration" : "let identifier : SectionIdentifier", - "key.parsed_scope.end" : 228, - "key.parsed_scope.start" : 228, - "key.reusingastcontext" : false, - "key.typename" : "SectionIdentifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 7101, - "key.offset" : 7097, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 231, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 7132, - "key.offset" : 7128, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 231, - "key.parsed_scope.start" : 231, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 7176, - "key.offset" : 7172, - "key.parsed_declaration" : "let oldValue : Section", - "key.parsed_scope.end" : 233, - "key.parsed_scope.start" : 233, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV8oldValuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 7211, - "key.offset" : 7207, - "key.parsed_declaration" : "let newValue : Section", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 234, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV8newValuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let itemChanges: ItemChanges<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemChanges<\/decl.name>: ItemChanges<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 236, - "key.modulename" : "ListableUI", - "key.name" : "itemChanges", - "key.namelength" : 11, - "key.nameoffset" : 7259, - "key.offset" : 7255, - "key.parsed_declaration" : "let itemChanges : ItemChanges", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 236, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV04itemF0AC04ItemF0Vyxq_q0_q1__Gvp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Moved.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV5MovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.NoChange<\/Declaration>", - "key.bodylength" : 269, - "key.bodyoffset" : 7337, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.NoChange<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 295, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "NoChange", - "key.namelength" : 8, - "key.nameoffset" : 7319, - "key.offset" : 7312, - "key.parsed_declaration" : "struct NoChange", - "key.parsed_scope.end" : 250, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: SectionIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: SectionIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 7354, - "key.offset" : 7350, - "key.parsed_declaration" : "let identifier : SectionIdentifier", - "key.parsed_scope.end" : 241, - "key.parsed_scope.start" : 241, - "key.reusingastcontext" : false, - "key.typename" : "SectionIdentifier", - "key.typeusr" : "$sq_D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV10identifierq_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 243, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 7414, - "key.offset" : 7410, - "key.parsed_declaration" : "let oldIndex : Int", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 243, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV8oldIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: Int<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 244, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 7445, - "key.offset" : 7441, - "key.parsed_declaration" : "let newIndex : Int", - "key.parsed_scope.end" : 244, - "key.parsed_scope.start" : 244, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV8newIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 246, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 7489, - "key.offset" : 7485, - "key.parsed_declaration" : "let oldValue : Section", - "key.parsed_scope.end" : 246, - "key.parsed_scope.start" : 246, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV8oldValuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Section<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Section<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 247, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 7524, - "key.offset" : 7520, - "key.parsed_declaration" : "let newValue : Section", - "key.parsed_scope.end" : 247, - "key.parsed_scope.start" : 247, - "key.reusingastcontext" : false, - "key.typename" : "Section", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV8newValuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let itemChanges: ItemChanges<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemChanges<\/decl.name>: ItemChanges<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 249, - "key.modulename" : "ListableUI", - "key.name" : "itemChanges", - "key.namelength" : 11, - "key.nameoffset" : 7572, - "key.offset" : 7568, - "key.parsed_declaration" : "let itemChanges : ItemChanges", - "key.parsed_scope.end" : 249, - "key.parsed_scope.start" : 249, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV04itemF0AC04ItemF0Vyxq_q0_q1__Gvp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.NoChange.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV8NoChangeVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Declaration>", - "key.bodylength" : 4189, - "key.bodyoffset" : 7652, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 4214, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "ItemChanges", - "key.namelength" : 11, - "key.nameoffset" : 7635, - "key.offset" : 7628, - "key.parsed_declaration" : "struct ItemChanges", - "key.parsed_scope.end" : 390, - "key.parsed_scope.start" : 254, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let added: [Added<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> added<\/decl.name>: [Added<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 256, - "key.modulename" : "ListableUI", - "key.name" : "added", - "key.namelength" : 5, - "key.nameoffset" : 7665, - "key.offset" : 7661, - "key.parsed_declaration" : "let added : [Added]", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 256, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Added]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV5AddedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5addedSayAE5AddedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let removed: [Removed<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removed<\/decl.name>: [Removed<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 7693, - "key.offset" : 7689, - "key.parsed_declaration" : "let removed : [Removed]", - "key.parsed_scope.end" : 257, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Removed]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV7RemovedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7removedSayAE7RemovedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let moved: [Moved<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moved<\/decl.name>: [Moved<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "moved", - "key.namelength" : 5, - "key.nameoffset" : 7734, - "key.offset" : 7730, - "key.parsed_declaration" : "let moved : [Moved]", - "key.parsed_scope.end" : 259, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Moved]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV5MovedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5movedSayAE5MovedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let updated: [Updated<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> updated<\/decl.name>: [Updated<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 260, - "key.modulename" : "ListableUI", - "key.name" : "updated", - "key.namelength" : 7, - "key.nameoffset" : 7762, - "key.offset" : 7758, - "key.parsed_declaration" : "let updated : [Updated]", - "key.parsed_scope.end" : 260, - "key.parsed_scope.start" : 260, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Updated]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV7UpdatedVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7updatedSayAE7UpdatedVyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let noChange: [NoChange<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> noChange<\/decl.name>: [NoChange<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 261, - "key.modulename" : "ListableUI", - "key.name" : "noChange", - "key.namelength" : 8, - "key.nameoffset" : 7794, - "key.offset" : 7790, - "key.parsed_declaration" : "let noChange : [NoChange]", - "key.parsed_scope.end" : 261, - "key.parsed_scope.start" : 261, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.NoChange]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV8NoChangeVyxq_q0_q1___GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8noChangeSayAE02NoH0Vyxq_q0_q1___GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let changeCount: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> changeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 263, - "key.modulename" : "ListableUI", - "key.name" : "changeCount", - "key.namelength" : 11, - "key.nameoffset" : 7837, - "key.offset" : 7833, - "key.parsed_declaration" : "let changeCount : Int", - "key.parsed_scope.end" : 263, - "key.parsed_scope.start" : 263, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV11changeCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let diff: ArrayDiff<\/Type><Item<\/Type>, ItemIdentifier<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> diff<\/decl.name>: ArrayDiff<\/ref.struct><Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 265, - "key.modulename" : "ListableUI", - "key.name" : "diff", - "key.namelength" : 4, - "key.nameoffset" : 7876, - "key.offset" : 7872, - "key.parsed_declaration" : "let diff : ArrayDiff", - "key.parsed_scope.end" : 265, - "key.parsed_scope.start" : 265, - "key.reusingastcontext" : false, - "key.typename" : "ArrayDiff", - "key.typeusr" : "$s10ListableUI9ArrayDiffVyq0_q1_GD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV4diffAA05ArrayD0Vyq0_q1_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(old: Section<\/Type>, oldIndex: Int<\/Type>, new: Section<\/Type>, newIndex: Int<\/Type>, configuration: Configuration<\/Type>)<\/Declaration>", - "key.bodylength" : 273, - "key.bodyoffset" : 8038, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(old<\/decl.var.parameter.argument_label>: Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, oldIndex<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, newIndex<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, configuration<\/decl.var.parameter.argument_label>: Configuration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 380, - "key.line" : 267, - "key.modulename" : "ListableUI", - "key.name" : "init(old:oldIndex:new:newIndex:configuration:)", - "key.namelength" : 96, - "key.nameoffset" : 7932, - "key.offset" : 7932, - "key.parsed_declaration" : "init(old : Section, oldIndex : Int, new : Section, newIndex : Int, configuration: Configuration)", - "key.parsed_scope.end" : 276, - "key.parsed_scope.start" : 267, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(old: [Item], oldIndex: Int, new: [Item], newIndex: Int, configuration: Configuration)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Type) -> (Section, Int, Section, Int, SectionedDiff.Configuration) -> SectionedDiff.ItemChanges", - "key.typeusr" : "$s3old0A5Index3new0cB013configuration10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__Gx_SixSiAH13ConfigurationVyxq_q0_q1__GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV3old0G5Index3new0iH013configurationAEyxq_q0_q1__Gx_SixSiAC13ConfigurationVyxq_q0_q1__Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(old: [Item<\/Type>], oldIndex: Int<\/Type>, new: [Item<\/Type>], newIndex: Int<\/Type>, configuration: Configuration<\/Type>)<\/Declaration>", - "key.bodylength" : 2241, - "key.bodyoffset" : 8435, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(old<\/decl.var.parameter.argument_label>: [Item<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, oldIndex<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Item<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, newIndex<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, configuration<\/decl.var.parameter.argument_label>: Configuration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2347, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "init(old:oldIndex:new:newIndex:configuration:)", - "key.namelength" : 95, - "key.nameoffset" : 8330, - "key.offset" : 8330, - "key.parsed_declaration" : "init(old : [Item], oldIndex : Int, new : [Item], newIndex : Int, configuration : Configuration)", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 278, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(old: Section, oldIndex: Int, new: Section, newIndex: Int, configuration: Configuration)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Type) -> ([Item], Int, [Item], Int, SectionedDiff.Configuration) -> SectionedDiff.ItemChanges", - "key.typeusr" : "$s3old0A5Index3new0cB013configuration10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GSayq0_G_SiALSiAH13ConfigurationVyxq_q0_q1__GtcD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV3old0G5Index3new0iH013configurationAEyxq_q0_q1__GSayq0_G_SiALSiAC13ConfigurationVyxq_q0_q1__Gtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Added<\/Declaration>", - "key.bodylength" : 148, - "key.bodyoffset" : 10717, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Added<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 171, - "key.line" : 340, - "key.modulename" : "ListableUI", - "key.name" : "Added", - "key.namelength" : 5, - "key.nameoffset" : 10702, - "key.offset" : 10695, - "key.parsed_declaration" : "struct Added", - "key.parsed_scope.end" : 347, - "key.parsed_scope.start" : 340, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ItemIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 342, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 10734, - "key.offset" : 10730, - "key.parsed_declaration" : "let identifier : ItemIdentifier", - "key.parsed_scope.end" : 342, - "key.parsed_scope.start" : 342, - "key.reusingastcontext" : false, - "key.typename" : "ItemIdentifier", - "key.typeusr" : "$sq1_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5AddedV10identifierq1_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 10791, - "key.offset" : 10787, - "key.parsed_declaration" : "let newIndex : IndexPath", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5AddedV8newIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 346, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 10841, - "key.offset" : 10837, - "key.parsed_declaration" : "let newValue : Item", - "key.parsed_scope.end" : 346, - "key.parsed_scope.start" : 346, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5AddedV8newValueq0_vp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Added.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV5AddedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5AddedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Removed<\/Declaration>", - "key.bodylength" : 148, - "key.bodyoffset" : 10908, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Removed<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 173, - "key.line" : 349, - "key.modulename" : "ListableUI", - "key.name" : "Removed", - "key.namelength" : 7, - "key.nameoffset" : 10891, - "key.offset" : 10884, - "key.parsed_declaration" : "struct Removed", - "key.parsed_scope.end" : 356, - "key.parsed_scope.start" : 349, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ItemIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 351, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 10925, - "key.offset" : 10921, - "key.parsed_declaration" : "let identifier : ItemIdentifier", - "key.parsed_scope.end" : 351, - "key.parsed_scope.start" : 351, - "key.reusingastcontext" : false, - "key.typename" : "ItemIdentifier", - "key.typeusr" : "$sq1_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7RemovedV10identifierq1_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 353, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 10982, - "key.offset" : 10978, - "key.parsed_declaration" : "let oldIndex : IndexPath", - "key.parsed_scope.end" : 353, - "key.parsed_scope.start" : 353, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7RemovedV8oldIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 355, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 11032, - "key.offset" : 11028, - "key.parsed_declaration" : "let oldValue : Item", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 355, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7RemovedV8oldValueq0_vp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Removed.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV7RemovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7RemovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Moved<\/Declaration>", - "key.bodylength" : 217, - "key.bodyoffset" : 11097, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Moved<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 240, - "key.line" : 358, - "key.modulename" : "ListableUI", - "key.name" : "Moved", - "key.namelength" : 5, - "key.nameoffset" : 11082, - "key.offset" : 11075, - "key.parsed_declaration" : "struct Moved", - "key.parsed_scope.end" : 367, - "key.parsed_scope.start" : 358, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ItemIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 360, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 11114, - "key.offset" : 11110, - "key.parsed_declaration" : "let identifier : ItemIdentifier", - "key.parsed_scope.end" : 360, - "key.parsed_scope.start" : 360, - "key.reusingastcontext" : false, - "key.typename" : "ItemIdentifier", - "key.typeusr" : "$sq1_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV10identifierq1_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 362, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 11171, - "key.offset" : 11167, - "key.parsed_declaration" : "let oldIndex : IndexPath", - "key.parsed_scope.end" : 362, - "key.parsed_scope.start" : 362, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV8oldIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 363, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 11208, - "key.offset" : 11204, - "key.parsed_declaration" : "let newIndex : IndexPath", - "key.parsed_scope.end" : 363, - "key.parsed_scope.start" : 363, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV8newIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 365, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 11258, - "key.offset" : 11254, - "key.parsed_declaration" : "var oldValue : Item", - "key.parsed_scope.end" : 365, - "key.parsed_scope.start" : 365, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV8oldValueq0_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var newValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> newValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 366, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 11290, - "key.offset" : 11286, - "key.parsed_declaration" : "var newValue : Item", - "key.parsed_scope.end" : 366, - "key.parsed_scope.start" : 366, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV8newValueq0_vp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Moved.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV5MovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Updated<\/Declaration>", - "key.bodylength" : 217, - "key.bodyoffset" : 11357, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Updated<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 242, - "key.line" : 369, - "key.modulename" : "ListableUI", - "key.name" : "Updated", - "key.namelength" : 7, - "key.nameoffset" : 11340, - "key.offset" : 11333, - "key.parsed_declaration" : "struct Updated", - "key.parsed_scope.end" : 378, - "key.parsed_scope.start" : 369, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ItemIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 371, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 11374, - "key.offset" : 11370, - "key.parsed_declaration" : "let identifier : ItemIdentifier", - "key.parsed_scope.end" : 371, - "key.parsed_scope.start" : 371, - "key.reusingastcontext" : false, - "key.typename" : "ItemIdentifier", - "key.typeusr" : "$sq1_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV10identifierq1_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 373, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 11431, - "key.offset" : 11427, - "key.parsed_declaration" : "let oldIndex : IndexPath", - "key.parsed_scope.end" : 373, - "key.parsed_scope.start" : 373, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV8oldIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 374, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 11468, - "key.offset" : 11464, - "key.parsed_declaration" : "let newIndex : IndexPath", - "key.parsed_scope.end" : 374, - "key.parsed_scope.start" : 374, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV8newIndex10Foundation0I4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 376, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 11518, - "key.offset" : 11514, - "key.parsed_declaration" : "let oldValue : Item", - "key.parsed_scope.end" : 376, - "key.parsed_scope.start" : 376, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV8oldValueq0_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 377, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 11550, - "key.offset" : 11546, - "key.parsed_declaration" : "let newValue : Item", - "key.parsed_scope.end" : 377, - "key.parsed_scope.start" : 377, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV8newValueq0_vp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Updated.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV7UpdatedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.NoChange<\/Declaration>", - "key.bodylength" : 217, - "key.bodyoffset" : 11618, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.NoChange<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 243, - "key.line" : 380, - "key.modulename" : "ListableUI", - "key.name" : "NoChange", - "key.namelength" : 8, - "key.nameoffset" : 11600, - "key.offset" : 11593, - "key.parsed_declaration" : "struct NoChange", - "key.parsed_scope.end" : 389, - "key.parsed_scope.start" : 380, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ItemIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ItemIdentifier<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 382, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 11635, - "key.offset" : 11631, - "key.parsed_declaration" : "let identifier : ItemIdentifier", - "key.parsed_scope.end" : 382, - "key.parsed_scope.start" : 382, - "key.reusingastcontext" : false, - "key.typename" : "ItemIdentifier", - "key.typeusr" : "$sq1_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV10identifierq1_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 384, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 11692, - "key.offset" : 11688, - "key.parsed_declaration" : "let oldIndex : IndexPath", - "key.parsed_scope.end" : 384, - "key.parsed_scope.start" : 384, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV8oldIndex10Foundation0J4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newIndex: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIndex<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 385, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 11729, - "key.offset" : 11725, - "key.parsed_declaration" : "let newIndex : IndexPath", - "key.parsed_scope.end" : 385, - "key.parsed_scope.start" : 385, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV8newIndex10Foundation0J4PathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let oldValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 387, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 11779, - "key.offset" : 11775, - "key.parsed_declaration" : "let oldValue : Item", - "key.parsed_scope.end" : 387, - "key.parsed_scope.start" : 387, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV8oldValueq0_vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let newValue: Item<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newValue<\/decl.name>: Item<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 388, - "key.modulename" : "ListableUI", - "key.name" : "newValue", - "key.namelength" : 8, - "key.nameoffset" : 11811, - "key.offset" : 11807, - "key.parsed_declaration" : "let newValue : Item", - "key.parsed_scope.end" : 388, - "key.parsed_scope.start" : 388, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$sq0_D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV8newValueq0_vp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.NoChange.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV8NoChangeVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV" - } - ], - "key.typename" : "SectionedDiff.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffVyxq_q0_q1_GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Added<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 11944, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 11893 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Added<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 99, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.SectionChanges.Added", - "key.namelength" : 34, - "key.nameoffset" : 11856, - "key.offset" : 11846, - "key.parsed_declaration" : "extension SectionedDiff.SectionChanges.Added : Equatable where Section:Equatable, Item:Equatable", - "key.parsed_scope.end" : 393, - "key.parsed_scope.start" : 393, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges.Added.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV5AddedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5AddedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Removed<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12046, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 11995 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Removed<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 101, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.SectionChanges.Removed", - "key.namelength" : 36, - "key.nameoffset" : 11956, - "key.offset" : 11946, - "key.parsed_declaration" : "extension SectionedDiff.SectionChanges.Removed : Equatable where Section:Equatable, Item:Equatable", - "key.parsed_scope.end" : 394, - "key.parsed_scope.start" : 394, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges.Removed.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV7RemovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7RemovedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.Moved<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12146, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12095 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.Moved<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 99, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.SectionChanges.Moved", - "key.namelength" : 34, - "key.nameoffset" : 12058, - "key.offset" : 12048, - "key.parsed_declaration" : "extension SectionedDiff.SectionChanges.Moved : Equatable where Section:Equatable, Item:Equatable", - "key.parsed_scope.end" : 395, - "key.parsed_scope.start" : 395, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges.Moved.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV5MovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV5MovedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Type>.NoChange<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12249, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12198 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/ref.struct>.NoChange<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 102, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.SectionChanges.NoChange", - "key.namelength" : 37, - "key.nameoffset" : 12158, - "key.offset" : 12148, - "key.parsed_declaration" : "extension SectionedDiff.SectionChanges.NoChange : Equatable where Section:Equatable, Item:Equatable", - "key.parsed_scope.end" : 396, - "key.parsed_scope.start" : 396, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges.NoChange.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV8NoChangeVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV8NoChangeV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12322, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12290 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 71, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges", - "key.namelength" : 25, - "key.nameoffset" : 12262, - "key.offset" : 12252, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges : Equatable where Item:Equatable", - "key.parsed_scope.end" : 398, - "key.parsed_scope.start" : 398, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Added<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12401, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12369 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Added<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 77, - "key.line" : 340, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges.Added", - "key.namelength" : 31, - "key.nameoffset" : 12335, - "key.offset" : 12325, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges.Added : Equatable where Item:Equatable", - "key.parsed_scope.end" : 400, - "key.parsed_scope.start" : 400, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Added.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV5AddedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5AddedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Removed<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12481, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12449 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Removed<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 79, - "key.line" : 349, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges.Removed", - "key.namelength" : 33, - "key.nameoffset" : 12413, - "key.offset" : 12403, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges.Removed : Equatable where Item:Equatable", - "key.parsed_scope.end" : 401, - "key.parsed_scope.start" : 401, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Removed.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV7RemovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7RemovedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Moved<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12559, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12527 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Moved<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 77, - "key.line" : 358, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges.Moved", - "key.namelength" : 31, - "key.nameoffset" : 12493, - "key.offset" : 12483, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges.Moved : Equatable where Item:Equatable", - "key.parsed_scope.end" : 402, - "key.parsed_scope.start" : 402, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Moved.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV5MovedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV5MovedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.Updated<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12639, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12607 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.Updated<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 79, - "key.line" : 369, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges.Updated", - "key.namelength" : 33, - "key.nameoffset" : 12571, - "key.offset" : 12561, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges.Updated : Equatable where Item:Equatable", - "key.parsed_scope.end" : 403, - "key.parsed_scope.start" : 403, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Updated.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV7UpdatedVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7UpdatedV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Type>.NoChange<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 12720, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12688 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/ref.struct>.NoChange<\/decl.name><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 80, - "key.line" : 380, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges.NoChange", - "key.namelength" : 34, - "key.nameoffset" : 12651, - "key.offset" : 12641, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges.NoChange : Equatable where Item:Equatable", - "key.parsed_scope.end" : 404, - "key.parsed_scope.start" : 404, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.NoChange.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV8NoChangeVyxq_q0_q1___GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV8NoChangeV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<Section, SectionIdentifier, Item, ItemIdentifier> where SectionIdentifier<\/Type> : Hashable<\/Type>, ItemIdentifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 1403, - "key.bodyoffset" : 12749, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/decl.name><Section<\/decl.generic_type_param.name><\/decl.generic_type_param>, SectionIdentifier<\/decl.generic_type_param.name><\/decl.generic_type_param>, Item<\/decl.generic_type_param.name><\/decl.generic_type_param>, ItemIdentifier<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> SectionIdentifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement>, ItemIdentifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1429, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff", - "key.namelength" : 13, - "key.nameoffset" : 12734, - "key.offset" : 12724, - "key.parsed_declaration" : "extension SectionedDiff", - "key.parsed_scope.end" : 438, - "key.parsed_scope.start" : 407, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func transform<Mapped>(input: [Mapped<\/Type>], removed: (Section<\/Type>, Mapped<\/Type>) -> (), added: (Section<\/Type>) -> Mapped<\/Type>, moved: (Section<\/Type>, Section<\/Type>, ItemChanges<\/Type>, inout Mapped<\/Type>) -> (), noChange: (Section<\/Type>, Section<\/Type>, ItemChanges<\/Type>, inout Mapped<\/Type>) -> (), mappedItemCount: (Mapped<\/Type>) -> Int<\/Type>, sectionItemCount: (Section<\/Type>) -> Int<\/Type>) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 823, - "key.bodyoffset" : 13327, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Takes the content of the `input` array, and transforms it using the diff's changes\ninto a newly returned array, creating, moving, or updating the content as required.", - "key.doc.column" : 10, - "key.doc.comment" : "Takes the content of the `input` array, and transforms it using the diff's changes\ninto a newly returned array, creating, moving, or updating the content as required.", - "key.doc.declaration" : "func transform(input: [Mapped], removed: (Section, Mapped) -> (), added: (Section) -> Mapped, moved: (Section, Section, ItemChanges, inout Mapped) -> (), noChange: (Section, Section, ItemChanges, inout Mapped) -> (), mappedItemCount: (Mapped) -> Int, sectionItemCount: (Section) -> Int) -> [Mapped]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.doc.full_as_xml" : "transform(input:removed:added:moved:noChange:mappedItemCount:sectionItemCount:)<\/Name>s:10ListableUI13SectionedDiffV9transform5input7removed5added5moved8noChange15mappedItemCount07sectionmN0Sayqd__GAL_yx_qd__tXEqd__xXEyx_xAC0M7ChangesVyxq_q0_q1__Gqd__ztXEyx_xAOqd__ztXESiqd__XESixXEtlF<\/USR>func transform<Mapped>(input: [Mapped], removed: (Section, Mapped) -> (), added: (Section) -> Mapped, moved: (Section, Section, ItemChanges, inout Mapped) -> (), noChange: (Section, Section, ItemChanges, inout Mapped) -> (), mappedItemCount: (Mapped) -> Int, sectionItemCount: (Section) -> Int) -> [Mapped]<\/Declaration>Takes the content of the input<\/codeVoice> array, and transforms it using the diff’s changes into a newly returned array, creating, moving, or updating the content as required.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 411, - "key.doc.name" : "transform(input:removed:added:moved:noChange:mappedItemCount:sectionItemCount:)", - "key.doc.type" : "Function", - "key.doclength" : 179, - "key.docoffset" : 12759, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> transform<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(input<\/decl.var.parameter.argument_label>: [Mapped<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, removed<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, added<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, moved<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ItemChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, noChange<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, ItemChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, mappedItemCount<\/decl.var.parameter.argument_label>: (Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, sectionItemCount<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1209, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "transform(input:removed:added:moved:noChange:mappedItemCount:sectionItemCount:)", - "key.namelength" : 362, - "key.nameoffset" : 12947, - "key.offset" : 12942, - "key.parsed_declaration" : "func transform(\n input : [Mapped],\n removed : (Section, Mapped) -> (),\n added : (Section) -> Mapped,\n moved : (Section, Section, ItemChanges, inout Mapped) -> (),\n noChange : (Section, Section, ItemChanges, inout Mapped) -> (),\n mappedItemCount : (Mapped) -> Int,\n sectionItemCount : (Section) -> Int\n ) -> [Mapped]", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 411, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 12957, - "key.offset" : 12957, - "key.parsed_declaration" : "func transformlet oldSizes: [Int<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldSizes<\/decl.name>: [Int<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 60, - "key.line" : 421, - "key.modulename" : "ListableUI", - "key.name" : "oldSizes", - "key.namelength" : 8, - "key.nameoffset" : 13340, - "key.offset" : 13336, - "key.parsed_declaration" : "let oldSizes : [Int] = self.old.map { sectionItemCount($0) }", - "key.parsed_scope.end" : 421, - "key.parsed_scope.start" : 421, - "key.reusingastcontext" : false, - "key.typename" : "[Int]", - "key.typeusr" : "$sSaySiGD", - "key.usr" : "s:10ListableUI13SectionedDiffV9transform5input7removed5added5moved8noChange15mappedItemCount07sectionmN0Sayqd__GAL_yx_qd__tXEqd__xXEyx_xAC0M7ChangesVyxq_q0_q1__Gqd__ztXEyx_xAOqd__ztXESiqd__XESixXEtlF8oldSizesL_SaySiGvp" - }, - { - "key.annotated_decl" : "let inputSizes: [Int<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> inputSizes<\/decl.name>: [Int<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 58, - "key.line" : 422, - "key.modulename" : "ListableUI", - "key.name" : "inputSizes", - "key.namelength" : 10, - "key.nameoffset" : 13409, - "key.offset" : 13405, - "key.parsed_declaration" : "let inputSizes : [Int] = input.map { mappedItemCount($0) }", - "key.parsed_scope.end" : 422, - "key.parsed_scope.start" : 422, - "key.reusingastcontext" : false, - "key.typename" : "[Int]", - "key.typeusr" : "$sSaySiGD", - "key.usr" : "s:10ListableUI13SectionedDiffV9transform5input7removed5added5moved8noChange15mappedItemCount07sectionmN0Sayqd__GAL_yx_qd__tXEqd__xXEyx_xAC0M7ChangesVyxq_q0_q1__Gqd__ztXEyx_xAOqd__ztXESiqd__XESixXEtlF0F5SizesL_SaySiGvp" - } - ], - "key.typename" : " (SectionedDiff) -> ([Mapped], (Section, Mapped) -> (), (Section) -> Mapped, (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> (), (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> (), (Mapped) -> Int, (Section) -> Int) -> [Mapped]", - "key.typeusr" : "$s5input7removed5added5moved8noChange15mappedItemCount07sectionhI0Sayqd__GAH_yx_qd__tXEqd__xXEyx_x10ListableUI13SectionedDiffV0H7ChangesVyxq_q0_q1__Gqd__ztXEyx_xANqd__ztXESiqd__XESixXEtcluD", - "key.usr" : "s:10ListableUI13SectionedDiffV9transform5input7removed5added5moved8noChange15mappedItemCount07sectionmN0Sayqd__GAL_yx_qd__tXEqd__xXEyx_xAC0M7ChangesVyxq_q0_q1__Gqd__ztXEyx_xAOqd__ztXESiqd__XESixXEtlF" - } - ], - "key.typename" : "SectionedDiff.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffVyxq_q0_q1_GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.SectionChanges<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 14155 - } - ], - "key.bodylength" : 2576, - "key.bodyoffset" : 14207, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.SectionChanges<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2617, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.SectionChanges", - "key.namelength" : 28, - "key.nameoffset" : 14177, - "key.offset" : 14167, - "key.parsed_declaration" : "fileprivate extension SectionedDiff.SectionChanges", - "key.parsed_scope.end" : 526, - "key.parsed_scope.start" : 440, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func transform<Mapped>(input: [Mapped<\/Type>], removed: (Section<\/Type>, Mapped<\/Type>) -> (), added: (Section<\/Type>) -> Mapped<\/Type>, moved: (Section<\/Type>, Section<\/Type>, SectionedDiff<\/Type>.ItemChanges<\/Type>, inout Mapped<\/Type>) -> (), noChange: (Section<\/Type>, Section<\/Type>, SectionedDiff<\/Type>.ItemChanges<\/Type>, inout Mapped<\/Type>) -> ()) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 1201, - "key.bodyoffset" : 14537, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> transform<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(input<\/decl.var.parameter.argument_label>: [Mapped<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, removed<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, added<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, moved<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, SectionedDiff<\/ref.struct>.ItemChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, noChange<\/decl.var.parameter.argument_label>: (Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Section<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, SectionedDiff<\/ref.struct>.ItemChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1527, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "transform(input:removed:added:moved:noChange:)", - "key.namelength" : 302, - "key.nameoffset" : 14217, - "key.offset" : 14212, - "key.parsed_declaration" : "func transform(\n input : [Mapped],\n removed : (Section, Mapped) -> (),\n added : (Section) -> Mapped,\n moved : (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> (),\n noChange : (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> ()\n ) -> [Mapped]", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 442, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 14227, - "key.offset" : 14227, - "key.parsed_declaration" : "func transformlet removes: [Removal<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removes<\/decl.name>: [Removal<\/ref.enum><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 281, - "key.line" : 450, - "key.modulename" : "ListableUI", - "key.name" : "removes", - "key.namelength" : 7, - "key.nameoffset" : 14550, - "key.offset" : 14546, - "key.parsed_declaration" : "let removes : [Removal] = (self.removed.map({\n removed($0.oldValue, input[$0.oldIndex])\n return .remove(input[$0.oldIndex], $0)\n}) + self.moved.map({\n .move(input[$0.oldIndex], $0)\n})).sorted(by: {$0.oldIndex > $1.oldIndex})", - "key.parsed_scope.end" : 450, - "key.parsed_scope.start" : 450, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.Removal]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9transform33_459A16665E334F63AE247A06F35B0E51LL5input7removed5added5moved8noChangeSayqd__GAM_yx_qd__tXEqd__xXEyx_xAC04ItemF0Vyxq_q0_q1__Gqd__ztXEyx_xAPqd__ztXEtlF7removesL_SayAE7RemovalAGLLOyxq_q0_q1___qd__GGvp" - }, - { - "key.annotated_decl" : "let inserts: [Insertion<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> inserts<\/decl.name>: [Insertion<\/ref.enum><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 360, - "key.line" : 457, - "key.modulename" : "ListableUI", - "key.name" : "inserts", - "key.namelength" : 7, - "key.nameoffset" : 14849, - "key.offset" : 14845, - "key.parsed_declaration" : "let inserts : [Insertion] = (self.added.map({\n let value = added($0.newValue)\n return .add(value, $0)\n}) + self.moved.map({\n var value = input[$0.oldIndex]\n moved($0.oldValue, $0.newValue, $0.itemChanges, &value)\n return .move(value, $0)\n})).sorted(by: {$0.newIndex < $1.newIndex})", - "key.parsed_scope.end" : 457, - "key.parsed_scope.start" : 457, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.SectionChanges.Insertion]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9transform33_459A16665E334F63AE247A06F35B0E51LL5input7removed5added5moved8noChangeSayqd__GAM_yx_qd__tXEqd__xXEyx_xAC04ItemF0Vyxq_q0_q1__Gqd__ztXEyx_xAPqd__ztXEtlF7insertsL_SayAE9InsertionAGLLOyxq_q0_q1___qd__GGvp" - }, - { - "key.annotated_decl" : "var new: [Mapped<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> new<\/decl.name>: [Mapped<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 15, - "key.line" : 466, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 15227, - "key.offset" : 15223, - "key.parsed_declaration" : "var new = input", - "key.parsed_scope.end" : 466, - "key.parsed_scope.start" : 466, - "key.reusingastcontext" : false, - "key.typename" : "[Mapped]", - "key.typeusr" : "$sSayqd__GD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9transform33_459A16665E334F63AE247A06F35B0E51LL5input7removed5added5moved8noChangeSayqd__GAM_yx_qd__tXEqd__xXEyx_xAC04ItemF0Vyxq_q0_q1__Gqd__ztXEyx_xAPqd__ztXEtlF3newL_AMvp" - } - ], - "key.typename" : " (SectionedDiff.SectionChanges) -> ([Mapped], (Section, Mapped) -> (), (Section) -> Mapped, (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> (), (Section, Section, SectionedDiff.ItemChanges, inout Mapped) -> ()) -> [Mapped]", - "key.typeusr" : "$s5input7removed5added5moved8noChangeSayqd__GAF_yx_qd__tXEqd__xXEyx_x10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__Gqd__ztXEyx_xALqd__ztXEtcluD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9transform33_459A16665E334F63AE247A06F35B0E51LL5input7removed5added5moved8noChangeSayqd__GAM_yx_qd__tXEqd__xXEyx_xAC04ItemF0Vyxq_q0_q1__Gqd__ztXEyx_xAPqd__ztXEtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum Insertion<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 15749 - } - ], - "key.bodylength" : 469, - "key.bodyoffset" : 15785, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Insertion<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 498, - "key.line" : 487, - "key.modulename" : "ListableUI", - "key.name" : "Insertion", - "key.namelength" : 9, - "key.nameoffset" : 15762, - "key.offset" : 15757, - "key.parsed_declaration" : "private enum Insertion", - "key.parsed_scope.end" : 505, - "key.parsed_scope.start" : 487, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 487, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 15772, - "key.offset" : 15772, - "key.parsed_declaration" : "private enum Insertioncase add(Mapped<\/Type>, Added<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> add<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Added<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 489, - "key.modulename" : "ListableUI", - "key.name" : "add(_:_:)", - "key.namelength" : 18, - "key.nameoffset" : 15799, - "key.offset" : 15799, - "key.parsed_declaration" : "case add(Mapped, Added)", - "key.parsed_scope.end" : 489, - "key.parsed_scope.start" : 489, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.SectionChanges.Insertion.Type) -> (Mapped, SectionedDiff.SectionChanges.Added) -> SectionedDiff.SectionChanges.Insertion", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5AddedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO3addyAHyxq_q0_q1___qd__Gqd___AE5AddedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 15826, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case move(Mapped<\/Type>, Moved<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> move<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Moved<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 490, - "key.modulename" : "ListableUI", - "key.name" : "move(_:_:)", - "key.namelength" : 19, - "key.nameoffset" : 15831, - "key.offset" : 15831, - "key.parsed_declaration" : "case move(Mapped, Moved)", - "key.parsed_scope.end" : 490, - "key.parsed_scope.start" : 490, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.SectionChanges.Insertion.Type) -> (Mapped, SectionedDiff.SectionChanges.Moved) -> SectionedDiff.SectionChanges.Insertion", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO4moveyAHyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var mapped: Mapped<\/Type> { get }<\/Declaration>", - "key.bodylength" : 154, - "key.bodyoffset" : 15889, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 176, - "key.line" : 492, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 15872, - "key.offset" : 15868, - "key.parsed_declaration" : "var mapped : Mapped", - "key.parsed_scope.end" : 497, - "key.parsed_scope.start" : 492, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var newIndex: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 166, - "key.bodyoffset" : 16082, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 187, - "key.line" : 499, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 16066, - "key.offset" : 16062, - "key.parsed_declaration" : "var newIndex : Int", - "key.parsed_scope.end" : 504, - "key.parsed_scope.start" : 499, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO8newIndexSivp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Insertion.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum Removal<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 16265 - } - ], - "key.bodylength" : 482, - "key.bodyoffset" : 16299, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Removal<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 509, - "key.line" : 507, - "key.modulename" : "ListableUI", - "key.name" : "Removal", - "key.namelength" : 7, - "key.nameoffset" : 16278, - "key.offset" : 16273, - "key.parsed_declaration" : "private enum Removal", - "key.parsed_scope.end" : 525, - "key.parsed_scope.start" : 507, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 507, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 16286, - "key.offset" : 16286, - "key.parsed_declaration" : "private enum Removalcase remove(Mapped<\/Type>, Removed<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> remove<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Removed<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 23, - "key.line" : 509, - "key.modulename" : "ListableUI", - "key.name" : "remove(_:_:)", - "key.namelength" : 23, - "key.nameoffset" : 16313, - "key.offset" : 16313, - "key.parsed_declaration" : "case remove(Mapped, Removed)", - "key.parsed_scope.end" : 509, - "key.parsed_scope.start" : 509, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.SectionChanges.Removal.Type) -> (Mapped, SectionedDiff.SectionChanges.Removed) -> SectionedDiff.SectionChanges.Removal", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE7RemovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO6removeyAHyxq_q0_q1___qd__Gqd___AE7RemovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 16345, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case move(Mapped<\/Type>, Moved<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> move<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Moved<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 510, - "key.modulename" : "ListableUI", - "key.name" : "move(_:_:)", - "key.namelength" : 19, - "key.nameoffset" : 16350, - "key.offset" : 16350, - "key.parsed_declaration" : "case move(Mapped, Moved)", - "key.parsed_scope.end" : 510, - "key.parsed_scope.start" : 510, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.SectionChanges.Removal.Type) -> (Mapped, SectionedDiff.SectionChanges.Moved) -> SectionedDiff.SectionChanges.Removal", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO4moveyAHyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var mapped: Mapped<\/Type> { get }<\/Declaration>", - "key.bodylength" : 157, - "key.bodyoffset" : 16408, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 179, - "key.line" : 512, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 16391, - "key.offset" : 16387, - "key.parsed_declaration" : "var mapped : Mapped", - "key.parsed_scope.end" : 517, - "key.parsed_scope.start" : 512, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndex: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 171, - "key.bodyoffset" : 16604, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 192, - "key.line" : 519, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 16588, - "key.offset" : 16584, - "key.parsed_declaration" : "var oldIndex : Int", - "key.parsed_scope.end" : 524, - "key.parsed_scope.start" : 519, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO8oldIndexSivp" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Removal.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO" - } - ], - "key.typename" : "SectionedDiff.SectionChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV14SectionChangesV" - }, - { - "key.annotated_decl" : "struct SectionedDiff<\/Type><Section<\/Type>, SectionIdentifier<\/Type>, Item<\/Type>, ItemIdentifier<\/Type>>.ItemChanges<\/Declaration>", - "key.bodylength" : 2864, - "key.bodyoffset" : 16824, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SectionedDiff<\/ref.struct><Section<\/ref.generic_type_param>, SectionIdentifier<\/ref.generic_type_param>, Item<\/ref.generic_type_param>, ItemIdentifier<\/ref.generic_type_param>>.ItemChanges<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2902, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "SectionedDiff.ItemChanges", - "key.namelength" : 25, - "key.nameoffset" : 16797, - "key.offset" : 16787, - "key.parsed_declaration" : "extension SectionedDiff.ItemChanges", - "key.parsed_scope.end" : 624, - "key.parsed_scope.start" : 529, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func transform<Mapped>(old: [Mapped<\/Type>], removed: (Item<\/Type>, Mapped<\/Type>) -> (), added: (Item<\/Type>) -> Mapped<\/Type>, moved: (Item<\/Type>, Item<\/Type>, inout Mapped<\/Type>) -> (), updated: (Item<\/Type>, Item<\/Type>, inout Mapped<\/Type>) -> (), noChange: (Item<\/Type>, Item<\/Type>, inout Mapped<\/Type>) -> ()) -> [Mapped<\/Type>]<\/Declaration>", - "key.bodylength" : 1491, - "key.bodyoffset" : 17132, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> transform<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>>(old<\/decl.var.parameter.argument_label>: [Mapped<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, removed<\/decl.var.parameter.argument_label>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, added<\/decl.var.parameter.argument_label>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Mapped<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, moved<\/decl.var.parameter.argument_label>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, updated<\/decl.var.parameter.argument_label>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, noChange<\/decl.var.parameter.argument_label>: (Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Item<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Mapped<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1795, - "key.line" : 531, - "key.modulename" : "ListableUI", - "key.name" : "transform(old:removed:added:moved:updated:noChange:)", - "key.namelength" : 280, - "key.nameoffset" : 16834, - "key.offset" : 16829, - "key.parsed_declaration" : "func transform(\n old : [Mapped],\n removed : (Item, Mapped) -> (),\n added : (Item) -> Mapped,\n moved : (Item, Item, inout Mapped) -> (),\n updated : (Item, Item, inout Mapped) -> (),\n noChange : (Item, Item, inout Mapped) -> ()\n ) -> [Mapped]", - "key.parsed_scope.end" : 583, - "key.parsed_scope.start" : 531, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 531, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 16844, - "key.offset" : 16844, - "key.parsed_declaration" : "func transformlet removes: [Removal<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removes<\/decl.name>: [Removal<\/ref.enum><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 299, - "key.line" : 542, - "key.modulename" : "ListableUI", - "key.name" : "removes", - "key.namelength" : 7, - "key.nameoffset" : 17233, - "key.offset" : 17229, - "key.parsed_declaration" : "let removes : [Removal] = (self.removed.map({\n removed($0.oldValue, old[$0.oldIndex.item])\n return .remove(old[$0.oldIndex.item], $0)\n}) + self.moved.map({\n return .move(old[$0.oldIndex.item], $0)\n})).sorted(by: { $0.oldIndex > $1.oldIndex })", - "key.parsed_scope.end" : 542, - "key.parsed_scope.start" : 542, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Removal]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9transform3old7removed5added5moved7updated8noChangeSayqd__GAM_yq0__qd__tXEqd__q0_XEyq0__q0_qd__ztXEyq0__q0_qd__ztXEyq0__q0_qd__ztXEtlF7removesL_SayAE7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGvp" - }, - { - "key.annotated_decl" : "let inserts: [Insertion<\/Type><Mapped<\/Type>>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> inserts<\/decl.name>: [Insertion<\/ref.enum><Mapped<\/ref.generic_type_param>>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 349, - "key.line" : 549, - "key.modulename" : "ListableUI", - "key.name" : "inserts", - "key.namelength" : 7, - "key.nameoffset" : 17550, - "key.offset" : 17546, - "key.parsed_declaration" : "let inserts : [Insertion] = (self.added.map({\n let value = added($0.newValue)\n return .add(value, $0)\n}) + self.moved.map({\n var value = old[$0.oldIndex.item]\n moved($0.oldValue, $0.newValue, &value)\n return .move(value, $0)\n})).sorted(by: { $0.newIndex < $1.newIndex })", - "key.parsed_scope.end" : 549, - "key.parsed_scope.start" : 549, - "key.reusingastcontext" : false, - "key.typename" : "[SectionedDiff.ItemChanges.Insertion]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9transform3old7removed5added5moved7updated8noChangeSayqd__GAM_yq0__qd__tXEqd__q0_XEyq0__q0_qd__ztXEyq0__q0_qd__ztXEyq0__q0_qd__ztXEtlF7insertsL_SayAE9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GGvp" - }, - { - "key.annotated_decl" : "var new: [Mapped<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> new<\/decl.name>: [Mapped<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 13, - "key.line" : 558, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 17917, - "key.offset" : 17913, - "key.parsed_declaration" : "var new = old", - "key.parsed_scope.end" : 558, - "key.parsed_scope.start" : 558, - "key.reusingastcontext" : false, - "key.typename" : "[Mapped]", - "key.typeusr" : "$sSayqd__GD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9transform3old7removed5added5moved7updated8noChangeSayqd__GAM_yq0__qd__tXEqd__q0_XEyq0__q0_qd__ztXEyq0__q0_qd__ztXEyq0__q0_qd__ztXEtlF3newL_AMvp" - } - ], - "key.typename" : " (SectionedDiff.ItemChanges) -> ([Mapped], (Item, Mapped) -> (), (Item) -> Mapped, (Item, Item, inout Mapped) -> (), (Item, Item, inout Mapped) -> (), (Item, Item, inout Mapped) -> ()) -> [Mapped]", - "key.typeusr" : "$s3old7removed5added5moved7updated8noChangeSayqd__GAG_yq0__qd__tXEqd__q0_XEyq0__q0_qd__ztXEyq0__q0_qd__ztXEyq0__q0_qd__ztXEtcluD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9transform3old7removed5added5moved7updated8noChangeSayqd__GAM_yq0__qd__tXEqd__q0_XEyq0__q0_qd__ztXEyq0__q0_qd__ztXEyq0__q0_qd__ztXEtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum Insertion<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 18634 - } - ], - "key.bodylength" : 479, - "key.bodyoffset" : 18670, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Insertion<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 508, - "key.line" : 585, - "key.modulename" : "ListableUI", - "key.name" : "Insertion", - "key.namelength" : 9, - "key.nameoffset" : 18647, - "key.offset" : 18642, - "key.parsed_declaration" : "private enum Insertion", - "key.parsed_scope.end" : 603, - "key.parsed_scope.start" : 585, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 585, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 18657, - "key.offset" : 18657, - "key.parsed_declaration" : "private enum Insertioncase add(Mapped<\/Type>, Added<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> add<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Added<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 587, - "key.modulename" : "ListableUI", - "key.name" : "add(_:_:)", - "key.namelength" : 18, - "key.nameoffset" : 18684, - "key.offset" : 18684, - "key.parsed_declaration" : "case add(Mapped, Added)", - "key.parsed_scope.end" : 587, - "key.parsed_scope.start" : 587, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Insertion.Type) -> (Mapped, SectionedDiff.ItemChanges.Added) -> SectionedDiff.ItemChanges.Insertion", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5AddedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO3addyAHyxq_q0_q1___qd__Gqd___AE5AddedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 18711, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case move(Mapped<\/Type>, Moved<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> move<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Moved<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 588, - "key.modulename" : "ListableUI", - "key.name" : "move(_:_:)", - "key.namelength" : 19, - "key.nameoffset" : 18716, - "key.offset" : 18716, - "key.parsed_declaration" : "case move(Mapped, Moved)", - "key.parsed_scope.end" : 588, - "key.parsed_scope.start" : 588, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Insertion.Type) -> (Mapped, SectionedDiff.ItemChanges.Moved) -> SectionedDiff.ItemChanges.Insertion", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO4moveyAHyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var mapped: Mapped<\/Type> { get }<\/Declaration>", - "key.bodylength" : 154, - "key.bodyoffset" : 18774, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 176, - "key.line" : 590, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 18757, - "key.offset" : 18753, - "key.parsed_declaration" : "var mapped : Mapped", - "key.parsed_scope.end" : 595, - "key.parsed_scope.start" : 590, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var newIndex: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 176, - "key.bodyoffset" : 18967, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 197, - "key.line" : 597, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 18951, - "key.offset" : 18947, - "key.parsed_declaration" : "var newIndex : Int", - "key.parsed_scope.end" : 602, - "key.parsed_scope.start" : 597, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO8newIndexSivp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Insertion.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV9Insertion33_459A16665E334F63AE247A06F35B0E51LLO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum Removal<Mapped><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 19160 - } - ], - "key.bodylength" : 492, - "key.bodyoffset" : 19194, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Removal<\/decl.name><Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 519, - "key.line" : 605, - "key.modulename" : "ListableUI", - "key.name" : "Removal", - "key.namelength" : 7, - "key.nameoffset" : 19173, - "key.offset" : 19168, - "key.parsed_declaration" : "private enum Removal", - "key.parsed_scope.end" : 623, - "key.parsed_scope.start" : 605, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Mapped<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "Mapped<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 605, - "key.modulename" : "ListableUI", - "key.name" : "Mapped", - "key.namelength" : 6, - "key.nameoffset" : 19181, - "key.offset" : 19181, - "key.parsed_declaration" : "private enum Removalcase remove(Mapped<\/Type>, Removed<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> remove<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Removed<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 23, - "key.line" : 607, - "key.modulename" : "ListableUI", - "key.name" : "remove(_:_:)", - "key.namelength" : 23, - "key.nameoffset" : 19208, - "key.offset" : 19208, - "key.parsed_declaration" : "case remove(Mapped, Removed)", - "key.parsed_scope.end" : 607, - "key.parsed_scope.start" : 607, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Removal.Type) -> (Mapped, SectionedDiff.ItemChanges.Removed) -> SectionedDiff.ItemChanges.Removal", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE7RemovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO6removeyAHyxq_q0_q1___qd__Gqd___AE7RemovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 19240, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case move(Mapped<\/Type>, Moved<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> move<\/decl.name>(Mapped<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, Moved<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 608, - "key.modulename" : "ListableUI", - "key.name" : "move(_:_:)", - "key.namelength" : 19, - "key.nameoffset" : 19245, - "key.offset" : 19245, - "key.parsed_declaration" : "case move(Mapped, Moved)", - "key.parsed_scope.end" : 608, - "key.parsed_scope.start" : 608, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SectionedDiff.ItemChanges.Removal.Type) -> (Mapped, SectionedDiff.ItemChanges.Moved) -> SectionedDiff.ItemChanges.Removal", - "key.typeusr" : "$sy10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAImcSHR_SHR1_r2__luD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO4moveyAHyxq_q0_q1___qd__Gqd___AE5MovedVyxq_q0_q1___GtcAJmSHR_SHR1_r2__lF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var mapped: Mapped<\/Type> { get }<\/Declaration>", - "key.bodylength" : 157, - "key.bodyoffset" : 19303, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mapped<\/decl.name>: Mapped<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 179, - "key.line" : 610, - "key.modulename" : "ListableUI", - "key.name" : "mapped", - "key.namelength" : 6, - "key.nameoffset" : 19286, - "key.offset" : 19282, - "key.parsed_declaration" : "var mapped : Mapped", - "key.parsed_scope.end" : 615, - "key.parsed_scope.start" : 610, - "key.reusingastcontext" : false, - "key.typename" : "Mapped", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO6mappedqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndex: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 181, - "key.bodyoffset" : 19499, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Diff\/SectionedDiff.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 202, - "key.line" : 617, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 19483, - "key.offset" : 19479, - "key.parsed_declaration" : "var oldIndex : Int", - "key.parsed_scope.end" : 622, - "key.parsed_scope.start" : 617, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO8oldIndexSivp" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Removal.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLOyxq_q0_q1___qd__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV7Removal33_459A16665E334F63AE247A06F35B0E51LLO" - } - ], - "key.typename" : "SectionedDiff.ItemChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyxq_q0_q1__GmD", - "key.usr" : "s:10ListableUI13SectionedDiffV11ItemChangesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1266, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class DirectionalPanGestureRecognizer : UIPanGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 79 - } - ], - "key.bodylength" : 1116, - "key.bodyoffset" : 148, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Tracks horizontal pans that begin in a particular direction.", - "key.doc.column" : 13, - "key.doc.comment" : "Tracks horizontal pans that begin in a particular direction.", - "key.doc.declaration" : "@MainActor final class DirectionalPanGestureRecognizer : UIPanGestureRecognizer", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.doc.full_as_xml" : "DirectionalPanGestureRecognizer<\/Name>c:@M@ListableUI@objc(cs)DirectionalPanGestureRecognizer<\/USR>@MainActor final class DirectionalPanGestureRecognizer : UIPanGestureRecognizer<\/Declaration>Tracks horizontal pans that begin in a particular direction.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 4, - "key.doc.name" : "DirectionalPanGestureRecognizer", - "key.doc.type" : "Class", - "key.doclength" : 65, - "key.docoffset" : 14, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 22, - "key.offset" : 124 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DirectionalPanGestureRecognizer<\/decl.name> : UIPanGestureRecognizer<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIPanGestureRecognizer" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1180, - "key.line" : 4, - "key.modulename" : "ListableUI", - "key.name" : "DirectionalPanGestureRecognizer", - "key.namelength" : 31, - "key.nameoffset" : 91, - "key.offset" : 85, - "key.parsed_declaration" : "final class DirectionalPanGestureRecognizer: UIPanGestureRecognizer", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 4, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum DirectionalPanGestureRecognizer<\/Type>.Direction<\/Declaration>", - "key.bodylength" : 55, - "key.bodyoffset" : 206, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A horizontal direction.", - "key.doc.column" : 10, - "key.doc.comment" : "A horizontal direction.", - "key.doc.declaration" : "enum ListableUI.DirectionalPanGestureRecognizer.Direction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.doc.full_as_xml" : "Direction<\/Name>s:10ListableUI31DirectionalPanGestureRecognizerC9DirectionO<\/USR>enum ListableUI.DirectionalPanGestureRecognizer.Direction<\/Declaration>A horizontal direction.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 7, - "key.doc.name" : "Direction", - "key.doc.type" : "Other", - "key.doclength" : 28, - "key.docoffset" : 158, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> DirectionalPanGestureRecognizer<\/ref.class>.Direction<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 72, - "key.line" : 7, - "key.modulename" : "ListableUI", - "key.name" : "Direction", - "key.namelength" : 9, - "key.nameoffset" : 195, - "key.offset" : 190, - "key.parsed_declaration" : "enum Direction", - "key.parsed_scope.end" : 10, - "key.parsed_scope.start" : 7, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 215, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case rightToLeft<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> rightToLeft<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 8, - "key.modulename" : "ListableUI", - "key.name" : "rightToLeft", - "key.namelength" : 11, - "key.nameoffset" : 220, - "key.offset" : 220, - "key.parsed_declaration" : "case rightToLeft", - "key.parsed_scope.end" : 8, - "key.parsed_scope.start" : 8, - "key.reusingastcontext" : false, - "key.typename" : "(DirectionalPanGestureRecognizer.Direction.Type) -> DirectionalPanGestureRecognizer.Direction", - "key.typeusr" : "$sy10ListableUI31DirectionalPanGestureRecognizerC9DirectionOAEmcD", - "key.usr" : "s:10ListableUI31DirectionalPanGestureRecognizerC9DirectionO11rightToLeftyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 240, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case leftToRight<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> leftToRight<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "leftToRight", - "key.namelength" : 11, - "key.nameoffset" : 245, - "key.offset" : 245, - "key.parsed_declaration" : "case leftToRight", - "key.parsed_scope.end" : 9, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.typename" : "(DirectionalPanGestureRecognizer.Direction.Type) -> DirectionalPanGestureRecognizer.Direction", - "key.typeusr" : "$sy10ListableUI31DirectionalPanGestureRecognizerC9DirectionOAEmcD", - "key.usr" : "s:10ListableUI31DirectionalPanGestureRecognizerC9DirectionO11leftToRightyA2EmF" - } - ] - } - ], - "key.typename" : "DirectionalPanGestureRecognizer.Direction.Type", - "key.typeusr" : "$s10ListableUI31DirectionalPanGestureRecognizerC9DirectionOmD", - "key.usr" : "s:10ListableUI31DirectionalPanGestureRecognizerC9DirectionO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public let direction: Direction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 322 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The direction of the tracked pan gesture.", - "key.doc.column" : 16, - "key.doc.comment" : "The direction of the tracked pan gesture.", - "key.doc.declaration" : "@MainActor public let direction: Direction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.doc.full_as_xml" : "direction<\/Name>s:10ListableUI31DirectionalPanGestureRecognizerC9directionAC9DirectionOvp<\/USR>@MainActor public let direction: Direction<\/Declaration>The direction of the tracked pan gesture.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 13, - "key.doc.name" : "direction", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 272, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> direction<\/decl.name>: Direction<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 333, - "key.offset" : 329, - "key.parsed_declaration" : "public let direction: Direction", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "DirectionalPanGestureRecognizer.Direction", - "key.typeusr" : "$s10ListableUI31DirectionalPanGestureRecognizerC9DirectionOD", - "key.usr" : "s:10ListableUI31DirectionalPanGestureRecognizerC9directionAC9DirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(direction: Direction<\/Type>, target: Any?, action: Selector<\/Type>?)<\/Declaration>", - "key.bodylength" : 91, - "key.bodyoffset" : 424, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(direction<\/decl.var.parameter.argument_label>: Direction<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, target<\/decl.var.parameter.argument_label>: Any<\/syntaxtype.keyword>?<\/decl.var.parameter.type><\/decl.var.parameter>, action<\/decl.var.parameter.argument_label>: Selector<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 153, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "init(direction:target:action:)", - "key.namelength" : 59, - "key.nameoffset" : 363, - "key.offset" : 363, - "key.parsed_declaration" : "init(direction: Direction, target: Any?, action: Selector?)", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DirectionalPanGestureRecognizer.Type) -> (DirectionalPanGestureRecognizer.Direction, Any?, Selector?) -> DirectionalPanGestureRecognizer", - "key.typeusr" : "$s9direction6target6action10ListableUI31DirectionalPanGestureRecognizerCAF9DirectionO_ypSg10ObjectiveC8SelectorVSgtcD", - "key.usr" : "s:10ListableUI31DirectionalPanGestureRecognizerC9direction6target6actionA2C9DirectionO_ypSg10ObjectiveC8SelectorVSgtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func touchesMoved(_ touches: Set<\/Type><UITouch<\/Type>>, with event: UIEvent<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 522 - } - ], - "key.bodylength" : 666, - "key.bodyoffset" : 596, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/DirectionalPanGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> touchesMoved<\/decl.name>(_<\/decl.var.parameter.argument_label> touches<\/decl.var.parameter.name>: Set<\/ref.struct><UITouch<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 732, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "touchesMoved(_:with:)", - "key.namelength" : 58, - "key.nameoffset" : 536, - "key.offset" : 531, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)touchesMoved:withEvent:" - } - ], - "key.parsed_declaration" : "override func touchesMoved(_ touches: Set, with event: UIEvent)", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DirectionalPanGestureRecognizer) -> (Set, UIEvent) -> ()", - "key.typeusr" : "$s_4withyShySo7UITouchCG_So7UIEventCtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)DirectionalPanGestureRecognizer(im)touchesMoved:withEvent:" - } - ], - "key.typename" : "DirectionalPanGestureRecognizer.Type", - "key.typeusr" : "$s10ListableUI31DirectionalPanGestureRecognizerCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)DirectionalPanGestureRecognizer" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5948, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class HeaderFooterContentView<Content> : UIView<\/Type> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 116 - } - ], - "key.bodylength" : 4252, - "key.bodyoffset" : 191, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 183 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> HeaderFooterContentView<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UIView<\/ref.class> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4322, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterContentView", - "key.namelength" : 23, - "key.nameoffset" : 128, - "key.offset" : 122, - "key.parsed_declaration" : "final class HeaderFooterContentView : UIView", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 37, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 160 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 152, - "key.offset" : 152, - "key.parsed_declaration" : "final class HeaderFooterContentViewtypealias HeaderFooterContentView<\/Type><Content<\/Type>>.OnTap = () -> ()<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> HeaderFooterContentView<\/ref.class><Content<\/ref.generic_type_param>>.OnTap<\/decl.name> = () -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 26, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "OnTap", - "key.namelength" : 5, - "key.nameoffset" : 249, - "key.offset" : 239, - "key.parsed_declaration" : "typealias OnTap = () -> ()", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "(() -> ()).Type", - "key.typeusr" : "$syycmD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC5OnTapa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var onTap: OnTap<\/Type>? { get set }<\/Declaration>", - "key.bodylength" : 48, - "key.bodyoffset" : 301, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> onTap<\/decl.name>: OnTap<\/ref.typealias>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 75, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "onTap", - "key.namelength" : 5, - "key.nameoffset" : 279, - "key.offset" : 275, - "key.parsed_declaration" : "var onTap : OnTap? = nil", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(() -> ())?", - "key.typeusr" : "$syycSgD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC5onTapyycSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let content: Content<\/Type>.ContentView<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.generic_type_param>.ContentView<\/ref.associatedtype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 364, - "key.offset" : 360, - "key.parsed_declaration" : "let content : Content.ContentView", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.typename" : "Content.ContentView", - "key.typeusr" : "$s11ContentViewQzD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC7content0eF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) lazy var background: Content<\/Type>.BackgroundView<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 416 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 403 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> background<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 338, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 425, - "key.offset" : 421, - "key.parsed_declaration" : "private(set) lazy var background : Content.BackgroundView = {\n \n let background = Content.createReusableBackgroundView(frame: bounds)\n \n self.insertSubview(background, belowSubview: self.content)\n \n self.backgroundIfLoaded = background\n \n updateIsTappable()\n \n return background\n}()", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.BackgroundView", - "key.typeusr" : "$s14BackgroundViewQzD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC10background010BackgroundF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var backgroundIfLoaded: Content<\/Type>.BackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 769 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> backgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "backgroundIfLoaded", - "key.namelength" : 18, - "key.nameoffset" : 786, - "key.offset" : 782, - "key.parsed_declaration" : "private(set) var backgroundIfLoaded : Content.BackgroundView?", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.BackgroundView?", - "key.typeusr" : "$s14BackgroundViewQzSgD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC18backgroundIfLoaded010BackgroundF0QzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) lazy var pressedBackground: Content<\/Type>.PressedBackgroundView<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 853 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 840 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pressedBackground<\/decl.name>: Content<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 440, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "pressedBackground", - "key.namelength" : 17, - "key.nameoffset" : 862, - "key.offset" : 858, - "key.parsed_declaration" : "private(set) lazy var pressedBackground : Content.PressedBackgroundView = {\n \n let background = Content.createReusablePressedBackgroundView(frame: bounds)\n\n \/\/\/ Loads the background so subviews are inserted in the proper order.\n self.insertSubview(background, aboveSubview: self.background)\n \n self.pressedBackgroundIfLoaded = background\n \n updateIsTappable()\n \n return background\n}()", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.PressedBackgroundView", - "key.typeusr" : "$s21PressedBackgroundViewQzD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC17pressedBackground07PressedhF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var pressedBackgroundIfLoaded: Content<\/Type>.PressedBackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1308 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Loads the background so subviews are inserted in the proper order.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> pressedBackgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.PressedBackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "pressedBackgroundIfLoaded", - "key.namelength" : 25, - "key.nameoffset" : 1325, - "key.offset" : 1321, - "key.parsed_declaration" : "private(set) var pressedBackgroundIfLoaded : Content.PressedBackgroundView?", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.PressedBackgroundView?", - "key.typeusr" : "$s21PressedBackgroundViewQzSgD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC25pressedBackgroundIfLoaded07PressedhF0QzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let pressRecognizer: PressGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1393 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> pressRecognizer<\/decl.name>: PressGestureRecognizer<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "pressRecognizer", - "key.namelength" : 15, - "key.nameoffset" : 1405, - "key.offset" : 1401, - "key.parsed_declaration" : "private let pressRecognizer : PressGestureRecognizer", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.typename" : "PressGestureRecognizer", - "key.typeusr" : "$s10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLCD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC15pressRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLAA012PressGestureH0AELLCvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1465 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 1502 - } - ], - "key.bodylength" : 559, - "key.bodyoffset" : 1532, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 581, - "key.line" : 62, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:)", - "key.namelength" : 19, - "key.nameoffset" : 1511, - "key.offset" : 1511, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)initWithFrame:" - } - ], - "key.parsed_declaration" : "override init(frame: CGRect)", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 62, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 1554, - "key.offset" : 1550, - "key.parsed_declaration" : "let bounds = CGRect(origin: .zero, size: frame.size)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 64, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC5frameACyxGSo6CGRectV_tcfc6boundsL_AGvp" - } - ], - "key.typename" : " (HeaderFooterContentView.Type) -> (CGRect) -> HeaderFooterContentView", - "key.typeusr" : "$s5frame10ListableUI23HeaderFooterContentViewCyxGSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC5frameACyxGSo6CGRectV_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 2133 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 2102 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 2165, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 2142, - "key.offset" : 2142, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: UIView", - "key.offset" : 2200 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func sizeThatFits(_ size: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2229 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 2283, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sizeThatFits<\/decl.name>(_<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 91, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "sizeThatFits(_:)", - "key.namelength" : 28, - "key.nameoffset" : 2243, - "key.offset" : 2238, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)sizeThatFits:" - } - ], - "key.parsed_declaration" : "override func sizeThatFits(_ size: CGSize) -> CGSize", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooterContentView) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC12sizeThatFitsySo6CGSizeVAFF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2339 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 2410, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:)", - "key.namelength" : 45, - "key.nameoffset" : 2353, - "key.offset" : 2348, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 92, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooterContentView) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC23systemLayoutSizeFittingySo6CGSizeVAFF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority<\/Type>, verticalFittingPriority: UILayoutPriority<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2483 - } - ], - "key.bodylength" : 216, - "key.bodyoffset" : 2702, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withHorizontalFittingPriority<\/decl.var.parameter.argument_label> horizontalFittingPriority<\/decl.var.parameter.name>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, verticalFittingPriority<\/decl.var.parameter.argument_label>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 427, - "key.line" : 96, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)", - "key.namelength" : 193, - "key.nameoffset" : 2497, - "key.offset" : 2492, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(\n _ targetSize: CGSize,\n withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority,\n verticalFittingPriority: UILayoutPriority\n) -> CGSize", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 96, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooterContentView) -> (CGSize, UILayoutPriority, UILayoutPriority) -> CGSize", - "key.typeusr" : "$s_29withHorizontalFittingPriority08verticalcD0So6CGSizeVAD_So08UILayoutD0aAFtcD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC23systemLayoutSizeFitting_014withHorizontalJ8Priority08verticaljM0So6CGSizeVAH_So08UILayoutM0aAJtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2929 - } - ], - "key.bodylength" : 208, - "key.bodyoffset" : 2961, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 232, - "key.line" : 108, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 2943, - "key.offset" : 2938, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooterContentView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC14layoutSubviewsyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 18, - "key.name" : "MARK: Tap Handling", - "key.offset" : 3190 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateIsTappable()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3225 - } - ], - "key.bodylength" : 514, - "key.bodyoffset" : 3262, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateIsTappable<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 544, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "updateIsTappable()", - "key.namelength" : 18, - "key.nameoffset" : 3238, - "key.offset" : 3233, - "key.parsed_declaration" : "private func updateIsTappable()", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (HeaderFooterContentView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC16updateIsTappable33_6202C71BFECBDA9D223BE2E392A6DDC7LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func pressStateChanged()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3793 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 3787 - } - ], - "key.bodylength" : 614, - "key.bodyoffset" : 3827, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> pressStateChanged<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 641, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "pressStateChanged()", - "key.namelength" : 19, - "key.nameoffset" : 3806, - "key.offset" : 3801, - "key.parsed_declaration" : "@objc private func pressStateChanged()", - "key.parsed_scope.end" : 164, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let state: UIGestureRecognizer<\/Type>.State<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> state<\/decl.name>: UIGestureRecognizer<\/ref.class>.State<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 3849, - "key.offset" : 3845, - "key.parsed_declaration" : "let state = self.pressRecognizer.state", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "UIGestureRecognizer.State", - "key.typeusr" : "$sSo24UIGestureRecognizerStateVD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC17pressStateChanged33_6202C71BFECBDA9D223BE2E392A6DDC7LLyyF5stateL_So019UIGestureRecognizerH0Vvp" - } - ], - "key.typename" : " (HeaderFooterContentView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC17pressStateChanged33_6202C71BFECBDA9D223BE2E392A6DDC7LLyyF" - } - ], - "key.typename" : "HeaderFooterContentView.Type", - "key.typeusr" : "$s10ListableUI23HeaderFooterContentViewCyxGmD", - "key.usr" : "s:10ListableUI23HeaderFooterContentViewC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> fileprivate final class PressGestureRecognizer : UILongPressGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 4459 - }, - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 4447 - } - ], - "key.bodylength" : 1420, - "key.bodyoffset" : 4526, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 4496 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> fileprivate<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PressGestureRecognizer<\/decl.name> : UILongPressGestureRecognizer<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UILongPressGestureRecognizer" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1482, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "PressGestureRecognizer", - "key.namelength" : 22, - "key.nameoffset" : 4471, - "key.offset" : 4465, - "key.parsed_declaration" : "fileprivate final class PressGestureRecognizer : UILongPressGestureRecognizer", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 168, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var allowableMovementAfterBegin: CGFloat<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> allowableMovementAfterBegin<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "allowableMovementAfterBegin", - "key.namelength" : 27, - "key.nameoffset" : 4540, - "key.offset" : 4536, - "key.parsed_declaration" : "var allowableMovementAfterBegin : CGFloat = 0.0", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 170, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC27allowableMovementAfterBegin14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var initialPoint: CGPoint<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4593 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> initialPoint<\/decl.name>: CGPoint<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "initialPoint", - "key.namelength" : 12, - "key.nameoffset" : 4605, - "key.offset" : 4601, - "key.parsed_declaration" : "private var initialPoint : CGPoint? = nil", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGPoint?", - "key.typeusr" : "$sSo7CGPointVSgD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC12initialPointSo7CGPointVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func reset()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 4644 - } - ], - "key.bodylength" : 68, - "key.bodyoffset" : 4667, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> reset<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 83, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "reset()", - "key.namelength" : 7, - "key.nameoffset" : 4658, - "key.offset" : 4653, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)reset" - } - ], - "key.parsed_declaration" : "override func reset()", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PressGestureRecognizer) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC5resetyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func touchesBegan(_ touches: Set<\/Type><UITouch<\/Type>>, with event: UIEvent<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 4746 - } - ], - "key.bodylength" : 120, - "key.bodyoffset" : 4820, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> touchesBegan<\/decl.name>(_<\/decl.var.parameter.argument_label> touches<\/decl.var.parameter.name>: Set<\/ref.struct><UITouch<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 186, - "key.line" : 180, - "key.modulename" : "ListableUI", - "key.name" : "touchesBegan(_:with:)", - "key.namelength" : 58, - "key.nameoffset" : 4760, - "key.offset" : 4755, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)touchesBegan:withEvent:" - } - ], - "key.parsed_declaration" : "override func touchesBegan(_ touches: Set, with event: UIEvent)", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PressGestureRecognizer) -> (Set, UIEvent) -> ()", - "key.typeusr" : "$s_4withyShySo7UITouchCG_So7UIEventCtcD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC12touchesBegan_4withyShySo7UITouchCG_So7UIEventCtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func canPrevent(_ gesture: UIGestureRecognizer<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 4951 - } - ], - "key.bodylength" : 396, - "key.bodyoffset" : 5017, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> canPrevent<\/decl.name>(_<\/decl.var.parameter.argument_label> gesture<\/decl.var.parameter.name>: UIGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 454, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "canPrevent(_:)", - "key.namelength" : 42, - "key.nameoffset" : 4965, - "key.offset" : 4960, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)canPreventGestureRecognizer:" - } - ], - "key.parsed_declaration" : "override func canPrevent(_ gesture: UIGestureRecognizer) -> Bool", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PressGestureRecognizer) -> (UIGestureRecognizer) -> Bool", - "key.typeusr" : "$sySbSo19UIGestureRecognizerCcD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC10canPreventySbSo09UIGestureE0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func touchesMoved(_ touches: Set<\/Type><UITouch<\/Type>>, with event: UIEvent<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5424 - } - ], - "key.bodylength" : 446, - "key.bodyoffset" : 5498, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/HeaderFooterContentView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> touchesMoved<\/decl.name>(_<\/decl.var.parameter.argument_label> touches<\/decl.var.parameter.name>: Set<\/ref.struct><UITouch<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 512, - "key.line" : 198, - "key.modulename" : "ListableUI", - "key.name" : "touchesMoved(_:with:)", - "key.namelength" : 58, - "key.nameoffset" : 5438, - "key.offset" : 5433, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)touchesMoved:withEvent:" - } - ], - "key.parsed_declaration" : "override func touchesMoved(_ touches: Set, with event: UIEvent)", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 198, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PressGestureRecognizer) -> (Set, UIEvent) -> ()", - "key.typeusr" : "$s_4withyShySo7UITouchCG_So7UIEventCtcD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC12touchesMoved_4withyShySo7UITouchCG_So7UIEventCtF" - } - ], - "key.typename" : "PressGestureRecognizer.Type", - "key.typeusr" : "$s10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLCmD", - "key.usr" : "s:10ListableUI22PressGestureRecognizer33_6202C71BFECBDA9D223BE2E392A6DDC7LLC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 14589, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "final class ItemCell<Content> : UICollectionViewCell<\/Type>, AnyItemCell<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 12660, - "key.bodyoffset" : 142, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An internal cell type used to render items in the list.\n\nInformation on how cell selection appearance customization works:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells\n", - "key.doc.column" : 13, - "key.doc.declaration" : "final class ItemCell : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.doc.full_as_xml" : "ItemCell<\/Name>s:10ListableUI8ItemCellC<\/USR>final class ItemCell<Content> : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent<\/Declaration>An internal cell type used to render items in the list.<\/Para><\/Abstract>Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 29, - "key.doc.name" : "ItemCell", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemCell<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UICollectionViewCell<\/ref.class>, AnyItemCell<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 12681, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "ItemCell", - "key.namelength" : 8, - "key.nameoffset" : 132, - "key.offset" : 122, - "key.parsed_declaration" : "extension ItemCell", - "key.parsed_scope.end" : 360, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private typealias Side = SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 152 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Side<\/decl.name> = SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "Side", - "key.namelength" : 4, - "key.nameoffset" : 170, - "key.offset" : 160, - "key.parsed_declaration" : "private typealias Side = SwipeActionsView.Side", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOmD", - "key.usr" : "s:10ListableUI8ItemCellC4Side33_A7F567565BF168C7DEE5B4CF43486FBDLLa" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> final class ContentContainerView : UIView<\/Type>, UIGestureRecognizerDelegate<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 204 - } - ], - "key.bodylength" : 12273, - "key.bodyoffset" : 276, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 239 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 27, - "key.offset" : 247 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ContentContainerView<\/decl.name> : UIView<\/ref.class>, UIGestureRecognizerDelegate<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - }, - { - "key.name" : "UIGestureRecognizerDelegate" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 12340, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "ContentContainerView", - "key.namelength" : 20, - "key.nameoffset" : 216, - "key.offset" : 210, - "key.parsed_declaration" : "final class ContentContainerView : UIView, UIGestureRecognizerDelegate", - "key.parsed_scope.end" : 351, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let contentView: Content<\/Type>.ContentView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> contentView<\/decl.name>: Content<\/ref.generic_type_param>.ContentView<\/ref.associatedtype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "contentView", - "key.namelength" : 11, - "key.nameoffset" : 290, - "key.offset" : 286, - "key.parsed_declaration" : "let contentView : Content.ContentView", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "Content.ContentView", - "key.typeusr" : "$s11ContentViewQzD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC07contentG00eG0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var configurations: [Side<\/Type> : SwipeConfiguration<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 333 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> configurations<\/decl.name>: [Side<\/ref.typealias> : SwipeConfiguration<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "configurations", - "key.namelength" : 14, - "key.nameoffset" : 345, - "key.offset" : 341, - "key.parsed_declaration" : "private var configurations: [Side: SwipeConfiguration] = [:]", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[SwipeActionsView.Side : ItemCell.SwipeConfiguration]", - "key.typeusr" : "$sSDy10ListableUI16SwipeActionsViewC4SideOAA8ItemCellC0C13Configuration33_A7F567565BF168C7DEE5B4CF43486FBDLLVyx_GGD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC14configurations33_A7F567565BF168C7DEE5B4CF43486FBDLLSDyAA012SwipeActionsG0C4SideOAC0Q13ConfigurationAGLLVyx_GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var swipeAccessibilityCustomActions: [Side<\/Type> : [AccessibilitySwipeAction<\/Type>]] { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 411 - } - ], - "key.bodylength" : 95, - "key.bodyoffset" : 498, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> swipeAccessibilityCustomActions<\/decl.name>: [Side<\/ref.typealias> : [AccessibilitySwipeAction<\/ref.class>]]<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 175, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "swipeAccessibilityCustomActions", - "key.namelength" : 31, - "key.nameoffset" : 423, - "key.offset" : 419, - "key.parsed_declaration" : "private var swipeAccessibilityCustomActions: [Side: [AccessibilitySwipeAction]] = [:]", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[SwipeActionsView.Side : [AccessibilitySwipeAction]]", - "key.typeusr" : "$sSDy10ListableUI16SwipeActionsViewC4SideOSayAA013AccessibilityC6Action33_A7F567565BF168C7DEE5B4CF43486FBDLLCGGD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC31swipeAccessibilityCustomActions33_A7F567565BF168C7DEE5B4CF43486FBDLLSDyAA05SwipekG0C4SideOSayAA0iT6ActionAGLLCGGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var swipeState: SwipeActionState<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 604 - } - ], - "key.bodylength" : 198, - "key.bodyoffset" : 661, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> swipeState<\/decl.name>: SwipeActionState<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 243, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "swipeState", - "key.namelength" : 10, - "key.nameoffset" : 621, - "key.offset" : 617, - "key.parsed_declaration" : "private(set) var swipeState: SwipeActionState = .closed", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SwipeActionState", - "key.typeusr" : "$s10ListableUI16SwipeActionStateOD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC10swipeStateAA011SwipeActionI0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 870 - } - ], - "key.bodylength" : 240, - "key.bodyoffset" : 901, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 263, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:)", - "key.namelength" : 20, - "key.nameoffset" : 879, - "key.offset" : 879, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)initWithFrame:" - } - ], - "key.parsed_declaration" : "override init(frame : CGRect)", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 35, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: CGRect<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 918, - "key.offset" : 914, - "key.parsed_declaration" : "let bounds = CGRect(origin: .zero, size: frame.size)", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC5frameAEyx_GSo6CGRectV_tcfc6boundsL_AIvp" - } - ], - "key.typename" : " (ItemCell.ContentContainerView.Type) -> (CGRect) -> ItemCell.ContentContainerView", - "key.typeusr" : "$s5frame10ListableUI8ItemCellC20ContentContainerViewCyx_GSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC5frameAEyx_GSo6CGRectV_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 1187 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 1152 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 1219, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 1196, - "key.offset" : 1196, - "key.substructure" : [ - - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 1244 - } - ], - "key.bodylength" : 237, - "key.bodyoffset" : 1276, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 261, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 1258, - "key.offset" : 1253, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC14layoutSubviewsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateFrames(using configuration: SwipeConfiguration<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1524 - } - ], - "key.bodylength" : 1979, - "key.bodyoffset" : 1592, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateFrames<\/decl.name>(using<\/decl.var.parameter.argument_label> configuration<\/decl.var.parameter.name>: SwipeConfiguration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2040, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "updateFrames(using:)", - "key.namelength" : 53, - "key.nameoffset" : 1537, - "key.offset" : 1532, - "key.parsed_declaration" : "private func updateFrames(using configuration: SwipeConfiguration)", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let swipeViewSide: SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> swipeViewSide<\/decl.name>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 48, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "swipeViewSide", - "key.namelength" : 13, - "key.nameoffset" : 1622, - "key.offset" : 1618, - "key.parsed_declaration" : "let swipeViewSide = configuration.swipeView.side", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC12updateFrames33_A7F567565BF168C7DEE5B4CF43486FBDLL5usingyAC18SwipeConfigurationAGLLVyx_G_tF05swipeG4SideL_AA0s7ActionsG0C0V0Ovp" - }, - { - "key.annotated_decl" : "let xOriginOffset: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> xOriginOffset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 26, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "xOriginOffset", - "key.namelength" : 13, - "key.nameoffset" : 1817, - "key.offset" : 1813, - "key.parsed_declaration" : "let xOriginOffset: CGFloat", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC12updateFrames33_A7F567565BF168C7DEE5B4CF43486FBDLL5usingyAC18SwipeConfigurationAGLLVyx_G_tF13xOriginOffsetL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (ItemCell.SwipeConfiguration) -> ()", - "key.typeusr" : "$s5usingy10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLVyx_G_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC12updateFrames33_A7F567565BF168C7DEE5B4CF43486FBDLL5usingyAC18SwipeConfigurationAGLLVyx_G_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: - Swipe Registration", - "key.offset" : 3593 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func deregisterLeadingSwipeIfNeeded()<\/Declaration>", - "key.bodylength" : 57, - "key.bodyoffset" : 3676, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> deregisterLeadingSwipeIfNeeded<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 97, - "key.line" : 123, - "key.modulename" : "ListableUI", - "key.name" : "deregisterLeadingSwipeIfNeeded()", - "key.namelength" : 32, - "key.nameoffset" : 3642, - "key.offset" : 3637, - "key.parsed_declaration" : "func deregisterLeadingSwipeIfNeeded()", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 123, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC30deregisterLeadingSwipeIfNeededyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func deregisterTrailingSwipeIfNeeded()<\/Declaration>", - "key.bodylength" : 58, - "key.bodyoffset" : 3784, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> deregisterTrailingSwipeIfNeeded<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 99, - "key.line" : 127, - "key.modulename" : "ListableUI", - "key.name" : "deregisterTrailingSwipeIfNeeded()", - "key.namelength" : 33, - "key.nameoffset" : 3749, - "key.offset" : 3744, - "key.parsed_declaration" : "func deregisterTrailingSwipeIfNeeded()", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 127, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC31deregisterTrailingSwipeIfNeededyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func registerLeadingSwipeActionsIfNeeded(actions: SwipeActionsConfiguration<\/Type>, style: SwipeActionsViewStyle<\/Type>, reason: ApplyReason<\/Type>)<\/Declaration>", - "key.bodylength" : 111, - "key.bodyoffset" : 3990, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> registerLeadingSwipeActionsIfNeeded<\/decl.name>(actions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, style<\/decl.var.parameter.argument_label>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 241, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "registerLeadingSwipeActionsIfNeeded(actions:style:reason:)", - "key.namelength" : 122, - "key.nameoffset" : 3866, - "key.offset" : 3861, - "key.parsed_declaration" : "func registerLeadingSwipeActionsIfNeeded(actions: SwipeActionsConfiguration, style: SwipeActionsViewStyle, reason: ApplyReason)", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionsConfiguration, SwipeActionsViewStyle, ApplyReason) -> ()", - "key.typeusr" : "$s7actions5style6reasony10ListableUI25SwipeActionsConfigurationV_AD0fG9ViewStyleVAD11ApplyReasonOtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC35registerLeadingSwipeActionsIfNeeded7actions5style6reasonyAA0jK13ConfigurationV_AA0jkG5StyleVAA11ApplyReasonOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func registerTrailingSwipeActionsIfNeeded(actions: SwipeActionsConfiguration<\/Type>, style: SwipeActionsViewStyle<\/Type>, reason: ApplyReason<\/Type>)<\/Declaration>", - "key.bodylength" : 112, - "key.bodyoffset" : 4250, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> registerTrailingSwipeActionsIfNeeded<\/decl.name>(actions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, style<\/decl.var.parameter.argument_label>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 243, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "registerTrailingSwipeActionsIfNeeded(actions:style:reason:)", - "key.namelength" : 123, - "key.nameoffset" : 4125, - "key.offset" : 4120, - "key.parsed_declaration" : "func registerTrailingSwipeActionsIfNeeded(actions: SwipeActionsConfiguration, style: SwipeActionsViewStyle, reason: ApplyReason)", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionsConfiguration, SwipeActionsViewStyle, ApplyReason) -> ()", - "key.typeusr" : "$s7actions5style6reasony10ListableUI25SwipeActionsConfigurationV_AD0fG9ViewStyleVAD11ApplyReasonOtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC36registerTrailingSwipeActionsIfNeeded7actions5style6reasonyAA0jK13ConfigurationV_AA0jkG5StyleVAA11ApplyReasonOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func registerSwipeActionsIfNeeded(side: SwipeActionsView<\/Type>.Side<\/Type>, actions: SwipeActionsConfiguration<\/Type>, style: SwipeActionsViewStyle<\/Type>, reason: ApplyReason<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4381 - } - ], - "key.bodylength" : 1752, - "key.bodyoffset" : 4598, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> registerSwipeActionsIfNeeded<\/decl.name>(side<\/decl.var.parameter.argument_label>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, actions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, style<\/decl.var.parameter.argument_label>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1962, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "registerSwipeActionsIfNeeded(side:actions:style:reason:)", - "key.namelength" : 202, - "key.nameoffset" : 4394, - "key.offset" : 4389, - "key.parsed_declaration" : "private func registerSwipeActionsIfNeeded(\n side: SwipeActionsView.Side,\n actions: SwipeActionsConfiguration,\n style: SwipeActionsViewStyle,\n reason: ApplyReason\n)", - "key.parsed_scope.end" : 182, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionsView.Side, SwipeActionsConfiguration, SwipeActionsViewStyle, ApplyReason) -> ()", - "key.typeusr" : "$s4side7actions5style6reasony10ListableUI16SwipeActionsViewC4SideO_AE0gH13ConfigurationVAE0ghI5StyleVAE11ApplyReasonOtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC28registerSwipeActionsIfNeeded33_A7F567565BF168C7DEE5B4CF43486FBDLL4side7actions5style6reasonyAA0ijG0C4SideO_AA0iJ13ConfigurationVAA0ijG5StyleVAA11ApplyReasonOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private weak var listView: ListView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 6369 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6361 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 6378, - "key.offset" : 6374, - "key.parsed_declaration" : "private weak var listView : ListView? = nil", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC04listG033_A7F567565BF168C7DEE5B4CF43486FBDLLAA04ListG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func handleTap(sender: UITapGestureRecognizer<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6420 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 6414 - } - ], - "key.bodylength" : 156, - "key.bodyoffset" : 6476, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> handleTap<\/decl.name>(sender<\/decl.var.parameter.argument_label>: UITapGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 205, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "handleTap(sender:)", - "key.namelength" : 41, - "key.nameoffset" : 6433, - "key.offset" : 6428, - "key.parsed_declaration" : "@objc private func handleTap(sender: UITapGestureRecognizer)", - "key.parsed_scope.end" : 189, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (UITapGestureRecognizer) -> ()", - "key.typeusr" : "$s6senderySo22UITapGestureRecognizerC_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handleTap33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UITapGestureRecognizerC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func handlePan(sender: UIPanGestureRecognizer<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6649 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 6643 - } - ], - "key.bodylength" : 2592, - "key.bodyoffset" : 6705, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> handlePan<\/decl.name>(sender<\/decl.var.parameter.argument_label>: UIPanGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2641, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "handlePan(sender:)", - "key.namelength" : 41, - "key.nameoffset" : 6662, - "key.offset" : 6657, - "key.parsed_declaration" : "@objc private func handlePan(sender: UIPanGestureRecognizer)", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let side: SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> side<\/decl.name>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 203, - "key.modulename" : "ListableUI", - "key.name" : "side", - "key.namelength" : 4, - "key.nameoffset" : 7050, - "key.offset" : 7046, - "key.parsed_declaration" : "let side = configuration.swipeView.side", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 203, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF4sideL_AA012SwipeActionsG0C4SideOvp" - }, - { - "key.annotated_decl" : "let offsetMultiplier: Double<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> offsetMultiplier<\/decl.name>: Double<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 69, - "key.line" : 204, - "key.modulename" : "ListableUI", - "key.name" : "offsetMultiplier", - "key.namelength" : 16, - "key.nameoffset" : 7102, - "key.offset" : 7098, - "key.parsed_declaration" : "let offsetMultiplier = configuration.numberOfActions == 1 ? 0.5 : 0.7", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 204, - "key.reusingastcontext" : false, - "key.typename" : "Double", - "key.typeusr" : "$sSdD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF16offsetMultiplierL_Sdvp" - }, - { - "key.annotated_decl" : "let performActionOffset: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> performActionOffset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 65, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "performActionOffset", - "key.namelength" : 19, - "key.nameoffset" : 7184, - "key.offset" : 7180, - "key.parsed_declaration" : "let performActionOffset = frame.width * CGFloat(offsetMultiplier)", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF19performActionOffsetL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let currentSwipeOffset: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> currentSwipeOffset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "currentSwipeOffset", - "key.namelength" : 18, - "key.nameoffset" : 7275, - "key.offset" : 7271, - "key.parsed_declaration" : "let currentSwipeOffset: CGFloat", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 207, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF18currentSwipeOffsetL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let willPerformAction: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> willPerformAction<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 130, - "key.line" : 215, - "key.modulename" : "ListableUI", - "key.name" : "willPerformAction", - "key.namelength" : 17, - "key.nameoffset" : 7550, - "key.offset" : 7546, - "key.parsed_declaration" : "let willPerformAction = currentSwipeOffset > performActionOffset\n && configuration.performsFirstActionWithFullSwipe", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 215, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF17willPerformActionL_Sbvp" - } - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (UIPanGestureRecognizer) -> ()", - "key.typeusr" : "$s6senderySo22UIPanGestureRecognizerC_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC9handlePan33_A7F567565BF168C7DEE5B4CF43486FBDLL6senderySo22UIPanGestureRecognizerC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func didPerformAction(animation: SwipeAction<\/Type>.OnDidPerformActionAnimation<\/Type>, side: SwipeActionsView<\/Type>.Side<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9308 - } - ], - "key.bodylength" : 246, - "key.bodyoffset" : 9420, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> didPerformAction<\/decl.name>(animation<\/decl.var.parameter.argument_label>: SwipeAction<\/ref.struct>.OnDidPerformActionAnimation<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, side<\/decl.var.parameter.argument_label>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 351, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "didPerformAction(animation:side:)", - "key.namelength" : 97, - "key.nameoffset" : 9321, - "key.offset" : 9316, - "key.parsed_declaration" : "private func didPerformAction(animation: SwipeAction.OnDidPerformActionAnimation, side: SwipeActionsView.Side)", - "key.parsed_scope.end" : 276, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeAction.OnDidPerformActionAnimation, SwipeActionsView.Side) -> ()", - "key.typeusr" : "$s9animation4sidey10ListableUI11SwipeActionV012OnDidPerformF9AnimationO_AC0E11ActionsViewC4SideOtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC16didPerformAction33_A7F567565BF168C7DEE5B4CF43486FBDLL9animation4sideyAA05SwipeJ0V05OnDidiJ9AnimationO_AA0u7ActionsG0C4SideOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func openSwipeActionsAnimated(on side: SwipeActionState<\/Type>.Side<\/Type>)<\/Declaration>", - "key.bodylength" : 66, - "key.bodyoffset" : 9741, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> openSwipeActionsAnimated<\/decl.name>(on<\/decl.var.parameter.argument_label> side<\/decl.var.parameter.name>: SwipeActionState<\/ref.enum>.Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 131, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "openSwipeActionsAnimated(on:)", - "key.namelength" : 57, - "key.nameoffset" : 9682, - "key.offset" : 9677, - "key.parsed_declaration" : "func openSwipeActionsAnimated(on side : SwipeActionState.Side)", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionsView.Side) -> ()", - "key.typeusr" : "$s2ony10ListableUI16SwipeActionsViewC4SideO_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC24openSwipeActionsAnimated2onyAA0ijG0C4SideO_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func performAnimatedClose()<\/Declaration>", - "key.bodylength" : 62, - "key.bodyoffset" : 9855, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> performAnimatedClose<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 92, - "key.line" : 282, - "key.modulename" : "ListableUI", - "key.name" : "performAnimatedClose()", - "key.namelength" : 22, - "key.nameoffset" : 9831, - "key.offset" : 9826, - "key.parsed_declaration" : "func performAnimatedClose()", - "key.parsed_scope.end" : 284, - "key.parsed_scope.start" : 282, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC20performAnimatedCloseyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func set(state: SwipeActionState<\/Type>, animated: Bool<\/Type> = false)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9928 - } - ], - "key.bodylength" : 792, - "key.bodyoffset" : 9995, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name>(state<\/decl.var.parameter.argument_label>: SwipeActionState<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 852, - "key.line" : 286, - "key.modulename" : "ListableUI", - "key.name" : "set(state:animated:)", - "key.namelength" : 52, - "key.nameoffset" : 9941, - "key.offset" : 9936, - "key.parsed_declaration" : "private func set(state: SwipeActionState, animated: Bool = false)", - "key.parsed_scope.end" : 308, - "key.parsed_scope.start" : 286, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionState, Bool) -> ()", - "key.typeusr" : "$s5state8animatedy10ListableUI16SwipeActionStateO_SbtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC3set33_A7F567565BF168C7DEE5B4CF43486FBDLL5state8animatedyAA16SwipeActionStateO_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func performAccessibilityAction(_ action: AccessibilitySwipeAction<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10804 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 10798 - } - ], - "key.bodylength" : 182, - "key.bodyoffset" : 10889, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performAccessibilityAction<\/decl.name>(_<\/decl.var.parameter.argument_label> action<\/decl.var.parameter.name>: AccessibilitySwipeAction<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 260, - "key.line" : 310, - "key.modulename" : "ListableUI", - "key.name" : "performAccessibilityAction(_:)", - "key.namelength" : 62, - "key.nameoffset" : 10817, - "key.offset" : 10812, - "key.parsed_declaration" : "@objc private func performAccessibilityAction(_ action: AccessibilitySwipeAction) -> Bool", - "key.parsed_scope.end" : 316, - "key.parsed_scope.start" : 310, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (AccessibilitySwipeAction) -> Bool", - "key.typeusr" : "$sySb10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLCcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC26performAccessibilityAction33_A7F567565BF168C7DEE5B4CF43486FBDLLySbAA0i5SwipeJ0AGLLCF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func configureAccessibilityActions(_ actions: [SwipeAction<\/Type>], for side: Side<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11082 - } - ], - "key.bodylength" : 217, - "key.bodyoffset" : 11168, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> configureAccessibilityActions<\/decl.name>(_<\/decl.var.parameter.argument_label> actions<\/decl.var.parameter.name>: [SwipeAction<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> side<\/decl.var.parameter.name>: Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 296, - "key.line" : 318, - "key.modulename" : "ListableUI", - "key.name" : "configureAccessibilityActions(_:for:)", - "key.namelength" : 71, - "key.nameoffset" : 11095, - "key.offset" : 11090, - "key.parsed_declaration" : "private func configureAccessibilityActions(_ actions: [SwipeAction], for side: Side)", - "key.parsed_scope.end" : 322, - "key.parsed_scope.start" : 318, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> ([SwipeAction], SwipeActionsView.Side) -> ()", - "key.typeusr" : "$s_3forySay10ListableUI11SwipeActionVG_AB0D11ActionsViewC4SideOtcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC29configureAccessibilityActions33_A7F567565BF168C7DEE5B4CF43486FBDLL_3forySayAA11SwipeActionVG_AA0tjG0C4SideOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateAccessibilityCustomActions()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11404 - } - ], - "key.bodylength" : 143, - "key.bodyoffset" : 11453, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateAccessibilityCustomActions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 185, - "key.line" : 324, - "key.modulename" : "ListableUI", - "key.name" : "updateAccessibilityCustomActions()", - "key.namelength" : 34, - "key.nameoffset" : 11417, - "key.offset" : 11412, - "key.parsed_declaration" : "private func updateAccessibilityCustomActions()", - "key.parsed_scope.end" : 328, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC32updateAccessibilityCustomActions33_A7F567565BF168C7DEE5B4CF43486FBDLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func deregisterSwipeIfNeeded(for side: Side<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11615 - } - ], - "key.bodylength" : 374, - "key.bodyoffset" : 11669, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> deregisterSwipeIfNeeded<\/decl.name>(for<\/decl.var.parameter.argument_label> side<\/decl.var.parameter.name>: Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 421, - "key.line" : 330, - "key.modulename" : "ListableUI", - "key.name" : "deregisterSwipeIfNeeded(for:)", - "key.namelength" : 39, - "key.nameoffset" : 11628, - "key.offset" : 11623, - "key.parsed_declaration" : "private func deregisterSwipeIfNeeded(for side: Side)", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 330, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (SwipeActionsView.Side) -> ()", - "key.typeusr" : "$s3fory10ListableUI16SwipeActionsViewC4SideO_tcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC23deregisterSwipeIfNeeded33_A7F567565BF168C7DEE5B4CF43486FBDLL3foryAA0i7ActionsG0C4SideO_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 12094 - } - ], - "key.bodylength" : 355, - "key.bodyoffset" : 12188, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> gestureRecognizerShouldBegin<\/decl.name>(_<\/decl.var.parameter.argument_label> gestureRecognizer<\/decl.var.parameter.name>: UIGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 441, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "gestureRecognizerShouldBegin(_:)", - "key.namelength" : 70, - "key.nameoffset" : 12108, - "key.offset" : 12103, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIGestureRecognizerDelegate(im)gestureRecognizerShouldBegin:" - }, - { - "key.usr" : "c:objc(cs)UIView(im)gestureRecognizerShouldBegin:" - } - ], - "key.parsed_declaration" : "override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool", - "key.parsed_scope.end" : 350, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let location: CGPoint<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> location<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 71, - "key.line" : 348, - "key.modulename" : "ListableUI", - "key.name" : "location", - "key.namelength" : 8, - "key.nameoffset" : 12405, - "key.offset" : 12401, - "key.parsed_declaration" : "let location = tapRecognizer.location(ofTouch: 0, in: self.contentView)", - "key.parsed_scope.end" : 348, - "key.parsed_scope.start" : 348, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC28gestureRecognizerShouldBeginySbSo09UIGestureI0CF8locationL_So7CGPointVvp" - } - ], - "key.typename" : " (ItemCell.ContentContainerView) -> (UIGestureRecognizer) -> Bool", - "key.typeusr" : "$sySbSo19UIGestureRecognizerCcD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC28gestureRecognizerShouldBeginySbSo09UIGestureI0CF" - } - ], - "key.typename" : "ItemCell.ContentContainerView.Type", - "key.typeusr" : "$s10ListableUI8ItemCellC20ContentContainerViewCyx_GmD", - "key.usr" : "s:10ListableUI8ItemCellC20ContentContainerViewC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private struct SwipeConfiguration<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12556 - } - ], - "key.bodylength" : 209, - "key.bodyoffset" : 12591, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SwipeConfiguration<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 237, - "key.line" : 353, - "key.modulename" : "ListableUI", - "key.name" : "SwipeConfiguration", - "key.namelength" : 18, - "key.nameoffset" : 12571, - "key.offset" : 12564, - "key.parsed_declaration" : "private struct SwipeConfiguration", - "key.parsed_scope.end" : 359, - "key.parsed_scope.start" : 353, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let panGestureRecognizer: UIPanGestureRecognizer<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> panGestureRecognizer<\/decl.name>: UIPanGestureRecognizer<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 354, - "key.modulename" : "ListableUI", - "key.name" : "panGestureRecognizer", - "key.namelength" : 20, - "key.nameoffset" : 12604, - "key.offset" : 12600, - "key.parsed_declaration" : "let panGestureRecognizer: UIPanGestureRecognizer", - "key.parsed_scope.end" : 354, - "key.parsed_scope.start" : 354, - "key.reusingastcontext" : false, - "key.typename" : "UIPanGestureRecognizer", - "key.typeusr" : "$sSo22UIPanGestureRecognizerCD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV20panGestureRecognizerSo05UIPanpQ0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let swipeView: SwipeActionsView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> swipeView<\/decl.name>: SwipeActionsView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 355, - "key.modulename" : "ListableUI", - "key.name" : "swipeView", - "key.namelength" : 9, - "key.nameoffset" : 12661, - "key.offset" : 12657, - "key.parsed_declaration" : "let swipeView: SwipeActionsView", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 355, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewCD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV9swipeViewAA0e7ActionsP0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var numberOfActions: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> numberOfActions<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 356, - "key.modulename" : "ListableUI", - "key.name" : "numberOfActions", - "key.namelength" : 15, - "key.nameoffset" : 12701, - "key.offset" : 12697, - "key.parsed_declaration" : "var numberOfActions: Int", - "key.parsed_scope.end" : 356, - "key.parsed_scope.start" : 356, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV15numberOfActionsSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var performsFirstActionWithFullSwipe: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> performsFirstActionWithFullSwipe<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 357, - "key.modulename" : "ListableUI", - "key.name" : "performsFirstActionWithFullSwipe", - "key.namelength" : 32, - "key.nameoffset" : 12734, - "key.offset" : 12730, - "key.parsed_declaration" : "var performsFirstActionWithFullSwipe: Bool", - "key.parsed_scope.end" : 357, - "key.parsed_scope.start" : 357, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV027performsFirstActionWithFullE0Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var side: Side<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> side<\/decl.name>: Side<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 358, - "key.modulename" : "ListableUI", - "key.name" : "side", - "key.namelength" : 4, - "key.nameoffset" : 12785, - "key.offset" : 12781, - "key.parsed_declaration" : "var side: Side", - "key.parsed_scope.end" : 358, - "key.parsed_scope.start" : 358, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "SwipeActionsView.Side", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV4sideAA0E11ActionsViewC4SideOvp" - } - ], - "key.typename" : "ItemCell.SwipeConfiguration.Type", - "key.typeusr" : "$s10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLVyx_GmD", - "key.usr" : "s:10ListableUI8ItemCellC18SwipeConfiguration33_A7F567565BF168C7DEE5B4CF43486FBDLLV" - } - ], - "key.typename" : "ItemCell.Type", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGmD", - "key.usr" : "s:10ListableUI8ItemCellC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private class AccessibilitySwipeAction : UIAccessibilityCustomAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12805 - } - ], - "key.bodylength" : 404, - "key.bodyoffset" : 12874, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 27, - "key.offset" : 12845 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> AccessibilitySwipeAction<\/decl.name> : UIAccessibilityCustomAction<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIAccessibilityCustomAction" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 466, - "key.line" : 362, - "key.modulename" : "ListableUI", - "key.name" : "AccessibilitySwipeAction", - "key.namelength" : 24, - "key.nameoffset" : 12819, - "key.offset" : 12813, - "key.parsed_declaration" : "private class AccessibilitySwipeAction: UIAccessibilityCustomAction", - "key.parsed_scope.end" : 376, - "key.parsed_scope.start" : 362, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias AccessibilitySwipeAction<\/Type>.Side = SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> AccessibilitySwipeAction<\/ref.class>.Side<\/decl.name> = SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 363, - "key.modulename" : "ListableUI", - "key.name" : "Side", - "key.namelength" : 4, - "key.nameoffset" : 12889, - "key.offset" : 12879, - "key.parsed_declaration" : "typealias Side = SwipeActionsView.Side", - "key.parsed_scope.end" : 363, - "key.parsed_scope.start" : 363, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOmD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC4Sidea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let action: SwipeAction<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> action<\/decl.name>: SwipeAction<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 365, - "key.modulename" : "ListableUI", - "key.name" : "action", - "key.namelength" : 6, - "key.nameoffset" : 12931, - "key.offset" : 12927, - "key.parsed_declaration" : "let action: SwipeAction", - "key.parsed_scope.end" : 365, - "key.parsed_scope.start" : 365, - "key.reusingastcontext" : false, - "key.typename" : "SwipeAction", - "key.typeusr" : "$s10ListableUI11SwipeActionVD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC6actionAA0dE0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let side: SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> side<\/decl.name>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 366, - "key.modulename" : "ListableUI", - "key.name" : "side", - "key.namelength" : 4, - "key.nameoffset" : 12959, - "key.offset" : 12955, - "key.parsed_declaration" : "let side: SwipeActionsView.Side", - "key.parsed_scope.end" : 366, - "key.parsed_scope.start" : 366, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC4sideAA0D11ActionsViewC4SideOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(action: SwipeAction<\/Type>, side: Side<\/Type>, target: Any?, selector: Selector<\/Type>)<\/Declaration>", - "key.bodylength" : 211, - "key.bodyoffset" : 13065, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(action<\/decl.var.parameter.argument_label>: SwipeAction<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, side<\/decl.var.parameter.argument_label>: Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, target<\/decl.var.parameter.argument_label>: Any<\/syntaxtype.keyword>?<\/decl.var.parameter.type><\/decl.var.parameter>, selector<\/decl.var.parameter.argument_label>: Selector<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 285, - "key.line" : 368, - "key.modulename" : "ListableUI", - "key.name" : "init(action:side:target:selector:)", - "key.namelength" : 71, - "key.nameoffset" : 12992, - "key.offset" : 12992, - "key.parsed_declaration" : "init(action: SwipeAction, side: Side, target: Any?, selector: Selector)", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 368, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let name: String<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> name<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 58, - "key.line" : 372, - "key.modulename" : "ListableUI", - "key.name" : "name", - "key.namelength" : 4, - "key.nameoffset" : 13141, - "key.offset" : 13137, - "key.parsed_declaration" : "let name = action.accessibilityLabel ?? action.title ?? \"\"", - "key.parsed_scope.end" : 372, - "key.parsed_scope.start" : 372, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC6action4side6target8selectorAdA0dE0V_AA0D11ActionsViewC4SideOypSg10ObjectiveC8SelectorVtcfc4nameL_SSvp" - } - ], - "key.typename" : "(AccessibilitySwipeAction.Type) -> (SwipeAction, SwipeActionsView.Side, Any?, Selector) -> AccessibilitySwipeAction", - "key.typeusr" : "$s6action4side6target8selector10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLCAE0hI0V_AE0H11ActionsViewC4SideOypSg10ObjectiveC8SelectorVtcD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC6action4side6target8selectorAdA0dE0V_AA0D11ActionsViewC4SideOypSg10ObjectiveC8SelectorVtcfc" - } - ], - "key.typename" : "AccessibilitySwipeAction.Type", - "key.typeusr" : "$s10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLCmD", - "key.usr" : "s:10ListableUI24AccessibilitySwipeAction33_A7F567565BF168C7DEE5B4CF43486FBDLLC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum SwipeActionState : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 951, - "key.bodyoffset" : 13373, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "These states dictate the layout of the swipe actions.", - "key.doc.column" : 6, - "key.doc.comment" : "These states dictate the layout of the swipe actions.", - "key.doc.declaration" : "enum SwipeActionState : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "SwipeActionState<\/Name>s:10ListableUI16SwipeActionStateO<\/USR>enum SwipeActionState : Equatable<\/Declaration>These states dictate the layout of the swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 379, - "key.doc.name" : "SwipeActionState", - "key.doc.type" : "Other", - "key.doclength" : 58, - "key.docoffset" : 13281, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 13362 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> SwipeActionState<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 986, - "key.line" : 379, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionState", - "key.namelength" : 16, - "key.nameoffset" : 13344, - "key.offset" : 13339, - "key.parsed_declaration" : "enum SwipeActionState: Equatable", - "key.parsed_scope.end" : 408, - "key.parsed_scope.start" : 379, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias SwipeActionState<\/Type>.Side = SwipeActionsView<\/Type>.Side<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> SwipeActionState<\/ref.enum>.Side<\/decl.name> = SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 380, - "key.modulename" : "ListableUI", - "key.name" : "Side", - "key.namelength" : 4, - "key.nameoffset" : 13388, - "key.offset" : 13378, - "key.parsed_declaration" : "typealias Side = SwipeActionsView.Side", - "key.parsed_scope.end" : 380, - "key.parsed_scope.start" : 380, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOmD", - "key.usr" : "s:10ListableUI16SwipeActionStateO4Sidea" - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 13472, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case closed<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions are completely collapsed.", - "key.doc.column" : 10, - "key.doc.comment" : "The actions are completely collapsed.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "closed<\/Name>s:10ListableUI16SwipeActionStateO6closedyA2CmF<\/USR><\/Declaration>The actions are completely collapsed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 383, - "key.doc.name" : "closed", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 13426, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> closed<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 383, - "key.modulename" : "ListableUI", - "key.name" : "closed", - "key.namelength" : 6, - "key.nameoffset" : 13477, - "key.offset" : 13477, - "key.parsed_declaration" : "case closed", - "key.parsed_scope.end" : 383, - "key.parsed_scope.start" : 383, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeActionState.Type) -> SwipeActionState", - "key.typeusr" : "$sy10ListableUI16SwipeActionStateOACmcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO6closedyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 13541, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case open(Side<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions are open to their natural size.", - "key.doc.column" : 10, - "key.doc.comment" : "The actions are open to their natural size.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "open(_:)<\/Name>s:10ListableUI16SwipeActionStateO4openyAcA0C11ActionsViewC4SideOcACmF<\/USR><\/Declaration>The actions are open to their natural size.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 386, - "key.doc.name" : "open(_:)", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 13489, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> open<\/decl.name>(Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 386, - "key.modulename" : "ListableUI", - "key.name" : "open(_:)", - "key.namelength" : 10, - "key.nameoffset" : 13546, - "key.offset" : 13546, - "key.parsed_declaration" : "case open(Side)", - "key.parsed_scope.end" : 386, - "key.parsed_scope.start" : 386, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionState.Type) -> (SwipeActionsView.Side) -> SwipeActionState", - "key.typeusr" : "$sy10ListableUI16SwipeActionStateOAA0C11ActionsViewC4SideOcACmcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO4openyAcA0C11ActionsViewC4SideOcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 43, - "key.offset" : 13651, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case swiping(Side<\/Type>, willPerformAction: Bool<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions are being swiped and the size is affected by the gesture recognizer.", - "key.doc.column" : 10, - "key.doc.comment" : "The actions are being swiped and the size is affected by the gesture recognizer.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "swiping(_:willPerformAction:)<\/Name>s:10ListableUI16SwipeActionStateO7swipingyAcA0C11ActionsViewC4SideO_SbtcACmF<\/USR><\/Declaration>The actions are being swiped and the size is affected by the gesture recognizer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 389, - "key.doc.name" : "swiping(_:willPerformAction:)", - "key.doc.type" : "Other", - "key.doclength" : 85, - "key.docoffset" : 13562, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> swiping<\/decl.name>(Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, willPerformAction<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 38, - "key.line" : 389, - "key.modulename" : "ListableUI", - "key.name" : "swiping(_:willPerformAction:)", - "key.namelength" : 38, - "key.nameoffset" : 13656, - "key.offset" : 13656, - "key.parsed_declaration" : "case swiping(Side, willPerformAction: Bool)", - "key.parsed_scope.end" : 389, - "key.parsed_scope.start" : 389, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionState.Type) -> (SwipeActionsView.Side, Bool) -> SwipeActionState", - "key.typeusr" : "$sy10ListableUI16SwipeActionStateOAA0C11ActionsViewC4SideO_SbtcACmcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO7swipingyAcA0C11ActionsViewC4SideO_SbtcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 46, - "key.offset" : 13777, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case willPerformFirstActionAutomatically(Side<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions have been swiped far enough to confirm the first action.", - "key.doc.column" : 10, - "key.doc.comment" : "The actions have been swiped far enough to confirm the first action.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "willPerformFirstActionAutomatically(_:)<\/Name>s:10ListableUI16SwipeActionStateO016willPerformFirstD13AutomaticallyyAcA0C11ActionsViewC4SideOcACmF<\/USR><\/Declaration>The actions have been swiped far enough to confirm the first action.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 392, - "key.doc.name" : "willPerformFirstActionAutomatically(_:)", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 13700, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> willPerformFirstActionAutomatically<\/decl.name>(Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 41, - "key.line" : 392, - "key.modulename" : "ListableUI", - "key.name" : "willPerformFirstActionAutomatically(_:)", - "key.namelength" : 41, - "key.nameoffset" : 13782, - "key.offset" : 13782, - "key.parsed_declaration" : "case willPerformFirstActionAutomatically(Side)", - "key.parsed_scope.end" : 392, - "key.parsed_scope.start" : 392, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionState.Type) -> (SwipeActionsView.Side) -> SwipeActionState", - "key.typeusr" : "$sy10ListableUI16SwipeActionStateOAA0C11ActionsViewC4SideOcACmcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO016willPerformFirstD13AutomaticallyyAcA0C11ActionsViewC4SideOcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 24, - "key.offset" : 13933, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case expandActions(Side<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions have been asked to completely expand (typically because the item is being deleted).", - "key.doc.column" : 10, - "key.doc.comment" : "The actions have been asked to completely expand (typically because the item is being deleted).", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.doc.full_as_xml" : "expandActions(_:)<\/Name>s:10ListableUI16SwipeActionStateO13expandActionsyAcA0cG4ViewC4SideOcACmF<\/USR><\/Declaration>The actions have been asked to completely expand (typically because the item is being deleted).<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 395, - "key.doc.name" : "expandActions(_:)", - "key.doc.type" : "Other", - "key.doclength" : 100, - "key.docoffset" : 13829, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> expandActions<\/decl.name>(Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 19, - "key.line" : 395, - "key.modulename" : "ListableUI", - "key.name" : "expandActions(_:)", - "key.namelength" : 19, - "key.nameoffset" : 13938, - "key.offset" : 13938, - "key.parsed_declaration" : "case expandActions(Side)", - "key.parsed_scope.end" : 395, - "key.parsed_scope.start" : 395, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionState.Type) -> (SwipeActionsView.Side) -> SwipeActionState", - "key.typeusr" : "$sy10ListableUI16SwipeActionStateOAA0C11ActionsViewC4SideOcACmcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO13expandActionsyAcA0cG4ViewC4SideOcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func isRelevantFor(side: Side<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 315, - "key.bodyoffset" : 14007, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isRelevantFor<\/decl.name>(side<\/decl.var.parameter.argument_label>: Side<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 356, - "key.line" : 397, - "key.modulename" : "ListableUI", - "key.name" : "isRelevantFor(side:)", - "key.namelength" : 25, - "key.nameoffset" : 13972, - "key.offset" : 13967, - "key.parsed_declaration" : "func isRelevantFor(side: Side) -> Bool", - "key.parsed_scope.end" : 407, - "key.parsed_scope.start" : 397, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionState) -> (SwipeActionsView.Side) -> Bool", - "key.typeusr" : "$s4sideSb10ListableUI16SwipeActionsViewC4SideO_tcD", - "key.usr" : "s:10ListableUI16SwipeActionStateO13isRelevantFor4sideSbAA0C11ActionsViewC4SideO_tF" - } - ], - "key.typename" : "SwipeActionState.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionStateOmD", - "key.usr" : "s:10ListableUI16SwipeActionStateO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "enum SwipeActionsView<\/Type>.Side : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14327 - } - ], - "key.bodylength" : 219, - "key.bodyoffset" : 14368, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> SwipeActionsView<\/ref.class>.Side<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 253, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsView.Side", - "key.namelength" : 21, - "key.nameoffset" : 14345, - "key.offset" : 14335, - "key.parsed_declaration" : "private extension SwipeActionsView.Side", - "key.parsed_scope.end" : 420, - "key.parsed_scope.start" : 410, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "var gestureDirection: DirectionalPanGestureRecognizer<\/Type>.Direction<\/Type> { get }<\/Declaration>", - "key.bodylength" : 142, - "key.bodyoffset" : 14443, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.ContentViewContainer.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> gestureDirection<\/decl.name>: DirectionalPanGestureRecognizer<\/ref.class>.Direction<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 208, - "key.line" : 412, - "key.modulename" : "ListableUI", - "key.name" : "gestureDirection", - "key.namelength" : 16, - "key.nameoffset" : 14382, - "key.offset" : 14378, - "key.parsed_declaration" : "var gestureDirection: DirectionalPanGestureRecognizer.Direction", - "key.parsed_scope.end" : 419, - "key.parsed_scope.start" : 412, - "key.reusingastcontext" : false, - "key.typename" : "DirectionalPanGestureRecognizer.Direction", - "key.typeusr" : "$s10ListableUI31DirectionalPanGestureRecognizerC9DirectionOD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4SideO16gestureDirection33_A7F567565BF168C7DEE5B4CF43486FBDLLAA31DirectionalPanGestureRecognizerC0H0Ovp" - } - ], - "key.typename" : "SwipeActionsView.Side.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOmD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4SideO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 11192, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol AnyItemCell : UICollectionViewCell<\/Type><\/Declaration>", - "key.bodylength" : 212, - "key.bodyoffset" : 146, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 124 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> AnyItemCell<\/decl.name> : UICollectionViewCell<\/ref.class><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionViewCell" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 258, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "AnyItemCell", - "key.namelength" : 11, - "key.nameoffset" : 110, - "key.offset" : 101, - "key.parsed_declaration" : "protocol AnyItemCell : UICollectionViewCell", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func openLeadingSwipeActions()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> openLeadingSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 30, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "openLeadingSwipeActions()", - "key.namelength" : 25, - "key.nameoffset" : 156, - "key.offset" : 151, - "key.parsed_declaration" : "func openLeadingSwipeActions()", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI11AnyItemCellP23openLeadingSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func openTrailingSwipeActions()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> openTrailingSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 31, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "openTrailingSwipeActions()", - "key.namelength" : 26, - "key.nameoffset" : 191, - "key.offset" : 186, - "key.parsed_declaration" : "func openTrailingSwipeActions()", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI11AnyItemCellP24openTrailingSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func closeSwipeActions()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> closeSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 24, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "closeSwipeActions()", - "key.namelength" : 19, - "key.nameoffset" : 232, - "key.offset" : 227, - "key.parsed_declaration" : "func closeSwipeActions()", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI11AnyItemCellP17closeSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var areSwipeActionsVisible: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 297, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> areSwipeActionsVisible<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "areSwipeActionsVisible", - "key.namelength" : 22, - "key.nameoffset" : 265, - "key.offset" : 261, - "key.parsed_declaration" : "var areSwipeActionsVisible : Bool", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI11AnyItemCellP22areSwipeActionsVisibleSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func wasDequeued(with liveCells: LiveCells<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasDequeued<\/decl.name>(with<\/decl.var.parameter.argument_label> liveCells<\/decl.var.parameter.name>: LiveCells<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 44, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "wasDequeued(with:)", - "key.namelength" : 39, - "key.nameoffset" : 318, - "key.offset" : 313, - "key.parsed_declaration" : "func wasDequeued(with liveCells : LiveCells)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (LiveCells) -> ()", - "key.typeusr" : "$s4withy10ListableUI9LiveCellsC_tcD", - "key.usr" : "s:10ListableUI11AnyItemCellP11wasDequeued4withyAA9LiveCellsC_tF" - } - ], - "key.typename" : "AnyItemCell.Type", - "key.typeusr" : "$s10ListableUI11AnyItemCell_pmD", - "key.usr" : "s:10ListableUI11AnyItemCellP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class ItemCell<Content> : UICollectionViewCell<\/Type>, AnyItemCell<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 638 - } - ], - "key.bodylength" : 7442, - "key.bodyoffset" : 717, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An internal cell type used to render items in the list.\n\nInformation on how cell selection appearance customization works:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells\n", - "key.doc.column" : 13, - "key.doc.comment" : "\nAn internal cell type used to render items in the list.\n\nInformation on how cell selection appearance customization works:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells", - "key.doc.declaration" : "@MainActor final class ItemCell : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.doc.full_as_xml" : "ItemCell<\/Name>s:10ListableUI8ItemCellC<\/USR>@MainActor final class ItemCell<Content> : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent<\/Declaration>An internal cell type used to render items in the list.<\/Para><\/Abstract>Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 29, - "key.doc.name" : "ItemCell", - "key.doc.type" : "Class", - "key.doclength" : 277, - "key.docoffset" : 361, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 682 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 704 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemCell<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UICollectionViewCell<\/ref.class>, AnyItemCell<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionViewCell" - }, - { - "key.name" : "AnyItemCell" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 7516, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "ItemCell", - "key.namelength" : 8, - "key.nameoffset" : 650, - "key.offset" : 644, - "key.parsed_declaration" : "final class ItemCell : UICollectionViewCell, AnyItemCell", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 667 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 659, - "key.offset" : 659, - "key.parsed_declaration" : "final class ItemCell@MainActor<\/Type> private(set) lazy var overlayDecoration: DecorationView<\/Type><Content<\/Type>.OverlayDecorationView<\/Type>> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 735 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 722 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> overlayDecoration<\/decl.name>: DecorationView<\/ref.class><Content<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype>><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 438, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "overlayDecoration", - "key.namelength" : 17, - "key.nameoffset" : 744, - "key.offset" : 740, - "key.parsed_declaration" : "private(set) lazy var overlayDecoration : DecorationView = {\n let view = DecorationView(\n content: Content.createReusableOverlayDecorationView(frame:bounds),\n frame: bounds\n )\n \n self.overlayDecorationIfLoaded = view\n \n self.contentView.insertSubview(view, aboveSubview: self.contentContainer)\n \n return view\n}()", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ItemCell.DecorationView", - "key.typeusr" : "$s10ListableUI8ItemCellC14DecorationViewCyx_07OverlayeF0QzGD", - "key.usr" : "s:10ListableUI8ItemCellC17overlayDecorationAC0F4ViewCyx_07OverlayfG0QzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var overlayDecorationIfLoaded: DecorationView<\/Type><Content<\/Type>.OverlayDecorationView<\/Type>>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1188 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> overlayDecorationIfLoaded<\/decl.name>: DecorationView<\/ref.class><Content<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype>>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 84, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "overlayDecorationIfLoaded", - "key.namelength" : 25, - "key.nameoffset" : 1205, - "key.offset" : 1201, - "key.parsed_declaration" : "private(set) var overlayDecorationIfLoaded : DecorationView? = nil", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ItemCell.DecorationView?", - "key.typeusr" : "$s10ListableUI8ItemCellC14DecorationViewCyx_07OverlayeF0QzGSgD", - "key.usr" : "s:10ListableUI8ItemCellC25overlayDecorationIfLoadedAC0F4ViewCyx_07OverlayfI0QzGSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) lazy var underlayDecoration: DecorationView<\/Type><Content<\/Type>.UnderlayDecorationView<\/Type>> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 1308 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1295 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> underlayDecoration<\/decl.name>: DecorationView<\/ref.class><Content<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype>><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 443, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "underlayDecoration", - "key.namelength" : 18, - "key.nameoffset" : 1317, - "key.offset" : 1313, - "key.parsed_declaration" : "private(set) lazy var underlayDecoration : DecorationView = {\n let view = DecorationView(\n content: Content.createReusableUnderlayDecorationView(frame:bounds),\n frame: bounds\n )\n \n self.underlayDecorationIfLoaded = view\n \n self.contentView.insertSubview(view, belowSubview: self.contentContainer)\n \n return view\n}()", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ItemCell.DecorationView", - "key.typeusr" : "$s10ListableUI8ItemCellC14DecorationViewCyx_08UnderlayeF0QzGD", - "key.usr" : "s:10ListableUI8ItemCellC18underlayDecorationAC0F4ViewCyx_08UnderlayfG0QzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var underlayDecorationIfLoaded: DecorationView<\/Type><Content<\/Type>.UnderlayDecorationView<\/Type>>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1766 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> underlayDecorationIfLoaded<\/decl.name>: DecorationView<\/ref.class><Content<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype>>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 86, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "underlayDecorationIfLoaded", - "key.namelength" : 26, - "key.nameoffset" : 1783, - "key.offset" : 1779, - "key.parsed_declaration" : "private(set) var underlayDecorationIfLoaded : DecorationView? = nil", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ItemCell.DecorationView?", - "key.typeusr" : "$s10ListableUI8ItemCellC14DecorationViewCyx_08UnderlayeF0QzGSgD", - "key.usr" : "s:10ListableUI8ItemCellC26underlayDecorationIfLoadedAC0F4ViewCyx_08UnderlayfI0QzGSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let contentContainer: ContentContainerView<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> contentContainer<\/decl.name>: ContentContainerView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "contentContainer", - "key.namelength" : 16, - "key.nameoffset" : 1879, - "key.offset" : 1875, - "key.parsed_declaration" : "let contentContainer : ContentContainerView", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.typename" : "ItemCell.ContentContainerView", - "key.typeusr" : "$s10ListableUI8ItemCellC20ContentContainerViewCyx_GD", - "key.usr" : "s:10ListableUI8ItemCellC16contentContainerAC07ContentF4ViewCyx_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) lazy var background: Content<\/Type>.BackgroundView<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 1937 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1924 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> background<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 258, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 1946, - "key.offset" : 1942, - "key.parsed_declaration" : "private(set) lazy var background : Content.BackgroundView = {\n let background = Content.createReusableBackgroundView(frame: bounds)\n \n self.backgroundView = background\n self.backgroundIfLoaded = background\n \n return background\n}()", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.BackgroundView", - "key.typeusr" : "$s14BackgroundViewQzD", - "key.usr" : "s:10ListableUI8ItemCellC10background14BackgroundViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var backgroundIfLoaded: Content<\/Type>.BackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2210 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> backgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "backgroundIfLoaded", - "key.namelength" : 18, - "key.nameoffset" : 2227, - "key.offset" : 2223, - "key.parsed_declaration" : "private(set) var backgroundIfLoaded : Content.BackgroundView?", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.BackgroundView?", - "key.typeusr" : "$s14BackgroundViewQzSgD", - "key.usr" : "s:10ListableUI8ItemCellC18backgroundIfLoaded14BackgroundViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) lazy var selectedBackground: Content<\/Type>.SelectedBackgroundView<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.lazy", - "key.length" : 4, - "key.offset" : 2294 - }, - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2281 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) lazy<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectedBackground<\/decl.name>: Content<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 316, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "selectedBackground", - "key.namelength" : 18, - "key.nameoffset" : 2303, - "key.offset" : 2299, - "key.parsed_declaration" : "private(set) lazy var selectedBackground : Content.SelectedBackgroundView = {\n \n let background = Content.createReusableSelectedBackgroundView(frame: bounds)\n \n self.selectedBackgroundView = background\n self.selectedBackgroundIfLoaded = background\n \n return background\n \n}()", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 74, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.SelectedBackgroundView", - "key.typeusr" : "$s22SelectedBackgroundViewQzD", - "key.usr" : "s:10ListableUI8ItemCellC18selectedBackground08SelectedF4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var selectedBackgroundIfLoaded: Content<\/Type>.SelectedBackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2625 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> selectedBackgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 64, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "selectedBackgroundIfLoaded", - "key.namelength" : 26, - "key.nameoffset" : 2642, - "key.offset" : 2638, - "key.parsed_declaration" : "private(set) var selectedBackgroundIfLoaded : Content.SelectedBackgroundView?", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Content.SelectedBackgroundView?", - "key.typeusr" : "$s22SelectedBackgroundViewQzSgD", - "key.usr" : "s:10ListableUI8ItemCellC26selectedBackgroundIfLoaded08SelectedF4ViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var isReorderable: Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> isReorderable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "isReorderable", - "key.namelength" : 13, - "key.nameoffset" : 2716, - "key.offset" : 2712, - "key.parsed_declaration" : "var isReorderable: Bool = false", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC13isReorderableSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2753 - } - ], - "key.bodylength" : 459, - "key.bodyoffset" : 2787, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 485, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:)", - "key.namelength" : 19, - "key.nameoffset" : 2762, - "key.offset" : 2762, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)initWithFrame:" - } - ], - "key.parsed_declaration" : "override init(frame: CGRect)", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 89, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 2800, - "key.offset" : 2796, - "key.parsed_declaration" : "let bounds = CGRect(origin: .zero, size: frame.size)", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 91, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI8ItemCellC5frameACyxGSo6CGRectV_tcfc6boundsL_AGvp" - } - ], - "key.typename" : " (ItemCell.Type) -> (CGRect) -> ItemCell", - "key.typeusr" : "$s5frame10ListableUI8ItemCellCyxGSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI8ItemCellC5frameACyxGSo6CGRectV_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 3288 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 3257 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 3320, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 49, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 3297, - "key.offset" : 3297, - "key.substructure" : [ - - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func preferredLayoutAttributesFitting(_ layoutAttributes: UICollectionViewLayoutAttributes<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3356 - } - ], - "key.bodylength" : 1901, - "key.bodyoffset" : 3498, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preferredLayoutAttributesFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> layoutAttributes<\/decl.var.parameter.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2035, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "preferredLayoutAttributesFitting(_:)", - "key.namelength" : 86, - "key.nameoffset" : 3370, - "key.offset" : 3365, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionReusableView(im)preferredLayoutAttributesFittingAttributes:" - } - ], - "key.parsed_declaration" : "override func preferredLayoutAttributesFitting(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> (UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$sySo32UICollectionViewLayoutAttributesCABcD", - "key.usr" : "s:10ListableUI8ItemCellC32preferredLayoutAttributesFittingySo016UICollectionViewfG0CAFF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func prepareForReuse()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5410 - } - ], - "key.bodylength" : 71, - "key.bodyoffset" : 5443, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Listable already properly sizes each cell. We do not use self-sizing cells.\nThus, just return the existing layout attributes.\n\nThis avoids an expensive call to sizeThatFits to \"re-size\" the cell to the same size\nduring each of UICollectionView's layout passes:\n\n#0 ItemElementCell.sizeThatFits(_:)\n#1 @objc ItemElementCell.sizeThatFits(_:) ()\n#2 -[UICollectionViewCell systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:] ()\n#3 -[UICollectionReusableView preferredLayoutAttributesFittingAttributes:] ()\n#4 -[UICollectionReusableView _preferredLayoutAttributesFittingAttributes:] ()\n#5 -[UICollectionView _checkForPreferredAttributesInView:originalAttributes:] ()\n#6 -[UICollectionView _updateVisibleCellsNow:] ()\n#7 -[UICollectionView layoutSubviews] ()\n\nReturning the passed in value without calling super is OK, per the docs:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionreusableview\/1620132-preferredlayoutattributesfitting\n\n | The default implementation of this method adjusts the size values to accommodate changes made by a self-sizing cell.\n | Subclasses can override this method and use it to adjust other layout attributes too.\n | If you override this method and want the cell size adjustments, call super first and make your own modifications to the returned attributes.\n\nImportant part being \"If you override this method **and want the cell size adjustments**, call super first\".\n\nWe do not want these. Thus, this is fine.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> prepareForReuse<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 96, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "prepareForReuse()", - "key.namelength" : 17, - "key.nameoffset" : 5424, - "key.offset" : 5419, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionReusableView(im)prepareForReuse" - } - ], - "key.parsed_declaration" : "override func prepareForReuse()", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC15prepareForReuseyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: UIView", - "key.offset" : 5528 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func sizeThatFits(_ size: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5550 - } - ], - "key.bodylength" : 66, - "key.bodyoffset" : 5604, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sizeThatFits<\/decl.name>(_<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 112, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "sizeThatFits(_:)", - "key.namelength" : 28, - "key.nameoffset" : 5564, - "key.offset" : 5559, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)sizeThatFits:" - } - ], - "key.parsed_declaration" : "override func sizeThatFits(_ size: CGSize) -> CGSize", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "s:10ListableUI8ItemCellC12sizeThatFitsySo6CGSizeVAFF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5681 - } - ], - "key.bodylength" : 83, - "key.bodyoffset" : 5752, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 146, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:)", - "key.namelength" : 45, - "key.nameoffset" : 5695, - "key.offset" : 5690, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 157, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "s:10ListableUI8ItemCellC23systemLayoutSizeFittingySo6CGSizeVAFF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority<\/Type>, verticalFittingPriority: UILayoutPriority<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5846 - } - ], - "key.bodylength" : 237, - "key.bodyoffset" : 6065, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withHorizontalFittingPriority<\/decl.var.parameter.argument_label> horizontalFittingPriority<\/decl.var.parameter.name>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, verticalFittingPriority<\/decl.var.parameter.argument_label>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 448, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)", - "key.namelength" : 193, - "key.nameoffset" : 5860, - "key.offset" : 5855, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(\n _ targetSize: CGSize,\n withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority,\n verticalFittingPriority: UILayoutPriority\n) -> CGSize", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 161, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> (CGSize, UILayoutPriority, UILayoutPriority) -> CGSize", - "key.typeusr" : "$s_29withHorizontalFittingPriority08verticalcD0So6CGSizeVAD_So08UILayoutD0aAFtcD", - "key.usr" : "s:10ListableUI8ItemCellC23systemLayoutSizeFitting_014withHorizontalH8Priority08verticalhK0So6CGSizeVAH_So08UILayoutK0aAJtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 6309 - } - ], - "key.bodylength" : 261, - "key.bodyoffset" : 6345, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 289, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 6323, - "key.offset" : 6318, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC14layoutSubviewsyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 17, - "key.name" : "MARK: AnyItemCell", - "key.offset" : 6620 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func openLeadingSwipeActions()<\/Declaration>", - "key.bodylength" : 71, - "key.bodyoffset" : 6679, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> openLeadingSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 104, - "key.line" : 185, - "key.modulename" : "ListableUI", - "key.name" : "openLeadingSwipeActions()", - "key.namelength" : 25, - "key.nameoffset" : 6652, - "key.offset" : 6647, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP23openLeadingSwipeActionsyyF" - } - ], - "key.parsed_declaration" : "func openLeadingSwipeActions()", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 185, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC23openLeadingSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func openTrailingSwipeActions()<\/Declaration>", - "key.bodylength" : 72, - "key.bodyoffset" : 6794, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> openTrailingSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 106, - "key.line" : 189, - "key.modulename" : "ListableUI", - "key.name" : "openTrailingSwipeActions()", - "key.namelength" : 26, - "key.nameoffset" : 6766, - "key.offset" : 6761, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP24openTrailingSwipeActionsyyF" - } - ], - "key.parsed_declaration" : "func openTrailingSwipeActions()", - "key.parsed_scope.end" : 191, - "key.parsed_scope.start" : 189, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC24openTrailingSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func closeSwipeActions()<\/Declaration>", - "key.bodylength" : 58, - "key.bodyoffset" : 6903, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> closeSwipeActions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 85, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "closeSwipeActions()", - "key.namelength" : 19, - "key.nameoffset" : 6882, - "key.offset" : 6877, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP17closeSwipeActionsyyF" - } - ], - "key.parsed_declaration" : "func closeSwipeActions()", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC17closeSwipeActionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var areSwipeActionsVisible: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 151, - "key.bodyoffset" : 7007, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> areSwipeActionsVisible<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 187, - "key.line" : 197, - "key.modulename" : "ListableUI", - "key.name" : "areSwipeActionsVisible", - "key.namelength" : 22, - "key.nameoffset" : 6976, - "key.offset" : 6972, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP22areSwipeActionsVisibleSbvp" - } - ], - "key.parsed_declaration" : "var areSwipeActionsVisible : Bool", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 197, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC22areSwipeActionsVisibleSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var hasBeenDequeued: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7169 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasBeenDequeued<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 206, - "key.modulename" : "ListableUI", - "key.name" : "hasBeenDequeued", - "key.namelength" : 15, - "key.nameoffset" : 7181, - "key.offset" : 7177, - "key.parsed_declaration" : "private var hasBeenDequeued = false", - "key.parsed_scope.end" : 206, - "key.parsed_scope.start" : 206, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC15hasBeenDequeued33_FCA59516AE250BEC3B0DC8416FB30D6ELLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func wasDequeued(with liveCells: LiveCells<\/Type>)<\/Declaration>", - "key.bodylength" : 162, - "key.bodyoffset" : 7260, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> wasDequeued<\/decl.name>(with<\/decl.var.parameter.argument_label> liveCells<\/decl.var.parameter.name>: LiveCells<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 209, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "wasDequeued(with:)", - "key.namelength" : 39, - "key.nameoffset" : 7219, - "key.offset" : 7214, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI11AnyItemCellP11wasDequeued4withyAA9LiveCellsC_tF" - } - ], - "key.parsed_declaration" : "func wasDequeued(with liveCells : LiveCells)", - "key.parsed_scope.end" : 216, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell) -> (LiveCells) -> ()", - "key.typeusr" : "$s4withy10ListableUI9LiveCellsC_tcD", - "key.usr" : "s:10ListableUI8ItemCellC11wasDequeued4withyAA9LiveCellsC_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: AccessibilityLabel", - "key.offset" : 7441 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var _accessibilityLabel: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7800 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> _accessibilityLabel<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 222, - "key.modulename" : "ListableUI", - "key.name" : "_accessibilityLabel", - "key.namelength" : 19, - "key.nameoffset" : 7812, - "key.offset" : 7808, - "key.parsed_declaration" : "private var _accessibilityLabel: String?", - "key.parsed_scope.end" : 222, - "key.parsed_scope.start" : 222, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI8ItemCellC19_accessibilityLabel33_FCA59516AE250BEC3B0DC8416FB30D6ELLSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var accessibilityLabel: String<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 7845 - } - ], - "key.bodylength" : 270, - "key.bodyoffset" : 7887, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityLabel<\/decl.name>: String<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 304, - "key.line" : 223, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityLabel", - "key.namelength" : 18, - "key.nameoffset" : 7858, - "key.offset" : 7854, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)NSObject(py)accessibilityLabel" - } - ], - "key.parsed_declaration" : "override var accessibilityLabel: String?", - "key.parsed_scope.end" : 233, - "key.parsed_scope.start" : 223, - "key.related_decls" : [ - { - "key.annotated_decl" : "accessibilityLabel()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI8ItemCellC18accessibilityLabelSSSgvp" - } - ], - "key.typename" : "ItemCell.Type", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGmD", - "key.usr" : "s:10ListableUI8ItemCellC" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> final class ItemCell<Content> : UICollectionViewCell<\/Type>, AnyItemCell<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 1102, - "key.bodyoffset" : 8183, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An internal cell type used to render items in the list.\n\nInformation on how cell selection appearance customization works:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells\n", - "key.doc.column" : 13, - "key.doc.declaration" : "@MainActor final class ItemCell : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.doc.full_as_xml" : "ItemCell<\/Name>s:10ListableUI8ItemCellC<\/USR>@MainActor final class ItemCell<Content> : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent<\/Declaration>An internal cell type used to render items in the list.<\/Para><\/Abstract>Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 29, - "key.doc.name" : "ItemCell", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemCell<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UICollectionViewCell<\/ref.class>, AnyItemCell<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1123, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "ItemCell", - "key.namelength" : 8, - "key.nameoffset" : 8173, - "key.offset" : 8163, - "key.parsed_declaration" : "extension ItemCell", - "key.parsed_scope.end" : 277, - "key.parsed_scope.start" : 237, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> final class DecorationView<ContentView> : UIView<\/Type> where ContentView<\/Type> : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 8193 - } - ], - "key.bodylength" : 1033, - "key.bodyoffset" : 8250, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 8242 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DecorationView<\/decl.name><ContentView<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UIView<\/ref.class> where<\/syntaxtype.keyword> ContentView<\/ref.generic_type_param> : UIView<\/ref.class><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1085, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "DecorationView", - "key.namelength" : 14, - "key.nameoffset" : 8205, - "key.offset" : 8199, - "key.parsed_declaration" : "final class DecorationView : UIView", - "key.parsed_scope.end" : 276, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ContentView : UIView<\/Type><\/Declaration>", - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 8232 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "ContentView<\/decl.generic_type_param.name> : UIView<\/ref.class><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 18, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "ContentView", - "key.namelength" : 11, - "key.nameoffset" : 8220, - "key.offset" : 8220, - "key.parsed_declaration" : "final class DecorationView@MainActor<\/Type> let content: ContentView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> content<\/decl.name>: ContentView<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 8272, - "key.offset" : 8268, - "key.parsed_declaration" : "let content : ContentView", - "key.parsed_scope.end" : 241, - "key.parsed_scope.start" : 241, - "key.reusingastcontext" : false, - "key.typename" : "ContentView", - "key.typeusr" : "$sqd__D", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC7contentqd__vp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(content: ContentView<\/Type>, frame: CGRect<\/Type>)<\/Declaration>", - "key.bodylength" : 265, - "key.bodyoffset" : 8355, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(content<\/decl.var.parameter.argument_label>: ContentView<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 310, - "key.line" : 243, - "key.modulename" : "ListableUI", - "key.name" : "init(content:frame:)", - "key.namelength" : 42, - "key.nameoffset" : 8311, - "key.offset" : 8311, - "key.parsed_declaration" : "init(content : ContentView, frame: CGRect)", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 243, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.DecorationView.Type) -> (ContentView, CGRect) -> ItemCell.DecorationView", - "key.typeusr" : "$s7content5frame10ListableUI8ItemCellC14DecorationViewCyx_qd__Gqd___So6CGRectVtcD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC7content5frameAEyx_qd__Gqd___So6CGRectVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 8674 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 8639 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 8706, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 8683, - "key.offset" : 8683, - "key.substructure" : [ - - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 8739 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 8771, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 126, - "key.line" : 258, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 8753, - "key.offset" : 8748, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 258, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.DecorationView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC14layoutSubviewsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var isAccessibilityElement: Bool<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 8892 - } - ], - "key.bodylength" : 104, - "key.bodyoffset" : 8935, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isAccessibilityElement<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 139, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "isAccessibilityElement", - "key.namelength" : 22, - "key.nameoffset" : 8905, - "key.offset" : 8901, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)NSObject(py)isAccessibilityElement" - } - ], - "key.parsed_declaration" : "override var isAccessibilityElement: Bool", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 264, - "key.related_decls" : [ - { - "key.annotated_decl" : "isAccessibilityElement()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC22isAccessibilityElementSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func point(inside point: CGPoint<\/Type>, with event: UIEvent<\/Type>?) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 9058 - } - ], - "key.bodylength" : 27, - "key.bodyoffset" : 9132, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> point<\/decl.name>(inside<\/decl.var.parameter.argument_label> point<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 93, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "point(inside:with:)", - "key.namelength" : 50, - "key.nameoffset" : 9072, - "key.offset" : 9067, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)pointInside:withEvent:" - } - ], - "key.parsed_declaration" : "override func point(inside point: CGPoint, with event: UIEvent?) -> Bool", - "key.parsed_scope.end" : 271, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.DecorationView) -> (CGPoint, UIEvent?) -> Bool", - "key.typeusr" : "$s6inside4withSbSo7CGPointV_So7UIEventCSgtcD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC5point6inside4withSbSo7CGPointV_So7UIEventCSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func hitTest(_ point: CGPoint<\/Type>, with event: UIEvent<\/Type>?) -> UIView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 9178 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 9252, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> hitTest<\/decl.name>(_<\/decl.var.parameter.argument_label> point<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> UIView<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 91, - "key.line" : 273, - "key.modulename" : "ListableUI", - "key.name" : "hitTest(_:with:)", - "key.namelength" : 47, - "key.nameoffset" : 9192, - "key.offset" : 9187, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)hitTest:withEvent:" - } - ], - "key.parsed_declaration" : "override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?", - "key.parsed_scope.end" : 275, - "key.parsed_scope.start" : 273, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemCell.DecorationView) -> (CGPoint, UIEvent?) -> UIView?", - "key.typeusr" : "$s_4withSo6UIViewCSgSo7CGPointV_So7UIEventCSgtcD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC7hitTest_4withSo6UIViewCSgSo7CGPointV_So7UIEventCSgtF" - } - ], - "key.typename" : "ItemCell.DecorationView.Type", - "key.typeusr" : "$s10ListableUI8ItemCellC14DecorationViewCyx_qd__GmD", - "key.usr" : "s:10ListableUI8ItemCellC14DecorationViewC" - } - ], - "key.typename" : "ItemCell.Type", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGmD", - "key.usr" : "s:10ListableUI8ItemCellC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class LiveCells<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 9289 - } - ], - "key.bodylength" : 852, - "key.bodyoffset" : 9312, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> LiveCells<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 870, - "key.line" : 280, - "key.modulename" : "ListableUI", - "key.name" : "LiveCells", - "key.namelength" : 9, - "key.nameoffset" : 9301, - "key.offset" : 9295, - "key.parsed_declaration" : "final class LiveCells", - "key.parsed_scope.end" : 317, - "key.parsed_scope.start" : 280, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func add(_ cell: AnyItemCell<\/Type>)<\/Declaration>", - "key.bodylength" : 117, - "key.bodyoffset" : 9354, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> add<\/decl.name>(_<\/decl.var.parameter.argument_label> cell<\/decl.var.parameter.name>: AnyItemCell<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 150, - "key.line" : 282, - "key.modulename" : "ListableUI", - "key.name" : "add(_:)", - "key.namelength" : 25, - "key.nameoffset" : 9327, - "key.offset" : 9322, - "key.parsed_declaration" : "func add(_ cell : AnyItemCell)", - "key.parsed_scope.end" : 286, - "key.parsed_scope.start" : 282, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LiveCells) -> (any AnyItemCell) -> ()", - "key.typeusr" : "$syy10ListableUI11AnyItemCell_pcD", - "key.usr" : "s:10ListableUI9LiveCellsC3addyyAA11AnyItemCell_pF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func perform(_ block: (AnyItemCell<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 122, - "key.bodyoffset" : 9527, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> perform<\/decl.name>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (AnyItemCell<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 168, - "key.line" : 288, - "key.modulename" : "ListableUI", - "key.name" : "perform(_:)", - "key.namelength" : 38, - "key.nameoffset" : 9487, - "key.offset" : 9482, - "key.parsed_declaration" : "func perform(_ block : (AnyItemCell) -> ())", - "key.parsed_scope.end" : 294, - "key.parsed_scope.start" : 288, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LiveCells) -> ((any AnyItemCell) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI11AnyItemCell_pXEcD", - "key.usr" : "s:10ListableUI9LiveCellsC7performyyyAA11AnyItemCell_pXEF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func first(where check: (AnyItemCell<\/Type>) -> Bool<\/Type>) -> AnyItemCell<\/Type>?<\/Declaration>", - "key.bodylength" : 218, - "key.bodyoffset" : 9725, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> first<\/decl.name>(where<\/decl.var.parameter.argument_label> check<\/decl.var.parameter.name>: (AnyItemCell<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyItemCell<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 284, - "key.line" : 296, - "key.modulename" : "ListableUI", - "key.name" : "first(where:)", - "key.namelength" : 42, - "key.nameoffset" : 9665, - "key.offset" : 9660, - "key.parsed_declaration" : "func first(where check : (AnyItemCell) -> Bool) -> AnyItemCell?", - "key.parsed_scope.end" : 306, - "key.parsed_scope.start" : 296, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let cell: LiveCells<\/Type>.LiveCell<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: LiveCells<\/ref.class>.LiveCell<\/ref.struct>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 169, - "key.line" : 297, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 9738, - "key.offset" : 9734, - "key.parsed_declaration" : "let cell = cells.first {\n if let cell = $0.cell {\n return check(cell)\n } else {\n return false\n }\n}", - "key.parsed_scope.end" : 297, - "key.parsed_scope.start" : 297, - "key.reusingastcontext" : false, - "key.typename" : "LiveCells.LiveCell?", - "key.typeusr" : "$s10ListableUI9LiveCellsC0C4CellVSgD", - "key.usr" : "s:10ListableUI9LiveCellsC5first5whereAA11AnyItemCell_pSgSbAaF_pXE_tF4cellL_AC0cI0VSgvp" - } - ], - "key.typename" : "(LiveCells) -> ((any AnyItemCell) -> Bool) -> (any AnyItemCell)?", - "key.typeusr" : "$s5where10ListableUI11AnyItemCell_pSgSbAbC_pXE_tcD", - "key.usr" : "s:10ListableUI9LiveCellsC5first5whereAA11AnyItemCell_pSgSbAaF_pXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var activeSwipeCell: AnyItemCell<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 52, - "key.bodyoffset" : 9990, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> activeSwipeCell<\/decl.name>: AnyItemCell<\/ref.protocol>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 89, - "key.line" : 308, - "key.modulename" : "ListableUI", - "key.name" : "activeSwipeCell", - "key.namelength" : 15, - "key.nameoffset" : 9958, - "key.offset" : 9954, - "key.parsed_declaration" : "var activeSwipeCell : AnyItemCell?", - "key.parsed_scope.end" : 310, - "key.parsed_scope.start" : 308, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyItemCell)?", - "key.typeusr" : "$s10ListableUI11AnyItemCell_pSgD", - "key.usr" : "s:10ListableUI9LiveCellsC15activeSwipeCellAA07AnyItemG0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var cells: [LiveCell<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 10053 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> cells<\/decl.name>: [LiveCell<\/ref.struct>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 312, - "key.modulename" : "ListableUI", - "key.name" : "cells", - "key.namelength" : 5, - "key.nameoffset" : 10070, - "key.offset" : 10066, - "key.parsed_declaration" : "private(set) var cells : [LiveCell] = []", - "key.parsed_scope.end" : 312, - "key.parsed_scope.start" : 312, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[LiveCells.LiveCell]", - "key.typeusr" : "$sSay10ListableUI9LiveCellsC0C4CellVGD", - "key.usr" : "s:10ListableUI9LiveCellsC5cellsSayAC0C4CellVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct LiveCells<\/Type>.LiveCell<\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 10120, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> LiveCells<\/ref.class>.LiveCell<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 60, - "key.line" : 314, - "key.modulename" : "ListableUI", - "key.name" : "LiveCell", - "key.namelength" : 8, - "key.nameoffset" : 10110, - "key.offset" : 10103, - "key.parsed_declaration" : "struct LiveCell", - "key.parsed_scope.end" : 316, - "key.parsed_scope.start" : 314, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var cell: AnyItemCell<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 10129 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cell<\/decl.name>: AnyItemCell<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 315, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 10138, - "key.offset" : 10134, - "key.parsed_declaration" : "weak var cell : AnyItemCell?", - "key.parsed_scope.end" : 315, - "key.parsed_scope.start" : 315, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(any AnyItemCell)?", - "key.typeusr" : "$s10ListableUI11AnyItemCell_pSgD", - "key.usr" : "s:10ListableUI9LiveCellsC0C4CellV4cellAA07AnyItemE0_pSgvp" - } - ], - "key.typename" : "LiveCells.LiveCell.Type", - "key.typeusr" : "$s10ListableUI9LiveCellsC0C4CellVmD", - "key.usr" : "s:10ListableUI9LiveCellsC0C4CellV" - } - ], - "key.typename" : "LiveCells.Type", - "key.typeusr" : "$s10ListableUI9LiveCellsCmD", - "key.usr" : "s:10ListableUI9LiveCellsC" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> final class ItemCell<Content> : UICollectionViewCell<\/Type>, AnyItemCell<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 228, - "key.bodyoffset" : 10187, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An internal cell type used to render items in the list.\n\nInformation on how cell selection appearance customization works:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells\n", - "key.doc.column" : 13, - "key.doc.declaration" : "@MainActor final class ItemCell : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.doc.full_as_xml" : "ItemCell<\/Name>s:10ListableUI8ItemCellC<\/USR>@MainActor final class ItemCell<Content> : UICollectionViewCell, AnyItemCell where Content : ListableUI.ItemContent<\/Declaration>An internal cell type used to render items in the list.<\/Para><\/Abstract>Information on how cell selection appearance customization works: https:\/\/developer.apple.com\/documentation\/uikit\/uicollectionviewdelegate\/changing_the_appearance_of_selected_and_highlighted_cells<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 29, - "key.doc.name" : "ItemCell", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemCell<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : UICollectionViewCell<\/ref.class>, AnyItemCell<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 249, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "ItemCell", - "key.namelength" : 8, - "key.nameoffset" : 10177, - "key.offset" : 10167, - "key.parsed_declaration" : "extension ItemCell", - "key.parsed_scope.end" : 327, - "key.parsed_scope.start" : 319, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> var reorderingAccessibilityLabel: String<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 173, - "key.bodyoffset" : 10240, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> reorderingAccessibilityLabel<\/decl.name>: String<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 217, - "key.line" : 321, - "key.modulename" : "ListableUI", - "key.name" : "reorderingAccessibilityLabel", - "key.namelength" : 28, - "key.nameoffset" : 10201, - "key.offset" : 10197, - "key.parsed_declaration" : "var reorderingAccessibilityLabel: String?", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 321, - "key.reusingastcontext" : false, - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI8ItemCellC28reorderingAccessibilityLabelSSSgvp" - } - ], - "key.typename" : "ItemCell.Type", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGmD", - "key.usr" : "s:10ListableUI8ItemCellC" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIView : UIResponder<\/Type>, NSCoding<\/Type>, UIAppearance<\/Type>, UIAppearanceContainer<\/Type>, UIDynamicItem<\/Type>, UITraitEnvironment<\/Type>, UICoordinateSpace<\/Type>, UIFocusItem<\/Type>, UIFocusItemContainer<\/Type>, CALayerDelegate<\/Type><\/Declaration>", - "key.bodylength" : 753, - "key.bodyoffset" : 10437, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIView.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIView<\/decl.name> : UIResponder<\/ref.class>, NSCoding<\/ref.protocol>, UIAppearance<\/ref.protocol>, UIAppearanceContainer<\/ref.protocol>, UIDynamicItem<\/ref.protocol>, UITraitEnvironment<\/ref.protocol>, UICoordinateSpace<\/ref.protocol>, UIFocusItem<\/ref.protocol>, UIFocusItemContainer<\/ref.protocol>, CALayerDelegate<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 772, - "key.line" : 148, - "key.modulename" : "UIKit.UIView", - "key.name" : "UIView", - "key.namelength" : 6, - "key.nameoffset" : 10429, - "key.offset" : 10419, - "key.parsed_declaration" : "extension UIView", - "key.parsed_scope.end" : 352, - "key.parsed_scope.start" : 330, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> fileprivate func firstAccessibleChild() -> NSObject<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 10446 - } - ], - "key.bodylength" : 148, - "key.bodyoffset" : 10500, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> fileprivate<\/syntaxtype.keyword> func<\/syntaxtype.keyword> firstAccessibleChild<\/decl.name>() -> NSObject<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 191, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "firstAccessibleChild()", - "key.namelength" : 22, - "key.nameoffset" : 10463, - "key.offset" : 10458, - "key.parsed_declaration" : "fileprivate func firstAccessibleChild() -> NSObject?", - "key.parsed_scope.end" : 337, - "key.parsed_scope.start" : 332, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UIView) -> () -> NSObject?", - "key.typeusr" : "$sSo8NSObjectCSgycD", - "key.usr" : "s:So6UIViewC10ListableUIE20firstAccessibleChild33_FCA59516AE250BEC3B0DC8416FB30D6ELLSo8NSObjectCSgyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> fileprivate func recursiveAccessibleSubviews() -> [Any]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 10659 - } - ], - "key.bodylength" : 472, - "key.bodyoffset" : 10716, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ItemCell.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> fileprivate<\/syntaxtype.keyword> func<\/syntaxtype.keyword> recursiveAccessibleSubviews<\/decl.name>() -> [Any<\/syntaxtype.keyword>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 518, - "key.line" : 339, - "key.modulename" : "ListableUI", - "key.name" : "recursiveAccessibleSubviews()", - "key.namelength" : 29, - "key.nameoffset" : 10676, - "key.offset" : 10671, - "key.parsed_declaration" : "fileprivate func recursiveAccessibleSubviews() -> [Any]", - "key.parsed_scope.end" : 351, - "key.parsed_scope.start" : 339, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UIView) -> () -> [Any]", - "key.typeusr" : "$sSayypGycD", - "key.usr" : "s:So6UIViewC10ListableUIE27recursiveAccessibleSubviews33_FCA59516AE250BEC3B0DC8416FB30D6ELLSayypGyF" - } - ], - "key.typename" : "UIView.Type", - "key.typeusr" : "$sSo6UIViewCmD", - "key.usr" : "c:objc(cs)UIView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Modify.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 245, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func modified<Value>(_ initial: Value<\/Type>, _ modify: (inout Value<\/Type>) -> ()) -> Value<\/Type><\/Declaration>", - "key.bodylength" : 58, - "key.bodyoffset" : 185, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Modify.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> modified<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> initial<\/decl.var.parameter.name>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> modify<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 141, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "modified(_:_:)", - "key.namelength" : 66, - "key.nameoffset" : 108, - "key.offset" : 103, - "key.parsed_declaration" : "func modified(_ initial : Value, _ modify : (inout Value) -> ()) -> Value", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Modify.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 117, - "key.offset" : 117, - "key.parsed_declaration" : "func modifiedvar copy: Value<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Modify.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> copy<\/decl.name>: Value<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 18, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "copy", - "key.namelength" : 4, - "key.nameoffset" : 194, - "key.offset" : 190, - "key.parsed_declaration" : "var copy = initial", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "Value", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI8modifiedyxx_yxzXEtlF4copyL_xvp" - } - ], - "key.typename" : " (Value, (inout Value) -> ()) -> Value", - "key.typeusr" : "$syxx_yxzXEtcluD", - "key.usr" : "s:10ListableUI8modifiedyxx_yxzXEtlF" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 10714, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol AnyPresentationHeaderFooterState : AnyObject<\/Declaration>", - "key.bodylength" : 1111, - "key.bodyoffset" : 201, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 190 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> AnyPresentationHeaderFooterState<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 1167, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "AnyPresentationHeaderFooterState", - "key.namelength" : 32, - "key.nameoffset" : 155, - "key.offset" : 146, - "key.parsed_declaration" : "protocol AnyPresentationHeaderFooterState : AnyObject", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isDisplayed: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 230, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "isDisplayed", - "key.namelength" : 11, - "key.nameoffset" : 210, - "key.offset" : 206, - "key.parsed_declaration" : "var isDisplayed : Bool", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP11isDisplayedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setAndPerform(isDisplayed: Bool<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setAndPerform<\/decl.name>(isDisplayed<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 37, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "setAndPerform(isDisplayed:)", - "key.namelength" : 32, - "key.nameoffset" : 246, - "key.offset" : 241, - "key.parsed_declaration" : "func setAndPerform(isDisplayed: Bool)", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Bool) -> ()", - "key.typeusr" : "$s11isDisplayedySb_tcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP13setAndPerform11isDisplayedySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var anyModel: AnyHeaderFooter<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 320, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyModel<\/decl.name>: AnyHeaderFooter<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "anyModel", - "key.namelength" : 8, - "key.nameoffset" : 292, - "key.offset" : 288, - "key.parsed_declaration" : "var anyModel : AnyHeaderFooter", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "any AnyHeaderFooter", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP8anyModelAA0ceF0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var kind: SupplementaryKind<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 366, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 340, - "key.offset" : 336, - "key.parsed_declaration" : "var kind : SupplementaryKind", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP4kindAA17SupplementaryKindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndexPath: IndexPath<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 413, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "oldIndexPath", - "key.namelength" : 12, - "key.nameoffset" : 386, - "key.offset" : 382, - "key.parsed_declaration" : "var oldIndexPath : IndexPath?", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP12oldIndexPath10Foundation0iJ0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var containsFirstResponder: Bool<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 464, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> containsFirstResponder<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "containsFirstResponder", - "key.namelength" : 22, - "key.nameoffset" : 433, - "key.offset" : 429, - "key.parsed_declaration" : "var containsFirstResponder : Bool", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP22containsFirstResponderSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateOldIndexPath(in section: Int<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateOldIndexPath<\/decl.name>(in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 41, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "updateOldIndexPath(in:)", - "key.namelength" : 36, - "key.nameoffset" : 489, - "key.offset" : 484, - "key.parsed_declaration" : "func updateOldIndexPath(in section : Int)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Int) -> ()", - "key.typeusr" : "$s2inySi_tcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP18updateOldIndexPath2inySi_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func dequeueAndPrepareReusableHeaderFooterView(in cache: ReusableViewCache<\/Type>, frame: CGRect<\/Type>, environment: ListEnvironment<\/Type>) -> UIView<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> dequeueAndPrepareReusableHeaderFooterView<\/decl.name>(in<\/decl.var.parameter.argument_label> cache<\/decl.var.parameter.name>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIView<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 163, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "dequeueAndPrepareReusableHeaderFooterView(in:frame:environment:)", - "key.namelength" : 148, - "key.nameoffset" : 544, - "key.offset" : 539, - "key.parsed_declaration" : "func dequeueAndPrepareReusableHeaderFooterView(\n in cache : ReusableViewCache,\n frame : CGRect,\n environment : ListEnvironment\n) -> UIView", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ReusableViewCache, CGRect, ListEnvironment) -> UIView", - "key.typeusr" : "$s2in5frame11environmentSo6UIViewC10ListableUI17ReusableViewCacheC_So6CGRectVAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP025dequeueAndPrepareReusableeF4View2in5frame11environmentSo6UIViewCAA0kL5CacheC_So6CGRectVAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func enqueueReusableHeaderFooterView(_ view: UIView<\/Type>, in cache: ReusableViewCache<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> enqueueReusableHeaderFooterView<\/decl.name>(_<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> cache<\/decl.var.parameter.name>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 83, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "enqueueReusableHeaderFooterView(_:in:)", - "key.namelength" : 78, - "key.nameoffset" : 717, - "key.offset" : 712, - "key.parsed_declaration" : "func enqueueReusableHeaderFooterView(_ view : UIView, in cache : ReusableViewCache)", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UIView, ReusableViewCache) -> ()", - "key.typeusr" : "$s_2inySo6UIViewC_10ListableUI17ReusableViewCacheCtcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP015enqueueReusableeF4View_2inySo6UIViewC_AA0iJ5CacheCtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyTo(view: UIView<\/Type>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyTo<\/decl.name>(view<\/decl.var.parameter.argument_label>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "applyTo(view:for:with:)", - "key.namelength" : 120, - "key.nameoffset" : 810, - "key.offset" : 805, - "key.parsed_declaration" : "func applyTo(\n view : UIView,\n for reason : ApplyReason,\n with info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UIView, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s4view3for4withySo6UIViewC_10ListableUI11ApplyReasonOAF0G23HeaderFooterContentInfoVtcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP7applyTo4view3for4withySo6UIViewC_AA11ApplyReasonOAA0neF11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(new: AnyHeaderFooter<\/Type>, reason: ApplyReason<\/Type>, visibleView: UIView<\/Type>?, updateCallbacks: UpdateCallbacks<\/Type>, info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(new<\/decl.var.parameter.argument_label>: AnyHeaderFooter<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, visibleView<\/decl.var.parameter.argument_label>: UIView<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 194, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "set(new:reason:visibleView:updateCallbacks:info:)", - "key.namelength" : 189, - "key.nameoffset" : 941, - "key.offset" : 936, - "key.parsed_declaration" : "func set(\n new : AnyHeaderFooter,\n reason : ApplyReason,\n visibleView : UIView?,\n updateCallbacks : UpdateCallbacks,\n info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyHeaderFooter, ApplyReason, UIView?, UpdateCallbacks, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s3new6reason11visibleView15updateCallbacks4infoy10ListableUI15AnyHeaderFooter_p_AF11ApplyReasonOSo6UIViewCSgAF06UpdateF0CAF0mkL11ContentInfoVtcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP3set3new6reason11visibleView15updateCallbacks4infoyAA0ceF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateN0CAA0peF11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetCachedSizes()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 23, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "resetCachedSizes()", - "key.namelength" : 18, - "key.nameoffset" : 1145, - "key.offset" : 1140, - "key.parsed_declaration" : "func resetCachedSizes()", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP16resetCachedSizesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func size(for info: Sizing<\/Type>.MeasureInfo<\/Type>, cache: ReusableViewCache<\/Type>, environment: ListEnvironment<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, cache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 138, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "size(for:cache:environment:)", - "key.namelength" : 123, - "key.nameoffset" : 1178, - "key.offset" : 1173, - "key.parsed_declaration" : "func size(\n for info : Sizing.MeasureInfo,\n cache : ReusableViewCache,\n environment : ListEnvironment\n) -> CGSize", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 51, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Sizing.MeasureInfo, ReusableViewCache, ListEnvironment) -> CGSize", - "key.typeusr" : "$s3for5cache11environmentSo6CGSizeV10ListableUI6SizingO11MeasureInfoV_AF17ReusableViewCacheCAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - } - ], - "key.typename" : "AnyPresentationHeaderFooterState.Type", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pmD", - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP" - }, - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 9367, - "key.bodyoffset" : 1345, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 9397, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 1326, - "key.offset" : 1316, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class HeaderFooterViewStatePair<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 1350 - } - ], - "key.bodylength" : 3120, - "key.bodyoffset" : 1393, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> HeaderFooterViewStatePair<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3158, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterViewStatePair", - "key.namelength" : 25, - "key.nameoffset" : 1362, - "key.offset" : 1356, - "key.parsed_declaration" : "final class HeaderFooterViewStatePair", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var state: AnyPresentationHeaderFooterState<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1402 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> state<\/decl.name>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 1419, - "key.offset" : 1415, - "key.parsed_declaration" : "private(set) var state : AnyPresentationHeaderFooterState?", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pSgD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC5stateAA03AnycefD0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var visibleContainer: SupplementaryContainerView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1478 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> visibleContainer<\/decl.name>: SupplementaryContainerView<\/ref.class>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "visibleContainer", - "key.namelength" : 16, - "key.nameoffset" : 1495, - "key.offset" : 1491, - "key.parsed_declaration" : "private(set) var visibleContainer : SupplementaryContainerView?", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SupplementaryContainerView?", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCSgD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC16visibleContainerAA013SupplementaryjG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(state: AnyPresentationHeaderFooterState<\/Type>?)<\/Declaration>", - "key.bodylength" : 40, - "key.bodyoffset" : 1608, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(state<\/decl.var.parameter.argument_label>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 90, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "init(state:)", - "key.namelength" : 47, - "key.nameoffset" : 1559, - "key.offset" : 1559, - "key.parsed_declaration" : "init(state : AnyPresentationHeaderFooterState?)", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.HeaderFooterViewStatePair.Type) -> ((any AnyPresentationHeaderFooterState)?) -> PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s5state10ListableUI17PresentationStateC016HeaderFooterViewE4PairCAB03AnydfgE0_pSg_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC5stateAeA03AnycefD0_pSg_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func update(with state: AnyPresentationHeaderFooterState<\/Type>?, new: AnyHeaderFooterConvertible<\/Type>?, reason: ApplyReason<\/Type>, animated: Bool<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 705, - "key.bodyoffset" : 1947, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 986, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "update(with:new:reason:animated:updateCallbacks:environment:)", - "key.namelength" : 273, - "key.nameoffset" : 1672, - "key.offset" : 1667, - "key.parsed_declaration" : "func update(\n with state : AnyPresentationHeaderFooterState?,\n new: AnyHeaderFooterConvertible?,\n reason: ApplyReason,\n animated : Bool,\n updateCallbacks : UpdateCallbacks,\n environment: ListEnvironment\n)", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.HeaderFooterViewStatePair) -> ((any AnyPresentationHeaderFooterState)?, (any AnyHeaderFooterConvertible)?, ApplyReason, Bool, UpdateCallbacks, ListEnvironment) -> ()", - "key.typeusr" : "$s4with3new6reason8animated15updateCallbacks11environmenty10ListableUI32AnyPresentationHeaderFooterState_pSg_AG0jlM11Convertible_pSgAG11ApplyReasonOSbAG06UpdateF0CAG15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC6update4with3new6reason8animated0I9Callbacks11environmentyAA03AnycefD0_pSg_AA0peF11Convertible_pSgAA11ApplyReasonOSbAA06UpdateN0CAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func collectionViewWillDisplay(view: SupplementaryContainerView<\/Type>)<\/Declaration>", - "key.bodylength" : 488, - "key.bodyoffset" : 2746, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> collectionViewWillDisplay<\/decl.name>(view<\/decl.var.parameter.argument_label>: SupplementaryContainerView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 564, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewWillDisplay(view:)", - "key.namelength" : 60, - "key.nameoffset" : 2676, - "key.offset" : 2671, - "key.parsed_declaration" : "func collectionViewWillDisplay(view : SupplementaryContainerView)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.HeaderFooterViewStatePair) -> (SupplementaryContainerView) -> ()", - "key.typeusr" : "$s4viewy10ListableUI26SupplementaryContainerViewC_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC010collectionG11WillDisplay4viewyAA022SupplementaryContainerG0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func collectionViewDidEndDisplay(of view: SupplementaryContainerView<\/Type>)<\/Declaration>", - "key.bodylength" : 1052, - "key.bodyoffset" : 3333, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "**Note**: It's possible for this method and the below\nto be called in an unbalanced manner (eg, we get moved to a new supplementary view),\n_without_ an associated call to `collectionViewDidEndDisplay(of:)`.\n\nThus, if any logic added to this method depends on the instance\nof `visibleContainer` changing, wrap it in a `===` check.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> collectionViewDidEndDisplay<\/decl.name>(of<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: SupplementaryContainerView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1133, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewDidEndDisplay(of:)", - "key.namelength" : 65, - "key.nameoffset" : 3258, - "key.offset" : 3253, - "key.parsed_declaration" : "func collectionViewDidEndDisplay(of view : SupplementaryContainerView)", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.HeaderFooterViewStatePair) -> (SupplementaryContainerView) -> ()", - "key.typeusr" : "$s2ofy10ListableUI26SupplementaryContainerViewC_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC010collectionG13DidEndDisplay2ofyAA022SupplementaryContainerG0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateOldIndexPath(in section: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 60, - "key.bodyoffset" : 4447, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "**Note**: This method is called _after_ the animation that removes\nsupplementary views from the collection view, so the ordering can be:\n\n1) `collectionViewWillDisplay` of new supplementary view\n2) We're moved to that new supplementary view.\n2) Collection view finishes animation\n3) `collectionViewDidEndDisplay` is called.\n\nBecause we manage the `HeaderFooter` view instances ourselves,\nand simply insert them into a whatever supplementary view the collection view\nis currently vending us, it's possible that `collectionViewWillDisplay`\nhas already assigned us a new supplementary view. Make sure the one\nwe're being asked to remove is the one we know about, otherwise, do nothing.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateOldIndexPath<\/decl.name>(in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 104, - "key.line" : 132, - "key.modulename" : "ListableUI", - "key.name" : "updateOldIndexPath(in:)", - "key.namelength" : 36, - "key.nameoffset" : 4409, - "key.offset" : 4404, - "key.parsed_declaration" : "func updateOldIndexPath(in section : Int)", - "key.parsed_scope.end" : 134, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.HeaderFooterViewStatePair) -> (Int) -> ()", - "key.typeusr" : "$s2inySi_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC18updateOldIndexPath2inySi_tF" - } - ], - "key.typename" : "PresentationState.HeaderFooterViewStatePair.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCmD", - "key.usr" : "s:10ListableUI17PresentationStateC016HeaderFooterViewD4PairC" - }, - { - "key.annotated_decl" : "final class HeaderFooterState<Content> : AnyPresentationHeaderFooterState<\/Type> where Content<\/Type> : HeaderFooterContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 4529 - } - ], - "key.bodylength" : 6082, - "key.bodyoffset" : 4628, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 32, - "key.offset" : 4590 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> HeaderFooterState<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyPresentationHeaderFooterState<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyPresentationHeaderFooterState" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 6176, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterState", - "key.namelength" : 17, - "key.nameoffset" : 4541, - "key.offset" : 4535, - "key.parsed_declaration" : "final class HeaderFooterState : AnyPresentationHeaderFooterState", - "key.parsed_scope.end" : 325, - "key.parsed_scope.start" : 138, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : HeaderFooterContent<\/Type><\/Declaration>", - "key.column" : 35, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 4567 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : HeaderFooterContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "HeaderFooterContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 27, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 4559, - "key.offset" : 4559, - "key.parsed_declaration" : "final class HeaderFooterStatevar model: HeaderFooter<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> model<\/decl.name>: HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 140, - "key.modulename" : "ListableUI", - "key.name" : "model", - "key.namelength" : 5, - "key.nameoffset" : 4641, - "key.offset" : 4637, - "key.parsed_declaration" : "var model : HeaderFooter", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "HeaderFooter", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C5modelAA0eF0VyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let performsContentCallbacks: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> performsContentCallbacks<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "performsContentCallbacks", - "key.namelength" : 24, - "key.nameoffset" : 4692, - "key.offset" : 4688, - "key.parsed_declaration" : "let performsContentCallbacks : Bool", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C24performsContentCallbacksSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(_ model: HeaderFooter<\/Type><Content<\/Type>>, kind: SupplementaryKind<\/Type>, performsContentCallbacks: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 138, - "key.bodyoffset" : 4900, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 290, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "init(_:kind:performsContentCallbacks:)", - "key.namelength" : 141, - "key.nameoffset" : 4749, - "key.offset" : 4749, - "key.parsed_declaration" : "init(\n _ model : HeaderFooter,\n kind: SupplementaryKind,\n performsContentCallbacks : Bool\n)", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.HeaderFooterState.Type) -> (HeaderFooter, SupplementaryKind, Bool) -> PresentationState.HeaderFooterState", - "key.typeusr" : "$s_4kind24performsContentCallbacks10ListableUI17PresentationStateC012HeaderFooterH0Cy_xGAC0iJ0VyxG_AC17SupplementaryKindOSbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C_4kind24performsContentCallbacksAEy_xGAA0eF0VyxG_AA17SupplementaryKindOSbtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 38, - "key.name" : "MARK: AnyPresentationHeaderFooterState", - "key.offset" : 5060 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var isDisplayed: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 5116 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> isDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "isDisplayed", - "key.namelength" : 11, - "key.nameoffset" : 5133, - "key.offset" : 5129, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP11isDisplayedSbvp" - } - ], - "key.parsed_declaration" : "private(set) var isDisplayed : Bool = false", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C11isDisplayedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var hasDisplayed: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5177 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "hasDisplayed", - "key.namelength" : 12, - "key.nameoffset" : 5189, - "key.offset" : 5185, - "key.parsed_declaration" : "private var hasDisplayed : Bool = false", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 159, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C12hasDisplayed33_82D05BE98CB32DA6F52803499B473A43LLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var hasEndedDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5225 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasEndedDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "hasEndedDisplay", - "key.namelength" : 15, - "key.nameoffset" : 5237, - "key.offset" : 5233, - "key.parsed_declaration" : "private var hasEndedDisplay : Bool = false", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C15hasEndedDisplay33_82D05BE98CB32DA6F52803499B473A43LLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setAndPerform(isDisplayed: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 935, - "key.bodyoffset" : 5324, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setAndPerform<\/decl.name>(isDisplayed<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 975, - "key.line" : 162, - "key.modulename" : "ListableUI", - "key.name" : "setAndPerform(isDisplayed:)", - "key.namelength" : 32, - "key.nameoffset" : 5290, - "key.offset" : 5285, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP13setAndPerform11isDisplayedySb_tF" - } - ], - "key.parsed_declaration" : "func setAndPerform(isDisplayed: Bool)", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (Bool) -> ()", - "key.typeusr" : "$s11isDisplayedySb_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C13setAndPerform11isDisplayedySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var anyModel: AnyHeaderFooter<\/Type> { get }<\/Declaration>", - "key.bodylength" : 39, - "key.bodyoffset" : 6309, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyModel<\/decl.name>: AnyHeaderFooter<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 71, - "key.line" : 192, - "key.modulename" : "ListableUI", - "key.name" : "anyModel", - "key.namelength" : 8, - "key.nameoffset" : 6282, - "key.offset" : 6278, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP8anyModelAA0ceF0_pvp" - } - ], - "key.parsed_declaration" : "var anyModel: AnyHeaderFooter", - "key.parsed_scope.end" : 194, - "key.parsed_scope.start" : 192, - "key.reusingastcontext" : false, - "key.typename" : "any AnyHeaderFooter", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C8anyModelAA03AnyeF0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var kind: SupplementaryKind<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 6367 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 6384, - "key.offset" : 6380, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP4kindAA17SupplementaryKindOvp" - } - ], - "key.parsed_declaration" : "private(set) var kind : SupplementaryKind", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C4kindAA17SupplementaryKindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndexPath: IndexPath<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 198, - "key.modulename" : "ListableUI", - "key.name" : "oldIndexPath", - "key.namelength" : 12, - "key.nameoffset" : 6430, - "key.offset" : 6426, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP12oldIndexPath10Foundation0iJ0VSgvp" - } - ], - "key.parsed_declaration" : "var oldIndexPath : IndexPath? = nil", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 198, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C12oldIndexPath10Foundation0hI0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var containsFirstResponder: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> containsFirstResponder<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 200, - "key.modulename" : "ListableUI", - "key.name" : "containsFirstResponder", - "key.namelength" : 22, - "key.nameoffset" : 6483, - "key.offset" : 6479, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP22containsFirstResponderSbvp" - } - ], - "key.parsed_declaration" : "var containsFirstResponder : Bool = false", - "key.parsed_scope.end" : 200, - "key.parsed_scope.start" : 200, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C22containsFirstResponderSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateOldIndexPath(in section: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 64, - "key.bodyoffset" : 6581, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateOldIndexPath<\/decl.name>(in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 108, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "updateOldIndexPath(in:)", - "key.namelength" : 36, - "key.nameoffset" : 6543, - "key.offset" : 6538, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP18updateOldIndexPath2inySi_tF" - } - ], - "key.parsed_declaration" : "func updateOldIndexPath(in section : Int)", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 202, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (Int) -> ()", - "key.typeusr" : "$s2inySi_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C18updateOldIndexPath2inySi_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func dequeueAndPrepareReusableHeaderFooterView(in cache: ReusableViewCache<\/Type>, frame: CGRect<\/Type>, environment: ListEnvironment<\/Type>) -> UIView<\/Type><\/Declaration>", - "key.bodylength" : 362, - "key.bodyoffset" : 6861, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> dequeueAndPrepareReusableHeaderFooterView<\/decl.name>(in<\/decl.var.parameter.argument_label> cache<\/decl.var.parameter.name>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIView<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 552, - "key.line" : 206, - "key.modulename" : "ListableUI", - "key.name" : "dequeueAndPrepareReusableHeaderFooterView(in:frame:environment:)", - "key.namelength" : 164, - "key.nameoffset" : 6677, - "key.offset" : 6672, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP025dequeueAndPrepareReusableeF4View2in5frame11environmentSo6UIViewCAA0kL5CacheC_So6CGRectVAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func dequeueAndPrepareReusableHeaderFooterView(\n in cache : ReusableViewCache,\n frame : CGRect,\n environment : ListEnvironment\n) -> UIView", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 206, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: HeaderFooterContentView<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: HeaderFooterContentView<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 133, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 6878, - "key.offset" : 6874, - "key.parsed_declaration" : "let view = cache.pop(with: self.model.reuseIdentifier) {\n HeaderFooterContentView(frame: frame)\n}", - "key.parsed_scope.end" : 212, - "key.parsed_scope.start" : 212, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentView", - "key.typeusr" : "$s10ListableUI23HeaderFooterContentViewCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C025dequeueAndPrepareReusableeF4View2in5frame11environmentSo6UIViewCAA0jK5CacheC_So6CGRectVAA15ListEnvironmentVtF4viewL_AA0ef7ContentK0CyxGvp" - } - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (ReusableViewCache, CGRect, ListEnvironment) -> UIView", - "key.typeusr" : "$s2in5frame11environmentSo6UIViewC10ListableUI17ReusableViewCacheC_So6CGRectVAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C025dequeueAndPrepareReusableeF4View2in5frame11environmentSo6UIViewCAA0jK5CacheC_So6CGRectVAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func enqueueReusableHeaderFooterView(_ view: UIView<\/Type>, in cache: ReusableViewCache<\/Type>)<\/Declaration>", - "key.bodylength" : 72, - "key.bodyoffset" : 7335, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> enqueueReusableHeaderFooterView<\/decl.name>(_<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> cache<\/decl.var.parameter.name>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 166, - "key.line" : 225, - "key.modulename" : "ListableUI", - "key.name" : "enqueueReusableHeaderFooterView(_:in:)", - "key.namelength" : 78, - "key.nameoffset" : 7247, - "key.offset" : 7242, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP015enqueueReusableeF4View_2inySo6UIViewC_AA0iJ5CacheCtF" - } - ], - "key.parsed_declaration" : "func enqueueReusableHeaderFooterView(_ view : UIView, in cache : ReusableViewCache)", - "key.parsed_scope.end" : 228, - "key.parsed_scope.start" : 225, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (UIView, ReusableViewCache) -> ()", - "key.typeusr" : "$s_2inySo6UIViewC_10ListableUI17ReusableViewCacheCtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C015enqueueReusableeF4View_2inySo6UIViewC_AA0hI5CacheCtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyTo(view: UIView<\/Type>, for reason: ApplyReason<\/Type>, with info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.bodylength" : 298, - "key.bodyoffset" : 7569, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyTo<\/decl.name>(view<\/decl.var.parameter.argument_label>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 442, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "applyTo(view:for:with:)", - "key.namelength" : 136, - "key.nameoffset" : 7431, - "key.offset" : 7426, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP7applyTo4view3for4withySo6UIViewC_AA11ApplyReasonOAA0neF11ContentInfoVtF" - } - ], - "key.parsed_declaration" : "func applyTo(\n view : UIView,\n for reason : ApplyReason,\n with info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 242, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: HeaderFooterContentView<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: HeaderFooterContentView<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 235, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 7586, - "key.offset" : 7582, - "key.parsed_declaration" : "let view = view as! HeaderFooterContentView", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 235, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentView", - "key.typeusr" : "$s10ListableUI23HeaderFooterContentViewCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C7applyTo4view3for4withySo6UIViewC_AA11ApplyReasonOAA0meF11ContentInfoVtFAGL0_AA0efO4ViewCyxGvp" - }, - { - "key.annotated_decl" : "let views: HeaderFooterContentViews<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> views<\/decl.name>: HeaderFooterContentViews<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 57, - "key.line" : 237, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 7664, - "key.offset" : 7660, - "key.parsed_declaration" : "let views = HeaderFooterContentViews(view: view)", - "key.parsed_scope.end" : 237, - "key.parsed_scope.start" : 237, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterContentViews", - "key.typeusr" : "$s10ListableUI24HeaderFooterContentViewsVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C7applyTo4view3for4withySo6UIViewC_AA11ApplyReasonOAA0meF11ContentInfoVtF5viewsL_AA0efO5ViewsVyxGvp" - } - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (UIView, ApplyReason, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s4view3for4withySo6UIViewC_10ListableUI11ApplyReasonOAF0G23HeaderFooterContentInfoVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C7applyTo4view3for4withySo6UIViewC_AA11ApplyReasonOAA0meF11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(new: AnyHeaderFooter<\/Type>, reason: ApplyReason<\/Type>, visibleView: UIView<\/Type>?, updateCallbacks: UpdateCallbacks<\/Type>, info: ApplyHeaderFooterContentInfo<\/Type>)<\/Declaration>", - "key.bodylength" : 733, - "key.bodyoffset" : 8106, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(new<\/decl.var.parameter.argument_label>: AnyHeaderFooter<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, visibleView<\/decl.var.parameter.argument_label>: UIView<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: ApplyHeaderFooterContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 954, - "key.line" : 244, - "key.modulename" : "ListableUI", - "key.name" : "set(new:reason:visibleView:updateCallbacks:info:)", - "key.namelength" : 213, - "key.nameoffset" : 7891, - "key.offset" : 7886, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP3set3new6reason11visibleView15updateCallbacks4infoyAA0ceF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateN0CAA0peF11ContentInfoVtF" - } - ], - "key.parsed_declaration" : "func set(\n new : AnyHeaderFooter,\n reason : ApplyReason,\n visibleView : UIView?,\n updateCallbacks : UpdateCallbacks,\n info : ApplyHeaderFooterContentInfo\n)", - "key.parsed_scope.end" : 271, - "key.parsed_scope.start" : 244, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: HeaderFooter<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: HeaderFooter<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 20, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 8123, - "key.offset" : 8119, - "key.parsed_declaration" : "let old = self.model", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 251, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooter", - "key.typeusr" : "$s10ListableUI12HeaderFooterVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C3set3new6reason11visibleView15updateCallbacks4infoyAA03AnyeF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateM0CAA0peF11ContentInfoVtF3oldL_AA0eF0VyxGvp" - }, - { - "key.annotated_decl" : "let isEquivalent: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isEquivalent<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 255, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent", - "key.namelength" : 12, - "key.nameoffset" : 8237, - "key.offset" : 8233, - "key.parsed_declaration" : "let isEquivalent = self.model.anyIsEquivalent(to: old)", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 255, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C3set3new6reason11visibleView15updateCallbacks4infoyAA03AnyeF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateM0CAA0peF11ContentInfoVtF12isEquivalentL_Sbvp" - }, - { - "key.annotated_decl" : "let wantsReapplication: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wantsReapplication<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 185, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "wantsReapplication", - "key.namelength" : 18, - "key.nameoffset" : 8317, - "key.offset" : 8313, - "key.parsed_declaration" : "let wantsReapplication = self.model.reappliesToVisibleView.shouldReapply(\n comparing: old.reappliesToVisibleView,\n isEquivalent: isEquivalent\n)", - "key.parsed_scope.end" : 257, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C3set3new6reason11visibleView15updateCallbacks4infoyAA03AnyeF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateM0CAA0peF11ContentInfoVtF18wantsReapplicationL_Sbvp" - } - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (any AnyHeaderFooter, ApplyReason, UIView?, UpdateCallbacks, ApplyHeaderFooterContentInfo) -> ()", - "key.typeusr" : "$s3new6reason11visibleView15updateCallbacks4infoy10ListableUI15AnyHeaderFooter_p_AF11ApplyReasonOSo6UIViewCSgAF06UpdateF0CAF0mkL11ContentInfoVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C3set3new6reason11visibleView15updateCallbacks4infoyAA03AnyeF0_p_AA11ApplyReasonOSo6UIViewCSgAA06UpdateM0CAA0peF11ContentInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var cachedSizes: [SizeKey<\/Type> : CGSize<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8858 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cachedSizes<\/decl.name>: [SizeKey<\/ref.struct> : CGSize<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 273, - "key.modulename" : "ListableUI", - "key.name" : "cachedSizes", - "key.namelength" : 11, - "key.nameoffset" : 8870, - "key.offset" : 8866, - "key.parsed_declaration" : "private var cachedSizes : [SizeKey:CGSize] = [:]", - "key.parsed_scope.end" : 273, - "key.parsed_scope.start" : 273, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[PresentationState.SizeKey : CGSize]", - "key.typeusr" : "$sSDy10ListableUI17PresentationStateC7SizeKeyVSo6CGSizeVGD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C11cachedSizes33_82D05BE98CB32DA6F52803499B473A43LLSDyAC7SizeKeyVSo6CGSizeVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetCachedSizes()<\/Declaration>", - "key.bodylength" : 50, - "key.bodyoffset" : 8957, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 84, - "key.line" : 275, - "key.modulename" : "ListableUI", - "key.name" : "resetCachedSizes()", - "key.namelength" : 18, - "key.nameoffset" : 8929, - "key.offset" : 8924, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP16resetCachedSizesyyF" - } - ], - "key.parsed_declaration" : "func resetCachedSizes()", - "key.parsed_scope.end" : 278, - "key.parsed_scope.start" : 275, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C16resetCachedSizesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func size(for info: Sizing<\/Type>.MeasureInfo<\/Type>, cache: ReusableViewCache<\/Type>, environment: ListEnvironment<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 1514, - "key.bodyoffset" : 9190, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, cache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1679, - "key.line" : 280, - "key.modulename" : "ListableUI", - "key.name" : "size(for:cache:environment:)", - "key.namelength" : 139, - "key.nameoffset" : 9031, - "key.offset" : 9026, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI32AnyPresentationHeaderFooterStateP4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func size(\n for info : Sizing.MeasureInfo,\n cache : ReusableViewCache,\n environment : ListEnvironment\n) -> CGSize", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 280, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let key: PresentationState<\/Type>.SizeKey<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.HeaderFooterState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> key<\/decl.name>: PresentationState<\/ref.class>.SizeKey<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 225, - "key.line" : 290, - "key.modulename" : "ListableUI", - "key.name" : "key", - "key.namelength" : 3, - "key.nameoffset" : 9325, - "key.offset" : 9321, - "key.parsed_declaration" : "let key = SizeKey(\n width: info.sizeConstraint.width,\n height: info.sizeConstraint.height,\n layoutDirection: info.direction,\n sizing: self.model.sizing\n)", - "key.parsed_scope.end" : 290, - "key.parsed_scope.start" : 290, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SizeKey", - "key.typeusr" : "$s10ListableUI17PresentationStateC7SizeKeyVD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF3keyL_AC7SizeKeyVvp" - } - ], - "key.typename" : " (PresentationState.HeaderFooterState) -> (Sizing.MeasureInfo, ReusableViewCache, ListEnvironment) -> CGSize", - "key.typeusr" : "$s3for5cache11environmentSo6CGSizeV10ListableUI6SizingO11MeasureInfoV_AF17ReusableViewCacheCAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - } - ], - "key.typename" : "PresentationState.HeaderFooterState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC012HeaderFooterD0Cy_xGmD", - "key.usr" : "s:10ListableUI17PresentationStateC012HeaderFooterD0C" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 22800, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol AnyPresentationItemState : AnyObject<\/Declaration>", - "key.bodylength" : 1818, - "key.bodyoffset" : 185, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 174 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> AnyPresentationItemState<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 1866, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "AnyPresentationItemState", - "key.namelength" : 24, - "key.nameoffset" : 147, - "key.offset" : 138, - "key.parsed_declaration" : "protocol AnyPresentationItemState : AnyObject", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isDisplayed: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 214, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "isDisplayed", - "key.namelength" : 11, - "key.nameoffset" : 194, - "key.offset" : 190, - "key.parsed_declaration" : "var isDisplayed : Bool", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP11isDisplayedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setAndPerform(isDisplayed: Bool<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setAndPerform<\/decl.name>(isDisplayed<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 37, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "setAndPerform(isDisplayed:)", - "key.namelength" : 32, - "key.nameoffset" : 230, - "key.offset" : 225, - "key.parsed_declaration" : "func setAndPerform(isDisplayed: Bool)", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Bool) -> ()", - "key.typeusr" : "$s11isDisplayedySb_tcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP13setAndPerform11isDisplayedySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var itemPosition: ItemPosition<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 305, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> itemPosition<\/decl.name>: ItemPosition<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "itemPosition", - "key.namelength" : 12, - "key.nameoffset" : 276, - "key.offset" : 272, - "key.parsed_declaration" : "var itemPosition : ItemPosition", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ItemPosition", - "key.typeusr" : "$s10ListableUI12ItemPositionOD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12itemPositionAA0eH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var anyModel: AnyItem<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 349, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyModel<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "anyModel", - "key.namelength" : 8, - "key.nameoffset" : 329, - "key.offset" : 325, - "key.parsed_declaration" : "var anyModel : AnyItem", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP8anyModelAA0cE0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var reorderingActions: ReorderingActions<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 408, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reorderingActions<\/decl.name>: ReorderingActions<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "reorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 369, - "key.offset" : 365, - "key.parsed_declaration" : "var reorderingActions : ReorderingActions", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReorderingActions", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP17reorderingActionsAA010ReorderingH0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var cellRegistrationInfo: (class: AnyClass<\/Type>, reuseIdentifier: String<\/Type>) { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 497, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> cellRegistrationInfo<\/decl.name>: (class<\/tuple.element.argument_label>: AnyClass<\/ref.typealias><\/tuple.element.type><\/tuple.element>, reuseIdentifier<\/tuple.element.argument_label>: String<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 75, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "cellRegistrationInfo", - "key.namelength" : 20, - "key.nameoffset" : 432, - "key.offset" : 428, - "key.parsed_declaration" : "var cellRegistrationInfo : (class:AnyClass, reuseIdentifier:String)", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(class: any AnyObject.Type, reuseIdentifier: String)", - "key.typeusr" : "$syXlXp5class_SS15reuseIdentifiertD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP20cellRegistrationInfoyXlXp5class_SS15reuseIdentifiertvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func dequeueAndPrepareCollectionViewCell(in collectionView: UICollectionView<\/Type>, for indexPath: IndexPath<\/Type>, environment: ListEnvironment<\/Type>) -> AnyItemCell<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> dequeueAndPrepareCollectionViewCell<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyItemCell<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 181, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "dequeueAndPrepareCollectionViewCell(in:for:environment:)", - "key.namelength" : 161, - "key.nameoffset" : 518, - "key.offset" : 513, - "key.parsed_declaration" : "func dequeueAndPrepareCollectionViewCell(\n in collectionView : UICollectionView,\n for indexPath : IndexPath,\n environment : ListEnvironment\n) -> AnyItemCell", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UICollectionView, IndexPath, ListEnvironment) -> any AnyItemCell", - "key.typeusr" : "$s2in3for11environment10ListableUI11AnyItemCell_pSo16UICollectionViewC_10Foundation9IndexPathVAD15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP35dequeueAndPrepareCollectionViewCell2in3for11environmentAA0ceL0_pSo012UICollectionK0C_10Foundation9IndexPathVAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyTo(cell anyCell: UICollectionViewCell<\/Type>, itemState: ListableUI.ItemState<\/Type>, reason: ApplyReason<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyTo<\/decl.name>(cell<\/decl.var.parameter.argument_label> anyCell<\/decl.var.parameter.name>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, itemState<\/decl.var.parameter.argument_label>: ListableUI.ItemState<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 174, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "applyTo(cell:itemState:reason:environment:)", - "key.namelength" : 169, - "key.nameoffset" : 709, - "key.offset" : 704, - "key.parsed_declaration" : "func applyTo(\n cell anyCell : UICollectionViewCell,\n itemState : ListableUI.ItemState,\n reason : ApplyReason,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UICollectionViewCell, ItemState, ApplyReason, ListEnvironment) -> ()", - "key.typeusr" : "$s4cell9itemState6reason11environmentySo20UICollectionViewCellC_10ListableUI04ItemC0VAG11ApplyReasonOAG15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP7applyTo4cell04itemF06reason11environmentySo20UICollectionViewCellC_AA0eF0VAA11ApplyReasonOAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyToVisibleCell(with environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyToVisibleCell<\/decl.name>(with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 59, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "applyToVisibleCell(with:)", - "key.namelength" : 54, - "key.nameoffset" : 893, - "key.offset" : 888, - "key.parsed_declaration" : "func applyToVisibleCell(with environment : ListEnvironment)", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListEnvironment) -> ()", - "key.typeusr" : "$s4withy10ListableUI15ListEnvironmentV_tcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP18applyToVisibleCell4withyAA15ListEnvironmentV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(new: AnyItem<\/Type>, reason: PresentationState<\/Type>.ItemUpdateReason<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(new<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.ItemUpdateReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 172, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "set(new:reason:updateCallbacks:environment:)", - "key.namelength" : 167, - "key.nameoffset" : 966, - "key.offset" : 961, - "key.parsed_declaration" : "func set(\n new : AnyItem,\n reason : PresentationState.ItemUpdateReason,\n updateCallbacks : UpdateCallbacks,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "set(isSelected:performCallbacks:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyItem, PresentationState.ItemUpdateReason, UpdateCallbacks, ListEnvironment) -> ()", - "key.typeusr" : "$s3new6reason15updateCallbacks11environmenty10ListableUI7AnyItem_p_AE17PresentationStateC0I12UpdateReasonOAE0lD0CAE15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP3set3new6reason15updateCallbacks11environmentyAA0cE0_p_AA0dF0C0E12UpdateReasonOAA0mK0CAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func willDisplay(cell: UICollectionViewCell<\/Type>, in collectionView: UICollectionView<\/Type>, for indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> willDisplay<\/decl.name>(cell<\/decl.var.parameter.argument_label>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 110, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "willDisplay(cell:in:for:)", - "key.namelength" : 105, - "key.nameoffset" : 1148, - "key.offset" : 1143, - "key.parsed_declaration" : "func willDisplay(cell : UICollectionViewCell, in collectionView : UICollectionView, for indexPath : IndexPath)", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UICollectionViewCell, UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s4cell2in3forySo20UICollectionViewCellC_So0dE0C10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP11willDisplay4cell2in3forySo20UICollectionViewCellC_So0lM0C10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func didEndDisplay()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> didEndDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 20, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "didEndDisplay()", - "key.namelength" : 15, - "key.nameoffset" : 1263, - "key.offset" : 1258, - "key.parsed_declaration" : "func didEndDisplay()", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP13didEndDisplayyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func wasRemoved(updateCallbacks: UpdateCallbacks<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasRemoved<\/decl.name>(updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 50, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "wasRemoved(updateCallbacks:)", - "key.namelength" : 45, - "key.nameoffset" : 1293, - "key.offset" : 1288, - "key.parsed_declaration" : "func wasRemoved(updateCallbacks : UpdateCallbacks)", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UpdateCallbacks) -> ()", - "key.typeusr" : "$s15updateCallbacksy10ListableUI06UpdateB0C_tcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10wasRemoved15updateCallbacksyAA06UpdateJ0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isSelected: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 1371, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isSelected<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "isSelected", - "key.namelength" : 10, - "key.nameoffset" : 1352, - "key.offset" : 1348, - "key.parsed_declaration" : "var isSelected : Bool", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10isSelectedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(isSelected: Bool<\/Type>, performCallbacks: Bool<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(isSelected<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, performCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 50, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "set(isSelected:performCallbacks:)", - "key.namelength" : 45, - "key.nameoffset" : 1387, - "key.offset" : 1382, - "key.parsed_declaration" : "func set(isSelected: Bool, performCallbacks: Bool)", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "set(new:reason:updateCallbacks:environment:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Bool, Bool) -> ()", - "key.typeusr" : "$s10isSelected16performCallbacksySb_SbtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP3set10isSelected16performCallbacksySb_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetCachedSizes()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 23, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "resetCachedSizes()", - "key.namelength" : 18, - "key.nameoffset" : 1447, - "key.offset" : 1442, - "key.parsed_declaration" : "func resetCachedSizes()", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP16resetCachedSizesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func size(for info: Sizing<\/Type>.MeasureInfo<\/Type>, cache: ReusableViewCache<\/Type>, environment: ListEnvironment<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, cache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 138, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "size(for:cache:environment:)", - "key.namelength" : 123, - "key.nameoffset" : 1480, - "key.offset" : 1475, - "key.parsed_declaration" : "func size(\n for info : Sizing.MeasureInfo,\n cache : ReusableViewCache,\n environment : ListEnvironment\n) -> CGSize", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Sizing.MeasureInfo, ReusableViewCache, ListEnvironment) -> CGSize", - "key.typeusr" : "$s3for5cache11environmentSo6CGSizeV10ListableUI6SizingO11MeasureInfoV_AF17ReusableViewCacheCAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func beginReorder(from originalIndexPath: IndexPath<\/Type>, with environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> beginReorder<\/decl.name>(from<\/decl.var.parameter.argument_label> originalIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 88, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "beginReorder(from:with:)", - "key.namelength" : 83, - "key.nameoffset" : 1628, - "key.offset" : 1623, - "key.parsed_declaration" : "func beginReorder(from originalIndexPath : IndexPath, with environment: ListEnvironment)", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (IndexPath, ListEnvironment) -> ()", - "key.typeusr" : "$s4from4withy10Foundation9IndexPathV_10ListableUI15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12beginReorder4from4withy10Foundation9IndexPathV_AA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func endReorder(with environment: ListEnvironment<\/Type>, result: ReorderingActions<\/Type>.Result<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> endReorder<\/decl.name>(with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, result<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class>.Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 85, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "endReorder(with:result:)", - "key.namelength" : 80, - "key.nameoffset" : 1721, - "key.offset" : 1716, - "key.parsed_declaration" : "func endReorder(with environment: ListEnvironment, result : ReorderingActions.Result)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 64, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListEnvironment, ReorderingActions.Result) -> ()", - "key.typeusr" : "$s4with6resulty10ListableUI15ListEnvironmentV_AC17ReorderingActionsC6ResultOtcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10endReorder4with6resultyAA15ListEnvironmentV_AA17ReorderingActionsC6ResultOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func performDidReorder(with result: ItemReordering<\/Type>.Result<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> performDidReorder<\/decl.name>(with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 67, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "performDidReorder(with:)", - "key.namelength" : 54, - "key.nameoffset" : 1811, - "key.offset" : 1806, - "key.parsed_declaration" : "func performDidReorder(with result : ItemReordering.Result) -> Bool", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemReordering.Result) -> Bool", - "key.typeusr" : "$s4withSb10ListableUI14ItemReorderingV6ResultV_tcD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP17performDidReorder4withSbAA0E10ReorderingV6ResultV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isReordering: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 1908, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isReordering<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "isReordering", - "key.namelength" : 12, - "key.nameoffset" : 1887, - "key.offset" : 1883, - "key.parsed_declaration" : "var isReordering : Bool", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12isReorderingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var activeReorderEventInfo: PresentationState<\/Type>.ActiveReorderEventInfo<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 1996, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> activeReorderEventInfo<\/decl.name>: PresentationState<\/ref.class>.ActiveReorderEventInfo<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 78, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "activeReorderEventInfo", - "key.namelength" : 22, - "key.nameoffset" : 1928, - "key.offset" : 1924, - "key.parsed_declaration" : "var activeReorderEventInfo : PresentationState.ActiveReorderEventInfo?", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 69, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.ActiveReorderEventInfo?", - "key.typeusr" : "$s10ListableUI17PresentationStateC22ActiveReorderEventInfoVSgD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP22activeReorderEventInfoAA0dF0C06ActivehiJ0VSgvp" - } - ], - "key.typename" : "AnyPresentationItemState.Type", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pmD", - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol ItemContentCoordinatorDelegate : AnyObject<\/Declaration>", - "key.bodylength" : 49, - "key.bodyoffset" : 2060, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2049 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> ItemContentCoordinatorDelegate<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 103, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentCoordinatorDelegate", - "key.namelength" : 30, - "key.nameoffset" : 2016, - "key.offset" : 2007, - "key.parsed_declaration" : "protocol ItemContentCoordinatorDelegate : AnyObject", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func coordinatorUpdated(for item: AnyItem<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> coordinatorUpdated<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 43, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorUpdated(for:)", - "key.namelength" : 38, - "key.nameoffset" : 2070, - "key.offset" : 2065, - "key.parsed_declaration" : "func coordinatorUpdated(for item : AnyItem)", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 75, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI30ItemContentCoordinatorDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyItem) -> ()", - "key.typeusr" : "$s3fory10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI30ItemContentCoordinatorDelegateP18coordinatorUpdated3foryAA03AnyC0_p_tF" - } - ], - "key.typename" : "ItemContentCoordinatorDelegate.Type", - "key.typeusr" : "$s10ListableUI30ItemContentCoordinatorDelegate_pmD", - "key.usr" : "s:10ListableUI30ItemContentCoordinatorDelegateP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemStateDependencies<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2113 - } - ], - "key.bodylength" : 186, - "key.bodyoffset" : 2150, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemStateDependencies<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 217, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "ItemStateDependencies", - "key.namelength" : 21, - "key.nameoffset" : 2127, - "key.offset" : 2120, - "key.parsed_declaration" : "public struct ItemStateDependencies", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 79, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var reorderingDelegate: ReorderingActionsDelegate<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 2155 - } - ], - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reorderingDelegate<\/decl.name>: ReorderingActionsDelegate<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "reorderingDelegate", - "key.namelength" : 18, - "key.nameoffset" : 2164, - "key.offset" : 2160, - "key.parsed_declaration" : "weak var reorderingDelegate : ReorderingActionsDelegate?", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(any ReorderingActionsDelegate)?", - "key.typeusr" : "$s10ListableUI25ReorderingActionsDelegate_pSgD", - "key.usr" : "s:10ListableUI21ItemStateDependenciesV18reorderingDelegateAA017ReorderingActionsG0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var coordinatorDelegate: ItemContentCoordinatorDelegate<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 2216 - } - ], - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> coordinatorDelegate<\/decl.name>: ItemContentCoordinatorDelegate<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 57, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorDelegate", - "key.namelength" : 19, - "key.nameoffset" : 2225, - "key.offset" : 2221, - "key.parsed_declaration" : "weak var coordinatorDelegate : ItemContentCoordinatorDelegate?", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(any ItemContentCoordinatorDelegate)?", - "key.typeusr" : "$s10ListableUI30ItemContentCoordinatorDelegate_pSgD", - "key.usr" : "s:10ListableUI21ItemStateDependenciesV19coordinatorDelegateAA0c18ContentCoordinatorG0_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var environmentProvider: () -> ListEnvironment<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> environmentProvider<\/decl.name>: () -> ListEnvironment<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "environmentProvider", - "key.namelength" : 19, - "key.nameoffset" : 2292, - "key.offset" : 2288, - "key.parsed_declaration" : "var environmentProvider : () -> ListEnvironment", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "() -> ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVycD", - "key.usr" : "s:10ListableUI21ItemStateDependenciesV19environmentProviderAA15ListEnvironmentVycvp" - } - ], - "key.typename" : "ItemStateDependencies.Type", - "key.typeusr" : "$s10ListableUI21ItemStateDependenciesVmD", - "key.usr" : "s:10ListableUI21ItemStateDependenciesV" - }, - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 19347, - "key.bodyoffset" : 2369, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 19377, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 2350, - "key.offset" : 2340, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 609, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "enum ItemUpdateReason : CaseIterable<\/Type><\/Declaration>", - "key.bodylength" : 120, - "key.bodyoffset" : 2416, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 12, - "key.offset" : 2398 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> ItemUpdateReason<\/decl.name> : CaseIterable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "CaseIterable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 163, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "ItemUpdateReason", - "key.namelength" : 16, - "key.nameoffset" : 2379, - "key.offset" : 2374, - "key.parsed_declaration" : "enum ItemUpdateReason : CaseIterable", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 2425, - "key.substructure" : [ - { - "key.annotated_decl" : "case moveFromList<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> moveFromList<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "moveFromList", - "key.namelength" : 12, - "key.nameoffset" : 2430, - "key.offset" : 2430, - "key.parsed_declaration" : "case moveFromList", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.ItemUpdateReason.Type) -> PresentationState.ItemUpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC16ItemUpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC16ItemUpdateReasonO12moveFromListyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 2451, - "key.substructure" : [ - { - "key.annotated_decl" : "case updateFromList<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> updateFromList<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "updateFromList", - "key.namelength" : 14, - "key.nameoffset" : 2456, - "key.offset" : 2456, - "key.parsed_declaration" : "case updateFromList", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.ItemUpdateReason.Type) -> PresentationState.ItemUpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC16ItemUpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC16ItemUpdateReasonO14updateFromListyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 30, - "key.offset" : 2479, - "key.substructure" : [ - { - "key.annotated_decl" : "case updateFromItemCoordinator<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> updateFromItemCoordinator<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 25, - "key.line" : 94, - "key.modulename" : "ListableUI", - "key.name" : "updateFromItemCoordinator", - "key.namelength" : 25, - "key.nameoffset" : 2484, - "key.offset" : 2484, - "key.parsed_declaration" : "case updateFromItemCoordinator", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 94, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.ItemUpdateReason.Type) -> PresentationState.ItemUpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC16ItemUpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC16ItemUpdateReasonO010updateFromE11CoordinatoryA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 2518, - "key.substructure" : [ - { - "key.annotated_decl" : "case noChange<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> noChange<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "noChange", - "key.namelength" : 8, - "key.nameoffset" : 2523, - "key.offset" : 2523, - "key.parsed_declaration" : "case noChange", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.ItemUpdateReason.Type) -> PresentationState.ItemUpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC16ItemUpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC16ItemUpdateReasonO8noChangeyA2EmF" - } - ] - } - ], - "key.typename" : "PresentationState.ItemUpdateReason.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC16ItemUpdateReasonOmD", - "key.usr" : "s:10ListableUI17PresentationStateC16ItemUpdateReasonO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ActiveReorderEventInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2547 - } - ], - "key.bodylength" : 47, - "key.bodyoffset" : 2585, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ActiveReorderEventInfo<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 79, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "ActiveReorderEventInfo", - "key.namelength" : 22, - "key.nameoffset" : 2561, - "key.offset" : 2554, - "key.parsed_declaration" : "public struct ActiveReorderEventInfo", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var originalIndexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> originalIndexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "originalIndexPath", - "key.namelength" : 17, - "key.nameoffset" : 2598, - "key.offset" : 2594, - "key.parsed_declaration" : "var originalIndexPath : IndexPath", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI17PresentationStateC22ActiveReorderEventInfoV17originalIndexPath10Foundation0jK0Vvp" - } - ], - "key.typename" : "PresentationState.ActiveReorderEventInfo.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC22ActiveReorderEventInfoVmD", - "key.usr" : "s:10ListableUI17PresentationStateC22ActiveReorderEventInfoV" - }, - { - "key.annotated_decl" : "final class ItemState<Content> : AnyPresentationItemState<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 2643 - } - ], - "key.bodylength" : 18996, - "key.bodyoffset" : 2718, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 2688 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemState<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyPresentationItemState<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyPresentationItemState" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 19066, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "ItemState", - "key.namelength" : 9, - "key.nameoffset" : 2655, - "key.offset" : 2649, - "key.parsed_declaration" : "final class ItemState : AnyPresentationItemState", - "key.parsed_scope.end" : 608, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 2673 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 2665, - "key.offset" : 2665, - "key.parsed_declaration" : "final class ItemStatevar model: Item<\/Type><Content<\/Type>> { get }<\/Declaration>", - "key.bodylength" : 40, - "key.bodyoffset" : 2754, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> model<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 68, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "model", - "key.namelength" : 5, - "key.nameoffset" : 2731, - "key.offset" : 2727, - "key.parsed_declaration" : "var model : Item", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C5modelAA0E0VyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let performsContentCallbacks: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> performsContentCallbacks<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 108, - "key.modulename" : "ListableUI", - "key.name" : "performsContentCallbacks", - "key.namelength" : 24, - "key.nameoffset" : 2817, - "key.offset" : 2813, - "key.parsed_declaration" : "let performsContentCallbacks : Bool", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C24performsContentCallbacksSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var coordination: Coordination<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2866 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> coordination<\/decl.name>: Coordination<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "coordination", - "key.namelength" : 12, - "key.nameoffset" : 2883, - "key.offset" : 2879, - "key.parsed_declaration" : "private(set) var coordination : Coordination", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "PresentationState.ItemState.Coordination", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C12CoordinationVy_x_GD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12coordinationAE12CoordinationVy_x_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>>.Coordination<\/Declaration>", - "key.bodylength" : 197, - "key.bodyoffset" : 2949, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>>.Coordination<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 219, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "Coordination", - "key.namelength" : 12, - "key.nameoffset" : 2935, - "key.offset" : 2928, - "key.parsed_declaration" : "struct Coordination", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 112, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var coordinator: Content<\/Type>.Coordinator<\/Type>?<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> coordinator<\/decl.name>: Content<\/ref.generic_type_param>.Coordinator<\/ref.associatedtype>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "coordinator", - "key.namelength" : 11, - "key.nameoffset" : 2966, - "key.offset" : 2962, - "key.parsed_declaration" : "var coordinator : Content.Coordinator?", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Content.Coordinator?", - "key.typeusr" : "$s11CoordinatorQzSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12CoordinationV11coordinator11CoordinatorQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let actions: ItemContentCoordinatorActions<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> actions<\/decl.name>: ItemContentCoordinatorActions<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 3030, - "key.offset" : 3026, - "key.parsed_declaration" : "let actions : ItemContentCoordinatorActions", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorActions", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12CoordinationV7actionsAA0E25ContentCoordinatorActionsCyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let info: ItemContentCoordinatorInfo<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> info<\/decl.name>: ItemContentCoordinatorInfo<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 3095, - "key.offset" : 3091, - "key.parsed_declaration" : "let info : ItemContentCoordinatorInfo", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorInfo", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12CoordinationV4infoAA0E22ContentCoordinatorInfoCyxGvp" - } - ], - "key.typename" : "PresentationState.ItemState.Coordination.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C12CoordinationVy_x_GmD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12CoordinationV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let reorderingActions: ReorderingActions<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> reorderingActions<\/decl.name>: ReorderingActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "reorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 3169, - "key.offset" : 3165, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP17reorderingActionsAA010ReorderingH0Cvp" - } - ], - "key.parsed_declaration" : "let reorderingActions: ReorderingActions", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "ReorderingActions", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C17reorderingActionsAA010ReorderingG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var itemPosition: ItemPosition<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> itemPosition<\/decl.name>: ItemPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "itemPosition", - "key.namelength" : 12, - "key.nameoffset" : 3227, - "key.offset" : 3223, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12itemPositionAA0eH0Ovp" - } - ], - "key.parsed_declaration" : "var itemPosition : ItemPosition", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ItemPosition", - "key.typeusr" : "$s10ListableUI12ItemPositionOD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12itemPositionAA0eG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let storage: Storage<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> storage<\/decl.name>: Storage<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 123, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 3276, - "key.offset" : 3272, - "key.parsed_declaration" : "let storage : Storage", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 123, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.ItemState.Storage", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C7StorageCy_x_GD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7storageAE7StorageCy_x_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(with model: Item<\/Type><Content<\/Type>>, dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, performsContentCallbacks: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 3034, - "key.bodyoffset" : 3509, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, dependencies<\/decl.var.parameter.argument_label>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3233, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "init(with:dependencies:updateCallbacks:performsContentCallbacks:)", - "key.namelength" : 196, - "key.nameoffset" : 3311, - "key.offset" : 3311, - "key.parsed_declaration" : "init(\n with model : Item,\n dependencies : ItemStateDependencies,\n updateCallbacks : UpdateCallbacks,\n performsContentCallbacks : Bool\n)", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let storage: PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>>.Storage<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> storage<\/decl.name>: PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>>.Storage<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 28, - "key.line" : 136, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 3757, - "key.offset" : 3753, - "key.parsed_declaration" : "let storage = Storage(model)", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.ItemState.Storage", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C7StorageCy_x_GD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc7storageL_AE7StorageCy_x_Gvp" - }, - { - "key.annotated_decl" : "let actions: ItemContentCoordinatorActions<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> actions<\/decl.name>: ItemContentCoordinatorActions<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 406, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 3940, - "key.offset" : 3936, - "key.parsed_declaration" : "let actions = ItemContentCoordinatorActions(\n current: { storage.model },\n update: { new, _ in\n \n \/\/\/ This is a temporary update callback, in case the initialization of the\n \/\/\/ coordinator causes an update to the item itself.\n \n storage.model = new\n }\n)", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorActions", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc7actionsL_AA0eK18CoordinatorActionsCyxGvp" - }, - { - "key.annotated_decl" : "let info: ItemContentCoordinatorInfo<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "This is a temporary update callback, in case the initialization of the\ncoordinator causes an update to the item itself.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> info<\/decl.name>: ItemContentCoordinatorInfo<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 136, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 4360, - "key.offset" : 4356, - "key.parsed_declaration" : "let info = ItemContentCoordinatorInfo(\n original: storage.model,\n current: { storage.model }\n)", - "key.parsed_scope.end" : 152, - "key.parsed_scope.start" : 152, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorInfo", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc4infoL_AA0eK15CoordinatorInfoCyxGvp" - }, - { - "key.annotated_decl" : "let coordinator: Content<\/Type>.Coordinator<\/Type>?<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> coordinator<\/decl.name>: Content<\/ref.generic_type_param>.Coordinator<\/ref.associatedtype>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 115, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "coordinator", - "key.namelength" : 11, - "key.nameoffset" : 4522, - "key.offset" : 4518, - "key.parsed_declaration" : "let coordinator = self.performsContentCallbacks ? model.content.makeCoordinator(actions: actions, info: info) : nil", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.reusingastcontext" : false, - "key.typename" : "Content.Coordinator?", - "key.typeusr" : "$s11CoordinatorQzSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc11coordinatorL_11CoordinatorQzSgvp" - }, - { - "key.annotated_decl" : "weak var coordinatorDelegate: (any ItemContentCoordinatorDelegate<\/Type>)?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 5219 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Now that the presentation state is entirely configured, set up the final\nupdate callback, which triggers a `setNew` call, alongside informing the\n`listView` that changes have occurred.", - "key.doc.column" : 22, - "key.doc.comment" : "Now that the presentation state is entirely configured, set up the final\nupdate callback, which triggers a `setNew` call, alongside informing the\n`listView` that changes have occurred.", - "key.doc.declaration" : "weak var coordinatorDelegate: (any ListableUI.ItemContentCoordinatorDelegate)?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.doc.full_as_xml" : "coordinatorDelegate<\/Name>s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc19coordinatorDelegateL_AA0ek11CoordinatorO0_pSgvp<\/USR>weak var coordinatorDelegate: (any ListableUI.ItemContentCoordinatorDelegate)?<\/Declaration>Now that the presentation state is entirely configured, set up the final update callback, which triggers a setNew<\/codeVoice> call, alongside informing the listView<\/codeVoice> that changes have occurred.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 172, - "key.doc.name" : "coordinatorDelegate", - "key.doc.type" : "Other", - "key.doclength" : 221, - "key.docoffset" : 4973, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> coordinatorDelegate<\/decl.name>: (any ItemContentCoordinatorDelegate<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 58, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorDelegate", - "key.namelength" : 19, - "key.nameoffset" : 5228, - "key.offset" : 5224, - "key.parsed_declaration" : "weak var coordinatorDelegate = dependencies.coordinatorDelegate", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "(any ItemContentCoordinatorDelegate)?", - "key.typeusr" : "$s10ListableUI30ItemContentCoordinatorDelegate_pSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc19coordinatorDelegateL_AA0ek11CoordinatorO0_pSgvp" - }, - { - "key.annotated_decl" : "weak var `self`: PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 5354 - } - ], - "key.column" : 64, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `self`<\/decl.name>: PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 4, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.namelength" : 4, - "key.nameoffset" : 5359, - "key.offset" : 5359, - "key.parsed_declaration" : "self.coordination.actions.updateCallback = { [weak self", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.secondary_symbols" : [ - { - "key.annotated_decl" : "let `self`: PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> `self`<\/decl.var.parameter.name>: PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.is_synthesized" : true, - "key.kind" : "source.lang.swift.ref.var.local", - "key.length" : 4, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.offset" : 3311, - "key.parent_loc" : 3311, - "key.typename" : "PresentationState.ItemState", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc4selfL_AJvp" - } - ], - "key.typename" : "PresentationState.ItemState?", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc4selfL0_AJSgvp" - }, - { - "key.annotated_decl" : "weak var coordinatorDelegate: (any ItemContentCoordinatorDelegate<\/Type>)?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 5365 - } - ], - "key.column" : 75, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> coordinatorDelegate<\/decl.name>: (any ItemContentCoordinatorDelegate<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 19, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorDelegate", - "key.namelength" : 19, - "key.nameoffset" : 5370, - "key.offset" : 5370, - "key.parsed_declaration" : "self.coordination.actions.updateCallback = { [weak self, weak coordinatorDelegate", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.secondary_symbols" : [ - { - "key.annotated_decl" : "weak var coordinatorDelegate: (any ItemContentCoordinatorDelegate<\/Type>)?<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Now that the presentation state is entirely configured, set up the final\nupdate callback, which triggers a `setNew` call, alongside informing the\n`listView` that changes have occurred.", - "key.doc.full_as_xml" : "coordinatorDelegate<\/Name>s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc19coordinatorDelegateL_AA0ek11CoordinatorO0_pSgvp<\/USR>weak var coordinatorDelegate: (any ListableUI.ItemContentCoordinatorDelegate)?<\/Declaration>Now that the presentation state is entirely configured, set up the final update callback, which triggers a setNew<\/codeVoice> call, alongside informing the listView<\/codeVoice> that changes have occurred.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> coordinatorDelegate<\/decl.name>: (any ItemContentCoordinatorDelegate<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.ref.var.local", - "key.length" : 19, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorDelegate", - "key.offset" : 5228, - "key.typename" : "(any ItemContentCoordinatorDelegate)?", - "key.typeusr" : "$s10ListableUI30ItemContentCoordinatorDelegate_pSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc19coordinatorDelegateL_AA0ek11CoordinatorO0_pSgvp" - } - ], - "key.typename" : "(any ItemContentCoordinatorDelegate)?", - "key.typeusr" : "$s10ListableUI30ItemContentCoordinatorDelegate_pSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc19coordinatorDelegateL0_AA0ek11CoordinatorO0_pSgvp" - }, - { - "key.annotated_decl" : "weak var `self`: PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 6110 - } - ], - "key.column" : 48, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `self`<\/decl.name>: PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 4, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.namelength" : 4, - "key.nameoffset" : 6115, - "key.offset" : 6115, - "key.parsed_declaration" : "self.storage.didSetState = { [weak self", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.secondary_symbols" : [ - { - "key.annotated_decl" : "let `self`: PresentationState<\/Type>.ItemState<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> `self`<\/decl.var.parameter.name>: PresentationState<\/ref.class>.ItemState<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.is_synthesized" : true, - "key.kind" : "source.lang.swift.ref.var.local", - "key.length" : 4, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.offset" : 3311, - "key.parent_loc" : 3311, - "key.typename" : "PresentationState.ItemState", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc4selfL_AJvp" - } - ], - "key.typename" : "PresentationState.ItemState?", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc4selfL1_AJSgvp" - } - ], - "key.typename" : " (PresentationState.ItemState.Type) -> (Item, ItemStateDependencies, UpdateCallbacks, Bool) -> PresentationState.ItemState", - "key.typeusr" : "$s4with12dependencies15updateCallbacks015performsContentD010ListableUI17PresentationStateC04ItemJ0Cy_xGAE0K0VyxG_AE0kJ12DependenciesVAE06UpdateD0CSbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4with12dependencies15updateCallbacks015performsContentI0AEy_xGAA0E0VyxG_AA0eD12DependenciesVAA06UpdateI0CSbtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: AnyPresentationItemState", - "key.offset" : 6565 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var isDisplayed: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 6613 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Now that we are set up, notify callbacks.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> isDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "isDisplayed", - "key.namelength" : 11, - "key.nameoffset" : 6630, - "key.offset" : 6626, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP11isDisplayedSbvp" - } - ], - "key.parsed_declaration" : "private(set) var isDisplayed : Bool = false", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 207, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C11isDisplayedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var hasDisplayed: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6674 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasDisplayed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 209, - "key.modulename" : "ListableUI", - "key.name" : "hasDisplayed", - "key.namelength" : 12, - "key.nameoffset" : 6686, - "key.offset" : 6682, - "key.parsed_declaration" : "private var hasDisplayed : Bool = false", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 209, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12hasDisplayed33_076717420F7F254B8CDE903FAA9017F4LLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var hasEndedDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6722 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasEndedDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "hasEndedDisplay", - "key.namelength" : 15, - "key.nameoffset" : 6734, - "key.offset" : 6730, - "key.parsed_declaration" : "private var hasEndedDisplay : Bool = false", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 210, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C15hasEndedDisplay33_076717420F7F254B8CDE903FAA9017F4LLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setAndPerform(isDisplayed: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 919, - "key.bodyoffset" : 6821, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setAndPerform<\/decl.name>(isDisplayed<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 959, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "setAndPerform(isDisplayed:)", - "key.namelength" : 32, - "key.nameoffset" : 6787, - "key.offset" : 6782, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP13setAndPerform11isDisplayedySb_tF" - } - ], - "key.parsed_declaration" : "func setAndPerform(isDisplayed: Bool)", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 212, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (Bool) -> ()", - "key.typeusr" : "$s11isDisplayedySb_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C13setAndPerform11isDisplayedySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var anyModel: AnyItem<\/Type> { get }<\/Declaration>", - "key.bodylength" : 39, - "key.bodyoffset" : 7791, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyModel<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 64, - "key.line" : 242, - "key.modulename" : "ListableUI", - "key.name" : "anyModel", - "key.namelength" : 8, - "key.nameoffset" : 7771, - "key.offset" : 7767, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP8anyModelAA0cE0_pvp" - } - ], - "key.parsed_declaration" : "var anyModel : AnyItem", - "key.parsed_scope.end" : 244, - "key.parsed_scope.start" : 242, - "key.reusingastcontext" : false, - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C8anyModelAA03AnyE0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var cellRegistrationInfo: (class: AnyClass<\/Type>, reuseIdentifier: String<\/Type>)<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> cellRegistrationInfo<\/decl.name>: (class<\/tuple.element.argument_label>: AnyClass<\/ref.typealias><\/tuple.element.type><\/tuple.element>, reuseIdentifier<\/tuple.element.argument_label>: String<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 67, - "key.line" : 246, - "key.modulename" : "ListableUI", - "key.name" : "cellRegistrationInfo", - "key.namelength" : 20, - "key.nameoffset" : 7853, - "key.offset" : 7849, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP20cellRegistrationInfoyXlXp5class_SS15reuseIdentifiertvp" - } - ], - "key.parsed_declaration" : "var cellRegistrationInfo : (class:AnyClass, reuseIdentifier:String)", - "key.parsed_scope.end" : 246, - "key.parsed_scope.start" : 246, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(class: any AnyObject.Type, reuseIdentifier: String)", - "key.typeusr" : "$syXlXp5class_SS15reuseIdentifiertD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C20cellRegistrationInfoyXlXp5class_SS15reuseIdentifiertvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func dequeueAndPrepareCollectionViewCell(in collectionView: UICollectionView<\/Type>, for indexPath: IndexPath<\/Type>, environment: ListEnvironment<\/Type>) -> AnyItemCell<\/Type><\/Declaration>", - "key.bodylength" : 602, - "key.bodyoffset" : 8141, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> dequeueAndPrepareCollectionViewCell<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyItemCell<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 810, - "key.line" : 248, - "key.modulename" : "ListableUI", - "key.name" : "dequeueAndPrepareCollectionViewCell(in:for:environment:)", - "key.namelength" : 177, - "key.nameoffset" : 7939, - "key.offset" : 7934, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP35dequeueAndPrepareCollectionViewCell2in3for11environmentAA0ceL0_pSo012UICollectionK0C_10Foundation9IndexPathVAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func dequeueAndPrepareCollectionViewCell(\n in collectionView : UICollectionView,\n for indexPath : IndexPath,\n environment : ListEnvironment\n) -> AnyItemCell", - "key.parsed_scope.end" : 270, - "key.parsed_scope.start" : 248, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let anyCell: UICollectionViewCell<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> anyCell<\/decl.name>: UICollectionViewCell<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 128, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "anyCell", - "key.namelength" : 7, - "key.nameoffset" : 8158, - "key.offset" : 8154, - "key.parsed_declaration" : "let anyCell = collectionView.dequeueReusableCell(withReuseIdentifier: self.cellRegistrationInfo.reuseIdentifier, for: indexPath)", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 254, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewCell", - "key.typeusr" : "$sSo20UICollectionViewCellCD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C35dequeueAndPrepareCollectionViewCell2in3for11environmentAA03AnyeK0_pSo012UICollectionJ0C_10Foundation9IndexPathVAA15ListEnvironmentVtF03anyK0L_So0pjK0Cvp" - }, - { - "key.annotated_decl" : "let cell: ItemCell<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: ItemCell<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 256, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 8312, - "key.offset" : 8308, - "key.parsed_declaration" : "let cell = anyCell as! ItemCell", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 256, - "key.reusingastcontext" : false, - "key.typename" : "ItemCell", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C35dequeueAndPrepareCollectionViewCell2in3for11environmentAA03AnyeK0_pSo012UICollectionJ0C_10Foundation9IndexPathVAA15ListEnvironmentVtF4cellL_AA0eK0CyxGvp" - }, - { - "key.annotated_decl" : "let itemState: ItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemState<\/decl.name>: ItemState<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 69, - "key.line" : 260, - "key.modulename" : "ListableUI", - "key.name" : "itemState", - "key.namelength" : 9, - "key.nameoffset" : 8434, - "key.offset" : 8430, - "key.parsed_declaration" : "let itemState = ListableUI.ItemState(cell: cell, isReordering: false)", - "key.parsed_scope.end" : 260, - "key.parsed_scope.start" : 260, - "key.reusingastcontext" : false, - "key.typename" : "ItemState", - "key.typeusr" : "$s10ListableUI9ItemStateVD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C35dequeueAndPrepareCollectionViewCell2in3for11environmentAA03AnyeK0_pSo012UICollectionJ0C_10Foundation9IndexPathVAA15ListEnvironmentVtF04itemD0L_AaDVvp" - } - ], - "key.typename" : " (PresentationState.ItemState) -> (UICollectionView, IndexPath, ListEnvironment) -> any AnyItemCell", - "key.typeusr" : "$s2in3for11environment10ListableUI11AnyItemCell_pSo16UICollectionViewC_10Foundation9IndexPathVAD15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C35dequeueAndPrepareCollectionViewCell2in3for11environmentAA03AnyeK0_pSo012UICollectionJ0C_10Foundation9IndexPathVAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyTo(cell anyCell: UICollectionViewCell<\/Type>, itemState: ListableUI.ItemState<\/Type>, reason: ApplyReason<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 3501, - "key.bodyoffset" : 8958, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyTo<\/decl.name>(cell<\/decl.var.parameter.argument_label> anyCell<\/decl.var.parameter.name>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, itemState<\/decl.var.parameter.argument_label>: ListableUI.ItemState<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3698, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "applyTo(cell:itemState:reason:environment:)", - "key.namelength" : 189, - "key.nameoffset" : 8767, - "key.offset" : 8762, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP7applyTo4cell04itemF06reason11environmentySo20UICollectionViewCellC_AA0eF0VAA11ApplyReasonOAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func applyTo(\n cell anyCell : UICollectionViewCell,\n itemState : ListableUI.ItemState,\n reason : ApplyReason,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 357, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let cell: ItemCell<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: ItemCell<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 8975, - "key.offset" : 8971, - "key.parsed_declaration" : "let cell = anyCell as! ItemCell", - "key.parsed_scope.end" : 278, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.typename" : "ItemCell", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7applyTo4cell04itemD06reason11environmentySo20UICollectionViewCellC_AaDVAA11ApplyReasonOAA15ListEnvironmentVtFAGL_AA0eN0CyxGvp" - }, - { - "key.annotated_decl" : "let applyInfo: ApplyItemContentInfo<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> applyInfo<\/decl.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 1910, - "key.line" : 280, - "key.modulename" : "ListableUI", - "key.name" : "applyInfo", - "key.namelength" : 9, - "key.nameoffset" : 9041, - "key.offset" : 9037, - "key.parsed_declaration" : "let applyInfo = ApplyItemContentInfo(\n state: itemState,\n position: self.itemPosition,\n reorderingActions: self.reorderingActions,\n showLeadingSwipeActions: { [weak cell, weak self] in\n guard let cell, let self else { return }\n \n guard let swipeActions = self.model.leadingSwipeActions else {\n assertionFailure(\"Cannot showLeadingSwipeActions for `\\(self.model.identifier)`, as no swipe actions have been provided.\")\n return\n }\n \n guard swipeActions.actions.isEmpty == false else {\n assertionFailure(\"Cannot showLeadingSwipeActions for `\\(self.model.identifier)`, as no swipe actions have been provided.\")\n return\n }\n \n cell.openLeadingSwipeActions()\n },\n showTrailingSwipeActions: { [weak cell, weak self] in\n guard let cell, let self else { return }\n \n guard let swipeActions = self.model.trailingSwipeActions else {\n assertionFailure(\"Cannot showTrailingSwipeActions for `\\(self.model.identifier)`, as no swipe actions have been provided.\")\n return\n }\n \n guard swipeActions.actions.isEmpty == false else {\n assertionFailure(\"Cannot showTrailingSwipeActions for `\\(self.model.identifier)`, as no swipe actions have been provided.\")\n return\n }\n\n cell.openTrailingSwipeActions()\n },\n isReorderable: self.model.reordering != nil,\n environment: environment\n)", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 280, - "key.reusingastcontext" : false, - "key.typename" : "ApplyItemContentInfo", - "key.typeusr" : "$s10ListableUI20ApplyItemContentInfoVD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7applyTo4cell04itemD06reason11environmentySo20UICollectionViewCellC_AaDVAA11ApplyReasonOAA15ListEnvironmentVtF0F4InfoL_AA0oe7ContentS0Vvp" - } - ], - "key.typename" : " (PresentationState.ItemState) -> (UICollectionViewCell, ItemState, ApplyReason, ListEnvironment) -> ()", - "key.typeusr" : "$s4cell9itemState6reason11environmentySo20UICollectionViewCellC_10ListableUI04ItemC0VAG11ApplyReasonOAG15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7applyTo4cell04itemD06reason11environmentySo20UICollectionViewCellC_AaDVAA11ApplyReasonOAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func applyToVisibleCell(with environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 351, - "key.bodyoffset" : 12547, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> applyToVisibleCell<\/decl.name>(with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 421, - "key.line" : 359, - "key.modulename" : "ListableUI", - "key.name" : "applyToVisibleCell(with:)", - "key.namelength" : 54, - "key.nameoffset" : 12483, - "key.offset" : 12478, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP18applyToVisibleCell4withyAA15ListEnvironmentV_tF" - } - ], - "key.parsed_declaration" : "func applyToVisibleCell(with environment : ListEnvironment)", - "key.parsed_scope.end" : 371, - "key.parsed_scope.start" : 359, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (ListEnvironment) -> ()", - "key.typeusr" : "$s4withy10ListableUI15ListEnvironmentV_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C18applyToVisibleCell4withyAA15ListEnvironmentV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(new: AnyItem<\/Type>, reason: PresentationState<\/Type>.ItemUpdateReason<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 1782, - "key.bodyoffset" : 13119, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(new<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.ItemUpdateReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1985, - "key.line" : 373, - "key.modulename" : "ListableUI", - "key.name" : "set(new:reason:updateCallbacks:environment:)", - "key.namelength" : 187, - "key.nameoffset" : 12922, - "key.offset" : 12917, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP3set3new6reason15updateCallbacks11environmentyAA0cE0_p_AA0dF0C0E12UpdateReasonOAA0mK0CAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func set(\n new : AnyItem,\n reason : PresentationState.ItemUpdateReason,\n updateCallbacks : UpdateCallbacks,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 373, - "key.related_decls" : [ - { - "key.annotated_decl" : "set(isSelected:performCallbacks:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: Item<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 20, - "key.line" : 380, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 13136, - "key.offset" : 13132, - "key.parsed_declaration" : "let old = self.model", - "key.parsed_scope.end" : 380, - "key.parsed_scope.start" : 380, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C3set3new6reason15updateCallbacks11environmentyAA03AnyE0_p_AC0E12UpdateReasonOAA0mJ0CAA15ListEnvironmentVtF3oldL_AA0E0VyxGvp" - }, - { - "key.annotated_decl" : "let new: Item<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 381, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 13169, - "key.offset" : 13165, - "key.parsed_declaration" : "let new = new as! Item", - "key.parsed_scope.end" : 381, - "key.parsed_scope.start" : 381, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C3set3new6reason15updateCallbacks11environmentyAA03AnyE0_p_AC0E12UpdateReasonOAA0mJ0CAA15ListEnvironmentVtFAGL0_AA0E0VyxGvp" - }, - { - "key.annotated_decl" : "let wantsReapplication: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wantsReapplication<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 192, - "key.line" : 415, - "key.modulename" : "ListableUI", - "key.name" : "wantsReapplication", - "key.namelength" : 18, - "key.nameoffset" : 14509, - "key.offset" : 14505, - "key.parsed_declaration" : "let wantsReapplication = self.model.reappliesToVisibleView.shouldReapply(\n comparing: old.reappliesToVisibleView,\n isEquivalent: reason == .noChange\n)", - "key.parsed_scope.end" : 415, - "key.parsed_scope.start" : 415, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C3set3new6reason15updateCallbacks11environmentyAA03AnyE0_p_AC0E12UpdateReasonOAA0mJ0CAA15ListEnvironmentVtF18wantsReapplicationL_Sbvp" - } - ], - "key.typename" : " (PresentationState.ItemState) -> (any AnyItem, PresentationState.ItemUpdateReason, UpdateCallbacks, ListEnvironment) -> ()", - "key.typeusr" : "$s3new6reason15updateCallbacks11environmenty10ListableUI7AnyItem_p_AE17PresentationStateC0I12UpdateReasonOAE0lD0CAE15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C3set3new6reason15updateCallbacks11environmentyAA03AnyE0_p_AC0E12UpdateReasonOAA0mJ0CAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func willDisplay(cell anyCell: UICollectionViewCell<\/Type>, in collectionView: UICollectionView<\/Type>, for indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 127, - "key.bodyoffset" : 15048, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> willDisplay<\/decl.name>(cell<\/decl.var.parameter.argument_label> anyCell<\/decl.var.parameter.name>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 256, - "key.line" : 427, - "key.modulename" : "ListableUI", - "key.name" : "willDisplay(cell:in:for:)", - "key.namelength" : 113, - "key.nameoffset" : 14925, - "key.offset" : 14920, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP11willDisplay4cell2in3forySo20UICollectionViewCellC_So0lM0C10Foundation9IndexPathVtF" - } - ], - "key.parsed_declaration" : "func willDisplay(cell anyCell : UICollectionViewCell, in collectionView : UICollectionView, for indexPath : IndexPath)", - "key.parsed_scope.end" : 432, - "key.parsed_scope.start" : 427, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let cell: ItemCell<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: ItemCell<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 429, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 15065, - "key.offset" : 15061, - "key.parsed_declaration" : "let cell = (anyCell as! ItemCell)", - "key.parsed_scope.end" : 429, - "key.parsed_scope.start" : 429, - "key.reusingastcontext" : false, - "key.typename" : "ItemCell", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C11willDisplay4cell2in3forySo20UICollectionViewCellC_So0kL0C10Foundation9IndexPathVtFAGL_AA0eM0CyxGvp" - } - ], - "key.typename" : " (PresentationState.ItemState) -> (UICollectionViewCell, UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s4cell2in3forySo20UICollectionViewCellC_So0dE0C10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C11willDisplay4cell2in3forySo20UICollectionViewCellC_So0kL0C10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func didEndDisplay()<\/Declaration>", - "key.bodylength" : 58, - "key.bodyoffset" : 15224, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> didEndDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 89, - "key.line" : 434, - "key.modulename" : "ListableUI", - "key.name" : "didEndDisplay()", - "key.namelength" : 15, - "key.nameoffset" : 15199, - "key.offset" : 15194, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP13didEndDisplayyyF" - } - ], - "key.parsed_declaration" : "func didEndDisplay()", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 434, - "key.reusingastcontext" : false, - "key.typename" : " (PresentationState.ItemState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C13didEndDisplayyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func wasRemoved(updateCallbacks: UpdateCallbacks<\/Type>)<\/Declaration>", - "key.bodylength" : 237, - "key.bodyoffset" : 15361, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasRemoved<\/decl.name>(updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 298, - "key.line" : 439, - "key.modulename" : "ListableUI", - "key.name" : "wasRemoved(updateCallbacks:)", - "key.namelength" : 45, - "key.nameoffset" : 15306, - "key.offset" : 15301, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10wasRemoved15updateCallbacksyAA06UpdateJ0C_tF" - } - ], - "key.parsed_declaration" : "func wasRemoved(updateCallbacks : UpdateCallbacks)", - "key.parsed_scope.end" : 445, - "key.parsed_scope.start" : 439, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (UpdateCallbacks) -> ()", - "key.typeusr" : "$s15updateCallbacksy10ListableUI06UpdateB0C_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C10wasRemoved15updateCallbacksyAA06UpdateI0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isSelected: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 51, - "key.bodyoffset" : 15639, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isSelected<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 74, - "key.line" : 447, - "key.modulename" : "ListableUI", - "key.name" : "isSelected", - "key.namelength" : 10, - "key.nameoffset" : 15621, - "key.offset" : 15617, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10isSelectedSbvp" - } - ], - "key.parsed_declaration" : "var isSelected: Bool", - "key.parsed_scope.end" : 449, - "key.parsed_scope.start" : 447, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C10isSelectedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(isSelected: Bool<\/Type>, performCallbacks: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 1473, - "key.bodyoffset" : 15777, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(isSelected<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, performCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1534, - "key.line" : 451, - "key.modulename" : "ListableUI", - "key.name" : "set(isSelected:performCallbacks:)", - "key.namelength" : 45, - "key.nameoffset" : 15722, - "key.offset" : 15717, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP3set10isSelected16performCallbacksySb_SbtF" - } - ], - "key.parsed_declaration" : "func set(isSelected: Bool, performCallbacks: Bool)", - "key.parsed_scope.end" : 479, - "key.parsed_scope.start" : 451, - "key.related_decls" : [ - { - "key.annotated_decl" : "set(new:reason:updateCallbacks:environment:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (Bool, Bool) -> ()", - "key.typeusr" : "$s10isSelected16performCallbacksySb_SbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C3set10isSelected16performCallbacksySb_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateCoordinatorWithStateChange(old: State<\/Type>, new: State<\/Type>)<\/Declaration>", - "key.bodylength" : 629, - "key.bodyoffset" : 17342, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Schedule the caller-provided callbacks to happen after one runloop. Why?\n\nBecause this method is called from within `UICollectionViewDelegate` callbacks,\nThis delay gives the `UICollectionView` time to schedule any necessary animations\nfor changes to the highlight and selection state – otherwise, these animations get\nstuck behind the call to the `onSelect` or `onDeselect` blocks, which creates the appearance\nof a laggy UI if these callbacks are slow.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateCoordinatorWithStateChange<\/decl.name>(old<\/decl.var.parameter.argument_label>: State<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: State<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 703, - "key.line" : 481, - "key.modulename" : "ListableUI", - "key.name" : "updateCoordinatorWithStateChange(old:new:)", - "key.namelength" : 58, - "key.nameoffset" : 17274, - "key.offset" : 17269, - "key.parsed_declaration" : "func updateCoordinatorWithStateChange(old : State, new : State)", - "key.parsed_scope.end" : 502, - "key.parsed_scope.start" : 481, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (PresentationState.ItemState.State, PresentationState.ItemState.State) -> ()", - "key.typeusr" : "$s3old3newy10ListableUI17PresentationStateC04ItemF0C0F0Vy_x_G_AJtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C021updateCoordinatorWithD6Change3old3newyAE0D0Vy_x_G_AKtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var cachedSizes: [SizeKey<\/Type> : CGSize<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 17990 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cachedSizes<\/decl.name>: [SizeKey<\/ref.struct> : CGSize<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 504, - "key.modulename" : "ListableUI", - "key.name" : "cachedSizes", - "key.namelength" : 11, - "key.nameoffset" : 18002, - "key.offset" : 17998, - "key.parsed_declaration" : "private var cachedSizes : [SizeKey:CGSize] = [:]", - "key.parsed_scope.end" : 504, - "key.parsed_scope.start" : 504, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[PresentationState.SizeKey : CGSize]", - "key.typeusr" : "$sSDy10ListableUI17PresentationStateC7SizeKeyVSo6CGSizeVGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C11cachedSizes33_076717420F7F254B8CDE903FAA9017F4LLSDyAC7SizeKeyVSo6CGSizeVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetCachedSizes()<\/Declaration>", - "key.bodylength" : 50, - "key.bodyoffset" : 18089, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 84, - "key.line" : 506, - "key.modulename" : "ListableUI", - "key.name" : "resetCachedSizes()", - "key.namelength" : 18, - "key.nameoffset" : 18061, - "key.offset" : 18056, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP16resetCachedSizesyyF" - } - ], - "key.parsed_declaration" : "func resetCachedSizes()", - "key.parsed_scope.end" : 509, - "key.parsed_scope.start" : 506, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C16resetCachedSizesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func size(for info: Sizing<\/Type>.MeasureInfo<\/Type>, cache: ReusableViewCache<\/Type>, environment: ListEnvironment<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 1551, - "key.bodyoffset" : 18322, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, cache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1716, - "key.line" : 511, - "key.modulename" : "ListableUI", - "key.name" : "size(for:cache:environment:)", - "key.namelength" : 139, - "key.nameoffset" : 18163, - "key.offset" : 18158, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func size(\n for info : Sizing.MeasureInfo,\n cache : ReusableViewCache,\n environment : ListEnvironment\n) -> CGSize", - "key.parsed_scope.end" : 556, - "key.parsed_scope.start" : 511, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let key: PresentationState<\/Type>.SizeKey<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> key<\/decl.name>: PresentationState<\/ref.class>.SizeKey<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 225, - "key.line" : 521, - "key.modulename" : "ListableUI", - "key.name" : "key", - "key.namelength" : 3, - "key.nameoffset" : 18457, - "key.offset" : 18453, - "key.parsed_declaration" : "let key = SizeKey(\n width: info.sizeConstraint.width,\n height: info.sizeConstraint.height,\n layoutDirection: info.direction,\n sizing: self.model.sizing\n)", - "key.parsed_scope.end" : 521, - "key.parsed_scope.start" : 521, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SizeKey", - "key.typeusr" : "$s10ListableUI17PresentationStateC7SizeKeyVD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF3keyL_AC7SizeKeyVvp" - } - ], - "key.typename" : " (PresentationState.ItemState) -> (Sizing.MeasureInfo, ReusableViewCache, ListEnvironment) -> CGSize", - "key.typeusr" : "$s3for5cache11environmentSo6CGSizeV10ListableUI6SizingO11MeasureInfoV_AF17ReusableViewCacheCAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C4size3for5cache11environmentSo6CGSizeVAA6SizingO11MeasureInfoV_AA17ReusableViewCacheCAA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func beginReorder(from originalIndexPath: IndexPath<\/Type>, with environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 346, - "key.bodyoffset" : 20149, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when the reordering event begins, to update the current visible cell\nWith any reorder-specific appearance options (like a drop shadow).", - "key.doc.column" : 14, - "key.doc.comment" : "Called when the reordering event begins, to update the current visible cell\nWith any reorder-specific appearance options (like a drop shadow).", - "key.doc.declaration" : "func beginReorder(from originalIndexPath: IndexPath, with environment: ListEnvironment)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.doc.full_as_xml" : "beginReorder(from:with:)<\/Name>s:10ListableUI17PresentationStateC04ItemD0C12beginReorder4from4withy10Foundation9IndexPathV_AA15ListEnvironmentVtF<\/USR>func beginReorder(from originalIndexPath: IndexPath, with environment: ListEnvironment)<\/Declaration>Called when the reordering event begins, to update the current visible cell With any reorder-specific appearance options (like a drop shadow).<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 560, - "key.doc.name" : "beginReorder(from:with:)", - "key.doc.type" : "Function", - "key.doclength" : 159, - "key.docoffset" : 19892, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> beginReorder<\/decl.name>(from<\/decl.var.parameter.argument_label> originalIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 437, - "key.line" : 560, - "key.modulename" : "ListableUI", - "key.name" : "beginReorder(from:with:)", - "key.namelength" : 83, - "key.nameoffset" : 20064, - "key.offset" : 20059, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12beginReorder4from4withy10Foundation9IndexPathV_AA15ListEnvironmentVtF" - } - ], - "key.parsed_declaration" : "func beginReorder(from originalIndexPath : IndexPath, with environment: ListEnvironment)", - "key.parsed_scope.end" : 573, - "key.parsed_scope.start" : 560, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (IndexPath, ListEnvironment) -> ()", - "key.typeusr" : "$s4from4withy10Foundation9IndexPathV_10ListableUI15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12beginReorder4from4withy10Foundation9IndexPathV_AA15ListEnvironmentVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func endReorder(with environment: ListEnvironment<\/Type>, result: ReorderingActions<\/Type>.Result<\/Type>)<\/Declaration>", - "key.bodylength" : 296, - "key.bodyoffset" : 20791, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when the reordering event finishes or is cancelled, to update the\ncurrent visible cell to remove any reorder-specific appearance options (like a drop shadow).", - "key.doc.column" : 14, - "key.doc.comment" : "Called when the reordering event finishes or is cancelled, to update the\ncurrent visible cell to remove any reorder-specific appearance options (like a drop shadow).", - "key.doc.declaration" : "func endReorder(with environment: ListEnvironment, result: ReorderingActions.Result)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.doc.full_as_xml" : "endReorder(with:result:)<\/Name>s:10ListableUI17PresentationStateC04ItemD0C10endReorder4with6resultyAA15ListEnvironmentV_AA17ReorderingActionsC6ResultOtF<\/USR>func endReorder(with environment: ListEnvironment, result: ReorderingActions.Result)<\/Declaration>Called when the reordering event finishes or is cancelled, to update the current visible cell to remove any reorder-specific appearance options (like a drop shadow).<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 577, - "key.doc.name" : "endReorder(with:result:)", - "key.doc.type" : "Function", - "key.doclength" : 182, - "key.docoffset" : 20514, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> endReorder<\/decl.name>(with<\/decl.var.parameter.argument_label> environment<\/decl.var.parameter.name>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, result<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class>.Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 384, - "key.line" : 577, - "key.modulename" : "ListableUI", - "key.name" : "endReorder(with:result:)", - "key.namelength" : 80, - "key.nameoffset" : 20709, - "key.offset" : 20704, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP10endReorder4with6resultyAA15ListEnvironmentV_AA17ReorderingActionsC6ResultOtF" - } - ], - "key.parsed_declaration" : "func endReorder(with environment: ListEnvironment, result : ReorderingActions.Result)", - "key.parsed_scope.end" : 588, - "key.parsed_scope.start" : 577, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (ListEnvironment, ReorderingActions.Result) -> ()", - "key.typeusr" : "$s4with6resulty10ListableUI15ListEnvironmentV_AC17ReorderingActionsC6ResultOtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C10endReorder4with6resultyAA15ListEnvironmentV_AA17ReorderingActionsC6ResultOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func performDidReorder(with result: ItemReordering<\/Type>.Result<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 209, - "key.bodyoffset" : 21310, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when a reorder completes successfully to notify\nthe consumer that the re-order event occurred.", - "key.doc.column" : 14, - "key.doc.comment" : "Invoked when a reorder completes successfully to notify\nthe consumer that the re-order event occurred.", - "key.doc.declaration" : "func performDidReorder(with result: ItemReordering.Result) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.doc.full_as_xml" : "performDidReorder(with:)<\/Name>s:10ListableUI17PresentationStateC04ItemD0C17performDidReorder4withSbAA0E10ReorderingV6ResultV_tF<\/USR>func performDidReorder(with result: ItemReordering.Result) -> Bool<\/Declaration>Invoked when a reorder completes successfully to notify the consumer that the re-order event occurred.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 592, - "key.doc.name" : "performDidReorder(with:)", - "key.doc.type" : "Function", - "key.doclength" : 119, - "key.docoffset" : 21106, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> performDidReorder<\/decl.name>(with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 287, - "key.line" : 592, - "key.modulename" : "ListableUI", - "key.name" : "performDidReorder(with:)", - "key.namelength" : 54, - "key.nameoffset" : 21238, - "key.offset" : 21233, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP17performDidReorder4withSbAA0E10ReorderingV6ResultV_tF" - } - ], - "key.parsed_declaration" : "func performDidReorder(with result : ItemReordering.Result) -> Bool", - "key.parsed_scope.end" : 601, - "key.parsed_scope.start" : 592, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState) -> (ItemReordering.Result) -> Bool", - "key.typeusr" : "$s4withSb10ListableUI14ItemReorderingV6ResultV_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C17performDidReorder4withSbAA0E10ReorderingV6ResultV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isReordering: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 56, - "key.bodyoffset" : 21563, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isReordering<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 82, - "key.line" : 603, - "key.modulename" : "ListableUI", - "key.name" : "isReordering", - "key.namelength" : 12, - "key.nameoffset" : 21542, - "key.offset" : 21538, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP12isReorderingSbvp" - } - ], - "key.parsed_declaration" : "var isReordering : Bool", - "key.parsed_scope.end" : 605, - "key.parsed_scope.start" : 603, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C12isReorderingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var activeReorderEventInfo: ActiveReorderEventInfo<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 21638 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> activeReorderEventInfo<\/decl.name>: ActiveReorderEventInfo<\/ref.struct>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 607, - "key.modulename" : "ListableUI", - "key.name" : "activeReorderEventInfo", - "key.namelength" : 22, - "key.nameoffset" : 21655, - "key.offset" : 21651, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24AnyPresentationItemStateP22activeReorderEventInfoAA0dF0C06ActivehiJ0VSgvp" - } - ], - "key.parsed_declaration" : "private(set) var activeReorderEventInfo : ActiveReorderEventInfo? = nil", - "key.parsed_scope.end" : 607, - "key.parsed_scope.start" : 607, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "PresentationState.ActiveReorderEventInfo?", - "key.typeusr" : "$s10ListableUI17PresentationStateC22ActiveReorderEventInfoVSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C22activeReorderEventInfoAC06ActiveghI0VSgvp" - } - ], - "key.typename" : "PresentationState.ItemState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGmD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - }, - { - "key.annotated_decl" : "final class ItemState<Content> : AnyPresentationItemState<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 1039, - "key.bodyoffset" : 21759, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemState<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyPresentationItemState<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1079, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState.ItemState", - "key.namelength" : 27, - "key.nameoffset" : 21730, - "key.offset" : 21720, - "key.parsed_declaration" : "extension PresentationState.ItemState", - "key.parsed_scope.end" : 649, - "key.parsed_scope.start" : 612, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class Storage<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 21764 - } - ], - "key.bodylength" : 881, - "key.bodyoffset" : 21785, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Storage<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 897, - "key.line" : 614, - "key.modulename" : "ListableUI", - "key.name" : "Storage", - "key.namelength" : 7, - "key.nameoffset" : 21776, - "key.offset" : 21770, - "key.parsed_declaration" : "final class Storage", - "key.parsed_scope.end" : 642, - "key.parsed_scope.start" : 614, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var didSetState: (State<\/Type>, State<\/Type>) -> ()<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> didSetState<\/decl.name>: (State<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, State<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 616, - "key.modulename" : "ListableUI", - "key.name" : "didSetState", - "key.namelength" : 11, - "key.nameoffset" : 21807, - "key.offset" : 21803, - "key.parsed_declaration" : "var didSetState : (State, State) -> () = { _, _ in }", - "key.parsed_scope.end" : 616, - "key.parsed_scope.start" : 616, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(PresentationState.ItemState.State, PresentationState.ItemState.State) -> ()", - "key.typeusr" : "$syy10ListableUI17PresentationStateC04ItemD0C0D0Vy_x_G_AHtcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7StorageC06didSetD0yyAE0D0Vy_x_G_AKtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var model: Item<\/Type><Content<\/Type>> { get set }<\/Declaration>", - "key.bodylength" : 299, - "key.bodyoffset" : 21900, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> model<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 327, - "key.line" : 618, - "key.modulename" : "ListableUI", - "key.name" : "model", - "key.namelength" : 5, - "key.nameoffset" : 21877, - "key.offset" : 21873, - "key.parsed_declaration" : "var model : Item", - "key.parsed_scope.end" : 624, - "key.parsed_scope.start" : 618, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7StorageC5modelAA0E0VyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var state: State<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 213, - "key.bodyoffset" : 22237, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> state<\/decl.name>: State<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 233, - "key.line" : 626, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 22222, - "key.offset" : 22218, - "key.parsed_declaration" : "var state : State", - "key.parsed_scope.end" : 634, - "key.parsed_scope.start" : 626, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PresentationState.ItemState.State", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C0D0Vy_x_GD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7StorageC5stateAE0D0Vy_x_Gvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(_ model: Item<\/Type><Content<\/Type>>)<\/Declaration>", - "key.bodylength" : 152, - "key.bodyoffset" : 22508, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 192, - "key.line" : 636, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 29, - "key.nameoffset" : 22469, - "key.offset" : 22469, - "key.parsed_declaration" : "init(_ model : Item)", - "key.parsed_scope.end" : 641, - "key.parsed_scope.start" : 636, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (PresentationState.ItemState.Storage.Type) -> (Item) -> PresentationState.ItemState.Storage", - "key.typeusr" : "$sy10ListableUI17PresentationStateC04ItemD0C7StorageCy_x_GAA0E0VyxGcD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7StorageCyAGy_x_GAA0E0VyxGcfc" - } - ], - "key.typename" : "PresentationState.ItemState.Storage.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C7StorageCy_x_GmD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C7StorageC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal struct State : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 22677 - } - ], - "key.bodylength" : 80, - "key.bodyoffset" : 22716, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 22701 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> State<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 111, - "key.line" : 644, - "key.modulename" : "ListableUI", - "key.name" : "State", - "key.namelength" : 5, - "key.nameoffset" : 22693, - "key.offset" : 22686, - "key.parsed_declaration" : "internal struct State : Equatable", - "key.parsed_scope.end" : 648, - "key.parsed_scope.start" : 644, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isSelected: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isSelected<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 646, - "key.modulename" : "ListableUI", - "key.name" : "isSelected", - "key.namelength" : 10, - "key.nameoffset" : 22729, - "key.offset" : 22725, - "key.parsed_declaration" : "var isSelected : Bool", - "key.parsed_scope.end" : 646, - "key.parsed_scope.start" : 646, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C0D0V10isSelectedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var visibleCell: ItemCell<\/Type><Content<\/Type>>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.ItemState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> visibleCell<\/decl.name>: ItemCell<\/ref.class><Content<\/ref.generic_type_param>>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 647, - "key.modulename" : "ListableUI", - "key.name" : "visibleCell", - "key.namelength" : 11, - "key.nameoffset" : 22759, - "key.offset" : 22755, - "key.parsed_declaration" : "var visibleCell : ItemCell?", - "key.parsed_scope.end" : 647, - "key.parsed_scope.start" : 647, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ItemCell?", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGSgD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C0D0V11visibleCellAA0eG0CyxGSgvp" - } - ], - "key.typename" : "PresentationState.ItemState.State.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0C0D0Vy_x_GmD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C0D0V" - } - ], - "key.typename" : "PresentationState.ItemState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC04ItemD0Cy_xGmD", - "key.usr" : "s:10ListableUI17PresentationStateC04ItemD0C" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1423, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 1248, - "key.bodyoffset" : 173, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1278, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 154, - "key.offset" : 144, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal final class RefreshControlState<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 187 - }, - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 178 - } - ], - "key.bodylength" : 1195, - "key.bodyoffset" : 224, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> RefreshControlState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1227, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "RefreshControlState", - "key.namelength" : 19, - "key.nameoffset" : 199, - "key.offset" : 193, - "key.parsed_declaration" : "internal final class RefreshControlState", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var model: RefreshControl<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 233 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> model<\/decl.name>: RefreshControl<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "model", - "key.namelength" : 5, - "key.nameoffset" : 244, - "key.offset" : 240, - "key.parsed_declaration" : "public var model : RefreshControl", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "RefreshControl", - "key.typeusr" : "$s10ListableUI14RefreshControlVD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0C5modelAA0eF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var view: UIRefreshControl<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 275 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> view<\/decl.name>: UIRefreshControl<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 286, - "key.offset" : 282, - "key.parsed_declaration" : "public var view : UIRefreshControl", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIRefreshControl", - "key.typeusr" : "$sSo16UIRefreshControlCD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0C4viewSo09UIRefreshF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ model: RefreshControl<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 327 - } - ], - "key.bodylength" : 196, - "key.bodyoffset" : 374, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: RefreshControl<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 237, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 30, - "key.nameoffset" : 334, - "key.offset" : 334, - "key.parsed_declaration" : "public init(_ model : RefreshControl)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.RefreshControlState.Type) -> (RefreshControl) -> PresentationState.RefreshControlState", - "key.typeusr" : "$sy10ListableUI17PresentationStateC014RefreshControlD0CAA0eF0VcD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0CyAeA0eF0Vcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func update(with control: RefreshControl<\/Type>, color: UIColor<\/Type>?)<\/Declaration>", - "key.bodylength" : 647, - "key.bodyoffset" : 659, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> control<\/decl.var.parameter.name>: RefreshControl<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, color<\/decl.var.parameter.argument_label>: UIColor<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 718, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "update(with:color:)", - "key.namelength" : 55, - "key.nameoffset" : 594, - "key.offset" : 589, - "key.parsed_declaration" : "func update(with control : RefreshControl, color : UIColor?)", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.RefreshControlState) -> (RefreshControl, UIColor?) -> ()", - "key.typeusr" : "$s4with5colory10ListableUI14RefreshControlV_So7UIColorCSgtcD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0C6update4with5coloryAA0eF0V_So7UIColorCSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@objc func refreshControlChanged()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 1325 - } - ], - "key.bodylength" : 44, - "key.bodyoffset" : 1369, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.RefreshControl.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> refreshControlChanged<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 83, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "refreshControlChanged()", - "key.namelength" : 23, - "key.nameoffset" : 1336, - "key.offset" : 1331, - "key.parsed_declaration" : "@objc func refreshControlChanged()", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.RefreshControlState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0C07refreshF7ChangedyyF" - } - ], - "key.typename" : "PresentationState.RefreshControlState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC014RefreshControlD0CmD", - "key.usr" : "s:10ListableUI17PresentationStateC014RefreshControlD0C" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7610, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 7451, - "key.bodyoffset" : 157, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 7481, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 138, - "key.offset" : 128, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class SectionState<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 162 - } - ], - "key.bodylength" : 7414, - "key.bodyoffset" : 192, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SectionState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 7439, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "SectionState", - "key.namelength" : 12, - "key.nameoffset" : 174, - "key.offset" : 168, - "key.parsed_declaration" : "final class SectionState", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var model: Section<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> model<\/decl.name>: Section<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "model", - "key.namelength" : 5, - "key.nameoffset" : 205, - "key.offset" : 201, - "key.parsed_declaration" : "var model : Section", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Section", - "key.typeusr" : "$s10ListableUI7SectionVD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C5modelAA0E0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let header: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> header<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 242, - "key.offset" : 238, - "key.parsed_declaration" : "let header : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C6headerAC016HeaderFooterViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let footer: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> footer<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 289, - "key.offset" : 285, - "key.parsed_declaration" : "let footer : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C6footerAC016HeaderFooterViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var items: [AnyPresentationItemState<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: [AnyPresentationItemState<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 345, - "key.offset" : 341, - "key.parsed_declaration" : "var items : [AnyPresentationItemState]", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[any AnyPresentationItemState]", - "key.typeusr" : "$sSay10ListableUI24AnyPresentationItemState_pGD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C5itemsSayAA03Anyc4ItemD0_pGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let performsContentCallbacks: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> performsContentCallbacks<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "performsContentCallbacks", - "key.namelength" : 24, - "key.nameoffset" : 401, - "key.offset" : 397, - "key.parsed_declaration" : "let performsContentCallbacks : Bool", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C24performsContentCallbacksSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(with model: Section<\/Type>, dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, performsContentCallbacks: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 952, - "key.bodyoffset" : 642, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> model<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, dependencies<\/decl.var.parameter.argument_label>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1145, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "init(with:dependencies:updateCallbacks:performsContentCallbacks:)", - "key.namelength" : 190, - "key.nameoffset" : 450, - "key.offset" : 450, - "key.parsed_declaration" : "init(\n with model : Section,\n dependencies : ItemStateDependencies,\n updateCallbacks : UpdateCallbacks,\n performsContentCallbacks : Bool\n)", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState.Type) -> (Section, ItemStateDependencies, UpdateCallbacks, Bool) -> PresentationState.SectionState", - "key.typeusr" : "$s4with12dependencies15updateCallbacks015performsContentD010ListableUI17PresentationStateC07SectionJ0CAE0K0V_AE04ItemJ12DependenciesVAE06UpdateD0CSbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C4with12dependencies15updateCallbacks015performsContentI0AeA0E0V_AA04ItemD12DependenciesVAA06UpdateI0CSbtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetAllCachedSizes()<\/Declaration>", - "key.bodylength" : 217, - "key.bodyoffset" : 1641, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetAllCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 246, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "resetAllCachedSizes()", - "key.namelength" : 21, - "key.nameoffset" : 1618, - "key.offset" : 1613, - "key.parsed_declaration" : "func resetAllCachedSizes()", - "key.parsed_scope.end" : 62, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C19resetAllCachedSizesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func removeItem(at index: Int<\/Type>) -> AnyPresentationItemState<\/Type><\/Declaration>", - "key.bodylength" : 104, - "key.bodyoffset" : 1946, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> removeItem<\/decl.name>(at<\/decl.var.parameter.argument_label> index<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationItemState<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 174, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "removeItem(at:)", - "key.namelength" : 26, - "key.nameoffset" : 1882, - "key.offset" : 1877, - "key.parsed_declaration" : "func removeItem(at index : Int) -> AnyPresentationItemState", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 64, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState) -> (Int) -> any AnyPresentationItemState", - "key.typeusr" : "$s2at10ListableUI24AnyPresentationItemState_pSi_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C10removeItem2atAA03AnycgD0_pSi_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func insert(item: AnyPresentationItemState<\/Type>, at index: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 118, - "key.bodyoffset" : 2139, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> insert<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> index<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 189, - "key.line" : 70, - "key.modulename" : "ListableUI", - "key.name" : "insert(item:at:)", - "key.namelength" : 55, - "key.nameoffset" : 2074, - "key.offset" : 2069, - "key.parsed_declaration" : "func insert(item : AnyPresentationItemState, at index : Int)", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 70, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState) -> (any AnyPresentationItemState, Int) -> ()", - "key.typeusr" : "$s4item2aty10ListableUI24AnyPresentationItemState_p_SitcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C6insert4item2atyAA03Anyc4ItemD0_p_SitF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateOldIndexPath(in section: Int<\/Type>)<\/Declaration>", - "key.bodylength" : 111, - "key.bodyoffset" : 2319, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateOldIndexPath<\/decl.name>(in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 155, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "updateOldIndexPath(in:)", - "key.namelength" : 36, - "key.nameoffset" : 2281, - "key.offset" : 2276, - "key.parsed_declaration" : "func updateOldIndexPath(in section : Int)", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState) -> (Int) -> ()", - "key.typeusr" : "$s2inySi_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C18updateOldIndexPath2inySi_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func update(with oldSection: Section<\/Type>, new newSection: Section<\/Type>, changes: SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>.ItemChanges<\/Type>, reason: ApplyReason<\/Type>, animated: Bool<\/Type>, dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>)<\/Declaration>", - "key.bodylength" : 2316, - "key.bodyoffset" : 2805, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> oldSection<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label> newSection<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, changes<\/decl.var.parameter.argument_label>: SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>>.ItemChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, dependencies<\/decl.var.parameter.argument_label>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2673, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "update(with:new:changes:reason:animated:dependencies:updateCallbacks:)", - "key.namelength" : 349, - "key.nameoffset" : 2454, - "key.offset" : 2449, - "key.parsed_declaration" : "func update(\n with oldSection : Section,\n new newSection : Section,\n changes : SectionedDiff.ItemChanges,\n reason: ApplyReason,\n animated : Bool,\n dependencies : ItemStateDependencies,\n updateCallbacks : UpdateCallbacks\n)", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let environment: ListEnvironment<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 2871, - "key.offset" : 2867, - "key.parsed_declaration" : "let environment = dependencies.environmentProvider()", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C6update4with3new7changes6reason8animated12dependencies0F9CallbacksyAA0E0V_AoA13SectionedDiffV11ItemChangesVyAoA13AnyIdentifierCAA0rP0_pAU_GAA11ApplyReasonOSbAA0pD12DependenciesVAA06UpdateM0CtF11environmentL_AA15ListEnvironmentVvp" - } - ], - "key.typename" : "(PresentationState.SectionState) -> (Section, Section, SectionedDiff.ItemChanges, ApplyReason, Bool, ItemStateDependencies, UpdateCallbacks) -> ()", - "key.typeusr" : "$s4with3new7changes6reason8animated12dependencies15updateCallbacksy10ListableUI7SectionV_AjH13SectionedDiffV11ItemChangesVyAjH13AnyIdentifierCAH0pN0_pAP_GAH11ApplyReasonOSbAH0N17StateDependenciesVAH06UpdateH0CtcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C6update4with3new7changes6reason8animated12dependencies0F9CallbacksyAA0E0V_AoA13SectionedDiffV11ItemChangesVyAoA13AnyIdentifierCAA0rP0_pAU_GAA11ApplyReasonOSbAA0pD12DependenciesVAA06UpdateM0CtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func wasRemoved(updateCallbacks: UpdateCallbacks<\/Type>)<\/Declaration>", - "key.bodylength" : 126, - "key.bodyoffset" : 5200, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasRemoved<\/decl.name>(updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 187, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "wasRemoved(updateCallbacks:)", - "key.namelength" : 45, - "key.nameoffset" : 5145, - "key.offset" : 5140, - "key.parsed_declaration" : "func wasRemoved(updateCallbacks : UpdateCallbacks)", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState) -> (UpdateCallbacks) -> ()", - "key.typeusr" : "$s15updateCallbacksy10ListableUI06UpdateB0C_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C10wasRemoved15updateCallbacksyAA06UpdateI0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func newHeaderFooterState(with new: AnyHeaderFooterConvertible<\/Type>?, kind: SupplementaryKind<\/Type>, performsContentCallbacks: Bool<\/Type>) -> AnyPresentationHeaderFooterState<\/Type>?<\/Declaration>", - "key.bodylength" : 397, - "key.bodyoffset" : 5568, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newHeaderFooterState<\/decl.name>(with<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 621, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "newHeaderFooterState(with:kind:performsContentCallbacks:)", - "key.namelength" : 164, - "key.nameoffset" : 5357, - "key.offset" : 5345, - "key.parsed_declaration" : "static func newHeaderFooterState(\n with new : AnyHeaderFooterConvertible?,\n kind: SupplementaryKind,\n performsContentCallbacks : Bool\n) -> AnyPresentationHeaderFooterState?", - "key.parsed_scope.end" : 169, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.SectionState.Type) -> ((any AnyHeaderFooterConvertible)?, SupplementaryKind, Bool) -> (any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s4with4kind24performsContentCallbacks10ListableUI32AnyPresentationHeaderFooterState_pSgAD0hjK11Convertible_pSg_AD17SupplementaryKindOSbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C015newHeaderFooterD04with4kind24performsContentCallbacksAA03AnycghD0_pSgAA0ngH11Convertible_pSg_AA17SupplementaryKindOSbtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func headerFooterState(current: AnyPresentationHeaderFooterState<\/Type>?, new: AnyHeaderFooterConvertible<\/Type>?, kind: SupplementaryKind<\/Type>, performsContentCallbacks: Bool<\/Type>) -> AnyPresentationHeaderFooterState<\/Type>?<\/Declaration>", - "key.bodylength" : 1344, - "key.bodyoffset" : 6256, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> headerFooterState<\/decl.name>(current<\/decl.var.parameter.argument_label>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 1617, - "key.line" : 171, - "key.modulename" : "ListableUI", - "key.name" : "headerFooterState(current:new:kind:performsContentCallbacks:)", - "key.namelength" : 213, - "key.nameoffset" : 5996, - "key.offset" : 5984, - "key.parsed_declaration" : "static func headerFooterState(\n current : AnyPresentationHeaderFooterState?,\n new : AnyHeaderFooterConvertible?,\n kind: SupplementaryKind,\n performsContentCallbacks : Bool\n) -> AnyPresentationHeaderFooterState?", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 171, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let new: (any AnyHeaderFooter<\/Type>)?<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Eagerly convert the header\/footer to the correct final type, so the `type(of:)` check later\non in the function is comparing `HeaderFooter` types.", - "key.doc.column" : 17, - "key.doc.comment" : "Eagerly convert the header\/footer to the correct final type, so the `type(of:)` check later\non in the function is comparing `HeaderFooter` types.", - "key.doc.declaration" : "let new: (any ListableUI.AnyHeaderFooter)?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.doc.full_as_xml" : "new<\/Name>s:10ListableUI17PresentationStateC07SectionD0C012headerFooterD07current3new4kind24performsContentCallbacksAA03Anyc6HeadergD0_pSgAL_AA0noG11Convertible_pSgAA17SupplementaryKindOSbtFZAHL0_AA0noG0_pSgvp<\/USR>let new: (any ListableUI.AnyHeaderFooter)?<\/Declaration>Eagerly convert the header\/footer to the correct final type, so the type(of:)<\/codeVoice> check later on in the function is comparing HeaderFooter<Content><\/codeVoice> types.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 180, - "key.doc.name" : "new", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 6269, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.SectionState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: (any AnyHeaderFooter<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 34, - "key.line" : 180, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 6460, - "key.offset" : 6456, - "key.parsed_declaration" : "let new = new?.asAnyHeaderFooter()", - "key.parsed_scope.end" : 180, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyHeaderFooter)?", - "key.typeusr" : "$s10ListableUI15AnyHeaderFooter_pSgD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C012headerFooterD07current3new4kind24performsContentCallbacksAA03Anyc6HeadergD0_pSgAL_AA0noG11Convertible_pSgAA17SupplementaryKindOSbtFZAHL0_AA0noG0_pSgvp" - } - ], - "key.typename" : "(PresentationState.SectionState.Type) -> ((any AnyPresentationHeaderFooterState)?, (any AnyHeaderFooterConvertible)?, SupplementaryKind, Bool) -> (any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s7current3new4kind24performsContentCallbacks10ListableUI32AnyPresentationHeaderFooterState_pSgAG_AE0ikL11Convertible_pSgAE17SupplementaryKindOSbtcD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C012headerFooterD07current3new4kind24performsContentCallbacksAA03Anyc6HeadergD0_pSgAL_AA0noG11Convertible_pSgAA17SupplementaryKindOSbtFZ" - } - ], - "key.typename" : "PresentationState.SectionState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CmD", - "key.usr" : "s:10ListableUI17PresentationStateC07SectionD0C" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 20988, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 328 - } - ], - "key.bodylength" : 15060, - "key.bodyoffset" : 359, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.doclength" : 218, - "key.docoffset" : 110, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 15086, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 340, - "key.offset" : 334, - "key.parsed_declaration" : "final class PresentationState", - "key.parsed_scope.end" : 483, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 374 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var refreshControl: RefreshControlState<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> refreshControl<\/decl.name>: RefreshControlState<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "refreshControl", - "key.namelength" : 14, - "key.nameoffset" : 415, - "key.offset" : 411, - "key.parsed_declaration" : "var refreshControl : RefreshControlState?", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PresentationState.RefreshControlState?", - "key.typeusr" : "$s10ListableUI17PresentationStateC014RefreshControlD0CSgD", - "key.usr" : "s:10ListableUI17PresentationStateC14refreshControlAC07RefreshfD0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var context: ContentContext<\/Type>? { get set }<\/Declaration>", - "key.bodylength" : 138, - "key.bodyoffset" : 493, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> context<\/decl.name>: ContentContext<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 170, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 466, - "key.offset" : 462, - "key.parsed_declaration" : "var context : ContentContext?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ContentContext?", - "key.typeusr" : "$s10ListableUI14ContentContextVSgD", - "key.usr" : "s:10ListableUI17PresentationStateC7contextAA14ContentContextVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let containerHeader: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> containerHeader<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "containerHeader", - "key.namelength" : 15, - "key.nameoffset" : 646, - "key.offset" : 642, - "key.parsed_declaration" : "let containerHeader : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC15containerHeaderAC0f10FooterViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let header: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> header<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 698, - "key.offset" : 694, - "key.parsed_declaration" : "let header : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC6headerAC016HeaderFooterViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let footer: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> footer<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 741, - "key.offset" : 737, - "key.parsed_declaration" : "let footer : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC6footerAC016HeaderFooterViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let overscrollFooter: HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> overscrollFooter<\/decl.name>: HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 784, - "key.offset" : 780, - "key.parsed_declaration" : "let overscrollFooter : HeaderFooterViewStatePair", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI17PresentationStateC16overscrollFooterAC06Headerf4ViewD4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var sections: [PresentationState<\/Type>.SectionState<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sections<\/decl.name>: [PresentationState<\/ref.class>.SectionState<\/ref.class>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 842, - "key.offset" : 838, - "key.parsed_declaration" : "var sections : [PresentationState.SectionState]", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.related_decls" : [ - { - "key.annotated_decl" : "sections(at:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[PresentationState.SectionState]", - "key.typeusr" : "$sSay10ListableUI17PresentationStateC07SectionD0CGD", - "key.usr" : "s:10ListableUI17PresentationStateC8sectionsSayAC07SectionD0CGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var performsContentCallbacks: Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> performsContentCallbacks<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "performsContentCallbacks", - "key.namelength" : 24, - "key.nameoffset" : 899, - "key.offset" : 895, - "key.parsed_declaration" : "var performsContentCallbacks : Bool = true", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC24performsContentCallbacksSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var containsAllItems: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 951 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> containsAllItems<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "containsAllItems", - "key.namelength" : 16, - "key.nameoffset" : 968, - "key.offset" : 964, - "key.parsed_declaration" : "private(set) var containsAllItems : Bool", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC16containsAllItemsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var contentIdentifier: AnyHashable<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 1001 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> contentIdentifier<\/decl.name>: AnyHashable<\/ref.struct>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "contentIdentifier", - "key.namelength" : 17, - "key.nameoffset" : 1018, - "key.offset" : 1014, - "key.parsed_declaration" : "private(set) var contentIdentifier : AnyHashable?", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "AnyHashable?", - "key.typeusr" : "$ss11AnyHashableVSgD", - "key.usr" : "s:10ListableUI17PresentationStateC17contentIdentifiers11AnyHashableVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let itemMeasurementCache: ReusableViewCache<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1060 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> itemMeasurementCache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "itemMeasurementCache", - "key.namelength" : 20, - "key.nameoffset" : 1072, - "key.offset" : 1068, - "key.parsed_declaration" : "private let itemMeasurementCache : ReusableViewCache", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI17PresentationStateC20itemMeasurementCache33_939783EE01E8AF6B5319AE23F86DC036LLAA012ReusableViewG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let headerFooterMeasurementCache: ReusableViewCache<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1117 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> headerFooterMeasurementCache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "headerFooterMeasurementCache", - "key.namelength" : 28, - "key.nameoffset" : 1129, - "key.offset" : 1125, - "key.parsed_declaration" : "private let headerFooterMeasurementCache : ReusableViewCache", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI17PresentationStateC28headerFooterMeasurementCache33_939783EE01E8AF6B5319AE23F86DC036LLAA012ReusableViewH0Cvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1197 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 484, - "key.bodyoffset" : 1250, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 497, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 1238, - "key.offset" : 1238, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 49, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(forMeasuringOrTestsWith:environment:itemMeasurementCache:headerFooterMeasurementCache:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.Type) -> () -> PresentationState", - "key.typeusr" : "$s10ListableUI17PresentationStateCycD", - "key.usr" : "s:10ListableUI17PresentationStateCACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(forMeasuringOrTestsWith content: Content<\/Type>, environment: ListEnvironment<\/Type>, itemMeasurementCache: ReusableViewCache<\/Type>, headerFooterMeasurementCache: ReusableViewCache<\/Type>)<\/Declaration>", - "key.bodylength" : 1976, - "key.bodyoffset" : 1955, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(forMeasuringOrTestsWith<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemMeasurementCache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, headerFooterMeasurementCache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2187, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "init(forMeasuringOrTestsWith:environment:itemMeasurementCache:headerFooterMeasurementCache:)", - "key.namelength" : 208, - "key.nameoffset" : 1745, - "key.offset" : 1745, - "key.parsed_declaration" : "init(\n forMeasuringOrTestsWith content : Content,\n environment : ListEnvironment,\n itemMeasurementCache : ReusableViewCache,\n headerFooterMeasurementCache : ReusableViewCache\n)", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 68, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.Type) -> (Content, ListEnvironment, ReusableViewCache, ReusableViewCache) -> PresentationState", - "key.typeusr" : "$s23forMeasuringOrTestsWith11environment20itemMeasurementCache012headerFooterhI010ListableUI17PresentationStateCAE7ContentV_AE15ListEnvironmentVAE012ReusableViewI0CAMtcD", - "key.usr" : "s:10ListableUI17PresentationStateC23forMeasuringOrTestsWith11environment20itemMeasurementCache012headerFooterlM0AcA7ContentV_AA15ListEnvironmentVAA012ReusableViewM0CAMtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Accessing Data", - "key.offset" : 3952 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var sectionModels: [Section<\/Type>] { get }<\/Declaration>", - "key.bodylength" : 252, - "key.bodyoffset" : 4020, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Note: We are passing `performsContentCallbacks:false` because this\ninitializer is only used for one-pass measurement provided by ``ListView\/contentSize(in:for:itemLimit:)``,\nas well as for testing purposes.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sectionModels<\/decl.name>: [Section<\/ref.struct>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 284, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "sectionModels", - "key.namelength" : 13, - "key.nameoffset" : 3993, - "key.offset" : 3989, - "key.parsed_declaration" : "var sectionModels : [Section]", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.typename" : "[Section]", - "key.typeusr" : "$sSay10ListableUI7SectionVGD", - "key.usr" : "s:10ListableUI17PresentationStateC13sectionModelsSayAA7SectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var selectedItems: [AnyPresentationItemState<\/Type>] { get }<\/Declaration>", - "key.bodylength" : 255, - "key.bodyoffset" : 4331, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> selectedItems<\/decl.name>: [AnyPresentationItemState<\/ref.protocol>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 304, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "selectedItems", - "key.namelength" : 13, - "key.nameoffset" : 4287, - "key.offset" : 4283, - "key.parsed_declaration" : "var selectedItems : [AnyPresentationItemState]", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "[any AnyPresentationItemState]", - "key.typeusr" : "$sSay10ListableUI24AnyPresentationItemState_pGD", - "key.usr" : "s:10ListableUI17PresentationStateC13selectedItemsSayAA03Anyc4ItemD0_pGvp" - }, - { - "key.annotated_decl" : "let items: [[AnyPresentationItemState<\/Type>]]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> items<\/decl.name>: [[AnyPresentationItemState<\/ref.protocol>]]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 196, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 4344, - "key.offset" : 4340, - "key.parsed_declaration" : "let items : [[AnyPresentationItemState]] = self.sections.compactMap { section in\n section.items.compactMap { item in\n item.isSelected ? item : nil\n }\n}", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.typename" : "[[any AnyPresentationItemState]]", - "key.typeusr" : "$sSaySay10ListableUI24AnyPresentationItemState_pGGD", - "key.usr" : "s:10ListableUI17PresentationStateC13selectedItemsSayAA03Anyc4ItemD0_pGvg5itemsL_SayAFGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var selectedIndexPaths: [IndexPath<\/Type>] { get }<\/Declaration>", - "key.bodylength" : 338, - "key.bodyoffset" : 4635, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> selectedIndexPaths<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 377, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "selectedIndexPaths", - "key.namelength" : 18, - "key.nameoffset" : 4601, - "key.offset" : 4597, - "key.parsed_declaration" : "var selectedIndexPaths : [IndexPath]", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI17PresentationStateC18selectedIndexPathsSay10Foundation0F4PathVGvp" - }, - { - "key.annotated_decl" : "let indexes: [[IndexPath<\/Type>]]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexes<\/decl.name>: [[IndexPath<\/ref.struct>]]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 277, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "indexes", - "key.namelength" : 7, - "key.nameoffset" : 4648, - "key.offset" : 4644, - "key.parsed_declaration" : "let indexes : [[IndexPath]] = self.sections.compactMapWithIndex { sectionIndex, _, section in\n section.items.compactMapWithIndex { itemIndex, _, item in\n item.isSelected ? IndexPath(item: itemIndex, section: sectionIndex) : nil\n }\n}", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.typename" : "[[IndexPath]]", - "key.typeusr" : "$sSaySay10Foundation9IndexPathVGGD", - "key.usr" : "s:10ListableUI17PresentationStateC18selectedIndexPathsSay10Foundation0F4PathVGvg7indexesL_SayAHGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func headerFooter(of kind: SupplementaryKind<\/Type>, in section: Int<\/Type>) -> HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.bodylength" : 383, - "key.bodyoffset" : 5083, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> headerFooter<\/decl.name>(of<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> HeaderFooterViewStatePair<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 483, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter(of:in:)", - "key.namelength" : 59, - "key.nameoffset" : 4989, - "key.offset" : 4984, - "key.parsed_declaration" : "func headerFooter(of kind : SupplementaryKind, in section : Int) -> HeaderFooterViewStatePair", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (SupplementaryKind, Int) -> PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s2of2in10ListableUI17PresentationStateC016HeaderFooterViewF4PairCAC17SupplementaryKindO_SitcD", - "key.usr" : "s:10ListableUI17PresentationStateC12headerFooter2of2inAC06Headerf4ViewD4PairCAA17SupplementaryKindO_SitF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func item(at indexPath: IndexPath<\/Type>) -> AnyPresentationItemState<\/Type><\/Declaration>", - "key.bodylength" : 138, - "key.bodyoffset" : 5546, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> item<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationItemState<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 208, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "item(at:)", - "key.namelength" : 30, - "key.nameoffset" : 5482, - "key.offset" : 5477, - "key.parsed_declaration" : "func item(at indexPath : IndexPath) -> AnyPresentationItemState", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 175, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 5559, - "key.offset" : 5555, - "key.parsed_declaration" : "let section = self.sections[indexPath.section]", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI17PresentationStateC4item2atAA03Anyc4ItemD0_p10Foundation9IndexPathV_tF7sectionL_AC07SectionD0Cvp" - }, - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 178, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5614, - "key.offset" : 5610, - "key.parsed_declaration" : "let item = section.items[indexPath.item]", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 178, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI17PresentationStateC4item2atAA03Anyc4ItemD0_p10Foundation9IndexPathV_tFADL_AaF_pvp" - } - ], - "key.typename" : "(PresentationState) -> (IndexPath) -> any AnyPresentationItemState", - "key.typeusr" : "$s2at10ListableUI24AnyPresentationItemState_p10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC4item2atAA03Anyc4ItemD0_p10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func sections(at indexes: [Int<\/Type>]) -> [SectionState<\/Type>]<\/Declaration>", - "key.bodylength" : 173, - "key.bodyoffset" : 5752, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> sections<\/decl.name>(at<\/decl.var.parameter.argument_label> indexes<\/decl.var.parameter.name>: [Int<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> [SectionState<\/ref.class>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 231, - "key.line" : 183, - "key.modulename" : "ListableUI", - "key.name" : "sections(at:)", - "key.namelength" : 28, - "key.nameoffset" : 5700, - "key.offset" : 5695, - "key.parsed_declaration" : "func sections(at indexes : [Int]) -> [SectionState]", - "key.parsed_scope.end" : 192, - "key.parsed_scope.start" : 183, - "key.related_decls" : [ - { - "key.annotated_decl" : "sections<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var sections: [SectionState<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sections<\/decl.name>: [SectionState<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 34, - "key.line" : 185, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 5765, - "key.offset" : 5761, - "key.parsed_declaration" : "var sections : [SectionState] = []", - "key.parsed_scope.end" : 185, - "key.parsed_scope.start" : 185, - "key.reusingastcontext" : false, - "key.typename" : "[PresentationState.SectionState]", - "key.typeusr" : "$sSay10ListableUI17PresentationStateC07SectionD0CGD", - "key.usr" : "s:10ListableUI17PresentationStateC8sections2atSayAC07SectionD0CGSaySiG_tFADL_AHvp" - } - ], - "key.typename" : "(PresentationState) -> ([Int]) -> [PresentationState.SectionState]", - "key.typeusr" : "$s2atSay10ListableUI17PresentationStateC07SectionE0CGSaySiG_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC8sections2atSayAC07SectionD0CGSaySiG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var lastIndexPath: IndexPath<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5936 - } - ], - "key.bodylength" : 411, - "key.bodyoffset" : 5979, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastIndexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 448, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "lastIndexPath", - "key.namelength" : 13, - "key.nameoffset" : 5947, - "key.offset" : 5943, - "key.parsed_declaration" : "public var lastIndexPath : IndexPath?", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 194, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI17PresentationStateC13lastIndexPath10Foundation0fG0VSgvp" - }, - { - "key.annotated_decl" : "let nonEmptySections: [(index: Int<\/Type>, section: SectionState<\/Type>)]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> nonEmptySections<\/decl.name>: [(index<\/tuple.element.argument_label>: Int<\/ref.struct><\/tuple.element.type><\/tuple.element>, section<\/tuple.element.argument_label>: SectionState<\/ref.class><\/tuple.element.type><\/tuple.element>)<\/tuple>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 187, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "nonEmptySections", - "key.namelength" : 16, - "key.nameoffset" : 5992, - "key.offset" : 5988, - "key.parsed_declaration" : "let nonEmptySections : [(index:Int, section:SectionState)] = self.sections.compactMapWithIndex { index, _, state in\n return state.items.isEmpty ? nil : (index, state)\n}", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.typename" : "[(index: Int, section: PresentationState.SectionState)]", - "key.typeusr" : "$sSaySi5index_10ListableUI17PresentationStateC07SectionE0C7sectiontGD", - "key.usr" : "s:10ListableUI17PresentationStateC13lastIndexPath10Foundation0fG0VSgvg16nonEmptySectionsL_SaySi5index_AC07SectionD0C7sectiontGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func indexPath(for itemToFind: AnyPresentationItemState<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 6401 - } - ], - "key.bodylength" : 327, - "key.bodyoffset" : 6487, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> indexPath<\/decl.name>(for<\/decl.var.parameter.argument_label> itemToFind<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 405, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "indexPath(for:)", - "key.namelength" : 52, - "key.nameoffset" : 6415, - "key.offset" : 6410, - "key.parsed_declaration" : "internal func indexPath(for itemToFind : AnyPresentationItemState) -> IndexPath?", - "key.parsed_scope.end" : 218, - "key.parsed_scope.start" : 207, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (any AnyPresentationItemState) -> IndexPath?", - "key.typeusr" : "$s3for10Foundation9IndexPathVSg10ListableUI24AnyPresentationItemState_p_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC9indexPath3for10Foundation05IndexF0VSgAA03Anyc4ItemD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func forEachItem(_ block: (IndexPath<\/Type>, AnyPresentationItemState<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 6825 - } - ], - "key.bodylength" : 244, - "key.bodyoffset" : 6911, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> forEachItem<\/decl.name>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 322, - "key.line" : 220, - "key.modulename" : "ListableUI", - "key.name" : "forEachItem(_:)", - "key.namelength" : 66, - "key.nameoffset" : 6839, - "key.offset" : 6834, - "key.parsed_declaration" : "internal func forEachItem(_ block : (IndexPath, AnyPresentationItemState) -> ())", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 220, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> ((IndexPath, any AnyPresentationItemState) -> ()) -> ()", - "key.typeusr" : "$syyy10Foundation9IndexPathV_10ListableUI24AnyPresentationItemState_ptXEcD", - "key.usr" : "s:10ListableUI17PresentationStateC11forEachItemyyy10Foundation9IndexPathV_AA03AnycgD0_ptXEF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 19, - "key.name" : "MARK: Mutating Data", - "key.offset" : 7176 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func moveItem(from: IndexPath<\/Type>, to: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 193, - "key.bodyoffset" : 7265, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> moveItem<\/decl.name>(from<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 247, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "moveItem(from:to:)", - "key.namelength" : 42, - "key.nameoffset" : 7217, - "key.offset" : 7212, - "key.parsed_declaration" : "func moveItem(from : IndexPath, to : IndexPath)", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 233, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 30, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 7348, - "key.offset" : 7344, - "key.parsed_declaration" : "let item = self.item(at: from)", - "key.parsed_scope.end" : 239, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI17PresentationStateC8moveItem4from2toy10Foundation9IndexPathV_AItF4itemL_AA03AnycfD0_pvp" - } - ], - "key.typename" : "(PresentationState) -> (IndexPath, IndexPath) -> ()", - "key.typeusr" : "$s4from2toy10Foundation9IndexPathV_AEtcD", - "key.usr" : "s:10ListableUI17PresentationStateC8moveItem4from2toy10Foundation9IndexPathV_AItF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@discardableResult func remove(at indexPath: IndexPath<\/Type>) -> AnyPresentationItemState<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 7469 - } - ], - "key.bodylength" : 123, - "key.bodyoffset" : 7563, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> remove<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationItemState<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 195, - "key.line" : 246, - "key.modulename" : "ListableUI", - "key.name" : "remove(at:)", - "key.namelength" : 32, - "key.nameoffset" : 7497, - "key.offset" : 7492, - "key.parsed_declaration" : "func remove(at indexPath : IndexPath) -> AnyPresentationItemState", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 246, - "key.related_decls" : [ - { - "key.annotated_decl" : "remove(item:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 248, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 7576, - "key.offset" : 7572, - "key.parsed_declaration" : "let section = self.sections[indexPath.section]", - "key.parsed_scope.end" : 248, - "key.parsed_scope.start" : 248, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI17PresentationStateC6remove2atAA03Anyc4ItemD0_p10Foundation9IndexPathV_tF7sectionL_AC07SectionD0Cvp" - } - ], - "key.typename" : "(PresentationState) -> (IndexPath) -> any AnyPresentationItemState", - "key.typeusr" : "$s2at10ListableUI24AnyPresentationItemState_p10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC6remove2atAA03Anyc4ItemD0_p10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func remove(item itemToRemove: AnyPresentationItemState<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.bodylength" : 187, - "key.bodyoffset" : 7774, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> remove<\/decl.name>(item<\/decl.var.parameter.argument_label> itemToRemove<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 265, - "key.line" : 253, - "key.modulename" : "ListableUI", - "key.name" : "remove(item:)", - "key.namelength" : 52, - "key.nameoffset" : 7702, - "key.offset" : 7697, - "key.parsed_declaration" : "func remove(item itemToRemove : AnyPresentationItemState) -> IndexPath?", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 253, - "key.related_decls" : [ - { - "key.annotated_decl" : "remove(at:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (any AnyPresentationItemState) -> IndexPath?", - "key.typeusr" : "$s4item10Foundation9IndexPathVSg10ListableUI24AnyPresentationItemState_p_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC6remove4item10Foundation9IndexPathVSgAA03Anyc4ItemD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func insert(item: AnyPresentationItemState<\/Type>, at indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 132, - "key.bodyoffset" : 8048, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> insert<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 209, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "insert(item:at:)", - "key.namelength" : 65, - "key.nameoffset" : 7977, - "key.offset" : 7972, - "key.parsed_declaration" : "func insert(item : AnyPresentationItemState, at indexPath : IndexPath)", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 264, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 266, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 8061, - "key.offset" : 8057, - "key.parsed_declaration" : "let section = self.sections[indexPath.section]", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 266, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI17PresentationStateC6insert4item2atyAA03Anyc4ItemD0_p_10Foundation9IndexPathVtF7sectionL_AC07SectionD0Cvp" - } - ], - "key.typename" : "(PresentationState) -> (any AnyPresentationItemState, IndexPath) -> ()", - "key.typeusr" : "$s4item2aty10ListableUI24AnyPresentationItemState_p_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC6insert4item2atyAA03Anyc4ItemD0_p_10Foundation9IndexPathVtF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Height Caching", - "key.offset" : 8201 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var onResetCachedSizes: () -> ()<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> onResetCachedSizes<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 276, - "key.modulename" : "ListableUI", - "key.name" : "onResetCachedSizes", - "key.namelength" : 18, - "key.nameoffset" : 8275, - "key.offset" : 8271, - "key.parsed_declaration" : "var onResetCachedSizes : () -> () = {}", - "key.parsed_scope.end" : 276, - "key.parsed_scope.start" : 276, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC18onResetCachedSizesyycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func resetAllCachedSizes()<\/Declaration>", - "key.bodylength" : 330, - "key.bodyoffset" : 8351, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> resetAllCachedSizes<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 363, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "resetAllCachedSizes()", - "key.namelength" : 21, - "key.nameoffset" : 8324, - "key.offset" : 8319, - "key.parsed_declaration" : "func resetAllCachedSizes()", - "key.parsed_scope.end" : 290, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC19resetAllCachedSizesyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: Updating Content & State", - "key.offset" : 8702 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func update(with diff: SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>, slice: Content<\/Type>.Slice<\/Type>, reason: ApplyReason<\/Type>, animated: Bool<\/Type>, dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, loggable: SignpostLoggable<\/Type>?)<\/Declaration>", - "key.bodylength" : 3934, - "key.bodyoffset" : 9062, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> diff<\/decl.var.parameter.name>: SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, slice<\/decl.var.parameter.argument_label>: Content<\/ref.struct>.Slice<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reason<\/decl.var.parameter.argument_label>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, dependencies<\/decl.var.parameter.argument_label>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, loggable<\/decl.var.parameter.argument_label>: SignpostLoggable<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4248, - "key.line" : 296, - "key.modulename" : "ListableUI", - "key.name" : "update(with:slice:reason:animated:dependencies:updateCallbacks:loggable:)", - "key.namelength" : 306, - "key.nameoffset" : 8754, - "key.offset" : 8749, - "key.parsed_declaration" : "func update(\n with diff : SectionedDiff,\n slice : Content.Slice,\n reason: ApplyReason,\n animated : Bool,\n dependencies: ItemStateDependencies,\n updateCallbacks : UpdateCallbacks,\n loggable : SignpostLoggable?\n)", - "key.parsed_scope.end" : 413, - "key.parsed_scope.start" : 296, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let environment: ListEnvironment<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 315, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 9464, - "key.offset" : 9460, - "key.parsed_declaration" : "let environment = dependencies.environmentProvider()", - "key.parsed_scope.end" : 315, - "key.parsed_scope.start" : 315, - "key.reusingastcontext" : false, - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI17PresentationStateC6update4with5slice6reason8animated12dependencies0E9Callbacks8loggableyAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA0P4Item_pAQG_AA7ContentV5SliceVAA11ApplyReasonOSbAA0rD12DependenciesVAA06UpdateK0CAA16SignpostLoggable_pSgtF11environmentL_AA15ListEnvironmentVvp" - } - ], - "key.typename" : "(PresentationState) -> (SectionedDiff, Content.Slice, ApplyReason, Bool, ItemStateDependencies, UpdateCallbacks, (any SignpostLoggable)?) -> ()", - "key.typeusr" : "$s4with5slice6reason8animated12dependencies15updateCallbacks8loggabley10ListableUI13SectionedDiffVyAH7SectionVAH13AnyIdentifierCAH0N4Item_pANG_AH7ContentV5SliceVAH11ApplyReasonOSbAH0P17StateDependenciesVAH06UpdateG0CAH16SignpostLoggable_pSgtcD", - "key.usr" : "s:10ListableUI17PresentationStateC6update4with5slice6reason8animated12dependencies0E9Callbacks8loggableyAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA0P4Item_pAQG_AA7ContentV5SliceVAA11ApplyReasonOSbAA0rD12DependenciesVAA06UpdateK0CAA16SignpostLoggable_pSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func updateOldIndexPaths()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13007 - } - ], - "key.bodylength" : 342, - "key.bodyoffset" : 13043, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateOldIndexPaths<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 371, - "key.line" : 415, - "key.modulename" : "ListableUI", - "key.name" : "updateOldIndexPaths()", - "key.namelength" : 21, - "key.nameoffset" : 13020, - "key.offset" : 13015, - "key.parsed_declaration" : "private func updateOldIndexPaths()", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 415, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17PresentationStateC19updateOldIndexPaths33_939783EE01E8AF6B5319AE23F86DC036LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func updateRefreshControl(with new: RefreshControl<\/Type>?, in view: UIScrollView<\/Type>, color: UIColor<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 13396 - } - ], - "key.bodylength" : 532, - "key.bodyoffset" : 13506, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateRefreshControl<\/decl.name>(with<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: RefreshControl<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, color<\/decl.var.parameter.argument_label>: UIColor<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 634, - "key.line" : 427, - "key.modulename" : "ListableUI", - "key.name" : "updateRefreshControl(with:in:color:)", - "key.namelength" : 90, - "key.nameoffset" : 13410, - "key.offset" : 13405, - "key.parsed_declaration" : "internal func updateRefreshControl(with new : RefreshControl?, in view : UIScrollView, color : UIColor?)", - "key.parsed_scope.end" : 440, - "key.parsed_scope.start" : 427, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (RefreshControl?, UIScrollView, UIColor?) -> ()", - "key.typeusr" : "$s4with2in5colory10ListableUI14RefreshControlVSg_So12UIScrollViewCSo7UIColorCSgtcD", - "key.usr" : "s:10ListableUI17PresentationStateC20updateRefreshControl4with2in5coloryAA0fG0VSg_So12UIScrollViewCSo7UIColorCSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func adjustContentOffsetForRefreshControl(in view: UIScrollView<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 14045 - } - ], - "key.bodylength" : 632, - "key.bodyoffset" : 14125, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> adjustContentOffsetForRefreshControl<\/decl.name>(in<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 704, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "adjustContentOffsetForRefreshControl(in:)", - "key.namelength" : 60, - "key.nameoffset" : 14059, - "key.offset" : 14054, - "key.parsed_declaration" : "internal func adjustContentOffsetForRefreshControl(in view : UIScrollView)", - "key.parsed_scope.end" : 461, - "key.parsed_scope.start" : 442, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (UIScrollView) -> ()", - "key.typeusr" : "$s2inySo12UIScrollViewC_tcD", - "key.usr" : "s:10ListableUI17PresentationStateC36adjustContentOffsetForRefreshControl2inySo12UIScrollViewC_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 44, - "key.name" : "MARK: Cell & Supplementary View Registration", - "key.offset" : 14778 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var registeredCellObjectIdentifiers: Set<\/Type><ObjectIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14839 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> registeredCellObjectIdentifiers<\/decl.name>: Set<\/ref.struct><ObjectIdentifier<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 67, - "key.line" : 467, - "key.modulename" : "ListableUI", - "key.name" : "registeredCellObjectIdentifiers", - "key.namelength" : 31, - "key.nameoffset" : 14851, - "key.offset" : 14847, - "key.parsed_declaration" : "private var registeredCellObjectIdentifiers : Set = Set()", - "key.parsed_scope.end" : 467, - "key.parsed_scope.start" : 467, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Set", - "key.typeusr" : "$sShySOGD", - "key.usr" : "s:10ListableUI17PresentationStateC31registeredCellObjectIdentifiers33_939783EE01E8AF6B5319AE23F86DC036LLShySOGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func registerCell(for item: AnyPresentationItemState<\/Type>, in view: UICollectionView<\/Type>)<\/Declaration>", - "key.bodylength" : 405, - "key.bodyoffset" : 15012, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> registerCell<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 494, - "key.line" : 469, - "key.modulename" : "ListableUI", - "key.name" : "registerCell(for:in:)", - "key.namelength" : 77, - "key.nameoffset" : 14929, - "key.offset" : 14924, - "key.parsed_declaration" : "func registerCell(for item : AnyPresentationItemState, in view : UICollectionView)", - "key.parsed_scope.end" : 482, - "key.parsed_scope.start" : 469, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let info: (class: AnyClass<\/Type>, reuseIdentifier: String<\/Type>)<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> info<\/decl.name>: (class<\/tuple.element.argument_label>: AnyClass<\/ref.typealias><\/tuple.element.type><\/tuple.element>, reuseIdentifier<\/tuple.element.argument_label>: String<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 471, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 15025, - "key.offset" : 15021, - "key.parsed_declaration" : "let info = item.cellRegistrationInfo", - "key.parsed_scope.end" : 471, - "key.parsed_scope.start" : 471, - "key.reusingastcontext" : false, - "key.typename" : "(class: any AnyObject.Type, reuseIdentifier: String)", - "key.typeusr" : "$syXlXp5class_SS15reuseIdentifiertD", - "key.usr" : "s:10ListableUI17PresentationStateC12registerCell3for2inyAA03Anyc4ItemD0_p_So16UICollectionViewCtF4infoL_yXlXp5class_SS15reuseIdentifiertvp" - }, - { - "key.annotated_decl" : "let identifier: ObjectIdentifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 473, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 15079, - "key.offset" : 15075, - "key.parsed_declaration" : "let identifier = ObjectIdentifier(info.class)", - "key.parsed_scope.end" : 473, - "key.parsed_scope.start" : 473, - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI17PresentationStateC12registerCell3for2inyAA03Anyc4ItemD0_p_So16UICollectionViewCtF10identifierL_SOvp" - } - ], - "key.typename" : "(PresentationState) -> (any AnyPresentationItemState, UICollectionView) -> ()", - "key.typeusr" : "$s3for2iny10ListableUI24AnyPresentationItemState_p_So16UICollectionViewCtcD", - "key.usr" : "s:10ListableUI17PresentationStateC12registerCell3for2inyAA03Anyc4ItemD0_p_So16UICollectionViewCtF" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - }, - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 851, - "key.bodyoffset" : 15452, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 881, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 15433, - "key.offset" : 15423, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 515, - "key.parsed_scope.start" : 486, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "enum UpdateReason : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 805, - "key.bodyoffset" : 15496, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 15481 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> UpdateReason<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 841, - "key.line" : 488, - "key.modulename" : "ListableUI", - "key.name" : "UpdateReason", - "key.namelength" : 12, - "key.nameoffset" : 15466, - "key.offset" : 15461, - "key.parsed_declaration" : "enum UpdateReason : Equatable", - "key.parsed_scope.end" : 514, - "key.parsed_scope.start" : 488, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 15505, - "key.substructure" : [ - { - "key.annotated_decl" : "case scrolledDown<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrolledDown<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 490, - "key.modulename" : "ListableUI", - "key.name" : "scrolledDown", - "key.namelength" : 12, - "key.nameoffset" : 15510, - "key.offset" : 15510, - "key.parsed_declaration" : "case scrolledDown", - "key.parsed_scope.end" : 490, - "key.parsed_scope.start" : 490, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.UpdateReason.Type) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO12scrolledDownyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 23, - "key.offset" : 15531, - "key.substructure" : [ - { - "key.annotated_decl" : "case didEndDecelerating<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> didEndDecelerating<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 491, - "key.modulename" : "ListableUI", - "key.name" : "didEndDecelerating", - "key.namelength" : 18, - "key.nameoffset" : 15536, - "key.offset" : 15536, - "key.parsed_declaration" : "case didEndDecelerating", - "key.parsed_scope.end" : 491, - "key.parsed_scope.start" : 491, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.UpdateReason.Type) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO18didEndDeceleratingyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 18, - "key.offset" : 15572, - "key.substructure" : [ - { - "key.annotated_decl" : "case scrolledToTop<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrolledToTop<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 13, - "key.line" : 493, - "key.modulename" : "ListableUI", - "key.name" : "scrolledToTop", - "key.namelength" : 13, - "key.nameoffset" : 15577, - "key.offset" : 15577, - "key.parsed_declaration" : "case scrolledToTop", - "key.parsed_scope.end" : 493, - "key.parsed_scope.start" : 493, - "key.reusingastcontext" : false, - "key.typename" : "(PresentationState.UpdateReason.Type) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonOAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO13scrolledToTopyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 62, - "key.offset" : 15608, - "key.substructure" : [ - { - "key.annotated_decl" : "case contentChanged(animated: Bool<\/Type>, identifierChanged: Bool<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> contentChanged<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, identifierChanged<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 57, - "key.line" : 495, - "key.modulename" : "ListableUI", - "key.name" : "contentChanged(animated:identifierChanged:)", - "key.namelength" : 57, - "key.nameoffset" : 15613, - "key.offset" : 15613, - "key.parsed_declaration" : "case contentChanged(animated : Bool, identifierChanged : Bool)", - "key.parsed_scope.end" : 495, - "key.parsed_scope.start" : 495, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.UpdateReason.Type) -> (Bool, Bool) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonOSb_SbtcAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO14contentChangedyAESb_SbtcAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 41, - "key.offset" : 15688, - "key.substructure" : [ - { - "key.annotated_decl" : "case transitionedToBounds(isEmpty: Bool<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> transitionedToBounds<\/decl.name>(isEmpty<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 36, - "key.line" : 497, - "key.modulename" : "ListableUI", - "key.name" : "transitionedToBounds(isEmpty:)", - "key.namelength" : 36, - "key.nameoffset" : 15693, - "key.offset" : 15693, - "key.parsed_declaration" : "case transitionedToBounds(isEmpty : Bool)", - "key.parsed_scope.end" : 497, - "key.parsed_scope.start" : 497, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.UpdateReason.Type) -> (Bool) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonOSb_tcAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO20transitionedToBoundsyAESb_tcAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 39, - "key.offset" : 15747, - "key.substructure" : [ - { - "key.annotated_decl" : "case programaticScrollDownTo(IndexPath<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> programaticScrollDownTo<\/decl.name>(IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 34, - "key.line" : 499, - "key.modulename" : "ListableUI", - "key.name" : "programaticScrollDownTo(_:)", - "key.namelength" : 34, - "key.nameoffset" : 15752, - "key.offset" : 15752, - "key.parsed_declaration" : "case programaticScrollDownTo(IndexPath)", - "key.parsed_scope.end" : 499, - "key.parsed_scope.start" : 499, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState.UpdateReason.Type) -> (IndexPath) -> PresentationState.UpdateReason", - "key.typeusr" : "$sy10ListableUI17PresentationStateC12UpdateReasonO10Foundation9IndexPathVcAEmcD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO23programaticScrollDownToyAE10Foundation9IndexPathVcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var animated: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 474, - "key.bodyoffset" : 15821, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> animated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 496, - "key.line" : 501, - "key.modulename" : "ListableUI", - "key.name" : "animated", - "key.namelength" : 8, - "key.nameoffset" : 15804, - "key.offset" : 15800, - "key.parsed_declaration" : "var animated : Bool", - "key.parsed_scope.end" : 513, - "key.parsed_scope.start" : 501, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO8animatedSbvp" - } - ], - "key.typename" : "PresentationState.UpdateReason.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC12UpdateReasonOmD", - "key.usr" : "s:10ListableUI17PresentationStateC12UpdateReasonO" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - }, - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 174, - "key.bodyoffset" : 16336, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 204, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 16317, - "key.offset" : 16307, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 527, - "key.parsed_scope.start" : 518, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "struct SizeKey : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 136, - "key.bodyoffset" : 16372, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 16358 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> SizeKey<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 168, - "key.line" : 520, - "key.modulename" : "ListableUI", - "key.name" : "SizeKey", - "key.namelength" : 7, - "key.nameoffset" : 16348, - "key.offset" : 16341, - "key.parsed_declaration" : "struct SizeKey : Hashable", - "key.parsed_scope.end" : 526, - "key.parsed_scope.start" : 520, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var width: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> width<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 522, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 16385, - "key.offset" : 16381, - "key.parsed_declaration" : "var width : CGFloat", - "key.parsed_scope.end" : 522, - "key.parsed_scope.start" : 522, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17PresentationStateC7SizeKeyV5width14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var height: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> height<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 523, - "key.modulename" : "ListableUI", - "key.name" : "height", - "key.namelength" : 6, - "key.nameoffset" : 16413, - "key.offset" : 16409, - "key.parsed_declaration" : "var height : CGFloat", - "key.parsed_scope.end" : 523, - "key.parsed_scope.start" : 523, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17PresentationStateC7SizeKeyV6height14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layoutDirection: LayoutDirection<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutDirection<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 524, - "key.modulename" : "ListableUI", - "key.name" : "layoutDirection", - "key.namelength" : 15, - "key.nameoffset" : 16442, - "key.offset" : 16438, - "key.parsed_declaration" : "var layoutDirection : LayoutDirection", - "key.parsed_scope.end" : 524, - "key.parsed_scope.start" : 524, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI17PresentationStateC7SizeKeyV15layoutDirectionAA06LayoutH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var sizing: Sizing<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 525, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 16488, - "key.offset" : 16484, - "key.parsed_declaration" : "var sizing : Sizing", - "key.parsed_scope.end" : 525, - "key.parsed_scope.start" : 525, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI17PresentationStateC7SizeKeyV6sizingAA6SizingOvp" - } - ], - "key.typename" : "PresentationState.SizeKey.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateC7SizeKeyVmD", - "key.usr" : "s:10ListableUI17PresentationStateC7SizeKeyV" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - }, - { - "key.annotated_decl" : "final class PresentationState<\/Declaration>", - "key.bodylength" : 4029, - "key.bodyoffset" : 16543, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class used to manage the \"live\" \/ mutable state of the visible items in the list,\nwhich is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).", - "key.doc.column" : 13, - "key.doc.declaration" : "final class PresentationState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.doc.full_as_xml" : "PresentationState<\/Name>s:10ListableUI17PresentationStateC<\/USR>final class PresentationState<\/Declaration>A class used to manage the “live” \/ mutable state of the visible items in the list, which is persistent across diffs of content (instances are only created or destroyed when an item enters or leaves the list).<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "PresentationState", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PresentationState<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 4059, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "PresentationState", - "key.namelength" : 17, - "key.nameoffset" : 16524, - "key.offset" : 16514, - "key.parsed_declaration" : "extension PresentationState", - "key.parsed_scope.end" : 627, - "key.parsed_scope.start" : 530, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func toListLayoutContent(defaults: ListLayoutDefaults<\/Type>, environment: ListEnvironment<\/Type>) -> ListLayoutContent<\/Type><\/Declaration>", - "key.bodylength" : 3888, - "key.bodyoffset" : 16682, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toListLayoutContent<\/decl.name>(defaults<\/decl.var.parameter.argument_label>: ListLayoutDefaults<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4023, - "key.line" : 532, - "key.modulename" : "ListableUI", - "key.name" : "toListLayoutContent(defaults:environment:)", - "key.namelength" : 102, - "key.nameoffset" : 16553, - "key.offset" : 16548, - "key.parsed_declaration" : "func toListLayoutContent(\n defaults: ListLayoutDefaults,\n environment : ListEnvironment\n) -> ListLayoutContent", - "key.parsed_scope.end" : 626, - "key.parsed_scope.start" : 532, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PresentationState) -> (ListLayoutDefaults, ListEnvironment) -> ListLayoutContent", - "key.typeusr" : "$s8defaults11environment10ListableUI17ListLayoutContentCAC0eF8DefaultsV_AC0E11EnvironmentVtcD", - "key.usr" : "s:10ListableUI17PresentationStateC19toListLayoutContent8defaults11environmentAA0fgH0CAA0fG8DefaultsV_AA0F11EnvironmentVtF" - } - ], - "key.typename" : "PresentationState.Type", - "key.typeusr" : "$s10ListableUI17PresentationStateCmD", - "key.usr" : "s:10ListableUI17PresentationStateC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIScrollView : UIView<\/Type>, NSCoding<\/Type>, UIFocusItemScrollableContainer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 20575 - } - ], - "key.bodylength" : 375, - "key.bodyoffset" : 20611, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIScrollView.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIScrollView<\/decl.name> : UIView<\/ref.class>, NSCoding<\/ref.protocol>, UIFocusItemScrollableContainer<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 400, - "key.line" : 87, - "key.modulename" : "UIKit.UIScrollView", - "key.name" : "UIScrollView", - "key.namelength" : 12, - "key.nameoffset" : 20597, - "key.offset" : 20587, - "key.parsed_declaration" : "fileprivate extension UIScrollView", - "key.parsed_scope.end" : 642, - "key.parsed_scope.start" : 629, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> var isScrolledToTop: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 337, - "key.bodyoffset" : 20647, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> isScrolledToTop<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 369, - "key.line" : 631, - "key.modulename" : "ListableUI", - "key.name" : "isScrolledToTop", - "key.namelength" : 15, - "key.nameoffset" : 20620, - "key.offset" : 20616, - "key.parsed_declaration" : "var isScrolledToTop: Bool", - "key.parsed_scope.end" : 641, - "key.parsed_scope.start" : 631, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIScrollView" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:So12UIScrollViewC10ListableUIE15isScrolledToTop33_939783EE01E8AF6B5319AE23F86DC036LLSbvp" - }, - { - "key.annotated_decl" : "var topInset: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/PresentationState\/PresentationState.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> topInset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 635, - "key.modulename" : "ListableUI", - "key.name" : "topInset", - "key.namelength" : 8, - "key.nameoffset" : 20783, - "key.offset" : 20779, - "key.parsed_declaration" : "var topInset = adjustedContentInset.top", - "key.parsed_scope.end" : 635, - "key.parsed_scope.start" : 635, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:So12UIScrollViewC10ListableUIE15isScrolledToTop33_939783EE01E8AF6B5319AE23F86DC036LLSbvg8topInsetL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "UIScrollView.Type", - "key.typeusr" : "$sSo12UIScrollViewCmD", - "key.usr" : "c:objc(cs)UIScrollView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2107, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class ReusableViewCache<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 119 - } - ], - "key.bodylength" : 1955, - "key.bodyoffset" : 150, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReusableViewCache<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1981, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ReusableViewCache", - "key.namelength" : 17, - "key.nameoffset" : 131, - "key.offset" : 125, - "key.parsed_declaration" : "final class ReusableViewCache", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var views: [String<\/Type> : [AnyObject<\/Type>]]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 155 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> views<\/decl.name>: [String<\/ref.struct> : [AnyObject<\/ref.typealias>]]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 167, - "key.offset" : 163, - "key.parsed_declaration" : "private var views : [String:[AnyObject]] = [:]", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[String : [AnyObject]]", - "key.typeusr" : "$sSDySSSayyXlGGD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC5views33_D3355A373DDEE8B98B23E0A207A271BBLLSDySSSayyXlGGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var cachedViewCount: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 66, - "key.bodyoffset" : 234, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> cachedViewCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 94, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "cachedViewCount", - "key.namelength" : 15, - "key.nameoffset" : 211, - "key.offset" : 207, - "key.parsed_declaration" : "var cachedViewCount : Int", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC06cachedD5CountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 315, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 307, - "key.offset" : 307, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.typename" : "(ReusableViewCache.Type) -> () -> ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCycD", - "key.usr" : "s:10ListableUI17ReusableViewCacheCACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func count<Content>(for reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>>) -> Int<\/Type><\/Declaration>", - "key.bodylength" : 106, - "key.bodyoffset" : 406, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> count<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(for<\/decl.var.parameter.argument_label> reuseIdentifier<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 187, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "count(for:)", - "key.namelength" : 62, - "key.nameoffset" : 331, - "key.offset" : 326, - "key.parsed_declaration" : "func count(for reuseIdentifier : ReuseIdentifier) -> Int", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 337, - "key.offset" : 337, - "key.parsed_declaration" : "func countContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC5count3forSiAA15ReuseIdentifierCyxG_tlF7ContentL_xmfp" - }, - { - "key.annotated_decl" : "let views: [AnyObject<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> views<\/decl.name>: [AnyObject<\/ref.typealias>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 419, - "key.offset" : 415, - "key.parsed_declaration" : "let views = self.views[reuseIdentifier.stringValue, default: []]", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.typename" : "[AnyObject]", - "key.typeusr" : "$sSayyXlGD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC5count3forSiAA15ReuseIdentifierCyxG_tlF5viewsL_SayyXlGvp" - } - ], - "key.typename" : " (ReusableViewCache) -> (ReuseIdentifier) -> Int", - "key.typeusr" : "$s3forSi10ListableUI15ReuseIdentifierCyxG_tcluD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC5count3forSiAA15ReuseIdentifierCyxG_tlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func push<Content, View>(_ view: View<\/Type>, with reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>>) where View<\/Type> : AnyObject<\/Declaration>", - "key.bodylength" : 319, - "key.bodyoffset" : 625, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> push<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>, View<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: View<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> reuseIdentifier<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> View<\/ref.generic_type_param> : AnyObject<\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 422, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "push(_:with:)", - "key.namelength" : 91, - "key.nameoffset" : 528, - "key.offset" : 523, - "key.parsed_declaration" : "func push(_ view : View, with reuseIdentifier: ReuseIdentifier)", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 533, - "key.offset" : 533, - "key.parsed_declaration" : "func pushContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC4push_4withyq__AA15ReuseIdentifierCyxGtRl_Cr0_lF7ContentL_xmfp" - }, - { - "key.annotated_decl" : "View : AnyObject<\/Type><\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 546 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "View<\/decl.generic_type_param.name> : AnyObject<\/ref.typealias><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 14, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "View", - "key.namelength" : 4, - "key.nameoffset" : 541, - "key.offset" : 541, - "key.parsed_declaration" : "func pushvar views: [AnyObject<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> views<\/decl.name>: [AnyObject<\/ref.typealias>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 638, - "key.offset" : 634, - "key.parsed_declaration" : "var views = self.views[reuseIdentifier.stringValue, default: []]", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "[AnyObject]", - "key.typeusr" : "$sSayyXlGD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC4push_4withyq__AA15ReuseIdentifierCyxGtRl_Cr0_lF5viewsL_SayyXlGvp" - } - ], - "key.typename" : " (ReusableViewCache) -> (View, ReuseIdentifier) -> ()", - "key.typeusr" : "$s_4withyq__10ListableUI15ReuseIdentifierCyxGtcRl_Cr0_luD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC4push_4withyq__AA15ReuseIdentifierCyxGtRl_Cr0_lF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func pop<Content, View>(with reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>>, _ create: () -> View<\/Type>) -> View<\/Type> where View<\/Type> : AnyObject<\/Declaration>", - "key.bodylength" : 275, - "key.bodyoffset" : 1072, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> pop<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>, View<\/decl.generic_type_param.name><\/decl.generic_type_param>>(with<\/decl.var.parameter.argument_label> reuseIdentifier<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> create<\/decl.var.parameter.name>: () -> View<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> View<\/ref.generic_type_param><\/decl.function.returntype> where<\/syntaxtype.keyword> View<\/ref.generic_type_param> : AnyObject<\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 393, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "pop(with:_:)", - "key.namelength" : 98, - "key.nameoffset" : 960, - "key.offset" : 955, - "key.parsed_declaration" : "func pop(with reuseIdentifier: ReuseIdentifier, _ create : () -> View) -> View", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 964, - "key.offset" : 964, - "key.parsed_declaration" : "func popContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3pop4with_q_AA15ReuseIdentifierCyxG_q_yXEtRl_Cr0_lF7ContentL_xmfp" - }, - { - "key.annotated_decl" : "View : AnyObject<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 977 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "View<\/decl.generic_type_param.name> : AnyObject<\/ref.typealias><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 14, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "View", - "key.namelength" : 4, - "key.nameoffset" : 972, - "key.offset" : 972, - "key.parsed_declaration" : "func popvar views: [AnyObject<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> views<\/decl.name>: [AnyObject<\/ref.typealias>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 1085, - "key.offset" : 1081, - "key.parsed_declaration" : "var views = self.views[reuseIdentifier.stringValue, default: []]", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.typename" : "[AnyObject]", - "key.typeusr" : "$sSayyXlGD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3pop4with_q_AA15ReuseIdentifierCyxG_q_yXEtRl_Cr0_lF5viewsL_SayyXlGvp" - } - ], - "key.typename" : " (ReusableViewCache) -> (ReuseIdentifier, () -> View) -> View", - "key.typeusr" : "$s4with_q_10ListableUI15ReuseIdentifierCyxG_q_yXEtcRl_Cr0_luD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3pop4with_q_AA15ReuseIdentifierCyxG_q_yXEtRl_Cr0_lF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func use<Content, View, Result>(with reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>>, create: () -> View<\/Type>, _ use: (View<\/Type>) -> Result<\/Type>) -> Result<\/Type> where View<\/Type> : AnyObject<\/Declaration>", - "key.bodylength" : 532, - "key.bodyoffset" : 1509, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> use<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>, View<\/decl.generic_type_param.name><\/decl.generic_type_param>, Result<\/decl.generic_type_param.name><\/decl.generic_type_param>>(with<\/decl.var.parameter.argument_label> reuseIdentifier<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, create<\/decl.var.parameter.argument_label>: () -> View<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> use<\/decl.var.parameter.name>: (View<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Result<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Result<\/ref.generic_type_param><\/decl.function.returntype> where<\/syntaxtype.keyword> View<\/ref.generic_type_param> : AnyObject<\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 684, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "use(with:create:_:)", - "key.namelength" : 130, - "key.nameoffset" : 1363, - "key.offset" : 1358, - "key.parsed_declaration" : "func use(with reuseIdentifier: ReuseIdentifier, create : () -> View, _ use : (View) -> Result) -> Result", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 1367, - "key.offset" : 1367, - "key.parsed_declaration" : "func useContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3use4with6create_q0_AA15ReuseIdentifierCyxG_q_yXEq0_q_XEtRl_Cr1_lF7ContentL_xmfp" - }, - { - "key.annotated_decl" : "View : AnyObject<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1380 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "View<\/decl.generic_type_param.name> : AnyObject<\/ref.typealias><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 14, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "View", - "key.namelength" : 4, - "key.nameoffset" : 1375, - "key.offset" : 1375, - "key.parsed_declaration" : "func useResult<\/Declaration>", - "key.column" : 38, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "Result<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 6, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "Result", - "key.namelength" : 6, - "key.nameoffset" : 1391, - "key.offset" : 1391, - "key.parsed_declaration" : "func useResult<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Result.Type", - "key.typeusr" : "$sq0_mD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3use4with6create_q0_AA15ReuseIdentifierCyxG_q_yXEq0_q_XEtRl_Cr1_lF6ResultL_q0_mfp" - }, - { - "key.annotated_decl" : "let views: [AnyObject<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> views<\/decl.name>: [AnyObject<\/ref.typealias>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "views", - "key.namelength" : 5, - "key.nameoffset" : 1522, - "key.offset" : 1518, - "key.parsed_declaration" : "let views = self.views[reuseIdentifier.stringValue, default: []]", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.typename" : "[AnyObject]", - "key.typeusr" : "$sSayyXlGD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3use4with6create_q0_AA15ReuseIdentifierCyxG_q_yXEq0_q_XEtRl_Cr1_lF5viewsL_SayyXlGvp" - } - ], - "key.typename" : " (ReusableViewCache) -> (ReuseIdentifier, () -> View, (View) -> Result) -> Result", - "key.typeusr" : "$s4with6create_q0_10ListableUI15ReuseIdentifierCyxG_q_yXEq0_q_XEtcRl_Cr1_luD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC3use4with6create_q0_AA15ReuseIdentifierCyxG_q_yXEq0_q_XEtRl_Cr1_lF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func removeAllObjects()<\/Declaration>", - "key.bodylength" : 30, - "key.bodyoffset" : 2073, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReusableViewCache.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> removeAllObjects<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 56, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "removeAllObjects()", - "key.namelength" : 18, - "key.nameoffset" : 2053, - "key.offset" : 2048, - "key.parsed_declaration" : "func removeAllObjects()", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReusableViewCache) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC16removeAllObjectsyyF" - } - ], - "key.typename" : "ReusableViewCache.Type", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCmD", - "key.usr" : "s:10ListableUI17ReusableViewCacheC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1400, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var identifiers: [ObjectIdentifier<\/Type> : Any]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 98 - } - ], - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifiers<\/decl.name>: [ObjectIdentifier<\/ref.struct> : Any<\/syntaxtype.keyword>]<\/decl.var.type><\/decl.var.global>", - "key.kind" : "source.lang.swift.decl.var.global", - "key.length" : 46, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "identifiers", - "key.namelength" : 11, - "key.nameoffset" : 110, - "key.offset" : 106, - "key.parsed_declaration" : "private var identifiers : [ObjectIdentifier:Any] = [:]", - "key.parsed_scope.end" : 9, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ObjectIdentifier : Any]", - "key.typeusr" : "$sSDySOypGD", - "key.usr" : "s:10ListableUI11identifiers33_4813771A5C175C8BFDA941FD37903D0BLLSDySOypGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class ReuseIdentifier<Element> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 155 - } - ], - "key.bodylength" : 1194, - "key.bodyoffset" : 204, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 194 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReuseIdentifier<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> : Hashable<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1238, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ReuseIdentifier", - "key.namelength" : 15, - "key.nameoffset" : 167, - "key.offset" : 161, - "key.parsed_declaration" : "final class ReuseIdentifier : Hashable", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Element<\/Declaration>", - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "Element<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 183, - "key.offset" : 183, - "key.parsed_declaration" : "final class ReuseIdentifierstatic func identifier(for element: Element<\/Type>.Type) -> ReuseIdentifier<\/Type><Element<\/Type>><\/Declaration>", - "key.bodylength" : 352, - "key.bodyoffset" : 342, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> identifier<\/decl.name>(for<\/decl.var.parameter.argument_label> element<\/decl.var.parameter.name>: Element<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> ReuseIdentifier<\/ref.class><Element<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 437, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "identifier(for:)", - "key.namelength" : 38, - "key.nameoffset" : 270, - "key.offset" : 258, - "key.parsed_declaration" : "static func identifier(for element : Element.Type) -> ReuseIdentifier", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 18, - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let typeIdentifier: ObjectIdentifier<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> typeIdentifier<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "typeIdentifier", - "key.namelength" : 14, - "key.nameoffset" : 355, - "key.offset" : 351, - "key.parsed_declaration" : "let typeIdentifier = ObjectIdentifier(element)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC10identifier3forACyxGxm_tFZ04typeD0L_SOvp" - } - ], - "key.typename" : " (ReuseIdentifier.Type) -> (Element.Type) -> ReuseIdentifier", - "key.typeusr" : "$s3for10ListableUI15ReuseIdentifierCyxGxm_tcD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC10identifier3forACyxGxm_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let stringValue: String<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> stringValue<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "stringValue", - "key.namelength" : 11, - "key.nameoffset" : 709, - "key.offset" : 705, - "key.parsed_declaration" : "let stringValue : String", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC11stringValueSSvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let identifier: ObjectIdentifier<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifier<\/decl.name>: ObjectIdentifier<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 738, - "key.offset" : 734, - "key.parsed_declaration" : "let identifier : ObjectIdentifier", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier(for:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ObjectIdentifier", - "key.typeusr" : "$sSOD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC10identifierSOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let hash: Int<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> hash<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "hash", - "key.namelength" : 4, - "key.nameoffset" : 781, - "key.offset" : 777, - "key.parsed_declaration" : "let hash : Int", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.related_decls" : [ - { - "key.annotated_decl" : "hash(into:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC4hashSivp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Private Methods", - "key.offset" : 811 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 849 - } - ], - "key.bodylength" : 236, - "key.bodyoffset" : 869, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 249, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 857, - "key.offset" : 857, - "key.parsed_declaration" : "private init()", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var hasher: Hasher<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> hasher<\/decl.name>: Hasher<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 21, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "hasher", - "key.namelength" : 6, - "key.nameoffset" : 1005, - "key.offset" : 1001, - "key.parsed_declaration" : "var hasher = Hasher()", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.typename" : "Hasher", - "key.typeusr" : "$ss6HasherVD", - "key.usr" : "s:10ListableUI15ReuseIdentifierCACyxGyc33_4813771A5C175C8BFDA941FD37903D0BLlfc6hasherL_s6HasherVvp" - } - ], - "key.typename" : " (ReuseIdentifier.Type) -> () -> ReuseIdentifier", - "key.typeusr" : "$s10ListableUI15ReuseIdentifierCyxGycD", - "key.usr" : "s:10ListableUI15ReuseIdentifierCACyxGyc33_4813771A5C175C8BFDA941FD37903D0BLlfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 15, - "key.name" : "MARK: Equatable", - "key.offset" : 1126 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func == (lhs: ReuseIdentifier<\/Type>, rhs: ReuseIdentifier<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 32, - "key.bodyoffset" : 1231, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: ReuseIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 106, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 47, - "key.nameoffset" : 1170, - "key.offset" : 1158, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "static func == (lhs: ReuseIdentifier, rhs: ReuseIdentifier) -> Bool", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ReuseIdentifier.Type) -> (ReuseIdentifier, ReuseIdentifier) -> Bool", - "key.typeusr" : "$sySb10ListableUI15ReuseIdentifierCyxG_ADtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 14, - "key.name" : "MARK: Hashable", - "key.offset" : 1284 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func hash(into hasher: inout Hasher<\/Type>)<\/Declaration>", - "key.bodylength" : 39, - "key.bodyoffset" : 1357, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Hashes the essential components of this value by feeding them into the\ngiven hasher.\n\nImplement this method to conform to the `Hashable` protocol. The\ncomponents used for hashing must be the same as the components compared\nin your type's `==` operator implementation. Call `hasher.combine(_:)`\nwith each of these components.\n\n- Important: In your implementation of `hash(into:)`,\n don't call `finalize()` on the `hasher` instance provided,\n or replace it with a different instance.\n Doing so may become a compile-time error in the future.\n\n- Parameter hasher: The hasher to use when combining the components\n of this instance.", - "key.doc.declaration" : "func hash(into hasher: inout Hasher)", - "key.doc.discussion" : [ - { - "Para" : "Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type’s `==` operator implementation. Call `hasher.combine(_:)` with each of these components." - }, - { - "Important" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "hash(into:)<\/Name>s:SH4hash4intoys6HasherVz_tF<\/USR>func hash(into hasher: inout Hasher)<\/Declaration>Hashes the essential components of this value by feeding them into the given hasher.<\/Para><\/Abstract>hasher<\/Name>in<\/Direction>The hasher to use when combining the components of this instance.<\/Para><\/Discussion><\/Parameter><\/Parameters>Implement this method to conform to the Hashable<\/codeVoice> protocol. The components used for hashing must be the same as the components compared in your type’s ==<\/codeVoice> operator implementation. Call hasher.combine(_:)<\/codeVoice> with each of these components.<\/Para>In your implementation of hash(into:)<\/codeVoice>, don’t call finalize()<\/codeVoice> on the hasher<\/codeVoice> instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.<\/Para><\/Important>This documentation comment was inherited from Hashable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "hash(into:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The hasher to use when combining the components of this instance." - } - ], - "name" : "hasher" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/ReuseIdentifier.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> hash<\/decl.name>(into<\/decl.var.parameter.argument_label> hasher<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Hasher<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "hash(into:)", - "key.namelength" : 31, - "key.nameoffset" : 1320, - "key.offset" : 1315, - "key.overrides" : [ - { - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.parsed_declaration" : "func hash(into hasher: inout Hasher)", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 64, - "key.related_decls" : [ - { - "key.annotated_decl" : "hash<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ReuseIdentifier) -> (inout Hasher) -> ()", - "key.typeusr" : "$s4intoys6HasherVz_tcD", - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.typename" : "ReuseIdentifier.Type", - "key.typeusr" : "$s10ListableUI15ReuseIdentifierCyxGmD", - "key.usr" : "s:10ListableUI15ReuseIdentifierC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8744, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class SupplementaryContainerView : UICollectionReusableView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 1304 - } - ], - "key.bodylength" : 7371, - "key.bodyoffset" : 1371, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The supplementary view provided to the UICollectionView, which is used\nto contain every actual header and footer view within the list.\n\nRegardless of if a section has a header or footer provided by the developer,\nwe always return a supplementary view – if there's no header or footer, it has\nzero height.\n\nWhy this extra layer of indirection?\n--------------------------------------\nWithin collection views, supplementary views (how you model headers, footers)\nare attached to individual index paths. So, Listable models headers and footers\nas attached to (0,0) for list headers and footers, and (sectionIndex, 0)\nfor section headers and footers. All good so far.\n\nThe problem arises when you want to swap out a header or footer without\nchanging the row at the (x, 0) index path. The collection view does not\nknow to re-query for those associated headers, because we didn't actually\nreload or change that (x, 0) item.\n\nThus, we always provide this container supplementary view – and swap the content\nof the header or footer in or out as needed as it changes. As mentioned above,\nif there is no actual header or footer to show, the view has zero height.\n", - "key.doc.column" : 13, - "key.doc.comment" : "The supplementary view provided to the UICollectionView, which is used\nto contain every actual header and footer view within the list.\n\nRegardless of if a section has a header or footer provided by the developer,\nwe always return a supplementary view – if there's no header or footer, it has\nzero height.\n\nWhy this extra layer of indirection?\n--------------------------------------\nWithin collection views, supplementary views (how you model headers, footers)\nare attached to individual index paths. So, Listable models headers and footers\nas attached to (0,0) for list headers and footers, and (sectionIndex, 0)\nfor section headers and footers. All good so far.\n\nThe problem arises when you want to swap out a header or footer without\nchanging the row at the (x, 0) index path. The collection view does not\nknow to re-query for those associated headers, because we didn't actually\nreload or change that (x, 0) item.\n\nThus, we always provide this container supplementary view – and swap the content\nof the header or footer in or out as needed as it changes. As mentioned above,\nif there is no actual header or footer to show, the view has zero height.", - "key.doc.declaration" : "@MainActor final class SupplementaryContainerView : UICollectionReusableView", - "key.doc.discussion" : [ - { - "Para" : "Regardless of if a section has a header or footer provided by the developer, we always return a supplementary view – if there’s no header or footer, it has zero height." - }, - { - "Para" : "Within collection views, supplementary views (how you model headers, footers) are attached to individual index paths. So, Listable models headers and footers as attached to (0,0) for list headers and footers, and (sectionIndex, 0) for section headers and footers. All good so far." - }, - { - "Para" : "The problem arises when you want to swap out a header or footer without changing the row at the (x, 0) index path. The collection view does not know to re-query for those associated headers, because we didn’t actually reload or change that (x, 0) item." - }, - { - "Para" : "Thus, we always provide this container supplementary view – and swap the content of the header or footer in or out as needed as it changes. As mentioned above, if there is no actual header or footer to show, the view has zero height." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.doc.full_as_xml" : "SupplementaryContainerView<\/Name>c:@M@ListableUI@objc(cs)SupplementaryContainerView<\/USR>@MainActor final class SupplementaryContainerView : UICollectionReusableView<\/Declaration>The supplementary view provided to the UICollectionView, which is used to contain every actual header and footer view within the list.<\/Para><\/Abstract>Regardless of if a section has a header or footer provided by the developer, we always return a supplementary view – if there’s no header or footer, it has zero height.<\/Para>]]><\/rawHTML>Why this extra layer of indirection?]]><\/rawHTML>Within collection views, supplementary views (how you model headers, footers) are attached to individual index paths. So, Listable models headers and footers as attached to (0,0) for list headers and footers, and (sectionIndex, 0) for section headers and footers. All good so far.<\/Para>The problem arises when you want to swap out a header or footer without changing the row at the (x, 0) index path. The collection view does not know to re-query for those associated headers, because we didn’t actually reload or change that (x, 0) item.<\/Para>Thus, we always provide this container supplementary view – and swap the content of the header or footer in or out as needed as it changes. As mentioned above, if there is no actual header or footer to show, the view has zero height.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 35, - "key.doc.name" : "SupplementaryContainerView", - "key.doc.type" : "Class", - "key.doclength" : 1184, - "key.docoffset" : 119, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 1345 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SupplementaryContainerView<\/decl.name> : UICollectionReusableView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionReusableView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 7433, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "SupplementaryContainerView", - "key.namelength" : 26, - "key.nameoffset" : 1316, - "key.offset" : 1310, - "key.parsed_declaration" : "final class SupplementaryContainerView : UICollectionReusableView", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 35, - "key.name" : "MARK: Registering & Dequeuing Cells", - "key.offset" : 1386 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> static let reuseIdentifier: String<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> reuseIdentifier<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 66, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "reuseIdentifier", - "key.namelength" : 15, - "key.nameoffset" : 1449, - "key.offset" : 1438, - "key.parsed_declaration" : "static let reuseIdentifier = \"Listable.SupplementaryContainerView\"", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.related_decls" : [ - { - "key.annotated_decl" : "reuseIdentifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC15reuseIdentifierSSvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> static func register(in collectionView: UICollectionView<\/Type>, for kind: String<\/Type>)<\/Declaration>", - "key.bodylength" : 215, - "key.bodyoffset" : 1596, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> register<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 298, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "register(in:for:)", - "key.namelength" : 64, - "key.nameoffset" : 1526, - "key.offset" : 1514, - "key.parsed_declaration" : "static func register(in collectionView: UICollectionView, for kind : String)", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView.Type) -> (UICollectionView, String) -> ()", - "key.typeusr" : "$s2in3forySo16UICollectionViewC_SStcD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC8register2in3forySo012UICollectionE0C_SStFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> static func dequeue(in collectionView: UICollectionView<\/Type>, for kind: String<\/Type>, at indexPath: IndexPath<\/Type>, reuseCache: ReusableViewCache<\/Type>, environment: ListEnvironment<\/Type>) -> SupplementaryContainerView<\/Type><\/Declaration>", - "key.bodylength" : 367, - "key.bodyoffset" : 2068, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> dequeue<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, reuseCache<\/decl.var.parameter.argument_label>: ReusableViewCache<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> SupplementaryContainerView<\/ref.class><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 614, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "dequeue(in:for:at:reuseCache:environment:)", - "key.namelength" : 198, - "key.nameoffset" : 1834, - "key.offset" : 1822, - "key.parsed_declaration" : "static func dequeue(\n in collectionView: UICollectionView,\n for kind : String,\n at indexPath : IndexPath,\n reuseCache : ReusableViewCache,\n environment : ListEnvironment\n) -> SupplementaryContainerView", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: SupplementaryContainerView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: SupplementaryContainerView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 230, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 2081, - "key.offset" : 2077, - "key.parsed_declaration" : "let view = collectionView.dequeueReusableSupplementaryView(\n ofKind: kind,\n withReuseIdentifier: SupplementaryContainerView.reuseIdentifier,\n for: indexPath\n) as! SupplementaryContainerView", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryContainerView", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC7dequeue2in3for2at10reuseCache11environmentACSo012UICollectionE0C_SS10Foundation9IndexPathVAA08ReusableeK0CAA15ListEnvironmentVtFZ4viewL_ACvp" - } - ], - "key.typename" : "(SupplementaryContainerView.Type) -> (UICollectionView, String, IndexPath, ReusableViewCache, ListEnvironment) -> SupplementaryContainerView", - "key.typeusr" : "$s2in3for2at10reuseCache11environment10ListableUI26SupplementaryContainerViewCSo012UICollectionK0C_SS10Foundation9IndexPathVAF08ReusablekE0CAF15ListEnvironmentVtcD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC7dequeue2in3for2at10reuseCache11environmentACSo012UICollectionE0C_SS10Foundation9IndexPathVAA08ReusableeK0CAA15ListEnvironmentVtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Content", - "key.offset" : 2456 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func setHeaderFooter(_ new: AnyPresentationHeaderFooterState<\/Type>?, animated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 750, - "key.bodyoffset" : 2568, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> setHeaderFooter<\/decl.name>(_<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 833, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "setHeaderFooter(_:animated:)", - "key.namelength" : 75, - "key.nameoffset" : 2491, - "key.offset" : 2486, - "key.parsed_declaration" : "func setHeaderFooter(_ new : AnyPresentationHeaderFooterState?, animated : Bool)", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: (any AnyPresentationHeaderFooterState<\/Type>)?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: (any AnyPresentationHeaderFooterState<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 2661, - "key.offset" : 2657, - "key.parsed_declaration" : "let old = headerFooter", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC15setHeaderFooter_8animatedyAA015AnyPresentationgH5State_pSg_SbtF3oldL_AGvp" - }, - { - "key.annotated_decl" : "let cache: ReusableViewCache<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 28, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "cache", - "key.namelength" : 5, - "key.nameoffset" : 2737, - "key.offset" : 2733, - "key.parsed_declaration" : "let cache = self.reuseCache!", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC15setHeaderFooter_8animatedyAA015AnyPresentationgH5State_pSg_SbtF5cacheL_AA08ReusableE5CacheCvp" - } - ], - "key.typename" : "(SupplementaryContainerView) -> ((any AnyPresentationHeaderFooterState)?, Bool) -> ()", - "key.typeusr" : "$s_8animatedy10ListableUI32AnyPresentationHeaderFooterState_pSg_SbtcD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC15setHeaderFooter_8animatedyAA015AnyPresentationgH5State_pSg_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var headerFooter: AnyPresentationHeaderFooterState<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 3329 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> headerFooter<\/decl.name>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 3346, - "key.offset" : 3342, - "key.parsed_declaration" : "private(set) var headerFooter : AnyPresentationHeaderFooterState?", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC12headerFooterAA021AnyPresentationHeaderG5State_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var environment: ListEnvironment<\/Type>!<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Note: Using implicitly unwrapped optionals because we cannot do\ninitializer injection in this type – `UICollectionView` calls `init(frame:)`,\nwe must use property injection instead.\n\nWe use IUOs to avoid having to unwrap the values at each call site.", - "key.doc.column" : 9, - "key.doc.comment" : "Note: Using implicitly unwrapped optionals because we cannot do\ninitializer injection in this type – `UICollectionView` calls `init(frame:)`,\nwe must use property injection instead.\n\nWe use IUOs to avoid having to unwrap the values at each call site.", - "key.doc.declaration" : "@MainActor var environment: ListEnvironment!", - "key.doc.discussion" : [ - { - "Para" : "We use IUOs to avoid having to unwrap the values at each call site." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:10ListableUI26SupplementaryContainerViewC11environmentAA15ListEnvironmentVSgvp<\/USR>@MainActor var environment: ListEnvironment!<\/Declaration>Note: Using implicitly unwrapped optionals because we cannot do initializer injection in this type – UICollectionView<\/codeVoice> calls init(frame:)<\/codeVoice>, we must use property injection instead.<\/Para><\/Abstract>We use IUOs to avoid having to unwrap the values at each call site.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 113, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 288, - "key.docoffset" : 3404, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 3705, - "key.offset" : 3701, - "key.parsed_declaration" : "var environment : ListEnvironment!", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListEnvironment?", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC11environmentAA15ListEnvironmentVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var reuseCache: ReusableViewCache<\/Type>!<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> reuseCache<\/decl.name>: ReusableViewCache<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "reuseCache", - "key.namelength" : 10, - "key.nameoffset" : 3744, - "key.offset" : 3740, - "key.parsed_declaration" : "var reuseCache : ReusableViewCache!", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ReusableViewCache?", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC10reuseCacheAA08ReusableeG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func setContent(_ new: UIView<\/Type>?, animated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 1091, - "key.bodyoffset" : 3835, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> setContent<\/decl.name>(_<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: UIView<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1142, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "setContent(_:animated:)", - "key.namelength" : 43, - "key.nameoffset" : 3790, - "key.offset" : 3785, - "key.parsed_declaration" : "func setContent(_ new : UIView?, animated: Bool)", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: UIView<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: UIView<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 17, - "key.line" : 120, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 3912, - "key.offset" : 3908, - "key.parsed_declaration" : "let old = content", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 120, - "key.reusingastcontext" : false, - "key.typename" : "UIView?", - "key.typeusr" : "$sSo6UIViewCSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC10setContent_8animatedySo6UIViewCSg_SbtF3oldL_AHvp" - } - ], - "key.typename" : "(SupplementaryContainerView) -> (UIView?, Bool) -> ()", - "key.typeusr" : "$s_8animatedySo6UIViewCSg_SbtcD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC10setContent_8animatedySo6UIViewCSg_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var content: UIView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 4937 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> content<\/decl.name>: UIView<\/ref.class>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 4954, - "key.offset" : 4950, - "key.parsed_declaration" : "private(set) var content : UIView?", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 159, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "UIView?", - "key.typeusr" : "$sSo6UIViewCSgD", - "key.usr" : "s:10ListableUI26SupplementaryContainerViewC7contentSo6UIViewCSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 4991 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5032 - } - ], - "key.bodylength" : 126, - "key.bodyoffset" : 5066, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 152, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:)", - "key.namelength" : 19, - "key.nameoffset" : 5041, - "key.offset" : 5041, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)initWithFrame:" - } - ], - "key.parsed_declaration" : "override init(frame: CGRect)", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 165, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView.Type) -> (CGRect) -> SupplementaryContainerView", - "key.typeusr" : "$s5frame10ListableUI26SupplementaryContainerViewCSo6CGRectV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)initWithFrame:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 5234 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 5203 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 5266, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 49, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 5243, - "key.offset" : 5243, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: UICollectionReusableView", - "key.offset" : 5305 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func preferredLayoutAttributesFitting(_ layoutAttributes: UICollectionViewLayoutAttributes<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 5345 - } - ], - "key.bodylength" : 1883, - "key.bodyoffset" : 5487, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preferredLayoutAttributesFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> layoutAttributes<\/decl.var.parameter.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2017, - "key.line" : 178, - "key.modulename" : "ListableUI", - "key.name" : "preferredLayoutAttributesFitting(_:)", - "key.namelength" : 86, - "key.nameoffset" : 5359, - "key.offset" : 5354, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionReusableView(im)preferredLayoutAttributesFittingAttributes:" - } - ], - "key.parsed_declaration" : "override func preferredLayoutAttributesFitting(_ layoutAttributes: UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 178, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> (UICollectionViewLayoutAttributes) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$sySo32UICollectionViewLayoutAttributesCABcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)preferredLayoutAttributesFittingAttributes:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func prepareForReuse()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 7381 - } - ], - "key.bodylength" : 92, - "key.bodyoffset" : 7418, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Listable already properly sizes each cell. We do not use self-sizing cells.\nThus, just return the existing layout attributes.\n\nThis avoids an expensive call to sizeThatFits to \"re-size\" the cell to the same size\nduring each of UICollectionView's layout passes:\n\n#0 ItemElementCell.sizeThatFits(_:)\n#1 @objc ItemElementCell.sizeThatFits(_:) ()\n#2 -[UICollectionViewCell systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:] ()\n#3 -[UICollectionReusableView preferredLayoutAttributesFittingAttributes:] ()\n#4 -[UICollectionReusableView _preferredLayoutAttributesFittingAttributes:] ()\n#5 -[UICollectionView _checkForPreferredAttributesInView:originalAttributes:] ()\n#6 -[UICollectionView _updateVisibleCellsNow:] ()\n#7 -[UICollectionView layoutSubviews] ()\n\nReturning the passed in value without calling super is OK, per the docs:\nhttps:\/\/developer.apple.com\/documentation\/uikit\/uicollectionreusableview\/1620132-preferredlayoutattributesfitting\n\n | The default implementation of this method adjusts the size values to accommodate changes made by a self-sizing cell.\n | Subclasses can override this method and use it to adjust other layout attributes too.\n | If you override this method and want the cell size adjustments, call super first and make your own modifications to the returned attributes.\n\nImportant part being \"If you override this method **and want the cell size adjustments**, call super first\".\n\nWe do not want these. Thus, this is fine.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> prepareForReuse<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 121, - "key.line" : 213, - "key.modulename" : "ListableUI", - "key.name" : "prepareForReuse()", - "key.namelength" : 17, - "key.nameoffset" : 7395, - "key.offset" : 7390, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionReusableView(im)prepareForReuse" - } - ], - "key.parsed_declaration" : "override func prepareForReuse()", - "key.parsed_scope.end" : 218, - "key.parsed_scope.start" : 213, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)prepareForReuse" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: UIView", - "key.offset" : 7531 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func sizeThatFits(_ size: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 7560 - } - ], - "key.bodylength" : 148, - "key.bodyoffset" : 7614, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sizeThatFits<\/decl.name>(_<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 194, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "sizeThatFits(_:)", - "key.namelength" : 28, - "key.nameoffset" : 7574, - "key.offset" : 7569, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)sizeThatFits:" - } - ], - "key.parsed_declaration" : "override func sizeThatFits(_ size: CGSize) -> CGSize", - "key.parsed_scope.end" : 231, - "key.parsed_scope.start" : 224, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)sizeThatFits:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 7773 - } - ], - "key.bodylength" : 165, - "key.bodyoffset" : 7844, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 228, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:)", - "key.namelength" : 45, - "key.nameoffset" : 7787, - "key.offset" : 7782, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 233, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)systemLayoutSizeFittingSize:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func systemLayoutSizeFitting(_ targetSize: CGSize<\/Type>, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority<\/Type>, verticalFittingPriority: UILayoutPriority<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 8020 - } - ], - "key.bodylength" : 319, - "key.bodyoffset" : 8239, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> systemLayoutSizeFitting<\/decl.name>(_<\/decl.var.parameter.argument_label> targetSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withHorizontalFittingPriority<\/decl.var.parameter.argument_label> horizontalFittingPriority<\/decl.var.parameter.name>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, verticalFittingPriority<\/decl.var.parameter.argument_label>: UILayoutPriority<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 530, - "key.line" : 242, - "key.modulename" : "ListableUI", - "key.name" : "systemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)", - "key.namelength" : 193, - "key.nameoffset" : 8034, - "key.offset" : 8029, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:" - } - ], - "key.parsed_declaration" : "override func systemLayoutSizeFitting(\n _ targetSize: CGSize,\n withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority,\n verticalFittingPriority: UILayoutPriority\n) -> CGSize", - "key.parsed_scope.end" : 257, - "key.parsed_scope.start" : 242, - "key.related_decls" : [ - { - "key.annotated_decl" : "systemLayoutSizeFitting(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> (CGSize, UILayoutPriority, UILayoutPriority) -> CGSize", - "key.typeusr" : "$s_29withHorizontalFittingPriority08verticalcD0So6CGSizeVAD_So08UILayoutD0aAFtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)systemLayoutSizeFittingSize:withHorizontalFittingPriority:verticalFittingPriority:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 8569 - } - ], - "key.bodylength" : 135, - "key.bodyoffset" : 8605, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SupplementaryContainerView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 163, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 8583, - "key.offset" : 8578, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryContainerView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView(im)layoutSubviews" - } - ], - "key.typename" : "SupplementaryContainerView.Type", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)SupplementaryContainerView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 12585, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let haptics: UIImpactFeedbackGenerator<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 106 - } - ], - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> haptics<\/decl.name>: UIImpactFeedbackGenerator<\/ref.class><\/decl.var.type><\/decl.var.global>", - "key.kind" : "source.lang.swift.decl.var.global", - "key.length" : 54, - "key.line" : 10, - "key.modulename" : "ListableUI", - "key.name" : "haptics", - "key.namelength" : 7, - "key.nameoffset" : 118, - "key.offset" : 114, - "key.parsed_declaration" : "private let haptics = UIImpactFeedbackGenerator(style: .light)", - "key.parsed_scope.end" : 10, - "key.parsed_scope.start" : 10, - "key.reusingastcontext" : false, - "key.typename" : "UIImpactFeedbackGenerator", - "key.typeusr" : "$sSo25UIImpactFeedbackGeneratorCD", - "key.usr" : "s:10ListableUI7haptics05_35E6D26CF4A49F65D2A6FA538E457EABFLLSo25UIImpactFeedbackGeneratorCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class SwipeActionsView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 170 - } - ], - "key.bodylength" : 8939, - "key.bodyoffset" : 208, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 200 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SwipeActionsView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 8972, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsView", - "key.namelength" : 16, - "key.nameoffset" : 182, - "key.offset" : 176, - "key.parsed_declaration" : "final class SwipeActionsView: UIView", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum SwipeActionsView<\/Type>.Side : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 240, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 229 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> SwipeActionsView<\/ref.class>.Side<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 65, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "Side", - "key.namelength" : 4, - "key.nameoffset" : 223, - "key.offset" : 218, - "key.parsed_declaration" : "enum Side: Equatable", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 249, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case left<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> left<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "left", - "key.namelength" : 4, - "key.nameoffset" : 254, - "key.offset" : 254, - "key.parsed_declaration" : "case left", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeActionsView.Side.Type) -> SwipeActionsView.Side", - "key.typeusr" : "$sy10ListableUI16SwipeActionsViewC4SideOAEmcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4SideO4leftyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 267, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case right<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> right<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "right", - "key.namelength" : 5, - "key.nameoffset" : 272, - "key.offset" : 272, - "key.parsed_declaration" : "case right", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeActionsView.Side.Type) -> SwipeActionsView.Side", - "key.typeusr" : "$sy10ListableUI16SwipeActionsViewC4SideOAEmcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4SideO5rightyA2EmF" - } - ] - } - ], - "key.typename" : "SwipeActionsView.Side.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOmD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4SideO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var actionButtons: [DefaultSwipeActionButton<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 289 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> actionButtons<\/decl.name>: [DefaultSwipeActionButton<\/ref.class>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "actionButtons", - "key.namelength" : 13, - "key.nameoffset" : 301, - "key.offset" : 297, - "key.parsed_declaration" : "private var actionButtons: [DefaultSwipeActionButton] = []", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[DefaultSwipeActionButton]", - "key.typeusr" : "$sSay10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLCGD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC13actionButtons05_35E6H26CF4A49F65D2A6FA538E457EABFLLSayAA07DefaultC12ActionButtonAELLCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let container: UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 352 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> container<\/decl.name>: UIView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 153, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "container", - "key.namelength" : 9, - "key.nameoffset" : 364, - "key.offset" : 360, - "key.parsed_declaration" : "private let container: UIView = {\n let view = UIView()\n view.backgroundColor = .clear\n view.clipsToBounds = true\n return view\n}()", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "UIView", - "key.typeusr" : "$sSo6UIViewCD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC9container05_35E6G26CF4A49F65D2A6FA538E457EABFLLSo6UIViewCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var calculatedNaturalWidth: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 518 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> calculatedNaturalWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "calculatedNaturalWidth", - "key.namelength" : 22, - "key.nameoffset" : 530, - "key.offset" : 526, - "key.parsed_declaration" : "private var calculatedNaturalWidth: CGFloat = 0", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC22calculatedNaturalWidth05_35E6I26CF4A49F65D2A6FA538E457EABFLL14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var firstAction: SwipeAction<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 571 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> firstAction<\/decl.name>: SwipeAction<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "firstAction", - "key.namelength" : 11, - "key.nameoffset" : 583, - "key.offset" : 579, - "key.parsed_declaration" : "private var firstAction: SwipeAction?", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SwipeAction?", - "key.typeusr" : "$s10ListableUI11SwipeActionVSgD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC11firstAction05_35E6H26CF4A49F65D2A6FA538E457EABFLLAA0cG0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var didPerformAction: SwipeAction<\/Type>.OnDidPerformAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 613 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> didPerformAction<\/decl.name>: SwipeAction<\/ref.struct>.OnDidPerformAction<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "didPerformAction", - "key.namelength" : 16, - "key.nameoffset" : 625, - "key.offset" : 621, - "key.parsed_declaration" : "private var didPerformAction: SwipeAction.OnDidPerformAction", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(SwipeAction.OnDidPerformActionAnimation) -> ()", - "key.typeusr" : "$syy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC16didPerformAction05_35E6I26CF4A49F65D2A6FA538E457EABFLLyyAA0cH0V05OnDidgH9AnimationOcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var style: SwipeActionsViewStyle<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 683 - } - ], - "key.bodylength" : 114, - "key.bodyoffset" : 725, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> style<\/decl.name>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 149, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "style", - "key.namelength" : 5, - "key.nameoffset" : 695, - "key.offset" : 691, - "key.parsed_declaration" : "private var style: SwipeActionsViewStyle", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SwipeActionsViewStyle", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5style05_35E6G26CF4A49F65D2A6FA538E457EABFLLAA0cdE5StyleVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var swipeActionsWidth: CGFloat<\/Type> { get }<\/Declaration>", - "key.bodylength" : 59, - "key.bodyoffset" : 878, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> swipeActionsWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 92, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "swipeActionsWidth", - "key.namelength" : 17, - "key.nameoffset" : 850, - "key.offset" : 846, - "key.parsed_declaration" : "var swipeActionsWidth: CGFloat", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC05swipeD5Width14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var state: SwipeActionState<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 944 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> state<\/decl.name>: SwipeActionState<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 956, - "key.offset" : 952, - "key.parsed_declaration" : "private var state: SwipeActionState = .closed", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SwipeActionState", - "key.typeusr" : "$s10ListableUI16SwipeActionStateOD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5state05_35E6G26CF4A49F65D2A6FA538E457EABFLLAA0C11ActionStateOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let side: Side<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The side this swipe actions view will originate from when presented.", - "key.doc.column" : 9, - "key.doc.comment" : "The side this swipe actions view will originate from when presented.", - "key.doc.declaration" : "@MainActor let side: Side", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.doc.full_as_xml" : "side<\/Name>s:10ListableUI16SwipeActionsViewC4sideAC4SideOvp<\/USR>@MainActor let side: Side<\/Declaration>The side this swipe actions view will originate from when presented.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "side", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 999, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> side<\/decl.name>: Side<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "side", - "key.namelength" : 4, - "key.nameoffset" : 1080, - "key.offset" : 1076, - "key.parsed_declaration" : "let side: Side", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsView.Side", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewC4SideOD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4sideAC4SideOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var availableButtonWidth: CGFloat<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1096 - } - ], - "key.bodylength" : 218, - "key.bodyoffset" : 1139, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> availableButtonWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 254, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "availableButtonWidth", - "key.namelength" : 20, - "key.nameoffset" : 1108, - "key.offset" : 1104, - "key.parsed_declaration" : "private var availableButtonWidth: CGFloat", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC20availableButtonWidth05_35E6I26CF4A49F65D2A6FA538E457EABFLL14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1368 - } - ], - "key.bodylength" : 87, - "key.bodyoffset" : 1442, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> userInterfaceLayoutDirection<\/decl.name>: UIUserInterfaceLayoutDirection<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 154, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "userInterfaceLayoutDirection", - "key.namelength" : 28, - "key.nameoffset" : 1380, - "key.offset" : 1376, - "key.parsed_declaration" : "private var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 56, - "key.related_decls" : [ - { - "key.annotated_decl" : "userInterfaceLayoutDirection(for:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "userInterfaceLayoutDirection(for:relativeTo:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "UIUserInterfaceLayoutDirection", - "key.typeusr" : "$sSo30UIUserInterfaceLayoutDirectionVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC28userInterfaceLayoutDirection05_35E6J26CF4A49F65D2A6FA538E457EABFLLSo06UIUserghI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(side: Side<\/Type>, style: SwipeActionsViewStyle<\/Type>, didPerformAction: @escaping SwipeAction<\/Type>.OnDidPerformAction<\/Type>)<\/Declaration>", - "key.bodylength" : 199, - "key.bodyoffset" : 1674, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(side<\/decl.var.parameter.argument_label>: Side<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, style<\/decl.var.parameter.argument_label>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, didPerformAction<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> SwipeAction<\/ref.struct>.OnDidPerformAction<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 338, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "init(side:style:didPerformAction:)", - "key.namelength" : 136, - "key.nameoffset" : 1536, - "key.offset" : 1536, - "key.parsed_declaration" : "init(\n side: Side,\n style: SwipeActionsViewStyle,\n didPerformAction: @escaping SwipeAction.OnDidPerformAction\n)", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 60, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(coder:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsView.Type) -> (SwipeActionsView.Side, SwipeActionsViewStyle, @escaping (SwipeAction.OnDidPerformActionAnimation) -> ()) -> SwipeActionsView", - "key.typeusr" : "$s4side5style16didPerformAction10ListableUI16SwipeActionsViewCAF4SideO_AD0hiJ5StyleVyAD0hE0V05OnDiddE9AnimationOctcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC4side5style16didPerformActionA2C4SideO_AA0cdE5StyleVyAA0cJ0V05OnDidiJ9AnimationOctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> required init?(coder: NSCoder<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 1880 - } - ], - "key.bodylength" : 65, - "key.bodyoffset" : 1912, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> required<\/syntaxtype.keyword> init<\/syntaxtype.keyword>?(coder<\/decl.var.parameter.argument_label>: NSCoder<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 89, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 1889, - "key.offset" : 1889, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(pl)NSCoding(im)initWithCoder:" - } - ], - "key.parsed_declaration" : "required init?(coder: NSCoder)", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 74, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(side:style:didPerformAction:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsView.Type) -> (NSCoder) -> SwipeActionsView?", - "key.typeusr" : "$s5coder10ListableUI16SwipeActionsViewCSgSo7NSCoderC_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)SwipeActionsView(im)initWithCoder:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 1984 - } - ], - "key.bodylength" : 3815, - "key.bodyoffset" : 2016, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3839, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 1998, - "key.offset" : 1993, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override func layoutSubviews()", - "key.parsed_scope.end" : 164, - "key.parsed_scope.start" : 78, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let insets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 92, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "insets", - "key.namelength" : 6, - "key.nameoffset" : 2061, - "key.offset" : 2057, - "key.parsed_declaration" : "let insets = style.containerInsets(for: side, layoutDirection: userInterfaceLayoutDirection)", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC14layoutSubviewsyyF6insetsL_So12UIEdgeInsetsVvp" - }, - { - "key.annotated_decl" : "let buttons: [DefaultSwipeActionButton<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> buttons<\/decl.name>: [DefaultSwipeActionButton<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "buttons", - "key.namelength" : 7, - "key.nameoffset" : 2526, - "key.offset" : 2522, - "key.parsed_declaration" : "let buttons: [DefaultSwipeActionButton]", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.typename" : "[DefaultSwipeActionButton]", - "key.typeusr" : "$sSay10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLCGD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC14layoutSubviewsyyF7buttonsL_SayAA07DefaultC12ActionButton05_35E6L26CF4A49F65D2A6FA538E457EABFLLCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> func xOriginForButton(at index: Int<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 235, - "key.bodyoffset" : 2973, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> xOriginForButton<\/decl.name>(at<\/decl.var.parameter.argument_label> index<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 285, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "xOriginForButton(at:)", - "key.namelength" : 31, - "key.nameoffset" : 2929, - "key.offset" : 2924, - "key.parsed_declaration" : "func xOriginForButton(at index: Int) -> CGFloat", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let previousButtons: [DefaultSwipeActionButton<\/Type>]<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> previousButtons<\/decl.name>: [DefaultSwipeActionButton<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 47, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "previousButtons", - "key.namelength" : 15, - "key.nameoffset" : 2990, - "key.offset" : 2986, - "key.parsed_declaration" : "let previousButtons = Array(buttons[0..let position: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> position<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 48, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 3050, - "key.offset" : 3046, - "key.parsed_declaration" : "let position = width(ofButtons: previousButtons)", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC14layoutSubviewsyyF16xOriginForButtonL_2at14CoreFoundation7CGFloatVSi_tF8positionL_AIvp" - }, - { - "key.annotated_decl" : "let percentOpen: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> percentOpen<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 50, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "percentOpen", - "key.namelength" : 11, - "key.nameoffset" : 3111, - "key.offset" : 3107, - "key.parsed_declaration" : "let percentOpen = bounds.width \/ swipeActionsWidth", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC14layoutSubviewsyyF16xOriginForButtonL_2at14CoreFoundation7CGFloatVSi_tF11percentOpenL_AIvp" - } - ], - "key.typename" : "(Int) -> CGFloat", - "key.typeusr" : "$s2at14CoreFoundation7CGFloatVSi_tcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC14layoutSubviewsyyF16xOriginForButtonL_2at14CoreFoundation7CGFloatVSi_tF" - } - ], - "key.typename" : "(SwipeActionsView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)SwipeActionsView(im)layoutSubviews" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func width(ofButtons buttons: [DefaultSwipeActionButton<\/Type>]) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5838 - } - ], - "key.bodylength" : 1040, - "key.bodyoffset" : 5916, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> width<\/decl.name>(ofButtons<\/decl.var.parameter.argument_label> buttons<\/decl.var.parameter.name>: [DefaultSwipeActionButton<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1111, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "width(ofButtons:)", - "key.namelength" : 52, - "key.nameoffset" : 5851, - "key.offset" : 5846, - "key.parsed_declaration" : "private func width(ofButtons buttons: [DefaultSwipeActionButton]) -> CGFloat", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let spacingWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> spacingWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "spacingWidth", - "key.namelength" : 12, - "key.nameoffset" : 5929, - "key.offset" : 5925, - "key.parsed_declaration" : "let spacingWidth = spacingWidth(numberOfButtons: buttons.count)", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5width05_35E6G26CF4A49F65D2A6FA538E457EABFLL9ofButtons14CoreFoundation7CGFloatVSayAA07DefaultC12ActionButtonAELLCG_tF12spacingWidthL_AIvp" - } - ], - "key.typename" : "(SwipeActionsView) -> ([DefaultSwipeActionButton]) -> CGFloat", - "key.typeusr" : "$s9ofButtons14CoreFoundation7CGFloatVSay10ListableUI24DefaultSwipeActionButton05_35E6L26CF4A49F65D2A6FA538E457EABFLLCG_tcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5width05_35E6G26CF4A49F65D2A6FA538E457EABFLL9ofButtons14CoreFoundation7CGFloatVSayAA07DefaultC12ActionButtonAELLCG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func spacingWidth(numberOfButtons: Int<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6967 - } - ], - "key.bodylength" : 86, - "key.bodyoffset" : 7027, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> spacingWidth<\/decl.name>(numberOfButtons<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 139, - "key.line" : 192, - "key.modulename" : "ListableUI", - "key.name" : "spacingWidth(numberOfButtons:)", - "key.namelength" : 34, - "key.nameoffset" : 6980, - "key.offset" : 6975, - "key.parsed_declaration" : "private func spacingWidth(numberOfButtons: Int) -> CGFloat", - "key.parsed_scope.end" : 194, - "key.parsed_scope.start" : 192, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsView) -> (Int) -> CGFloat", - "key.typeusr" : "$s15numberOfButtons14CoreFoundation7CGFloatVSi_tcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC12spacingWidth05_35E6H26CF4A49F65D2A6FA538E457EABFLL15numberOfButtons14CoreFoundation7CGFloatVSi_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func apply(actions: SwipeActionsConfiguration<\/Type>, style: SwipeActionsViewStyle<\/Type>)<\/Declaration>", - "key.bodylength" : 1238, - "key.bodyoffset" : 7198, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> apply<\/decl.name>(actions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, style<\/decl.var.parameter.argument_label>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1317, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "apply(actions:style:)", - "key.namelength" : 71, - "key.nameoffset" : 7125, - "key.offset" : 7120, - "key.parsed_declaration" : "func apply(actions: SwipeActionsConfiguration, style: SwipeActionsViewStyle)", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 196, - "key.related_decls" : [ - { - "key.annotated_decl" : "apply(state:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let styleUpdateRequired: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> styleUpdateRequired<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 197, - "key.modulename" : "ListableUI", - "key.name" : "styleUpdateRequired", - "key.namelength" : 19, - "key.nameoffset" : 7211, - "key.offset" : 7207, - "key.parsed_declaration" : "let styleUpdateRequired = style != self.style", - "key.parsed_scope.end" : 197, - "key.parsed_scope.start" : 197, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5apply7actions5styleyAA0cD13ConfigurationV_AA0cdE5StyleVtF0H14UpdateRequiredL_Sbvp" - }, - { - "key.annotated_decl" : "let containerInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> containerInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 101, - "key.line" : 221, - "key.modulename" : "ListableUI", - "key.name" : "containerInsets", - "key.namelength" : 15, - "key.nameoffset" : 8221, - "key.offset" : 8217, - "key.parsed_declaration" : "let containerInsets = style.containerInsets(for: side, layoutDirection: userInterfaceLayoutDirection)", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 221, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5apply7actions5styleyAA0cD13ConfigurationV_AA0cdE5StyleVtF15containerInsetsL_So06UIEdgeL0Vvp" - } - ], - "key.typename" : "(SwipeActionsView) -> (SwipeActionsConfiguration, SwipeActionsViewStyle) -> ()", - "key.typeusr" : "$s7actions5styley10ListableUI25SwipeActionsConfigurationV_AC0eF9ViewStyleVtcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5apply7actions5styleyAA0cD13ConfigurationV_AA0cdE5StyleVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func apply(state newState: SwipeActionState<\/Type>)<\/Declaration>", - "key.bodylength" : 656, - "key.bodyoffset" : 8489, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> apply<\/decl.name>(state<\/decl.var.parameter.argument_label> newState<\/decl.var.parameter.name>: SwipeActionState<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 703, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "apply(state:)", - "key.namelength" : 39, - "key.nameoffset" : 8448, - "key.offset" : 8443, - "key.parsed_declaration" : "func apply(state newState: SwipeActionState)", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 226, - "key.related_decls" : [ - { - "key.annotated_decl" : "apply(actions:style:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let priorState: SwipeActionState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> priorState<\/decl.name>: SwipeActionState<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 22, - "key.line" : 227, - "key.modulename" : "ListableUI", - "key.name" : "priorState", - "key.namelength" : 10, - "key.nameoffset" : 8502, - "key.offset" : 8498, - "key.parsed_declaration" : "let priorState = state", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 227, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionState", - "key.typeusr" : "$s10ListableUI16SwipeActionStateOD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5apply5stateyAA0C11ActionStateO_tF05priorI0L_AGvp" - } - ], - "key.typename" : "(SwipeActionsView) -> (SwipeActionState) -> ()", - "key.typeusr" : "$s5statey10ListableUI16SwipeActionStateO_tcD", - "key.usr" : "s:10ListableUI16SwipeActionsViewC5apply5stateyAA0C11ActionStateO_tF" - } - ], - "key.typename" : "SwipeActionsView.Type", - "key.typeusr" : "$s10ListableUI16SwipeActionsViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)SwipeActionsView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private class DefaultSwipeActionButton : UIButton<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9150 - } - ], - "key.bodylength" : 1806, - "key.bodyoffset" : 9200, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 9190 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DefaultSwipeActionButton<\/decl.name> : UIButton<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIButton" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1849, - "key.line" : 258, - "key.modulename" : "ListableUI", - "key.name" : "DefaultSwipeActionButton", - "key.namelength" : 24, - "key.nameoffset" : 9164, - "key.offset" : 9158, - "key.parsed_declaration" : "private class DefaultSwipeActionButton: UIButton", - "key.parsed_scope.end" : 306, - "key.parsed_scope.start" : 258, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let inset: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9206 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> inset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 260, - "key.modulename" : "ListableUI", - "key.name" : "inset", - "key.namelength" : 5, - "key.nameoffset" : 9218, - "key.offset" : 9214, - "key.parsed_declaration" : "private let inset: CGFloat = 16", - "key.parsed_scope.end" : 260, - "key.parsed_scope.start" : 260, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC5inset14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var action: SwipeAction<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9242 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> action<\/decl.name>: SwipeAction<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 261, - "key.modulename" : "ListableUI", - "key.name" : "action", - "key.namelength" : 6, - "key.nameoffset" : 9254, - "key.offset" : 9250, - "key.parsed_declaration" : "private var action: SwipeAction?", - "key.parsed_scope.end" : 261, - "key.parsed_scope.start" : 261, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "action(for:forKey:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SwipeAction?", - "key.typeusr" : "$s10ListableUI11SwipeActionVSgD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC6actionAA0dE0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var didPerformAction: SwipeAction<\/Type>.OnDidPerformAction<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9279 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> didPerformAction<\/decl.name>: SwipeAction<\/ref.struct>.OnDidPerformAction<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 262, - "key.modulename" : "ListableUI", - "key.name" : "didPerformAction", - "key.namelength" : 16, - "key.nameoffset" : 9291, - "key.offset" : 9287, - "key.parsed_declaration" : "private var didPerformAction: SwipeAction.OnDidPerformAction?", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 262, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "((SwipeAction.OnDidPerformActionAnimation) -> ())?", - "key.typeusr" : "$sy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOcSgD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC010didPerformE0yAA0dE0V05OnDidqE9AnimationOcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 9346 - } - ], - "key.bodylength" : 508, - "key.bodyoffset" : 9376, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 530, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:)", - "key.namelength" : 19, - "key.nameoffset" : 9355, - "key.offset" : 9355, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIButton(im)initWithFrame:" - }, - { - "key.usr" : "c:objc(cs)UIControl(im)initWithFrame:" - }, - { - "key.usr" : "c:objc(cs)UIView(im)initWithFrame:" - } - ], - "key.parsed_declaration" : "override init(frame: CGRect)", - "key.parsed_scope.end" : 275, - "key.parsed_scope.start" : 264, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init(coder:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(frame:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(type:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(__type:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(__configuration:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init()<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(configuration:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(type:primaryAction:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DefaultSwipeActionButton.Type) -> (CGRect) -> DefaultSwipeActionButton", - "key.typeusr" : "$s5frame10ListableUI24DefaultSwipeActionButton05_35E6H26CF4A49F65D2A6FA538E457EABFLLCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC5frameADSo6CGRectV_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> required init?(coder: NSCoder<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 9891 - } - ], - "key.bodylength" : 65, - "key.bodyoffset" : 9923, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> required<\/syntaxtype.keyword> init<\/syntaxtype.keyword>?(coder<\/decl.var.parameter.argument_label>: NSCoder<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 89, - "key.line" : 277, - "key.modulename" : "ListableUI", - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 9900, - "key.offset" : 9900, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIButton(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(pl)NSCoding(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(cs)UIControl(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(cs)UIView(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(pl)NSCoding(im)initWithCoder:" - } - ], - "key.parsed_declaration" : "required init?(coder: NSCoder)", - "key.parsed_scope.end" : 279, - "key.parsed_scope.start" : 277, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init(frame:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(frame:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(type:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(__type:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(__configuration:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init()<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(configuration:primaryAction:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(type:primaryAction:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DefaultSwipeActionButton.Type) -> (NSCoder) -> DefaultSwipeActionButton?", - "key.typeusr" : "$s5coder10ListableUI24DefaultSwipeActionButton05_35E6H26CF4A49F65D2A6FA538E457EABFLLCSgSo7NSCoderC_tcD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC5coderADSgSo7NSCoderC_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func set(action: SwipeAction<\/Type>, didPerformAction: @escaping SwipeAction<\/Type>.OnDidPerformAction<\/Type>)<\/Declaration>", - "key.bodylength" : 748, - "key.bodyoffset" : 10086, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> set<\/decl.name>(action<\/decl.var.parameter.argument_label>: SwipeAction<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, didPerformAction<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> SwipeAction<\/ref.struct>.OnDidPerformAction<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 840, - "key.line" : 281, - "key.modulename" : "ListableUI", - "key.name" : "set(action:didPerformAction:)", - "key.namelength" : 84, - "key.nameoffset" : 10000, - "key.offset" : 9995, - "key.parsed_declaration" : "func set(action: SwipeAction, didPerformAction: @escaping SwipeAction.OnDidPerformAction)", - "key.parsed_scope.end" : 300, - "key.parsed_scope.start" : 281, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DefaultSwipeActionButton) -> (SwipeAction, @escaping (SwipeAction.OnDidPerformActionAnimation) -> ()) -> ()", - "key.typeusr" : "$s6action16didPerformActiony10ListableUI05SwipeD0V_yAE05OnDidcD9AnimationOctcD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC3set6action010didPerformE0yAA0dE0V_yAI05OnDidsE9AnimationOctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func onTap()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10847 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 10841 - } - ], - "key.bodylength" : 135, - "key.bodyoffset" : 10869, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onTap<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 150, - "key.line" : 302, - "key.modulename" : "ListableUI", - "key.name" : "onTap()", - "key.namelength" : 7, - "key.nameoffset" : 10860, - "key.offset" : 10855, - "key.parsed_declaration" : "@objc private func onTap()", - "key.parsed_scope.end" : 305, - "key.parsed_scope.start" : 302, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(DefaultSwipeActionButton) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC5onTapyyF" - } - ], - "key.typename" : "DefaultSwipeActionButton.Type", - "key.typeusr" : "$s10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLCmD", - "key.usr" : "s:10ListableUI24DefaultSwipeActionButton05_35E6G26CF4A49F65D2A6FA538E457EABFLLC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "public struct SwipeActionsViewStyle : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11009 - } - ], - "key.bodylength" : 929, - "key.bodyoffset" : 11050, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SwipeActionsViewStyle<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 963, - "key.line" : 3, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsViewStyle", - "key.namelength" : 21, - "key.nameoffset" : 11027, - "key.offset" : 11017, - "key.parsed_declaration" : "private extension SwipeActionsViewStyle", - "key.parsed_scope.end" : 331, - "key.parsed_scope.start" : 308, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func containerInsets(for side: SwipeActionsView<\/Type>.Side<\/Type>, layoutDirection: UIUserInterfaceLayoutDirection<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 720, - "key.bodyoffset" : 11257, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The container insets to use for the given side and layout direction.", - "key.doc.column" : 10, - "key.doc.comment" : "The container insets to use for the given side and layout direction.", - "key.doc.declaration" : "func containerInsets(for side: SwipeActionsView.Side, layoutDirection: UIUserInterfaceLayoutDirection) -> UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.doc.full_as_xml" : "containerInsets(for:layoutDirection:)<\/Name>s:10ListableUI21SwipeActionsViewStyleV15containerInsets05_35E6I26CF4A49F65D2A6FA538E457EABFLL3for15layoutDirectionSo06UIEdgeH0VAA0cdE0C4SideO_So021UIUserInterfaceLayoutT0VtF<\/USR>func containerInsets(for side: SwipeActionsView.Side, layoutDirection: UIUserInterfaceLayoutDirection) -> UIEdgeInsets<\/Declaration>The container insets to use for the given side and layout direction.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 311, - "key.doc.name" : "containerInsets(for:layoutDirection:)", - "key.doc.type" : "Function", - "key.doclength" : 73, - "key.docoffset" : 11060, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> containerInsets<\/decl.name>(for<\/decl.var.parameter.argument_label> side<\/decl.var.parameter.name>: SwipeActionsView<\/ref.class>.Side<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, layoutDirection<\/decl.var.parameter.argument_label>: UIUserInterfaceLayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 841, - "key.line" : 311, - "key.modulename" : "ListableUI", - "key.name" : "containerInsets(for:layoutDirection:)", - "key.namelength" : 97, - "key.nameoffset" : 11142, - "key.offset" : 11137, - "key.parsed_declaration" : "func containerInsets(for side: SwipeActionsView.Side, layoutDirection: UIUserInterfaceLayoutDirection) -> UIEdgeInsets", - "key.parsed_scope.end" : 330, - "key.parsed_scope.start" : 311, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let directionalInsets: NSDirectionalEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> directionalInsets<\/decl.name>: NSDirectionalEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 313, - "key.modulename" : "ListableUI", - "key.name" : "directionalInsets", - "key.namelength" : 17, - "key.nameoffset" : 11279, - "key.offset" : 11275, - "key.parsed_declaration" : "let directionalInsets: NSDirectionalEdgeInsets", - "key.parsed_scope.end" : 313, - "key.parsed_scope.start" : 313, - "key.reusingastcontext" : false, - "key.typename" : "NSDirectionalEdgeInsets", - "key.typeusr" : "$sSo23NSDirectionalEdgeInsetsVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV15containerInsets05_35E6I26CF4A49F65D2A6FA538E457EABFLL3for15layoutDirectionSo06UIEdgeH0VAA0cdE0C4SideO_So021UIUserInterfaceLayoutT0VtF011directionalH0L_So017NSDirectionalEdgeH0Vvp" - } - ], - "key.typename" : "(SwipeActionsViewStyle) -> (SwipeActionsView.Side, UIUserInterfaceLayoutDirection) -> UIEdgeInsets", - "key.typeusr" : "$s3for15layoutDirectionSo12UIEdgeInsetsV10ListableUI16SwipeActionsViewC4SideO_So021UIUserInterfaceLayoutC0VtcD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV15containerInsets05_35E6I26CF4A49F65D2A6FA538E457EABFLL3for15layoutDirectionSo06UIEdgeH0VAA0cdE0C4SideO_So021UIUserInterfaceLayoutT0VtF" - } - ], - "key.typename" : "SwipeActionsViewStyle.Type", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVmD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@_nonSendable(_assumed) struct NSDirectionalEdgeInsets : @unchecked Sendable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11982 - } - ], - "key.bodylength" : 558, - "key.bodyoffset" : 12025, - "key.column" : 92, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIGeometry.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> NSDirectionalEdgeInsets<\/decl.name> : @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 594, - "key.line" : 35, - "key.modulename" : "UIKit.UIGeometry", - "key.name" : "NSDirectionalEdgeInsets", - "key.namelength" : 23, - "key.nameoffset" : 12000, - "key.offset" : 11990, - "key.parsed_declaration" : "private extension NSDirectionalEdgeInsets", - "key.parsed_scope.end" : 345, - "key.parsed_scope.start" : 333, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func edgeInsets(for layoutDirection: UIUserInterfaceLayoutDirection<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 465, - "key.bodyoffset" : 12116, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsView.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> edgeInsets<\/decl.name>(for<\/decl.var.parameter.argument_label> layoutDirection<\/decl.var.parameter.name>: UIUserInterfaceLayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 552, - "key.line" : 334, - "key.modulename" : "ListableUI", - "key.name" : "edgeInsets(for:)", - "key.namelength" : 63, - "key.nameoffset" : 12035, - "key.offset" : 12030, - "key.parsed_declaration" : "func edgeInsets(for layoutDirection: UIUserInterfaceLayoutDirection) -> UIEdgeInsets", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 334, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(NSDirectionalEdgeInsets) -> (UIUserInterfaceLayoutDirection) -> UIEdgeInsets", - "key.typeusr" : "$s3forSo12UIEdgeInsetsVSo30UIUserInterfaceLayoutDirectionV_tcD", - "key.usr" : "s:So23NSDirectionalEdgeInsetsV10ListableUIE04edgeC005_35E6G26CF4A49F65D2A6FA538E457EABFLL3forSo06UIEdgeC0VSo30UIUserInterfaceLayoutDirectionV_tF" - } - ], - "key.typename" : "NSDirectionalEdgeInsets.Type", - "key.typeusr" : "$sSo23NSDirectionalEdgeInsetsVmD", - "key.usr" : "c:@S@NSDirectionalEdgeInsets" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3333, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SwipeActionsViewStyle : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14 - } - ], - "key.bodylength" : 2899, - "key.bodyoffset" : 62, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 51 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SwipeActionsViewStyle<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2941, - "key.line" : 3, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsViewStyle", - "key.namelength" : 21, - "key.nameoffset" : 28, - "key.offset" : 21, - "key.parsed_declaration" : "public struct SwipeActionsViewStyle: Equatable", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 3, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SwipeActionsViewStyle<\/Type>.Shape : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 67 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 97, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 86 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SwipeActionsViewStyle<\/ref.struct>.Shape<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 75, - "key.line" : 4, - "key.modulename" : "ListableUI", - "key.name" : "Shape", - "key.namelength" : 5, - "key.nameoffset" : 79, - "key.offset" : 74, - "key.parsed_declaration" : "public enum Shape: Equatable", - "key.parsed_scope.end" : 6, - "key.parsed_scope.start" : 4, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 37, - "key.offset" : 106, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case rectangle(cornerRadius: CGFloat<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> rectangle<\/decl.name>(cornerRadius<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 32, - "key.line" : 5, - "key.modulename" : "ListableUI", - "key.name" : "rectangle(cornerRadius:)", - "key.namelength" : 32, - "key.nameoffset" : 111, - "key.offset" : 111, - "key.parsed_declaration" : "case rectangle(cornerRadius: CGFloat)", - "key.parsed_scope.end" : 5, - "key.parsed_scope.start" : 5, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsViewStyle.Shape.Type) -> (CGFloat) -> SwipeActionsViewStyle.Shape", - "key.typeusr" : "$sy10ListableUI21SwipeActionsViewStyleV5ShapeO14CoreFoundation7CGFloatV_tcAEmcD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV5ShapeO9rectangleyAE14CoreFoundation7CGFloatV_tcAEmF" - } - ] - } - ], - "key.typename" : "SwipeActionsViewStyle.Shape.Type", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleV5ShapeOmD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV5ShapeO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SwipeActionsViewStyle<\/Type>.ButtonSizing<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 231 - } - ], - "key.bodylength" : 507, - "key.bodyoffset" : 257, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The button sizing algorithm used when laying out swipe actions.", - "key.doc.column" : 17, - "key.doc.comment" : "The button sizing algorithm used when laying out swipe actions.", - "key.doc.declaration" : "public enum ListableUI.SwipeActionsViewStyle.ButtonSizing", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "ButtonSizing<\/Name>s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO<\/USR>public enum ListableUI.SwipeActionsViewStyle.ButtonSizing<\/Declaration>The button sizing algorithm used when laying out swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 9, - "key.doc.name" : "ButtonSizing", - "key.doc.type" : "Other", - "key.doclength" : 68, - "key.docoffset" : 159, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SwipeActionsViewStyle<\/ref.struct>.ButtonSizing<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 527, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "ButtonSizing", - "key.namelength" : 12, - "key.nameoffset" : 243, - "key.offset" : 238, - "key.parsed_declaration" : "public enum ButtonSizing", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 501, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case equalWidth<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Each button button will lay out with an equal width based on the widest button.\n- Note: If the total width of all buttons exceeds the available width, each button\nwill be scaled down equally to fit.", - "key.doc.column" : 14, - "key.doc.comment" : "Each button button will lay out with an equal width based on the widest button.\n- Note: If the total width of all buttons exceeds the available width, each button\nwill be scaled down equally to fit.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "equalWidth<\/Name>s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO10equalWidthyA2EmF<\/USR><\/Declaration>Each button button will lay out with an equal width based on the widest button.<\/Para><\/Abstract>If the total width of all buttons exceeds the available width, each button will be scaled down equally to fit.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 13, - "key.doc.name" : "equalWidth", - "key.doc.type" : "Other", - "key.doclength" : 227, - "key.docoffset" : 266, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> equalWidth<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "equalWidth", - "key.namelength" : 10, - "key.nameoffset" : 506, - "key.offset" : 506, - "key.parsed_declaration" : "case equalWidth", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeActionsViewStyle.ButtonSizing.Type) -> SwipeActionsViewStyle.ButtonSizing", - "key.typeusr" : "$sy10ListableUI21SwipeActionsViewStyleV12ButtonSizingOAEmcD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO10equalWidthyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 742, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sizeThatFits<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Each button receives the amount of space required to fit its contents.\n- Note: If the total width exceeds the available width, the buttons _will not_", - "key.doc.column" : 14, - "key.doc.comment" : "Each button receives the amount of space required to fit its contents.\n- Note: If the total width exceeds the available width, the buttons _will not_", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "sizeThatFits<\/Name>s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO12sizeThatFitsyA2EmF<\/USR><\/Declaration>Each button receives the amount of space required to fit its contents.<\/Para><\/Abstract>If the total width exceeds the available width, the buttons will not<\/emphasis><\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "sizeThatFits", - "key.doc.type" : "Other", - "key.doclength" : 166, - "key.docoffset" : 534, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sizeThatFits<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "sizeThatFits", - "key.namelength" : 12, - "key.nameoffset" : 747, - "key.offset" : 747, - "key.parsed_declaration" : "case sizeThatFits", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeActionsViewStyle.ButtonSizing.Type) -> SwipeActionsViewStyle.ButtonSizing", - "key.typeusr" : "$sy10ListableUI21SwipeActionsViewStyleV12ButtonSizingOAEmcD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO12sizeThatFitsyA2EmF" - } - ] - } - ], - "key.typename" : "SwipeActionsViewStyle.ButtonSizing.Type", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleV12ButtonSizingOmD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12ButtonSizingO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let `default`: SwipeActionsViewStyle<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 771 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> `default`<\/decl.name>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 46, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 789, - "key.offset" : 778, - "key.parsed_declaration" : "public static let `default` = SwipeActionsViewStyle()", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsViewStyle", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV7defaultACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var actionShape: Shape<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 830 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> actionShape<\/decl.name>: Shape<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "actionShape", - "key.namelength" : 11, - "key.nameoffset" : 841, - "key.offset" : 837, - "key.parsed_declaration" : "public var actionShape: Shape", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsViewStyle.Shape", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleV5ShapeOD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV11actionShapeAC0H0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var interActionSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 864 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> interActionSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "interActionSpacing", - "key.namelength" : 18, - "key.nameoffset" : 875, - "key.offset" : 871, - "key.parsed_declaration" : "public var interActionSpacing: CGFloat", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV18interActionSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var leadingContainerInsets: NSDirectionalEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 980 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The insets to apply to the leading swipe actions container.", - "key.doc.column" : 16, - "key.doc.comment" : "The insets to apply to the leading swipe actions container.", - "key.doc.declaration" : "public var leadingContainerInsets: NSDirectionalEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "leadingContainerInsets<\/Name>s:10ListableUI21SwipeActionsViewStyleV22leadingContainerInsetsSo017NSDirectionalEdgeI0Vvp<\/USR>public var leadingContainerInsets: NSDirectionalEdgeInsets<\/Declaration>The insets to apply to the leading swipe actions container.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 27, - "key.doc.name" : "leadingContainerInsets", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 912, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> leadingContainerInsets<\/decl.name>: NSDirectionalEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "leadingContainerInsets", - "key.namelength" : 22, - "key.nameoffset" : 991, - "key.offset" : 987, - "key.parsed_declaration" : "public var leadingContainerInsets: NSDirectionalEdgeInsets", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "NSDirectionalEdgeInsets", - "key.typeusr" : "$sSo23NSDirectionalEdgeInsetsVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV22leadingContainerInsetsSo017NSDirectionalEdgeI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var trailingContainerInsets: NSDirectionalEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1117 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The insets to apply to the trailing swipe actions container.", - "key.doc.column" : 16, - "key.doc.comment" : "The insets to apply to the trailing swipe actions container.", - "key.doc.declaration" : "public var trailingContainerInsets: NSDirectionalEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "trailingContainerInsets<\/Name>s:10ListableUI21SwipeActionsViewStyleV23trailingContainerInsetsSo017NSDirectionalEdgeI0Vvp<\/USR>public var trailingContainerInsets: NSDirectionalEdgeInsets<\/Declaration>The insets to apply to the trailing swipe actions container.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 30, - "key.doc.name" : "trailingContainerInsets", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 1048, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> trailingContainerInsets<\/decl.name>: NSDirectionalEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "trailingContainerInsets", - "key.namelength" : 23, - "key.nameoffset" : 1128, - "key.offset" : 1124, - "key.parsed_declaration" : "public var trailingContainerInsets: NSDirectionalEdgeInsets", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "NSDirectionalEdgeInsets", - "key.typeusr" : "$sSo23NSDirectionalEdgeInsetsVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV23trailingContainerInsetsSo017NSDirectionalEdgeI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var containerCornerRadius: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1186 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> containerCornerRadius<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "containerCornerRadius", - "key.namelength" : 21, - "key.nameoffset" : 1197, - "key.offset" : 1193, - "key.parsed_declaration" : "public var containerCornerRadius: CGFloat", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV21containerCornerRadius14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var buttonSizing: ButtonSizing<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1232 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> buttonSizing<\/decl.name>: ButtonSizing<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "buttonSizing", - "key.namelength" : 12, - "key.nameoffset" : 1243, - "key.offset" : 1239, - "key.parsed_declaration" : "public var buttonSizing: ButtonSizing", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsViewStyle.ButtonSizing", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleV12ButtonSizingOD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12buttonSizingAC06ButtonH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var minWidth: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1274 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> minWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "minWidth", - "key.namelength" : 8, - "key.nameoffset" : 1285, - "key.offset" : 1281, - "key.parsed_declaration" : "public var minWidth: CGFloat", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV8minWidth14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var maxItemWidth: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1474 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The maximum width of individual items. Defaults to 120, matching `UITableView`\n- Note: Currently only applicable to `ButtonSizing.sizeThatFits` mode.", - "key.doc.column" : 16, - "key.doc.comment" : "The maximum width of individual items. Defaults to 120, matching `UITableView`\n- Note: Currently only applicable to `ButtonSizing.sizeThatFits` mode.", - "key.doc.declaration" : "public var maxItemWidth: CGFloat", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "maxItemWidth<\/Name>s:10ListableUI21SwipeActionsViewStyleV12maxItemWidth14CoreFoundation7CGFloatVvp<\/USR>public var maxItemWidth: CGFloat<\/Declaration>The maximum width of individual items. Defaults to 120, matching UITableView<\/codeVoice><\/Para><\/Abstract>Currently only applicable to ButtonSizing.sizeThatFits<\/codeVoice> mode.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 38, - "key.doc.name" : "maxItemWidth", - "key.doc.type" : "Other", - "key.doclength" : 162, - "key.docoffset" : 1308, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> maxItemWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "maxItemWidth", - "key.namelength" : 12, - "key.nameoffset" : 1485, - "key.offset" : 1481, - "key.parsed_declaration" : "public var maxItemWidth: CGFloat", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12maxItemWidth14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var maxWidthRatio: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1878 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The percentage of the row content width that is available for laying out swipe action buttons.\n\nFor example, a value of `0.8` represents that the swipe action buttons should occupy no more than\n80% of the row content width when the swipe actions are opened.\n- Note: Currently only applicable to `ButtonSizing.equalWidth` mode.", - "key.doc.column" : 16, - "key.doc.comment" : "The percentage of the row content width that is available for laying out swipe action buttons.\n\nFor example, a value of `0.8` represents that the swipe action buttons should occupy no more than\n80% of the row content width when the swipe actions are opened.\n- Note: Currently only applicable to `ButtonSizing.equalWidth` mode.", - "key.doc.declaration" : "public var maxWidthRatio: CGFloat", - "key.doc.discussion" : [ - { - "Para" : "For example, a value of `0.8` represents that the swipe action buttons should occupy no more than 80% of the row content width when the swipe actions are opened." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.doc.full_as_xml" : "maxWidthRatio<\/Name>s:10ListableUI21SwipeActionsViewStyleV13maxWidthRatio14CoreFoundation7CGFloatVvp<\/USR>public var maxWidthRatio: CGFloat<\/Declaration>The percentage of the row content width that is available for laying out swipe action buttons.<\/Para><\/Abstract>For example, a value of 0.8<\/codeVoice> represents that the swipe action buttons should occupy no more than 80% of the row content width when the swipe actions are opened.<\/Para>Currently only applicable to ButtonSizing.equalWidth<\/codeVoice> mode.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 45, - "key.doc.name" : "maxWidthRatio", - "key.doc.type" : "Other", - "key.doclength" : 362, - "key.docoffset" : 1512, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> maxWidthRatio<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "maxWidthRatio", - "key.namelength" : 13, - "key.nameoffset" : 1889, - "key.offset" : 1885, - "key.parsed_declaration" : "public var maxWidthRatio: CGFloat", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV13maxWidthRatio14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(actionShape: Shape<\/Type> = .rectangle(cornerRadius: 0), interActionSpacing: CGFloat<\/Type> = 0, leadingContainerInsets: NSDirectionalEdgeInsets<\/Type> = .zero, trailingContainerInsets: NSDirectionalEdgeInsets<\/Type> = .zero, containerCornerRadius: CGFloat<\/Type> = 0, buttonSizing: ButtonSizing<\/Type> = .sizeThatFits, minWidth: CGFloat<\/Type> = 0, maxWidthRatio: CGFloat<\/Type> = 0.8, maxItemWidth: CGFloat<\/Type> = 120)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1917 - } - ], - "key.bodylength" : 438, - "key.bodyoffset" : 2368, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(actionShape<\/decl.var.parameter.argument_label>: Shape<\/ref.enum><\/decl.var.parameter.type> = .rectangle(cornerRadius: 0)<\/decl.var.parameter>, interActionSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0<\/decl.var.parameter>, leadingContainerInsets<\/decl.var.parameter.argument_label>: NSDirectionalEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, trailingContainerInsets<\/decl.var.parameter.argument_label>: NSDirectionalEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, containerCornerRadius<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0<\/decl.var.parameter>, buttonSizing<\/decl.var.parameter.argument_label>: ButtonSizing<\/ref.enum><\/decl.var.parameter.type> = .sizeThatFits<\/decl.var.parameter>, minWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0<\/decl.var.parameter>, maxWidthRatio<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.8<\/decl.var.parameter>, maxItemWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 120<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 883, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "init(actionShape:interActionSpacing:leadingContainerInsets:trailingContainerInsets:containerCornerRadius:buttonSizing:minWidth:maxWidthRatio:maxItemWidth:)", - "key.namelength" : 442, - "key.nameoffset" : 1924, - "key.offset" : 1924, - "key.parsed_declaration" : "public init(\n actionShape: Shape = .rectangle(cornerRadius: 0),\n interActionSpacing: CGFloat = 0,\n leadingContainerInsets: NSDirectionalEdgeInsets = .zero,\n trailingContainerInsets: NSDirectionalEdgeInsets = .zero,\n containerCornerRadius: CGFloat = 0,\n buttonSizing: ButtonSizing = .sizeThatFits,\n minWidth: CGFloat = 0,\n maxWidthRatio: CGFloat = 0.8,\n maxItemWidth: CGFloat = 120\n)", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsViewStyle.Type) -> (SwipeActionsViewStyle.Shape, CGFloat, NSDirectionalEdgeInsets, NSDirectionalEdgeInsets, CGFloat, SwipeActionsViewStyle.ButtonSizing, CGFloat, CGFloat, CGFloat) -> SwipeActionsViewStyle", - "key.typeusr" : "$s11actionShape18interActionSpacing22leadingContainerInsets08trailinggH021containerCornerRadius12buttonSizing8minWidth03maxP5Ratio0q4ItemP010ListableUI21SwipeActionsViewStyleVAL0B0O_14CoreFoundation7CGFloatVSo017NSDirectionalEdgeH0VAsqL06ButtonN0OA3QtcD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV11actionShape18interActionSpacing22leadingContainerInsets08trailingmN021containerCornerRadius12buttonSizing8minWidth03maxV5Ratio0w4ItemV0A2C0H0O_14CoreFoundation7CGFloatVSo017NSDirectionalEdgeN0VAsqC06ButtonT0OA3Qtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var cornerRadius: CGFloat<\/Type> { get }<\/Declaration>", - "key.bodylength" : 119, - "key.bodyoffset" : 2840, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> cornerRadius<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 147, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "cornerRadius", - "key.namelength" : 12, - "key.nameoffset" : 2817, - "key.offset" : 2813, - "key.parsed_declaration" : "var cornerRadius: CGFloat", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV12cornerRadius14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "SwipeActionsViewStyle.Type", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVmD", - "key.usr" : "s:10ListableUI21SwipeActionsViewStyleV" - }, - { - "key.annotated_decl" : "public struct ListEnvironment<\/Declaration>", - "key.bodylength" : 190, - "key.bodyoffset" : 2991, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An environment of keys and values that are passed to every `ItemContent` and `HeaderFooter`\nduring layout and measurement, to allow passing down data.\n\nThis type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`,\nand then provide a custom getter and setter to read and write the content:\n\n```\nenum MyLayoutTypeKey : ListEnvironmentKey {\n var defaultValue : MyLayoutType {\n .defaultLayout\n }\n}\n\nextension ListEnvironment {\n var myLayoutType : MyLayoutType {\n get { self[MyLayoutTypeKey.self] }\n set { self[MyLayoutTypeKey.self] = newValue }\n }\n}\n```\n\nYou can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`'s\n`apply(to:for:with:)` methods.\n\n```\nfunc apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n) {\n switch info.environment.myLayoutType {\n ...\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListEnvironment", - "key.doc.discussion" : [ - { - "Para" : "This type is similar to the SwiftUI or Blueprint `Environment`, where you define a `ListEnvironmentKey`, and then provide a custom getter and setter to read and write the content:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can retrieve the `ListEnvironment` through the `info` object passed in `ItemContent` and `HeaderFooter`’s `apply(to:for:with:)` methods." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.doc.full_as_xml" : "ListEnvironment<\/Name>s:10ListableUI15ListEnvironmentV<\/USR>public struct ListEnvironment<\/Declaration>An environment of keys and values that are passed to every ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice> during layout and measurement, to allow passing down data.<\/Para><\/Abstract>This type is similar to the SwiftUI or Blueprint Environment<\/codeVoice>, where you define a ListEnvironmentKey<\/codeVoice>, and then provide a custom getter and setter to read and write the content:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can retrieve the ListEnvironment<\/codeVoice> through the info<\/codeVoice> object passed in ItemContent<\/codeVoice> and HeaderFooter<\/codeVoice>’s apply(to:for:with:)<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered>,]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 44, - "key.doc.name" : "ListEnvironment", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironment.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListEnvironment<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 218, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "ListEnvironment", - "key.namelength" : 15, - "key.nameoffset" : 2974, - "key.offset" : 2964, - "key.parsed_declaration" : "extension ListEnvironment", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var swipeActionsViewStyle: SwipeActionsViewStyle<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3001 - } - ], - "key.bodylength" : 120, - "key.bodyoffset" : 3059, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> swipeActionsViewStyle<\/decl.name>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 172, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "swipeActionsViewStyle", - "key.namelength" : 21, - "key.nameoffset" : 3012, - "key.offset" : 3008, - "key.parsed_declaration" : "public var swipeActionsViewStyle : SwipeActionsViewStyle", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 79, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsViewStyle", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVD", - "key.usr" : "s:10ListableUI15ListEnvironmentV21swipeActionsViewStyleAA05SwipefgH0Vvp" - } - ], - "key.typename" : "ListEnvironment.Type", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVmD", - "key.usr" : "s:10ListableUI15ListEnvironmentV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SwipeActionsViewStyleKey : ListEnvironmentKey<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3184 - } - ], - "key.bodylength" : 89, - "key.bodyoffset" : 3242, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 3222 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SwipeActionsViewStyleKey<\/decl.name> : ListEnvironmentKey<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "ListEnvironmentKey" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 141, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsViewStyleKey", - "key.namelength" : 24, - "key.nameoffset" : 3196, - "key.offset" : 3191, - "key.parsed_declaration" : "public enum SwipeActionsViewStyleKey: ListEnvironmentKey", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: SwipeActionsViewStyle<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3252 - } - ], - "key.bodylength" : 22, - "key.bodyoffset" : 3307, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value that will be vended by an `Environment` for this key if no other value has been set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self.Value { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Environment\/ListEnvironmentKey.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ<\/USR>static var defaultValue: Self.Value { get }<\/Declaration>The default value that will be vended by an Environment<\/codeVoice> for this key if no other value has been set.<\/Para><\/Abstract>This documentation comment was inherited from ListEnvironmentKey<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/SwipeActionsViewStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: SwipeActionsViewStyle<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 71, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3270, - "key.offset" : 3259, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue: SwipeActionsViewStyle", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsViewStyle", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVD", - "key.usr" : "s:10ListableUI18ListEnvironmentKeyP12defaultValue0G0QzvpZ" - } - ], - "key.typename" : "SwipeActionsViewStyleKey.Type", - "key.typeusr" : "$s10ListableUI24SwipeActionsViewStyleKeyOmD", - "key.usr" : "s:10ListableUI24SwipeActionsViewStyleKeyO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/TouchDownGestureRecognizer.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1268, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class TouchDownGestureRecognizer : UIGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 137 - } - ], - "key.bodylength" : 1067, - "key.bodyoffset" : 199, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 178 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/TouchDownGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> TouchDownGestureRecognizer<\/decl.name> : UIGestureRecognizer<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIGestureRecognizer" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1124, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "TouchDownGestureRecognizer", - "key.namelength" : 26, - "key.nameoffset" : 149, - "key.offset" : 143, - "key.parsed_declaration" : "final class TouchDownGestureRecognizer : UIGestureRecognizer", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var shouldRecognize: (UITouch<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/TouchDownGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> shouldRecognize<\/decl.name>: (UITouch<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 56, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "shouldRecognize", - "key.namelength" : 15, - "key.nameoffset" : 213, - "key.offset" : 209, - "key.parsed_declaration" : "var shouldRecognize : (UITouch) -> Bool = { _ in false }", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(UITouch) -> Bool", - "key.typeusr" : "$sySbSo7UITouchCcD", - "key.usr" : "s:10ListableUI26TouchDownGestureRecognizerC15shouldRecognizeySbSo7UITouchCcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func touchesBegan(_ touches: Set<\/Type><UITouch<\/Type>>, with event: UIEvent<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 275 - } - ], - "key.bodylength" : 270, - "key.bodyoffset" : 349, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/TouchDownGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> touchesBegan<\/decl.name>(_<\/decl.var.parameter.argument_label> touches<\/decl.var.parameter.name>: Set<\/ref.struct><UITouch<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> event<\/decl.var.parameter.name>: UIEvent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 336, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "touchesBegan(_:with:)", - "key.namelength" : 58, - "key.nameoffset" : 289, - "key.offset" : 284, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)touchesBegan:withEvent:" - } - ], - "key.parsed_declaration" : "override func touchesBegan(_ touches: Set, with event: UIEvent)", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TouchDownGestureRecognizer) -> (Set, UIEvent) -> ()", - "key.typeusr" : "$s_4withyShySo7UITouchCG_So7UIEventCtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)TouchDownGestureRecognizer(im)touchesBegan:withEvent:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func canPrevent(_ gesture: UIGestureRecognizer<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 630 - } - ], - "key.bodylength" : 568, - "key.bodyoffset" : 696, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/TouchDownGestureRecognizer.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> canPrevent<\/decl.name>(_<\/decl.var.parameter.argument_label> gesture<\/decl.var.parameter.name>: UIGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 626, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "canPrevent(_:)", - "key.namelength" : 42, - "key.nameoffset" : 644, - "key.offset" : 639, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)canPreventGestureRecognizer:" - } - ], - "key.parsed_declaration" : "override func canPrevent(_ gesture: UIGestureRecognizer) -> Bool", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TouchDownGestureRecognizer) -> (UIGestureRecognizer) -> Bool", - "key.typeusr" : "$sySbSo19UIGestureRecognizerCcD", - "key.usr" : "c:@M@ListableUI@objc(cs)TouchDownGestureRecognizer(im)canPreventGestureRecognizer:" - } - ], - "key.typename" : "TouchDownGestureRecognizer.Type", - "key.typeusr" : "$s10ListableUI26TouchDownGestureRecognizerCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)TouchDownGestureRecognizer" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIEdgeInsets.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 432, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@_nonSendable(_assumed) struct UIEdgeInsets : @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 282, - "key.bodyoffset" : 148, - "key.column" : 92, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIGeometry.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> UIEdgeInsets<\/decl.name> : @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 307, - "key.line" : 23, - "key.modulename" : "UIKit.UIGeometry", - "key.name" : "UIEdgeInsets", - "key.namelength" : 12, - "key.nameoffset" : 134, - "key.offset" : 124, - "key.parsed_declaration" : "extension UIEdgeInsets", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static func + (lhs: UIEdgeInsets<\/Type>, rhs: UIEdgeInsets<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 198, - "key.bodyoffset" : 230, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIEdgeInsets.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> + <\/decl.name>(lhs<\/decl.var.parameter.name>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 271, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "+(_:_:)", - "key.namelength" : 42, - "key.nameoffset" : 170, - "key.offset" : 158, - "key.parsed_declaration" : "static func + (lhs : UIEdgeInsets, rhs : UIEdgeInsets) -> UIEdgeInsets", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UIEdgeInsets.Type) -> (UIEdgeInsets, UIEdgeInsets) -> UIEdgeInsets", - "key.typeusr" : "$sySo12UIEdgeInsetsVAB_ABtcD", - "key.usr" : "s:So12UIEdgeInsetsV10ListableUIE1poiyA2B_ABtFZ" - } - ], - "key.typename" : "UIEdgeInsets.Type", - "key.typeusr" : "$sSo12UIEdgeInsetsVmD", - "key.usr" : "c:@S@UIEdgeInsets" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 641, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIView : UIResponder<\/Type>, NSCoding<\/Type>, UIAppearance<\/Type>, UIAppearanceContainer<\/Type>, UIDynamicItem<\/Type>, UITraitEnvironment<\/Type>, UICoordinateSpace<\/Type>, UIFocusItem<\/Type>, UIFocusItemContainer<\/Type>, CALayerDelegate<\/Type><\/Declaration>", - "key.bodylength" : 503, - "key.bodyoffset" : 136, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIView.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIView<\/decl.name> : UIResponder<\/ref.class>, NSCoding<\/ref.protocol>, UIAppearance<\/ref.protocol>, UIAppearanceContainer<\/ref.protocol>, UIDynamicItem<\/ref.protocol>, UITraitEnvironment<\/ref.protocol>, UICoordinateSpace<\/ref.protocol>, UIFocusItem<\/ref.protocol>, UIFocusItemContainer<\/ref.protocol>, CALayerDelegate<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 522, - "key.line" : 148, - "key.modulename" : "UIKit.UIView", - "key.name" : "UIView", - "key.namelength" : 6, - "key.nameoffset" : 128, - "key.offset" : 118, - "key.parsed_declaration" : "extension UIView", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> func contains(touch: UITouch<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 103, - "key.bodyoffset" : 186, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> contains<\/decl.name>(touch<\/decl.var.parameter.argument_label>: UITouch<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 144, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "contains(touch:)", - "key.namelength" : 25, - "key.nameoffset" : 151, - "key.offset" : 146, - "key.parsed_declaration" : "func contains(touch : UITouch) -> Bool", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let location: CGPoint<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> location<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "location", - "key.namelength" : 8, - "key.nameoffset" : 199, - "key.offset" : 195, - "key.parsed_declaration" : "let location = touch.location(in: self)", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:So6UIViewC10ListableUIE8contains5touchSbSo7UITouchC_tF8locationL_So7CGPointVvp" - } - ], - "key.typename" : "(UIView) -> (UITouch) -> Bool", - "key.typeusr" : "$s5touchSbSo7UITouchC_tcD", - "key.usr" : "s:So6UIViewC10ListableUIE8contains5touchSbSo7UITouchC_tF" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func firstSuperview<ViewType>(ofType: ViewType<\/Type>.Type) -> ViewType<\/Type>? where ViewType<\/Type> : UIView<\/Type><\/Declaration>", - "key.bodylength" : 262, - "key.bodyoffset" : 375, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> firstSuperview<\/decl.name><ViewType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(ofType<\/decl.var.parameter.argument_label>: ViewType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewType<\/ref.generic_type_param>?<\/decl.function.returntype> where<\/syntaxtype.keyword> ViewType<\/ref.generic_type_param> : UIView<\/ref.class><\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 338, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "firstSuperview(ofType:)", - "key.namelength" : 55, - "key.nameoffset" : 305, - "key.offset" : 300, - "key.parsed_declaration" : "func firstSuperview(ofType : ViewType.Type) -> ViewType?", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 20, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ViewType : UIView<\/Type><\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 329 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift", - "key.fully_annotated_decl" : "ViewType<\/decl.generic_type_param.name> : UIView<\/ref.class><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 15, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "ViewType", - "key.namelength" : 8, - "key.nameoffset" : 320, - "key.offset" : 320, - "key.parsed_declaration" : "func firstSuperviewvar view: UIView<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIView.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> view<\/decl.name>: UIView<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 25, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 388, - "key.offset" : 384, - "key.parsed_declaration" : "var view = self.superview", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.typename" : "UIView?", - "key.typeusr" : "$sSo6UIViewCSgD", - "key.usr" : "s:So6UIViewC10ListableUIE14firstSuperview6ofTypexSgxm_tABRbzlF4viewL_ABSgvp" - } - ], - "key.typename" : " (UIView) -> (ViewType.Type) -> ViewType?", - "key.typeusr" : "$s6ofTypexSgxm_tcSo6UIViewCRbzluD", - "key.usr" : "s:So6UIViewC10ListableUIE14firstSuperview6ofTypexSgxm_tABRbzlF" - } - ], - "key.typename" : "UIView.Type", - "key.typeusr" : "$sSo6UIViewCmD", - "key.usr" : "c:objc(cs)UIView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIViewPropertyAnimator.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 809, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIViewPropertyAnimator : NSObject<\/Type>, UIViewImplicitlyAnimating<\/Type>, NSCopying<\/Type><\/Declaration>", - "key.bodylength" : 661, - "key.bodyoffset" : 146, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIViewPropertyAnimator.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIViewPropertyAnimator<\/decl.name> : NSObject<\/ref.class>, UIViewImplicitlyAnimating<\/ref.protocol>, NSCopying<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 696, - "key.line" : 17, - "key.modulename" : "UIKit.UIViewPropertyAnimator", - "key.name" : "UIViewPropertyAnimator", - "key.namelength" : 22, - "key.nameoffset" : 122, - "key.offset" : 112, - "key.parsed_declaration" : "extension UIViewPropertyAnimator", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 10, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> convenience init(system animations: @escaping () -> Void<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.convenience", - "key.length" : 11, - "key.offset" : 432 - } - ], - "key.bodylength" : 314, - "key.bodyoffset" : 491, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create a UIViewPropertyAnimator with the same animation curve as most system animations\n(including view controller presentation and navigation controller pushes).\n\nThis is a critically damped spring, and the duration is based on the spring physics.", - "key.doc.column" : 17, - "key.doc.comment" : "Create a UIViewPropertyAnimator with the same animation curve as most system animations\n(including view controller presentation and navigation controller pushes).\n\nThis is a critically damped spring, and the duration is based on the spring physics.", - "key.doc.declaration" : "@MainActor convenience init(system animations: @escaping () -> Void)", - "key.doc.discussion" : [ - { - "Para" : "This is a critically damped spring, and the duration is based on the spring physics." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIViewPropertyAnimator.swift", - "key.doc.full_as_xml" : "init(system:)<\/Name>s:So22UIViewPropertyAnimatorC10ListableUIE6systemAByyc_tcfc<\/USR>@MainActor convenience init(system animations: @escaping () -> Void)<\/Declaration>Create a UIViewPropertyAnimator with the same animation curve as most system animations (including view controller presentation and navigation controller pushes).<\/Para><\/Abstract>This is a critically damped spring, and the duration is based on the spring physics.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 16, - "key.doc.name" : "init(system:)", - "key.doc.type" : "Function", - "key.doclength" : 276, - "key.docoffset" : 152, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIViewPropertyAnimator.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> convenience<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(system<\/decl.var.parameter.argument_label> animations<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 362, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "init(system:)", - "key.namelength" : 45, - "key.nameoffset" : 444, - "key.offset" : 444, - "key.parsed_declaration" : "convenience init(system animations: @escaping () -> Void)", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 16, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIViewPropertyAnimator" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init(duration:timingParameters:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(duration:curve:animations:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(duration:controlPoint1:controlPoint2:animations:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(duration:dampingRatio:animations:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let params: UISpringTimingParameters<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/UIViewPropertyAnimator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> params<\/decl.name>: UISpringTimingParameters<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "params", - "key.namelength" : 6, - "key.nameoffset" : 504, - "key.offset" : 500, - "key.parsed_declaration" : "let params = UISpringTimingParameters()", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "UISpringTimingParameters", - "key.typeusr" : "$sSo24UISpringTimingParametersCD", - "key.usr" : "s:So22UIViewPropertyAnimatorC10ListableUIE6systemAByyc_tcfc6paramsL_So24UISpringTimingParametersCvp" - } - ], - "key.typename" : "(UIViewPropertyAnimator.Type) -> (@escaping () -> ()) -> UIViewPropertyAnimator", - "key.typeusr" : "$s6systemSo22UIViewPropertyAnimatorCyyc_tcD", - "key.usr" : "s:So22UIViewPropertyAnimatorC10ListableUIE6systemAByyc_tcfc" - } - ], - "key.typename" : "UIViewPropertyAnimator.Type", - "key.typeusr" : "$sSo22UIViewPropertyAnimatorCmD", - "key.usr" : "c:objc(cs)UIViewPropertyAnimator" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Validations.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 682, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func assertIsValueType<Value>(_ valueType: Value<\/Type>.Type)<\/Declaration>", - "key.bodylength" : 453, - "key.bodyoffset" : 227, - "key.column" : 6, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Validates that the provided object is not a class type.", - "key.doc.column" : 6, - "key.doc.comment" : "Validates that the provided object is not a class type.", - "key.doc.declaration" : "func assertIsValueType(_ valueType: Value.Type)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Validations.swift", - "key.doc.full_as_xml" : "assertIsValueType(_:)<\/Name>s:10ListableUI17assertIsValueTypeyyxmlF<\/USR>func assertIsValueType<Value>(_ valueType: Value.Type)<\/Declaration>Validates that the provided object is not a class type.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 12, - "key.doc.name" : "assertIsValueType(_:)", - "key.doc.type" : "Function", - "key.doclength" : 60, - "key.docoffset" : 110, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Validations.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> assertIsValueType<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> valueType<\/decl.var.parameter.name>: Value<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 511, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "assertIsValueType(_:)", - "key.namelength" : 50, - "key.nameoffset" : 175, - "key.offset" : 170, - "key.parsed_declaration" : "func assertIsValueType(_ valueType : Value.Type)", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Internal\/Validations.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 193, - "key.offset" : 193, - "key.parsed_declaration" : "func assertIsValueType (Value.Type) -> ()", - "key.typeusr" : "$syyxmcluD", - "key.usr" : "s:10ListableUI17assertIsValueTypeyyxmlF" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1143, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyItem : AnyItemConvertible<\/Type>, AnyItem_Internal<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 240 - } - ], - "key.bodylength" : 501, - "key.bodyoffset" : 304, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type-erased version of the `Item` struct, which is used by `Section` to\ncreate mixed-type content within a section's items.", - "key.doc.column" : 17, - "key.doc.comment" : "A type-erased version of the `Item` struct, which is used by `Section` to\ncreate mixed-type content within a section's items.", - "key.doc.declaration" : "public protocol AnyItem : ListableUI.AnyItemConvertible, ListableUI.AnyItem_Internal", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.doc.full_as_xml" : "AnyItem<\/Name>s:10ListableUI7AnyItemP<\/USR>public protocol AnyItem : ListableUI.AnyItemConvertible, ListableUI.AnyItem_Internal<\/Declaration>A type-erased version of the Item<\/codeVoice> struct, which is used by Section<\/codeVoice> to create mixed-type content within a section’s items.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "AnyItem", - "key.doc.type" : "Class", - "key.doclength" : 134, - "key.docoffset" : 106, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 266 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 286 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyItem<\/decl.name> : AnyItemConvertible<\/ref.protocol>, AnyItem_Internal<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyItemConvertible" - }, - { - "key.name" : "AnyItem_Internal" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 559, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "AnyItem", - "key.namelength" : 7, - "key.nameoffset" : 256, - "key.offset" : 247, - "key.parsed_declaration" : "public protocol AnyItem : AnyItemConvertible, AnyItem_Internal", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var anyIdentifier: AnyIdentifier<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 344, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyIdentifier<\/decl.name>: AnyIdentifier<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "anyIdentifier", - "key.namelength" : 13, - "key.nameoffset" : 313, - "key.offset" : 309, - "key.parsed_declaration" : "var anyIdentifier : AnyIdentifier", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "AnyIdentifier", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCD", - "key.usr" : "s:10ListableUI7AnyItemP13anyIdentifierAA0cF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var anyContent: Any { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 382, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> anyContent<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "anyContent", - "key.namelength" : 10, - "key.nameoffset" : 364, - "key.offset" : 360, - "key.parsed_declaration" : "var anyContent : Any", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI7AnyItemP10anyContentypvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var sizing: Sizing<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 419, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 402, - "key.offset" : 398, - "key.parsed_declaration" : "var sizing : Sizing", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI7AnyItemP6sizingAA6SizingOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var layouts: ItemLayouts<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 466, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layouts<\/decl.name>: ItemLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 443, - "key.offset" : 439, - "key.parsed_declaration" : "var layouts : ItemLayouts", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ItemLayouts", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVD", - "key.usr" : "s:10ListableUI7AnyItemP7layoutsAA0D7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var selectionStyle: ItemSelectionStyle<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 523, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> selectionStyle<\/decl.name>: ItemSelectionStyle<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "selectionStyle", - "key.namelength" : 14, - "key.nameoffset" : 486, - "key.offset" : 482, - "key.parsed_declaration" : "var selectionStyle : ItemSelectionStyle", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemSelectionStyle", - "key.typeusr" : "$s10ListableUI18ItemSelectionStyleOD", - "key.usr" : "s:10ListableUI7AnyItemP14selectionStyleAA0d9SelectionF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>? { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 602, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insertAndRemoveAnimations<\/decl.name>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 74, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "insertAndRemoveAnimations", - "key.namelength" : 25, - "key.nameoffset" : 542, - "key.offset" : 538, - "key.parsed_declaration" : "var insertAndRemoveAnimations : ItemInsertAndRemoveAnimations?", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemInsertAndRemoveAnimations?", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVSgD", - "key.usr" : "s:10ListableUI7AnyItemP25insertAndRemoveAnimationsAA0d6InsertfgH0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var trailingSwipeActions: SwipeActionsConfiguration<\/Type>? { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 672, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> trailingSwipeActions<\/decl.name>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "trailingSwipeActions", - "key.namelength" : 20, - "key.nameoffset" : 621, - "key.offset" : 617, - "key.parsed_declaration" : "var trailingSwipeActions : SwipeActionsConfiguration?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsConfiguration?", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVSgD", - "key.usr" : "s:10ListableUI7AnyItemP20trailingSwipeActionsAA0fG13ConfigurationVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reordering: ItemReordering<\/Type>? { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 726, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reordering<\/decl.name>: ItemReordering<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "reordering", - "key.namelength" : 10, - "key.nameoffset" : 696, - "key.offset" : 692, - "key.parsed_declaration" : "var reordering : ItemReordering?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemReordering?", - "key.typeusr" : "$s10ListableUI14ItemReorderingVSgD", - "key.usr" : "s:10ListableUI7AnyItemP10reorderingAA0D10ReorderingVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 798, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 58, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 750, - "key.offset" : 746, - "key.parsed_declaration" : "var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI7AnyItemP22reappliesToVisibleViewAA09ReappliesfgH0Ovp" - } - ], - "key.typename" : "AnyItem.Type", - "key.typeusr" : "$s10ListableUI7AnyItem_pmD", - "key.usr" : "s:10ListableUI7AnyItemP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyItem_Internal<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 809 - } - ], - "key.bodylength" : 298, - "key.bodyoffset" : 843, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyItem_Internal<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 326, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "AnyItem_Internal", - "key.namelength" : 16, - "key.nameoffset" : 825, - "key.offset" : 816, - "key.parsed_declaration" : "public protocol AnyItem_Internal", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func anyWasMoved(comparedTo other: AnyItem<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> anyWasMoved<\/decl.name>(comparedTo<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 52, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "anyWasMoved(comparedTo:)", - "key.namelength" : 39, - "key.nameoffset" : 853, - "key.offset" : 848, - "key.parsed_declaration" : "func anyWasMoved(comparedTo other : AnyItem) -> Bool", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyItem) -> Bool", - "key.typeusr" : "$s10comparedToSb10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI16AnyItem_InternalP11anyWasMoved10comparedToSbAA0cD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func anyIsEquivalent(to other: AnyItem<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> anyIsEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 48, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "anyIsEquivalent(to:)", - "key.namelength" : 35, - "key.nameoffset" : 910, - "key.offset" : 905, - "key.parsed_declaration" : "func anyIsEquivalent(to other : AnyItem) -> Bool", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyItem) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI16AnyItem_InternalP15anyIsEquivalent2toSbAA0cD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func newPresentationItemState(with dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, performsContentCallbacks: Bool<\/Type>) -> Any<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItem.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> newPresentationItemState<\/decl.name>(with<\/decl.var.parameter.argument_label> dependencies<\/decl.var.parameter.name>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Any<\/syntaxtype.keyword><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 177, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "newPresentationItemState(with:updateCallbacks:performsContentCallbacks:)", - "key.namelength" : 165, - "key.nameoffset" : 968, - "key.offset" : 963, - "key.parsed_declaration" : "func newPresentationItemState(\n with dependencies : ItemStateDependencies,\n updateCallbacks : UpdateCallbacks,\n performsContentCallbacks : Bool\n) -> Any", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemStateDependencies, UpdateCallbacks, Bool) -> Any", - "key.typeusr" : "$s4with15updateCallbacks015performsContentC0yp10ListableUI21ItemStateDependenciesV_AD06UpdateC0CSbtcD", - "key.usr" : "s:10ListableUI16AnyItem_InternalP015newPresentationD5State4with15updateCallbacks015performsContentK0ypAA0dH12DependenciesV_AA06UpdateK0CSbtF" - } - ], - "key.typename" : "AnyItem_Internal.Type", - "key.typeusr" : "$s10ListableUI16AnyItem_Internal_pmD", - "key.usr" : "s:10ListableUI16AnyItem_InternalP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 857, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyItemConvertible<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 713 - } - ], - "key.bodylength" : 105, - "key.bodyoffset" : 749, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type which can be converted into a `AnyItem`, so you\ndo not need to explicitly wrap \/ convert your `ItemContent`\nin an `Item` when providing it to a `Section`.\n\n```\nSection(\"id\") {\n MyItemContent(text: \"Hello, World!\")\n}\n\nstruct MyItemContent : ItemContent {\n var text : String\n ...\n}\n```\n\nOnly two types conform to this protocol:\n\n### `Item`\nThe `Item` conformance simply returns self.\n\n### `ItemContent`\nThe `ItemContent` conformance returns `Item(self)`,\nutilizing the default values from the `Item` initializer.\n", - "key.doc.column" : 17, - "key.doc.comment" : "A type which can be converted into a `AnyItem`, so you\ndo not need to explicitly wrap \/ convert your `ItemContent`\nin an `Item` when providing it to a `Section`.\n\n```\nSection(\"id\") {\n MyItemContent(text: \"Hello, World!\")\n}\n\nstruct MyItemContent : ItemContent {\n var text : String\n ...\n}\n```\n\nOnly two types conform to this protocol:\n\n### `Item`\nThe `Item` conformance simply returns self.\n\n### `ItemContent`\nThe `ItemContent` conformance returns `Item(self)`,\nutilizing the default values from the `Item` initializer.", - "key.doc.declaration" : "public protocol AnyItemConvertible", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "Only two types conform to this protocol:" - }, - { - "Para" : "The `Item` conformance simply returns self." - }, - { - "Para" : "The `ItemContent` conformance returns `Item(self)`, utilizing the default values from the `Item` initializer." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.doc.full_as_xml" : "AnyItemConvertible<\/Name>s:10ListableUI18AnyItemConvertibleP<\/USR>public protocol AnyItemConvertible<\/Declaration>A type which can be converted into a AnyItem<\/codeVoice>, so you do not need to explicitly wrap \/ convert your ItemContent<\/codeVoice> in an Item<\/codeVoice> when providing it to a Section<\/codeVoice>.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Only two types conform to this protocol:<\/Para>]]><\/rawHTML>Item<\/codeVoice>]]><\/rawHTML>The Item<\/codeVoice> conformance simply returns self.<\/Para>]]><\/rawHTML>ItemContent<\/codeVoice>]]><\/rawHTML>The ItemContent<\/codeVoice> conformance returns Item(self)<\/codeVoice>, utilizing the default values from the Item<\/codeVoice> initializer.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 33, - "key.doc.name" : "AnyItemConvertible", - "key.doc.type" : "Class", - "key.doclength" : 616, - "key.docoffset" : 97, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyItemConvertible<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 135, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "AnyItemConvertible", - "key.namelength" : 18, - "key.nameoffset" : 729, - "key.offset" : 720, - "key.parsed_declaration" : "public protocol AnyItemConvertible", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func toAnyItem() -> AnyItem<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyItem` instance.", - "key.doc.column" : 10, - "key.doc.comment" : "Converts the object into a type-erased `AnyItem` instance.", - "key.doc.declaration" : "func toAnyItem() -> AnyItem", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.doc.full_as_xml" : "toAnyItem()<\/Name>s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF<\/USR>func toAnyItem() -> AnyItem<\/Declaration>Converts the object into a type-erased AnyItem<\/codeVoice> instance.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 36, - "key.doc.name" : "toAnyItem()", - "key.doc.type" : "Function", - "key.doclength" : 63, - "key.docoffset" : 759, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toAnyItem<\/decl.name>() -> AnyItem<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 27, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "toAnyItem()", - "key.namelength" : 11, - "key.nameoffset" : 831, - "key.offset" : 826, - "key.parsed_declaration" : "func toAnyItem() -> AnyItem", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI18AnyItemConvertibleP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pycD", - "key.usr" : "s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF" - } - ], - "key.typename" : "AnyItemConvertible.Type", - "key.typeusr" : "$s10ListableUI18AnyItemConvertible_pmD", - "key.usr" : "s:10ListableUI18AnyItemConvertibleP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3491, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct DefaultItemProperties<ContentType> where ContentType<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 612 - } - ], - "key.bodylength" : 2815, - "key.bodyoffset" : 674, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows specifying default properties to apply to an item when it is initialized,\nif those values are not provided to the initializer.\nOnly non-nil values are used – if you do not want to provide a default value,\nsimply leave the property nil.\n\nThe order of precedence used when assigning values is:\n1) The value passed to the initializer.\n2) The value from `defaultItemProperties` on the contained `ItemContent`, if non-nil.\n3) A standard, default value.", - "key.doc.column" : 15, - "key.doc.comment" : "Allows specifying default properties to apply to an item when it is initialized,\nif those values are not provided to the initializer.\nOnly non-nil values are used – if you do not want to provide a default value,\nsimply leave the property nil.\n\nThe order of precedence used when assigning values is:\n1) The value passed to the initializer.\n2) The value from `defaultItemProperties` on the contained `ItemContent`, if non-nil.\n3) A standard, default value.", - "key.doc.declaration" : "public struct DefaultItemProperties where ContentType : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "The order of precedence used when assigning values is:" - }, - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.doc.full_as_xml" : "DefaultItemProperties<\/Name>s:10ListableUI21DefaultItemPropertiesV<\/USR>public struct DefaultItemProperties<ContentType> where ContentType : ListableUI.ItemContent<\/Declaration>Allows specifying default properties to apply to an item when it is initialized, if those values are not provided to the initializer. Only non-nil values are used – if you do not want to provide a default value, simply leave the property nil.<\/Para><\/Abstract>The order of precedence used when assigning values is:<\/Para>The value passed to the initializer.<\/Para><\/Item>The value from defaultItemProperties<\/codeVoice> on the contained ItemContent<\/codeVoice>, if non-nil.<\/Para><\/Item>A standard, default value.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 20, - "key.doc.name" : "DefaultItemProperties", - "key.doc.type" : "Class", - "key.doclength" : 492, - "key.docoffset" : 120, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> DefaultItemProperties<\/decl.name><ContentType<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> ContentType<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2871, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "DefaultItemProperties", - "key.namelength" : 21, - "key.nameoffset" : 626, - "key.offset" : 619, - "key.parsed_declaration" : "public struct DefaultItemProperties", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ContentType : ItemContent<\/Type><\/Declaration>", - "key.column" : 37, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 660 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "ContentType<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 23, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "ContentType", - "key.namelength" : 11, - "key.nameoffset" : 648, - "key.offset" : 648, - "key.parsed_declaration" : "public struct DefaultItemPropertiespublic typealias DefaultItemProperties<\/Type><ContentType<\/Type>>.Item = ListableUI.Item<\/Type><ContentType<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 679 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> DefaultItemProperties<\/ref.struct><ContentType<\/ref.generic_type_param>>.Item<\/decl.name> = ListableUI.Item<\/ref.struct><ContentType<\/ref.generic_type_param>><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 45, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 696, - "key.offset" : 686, - "key.parsed_declaration" : "public typealias Item = ListableUI.Item", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV0D0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sizing: Sizing<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 741 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 752, - "key.offset" : 748, - "key.parsed_declaration" : "public var sizing : Sizing?", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing?", - "key.typeusr" : "$s10ListableUI6SizingOSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV6sizingAA6SizingOSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: ItemLayouts<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 773 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: ItemLayouts<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 784, - "key.offset" : 780, - "key.parsed_declaration" : "public var layouts : ItemLayouts?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemLayouts?", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV7layoutsAA0D7LayoutsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectionStyle: ItemSelectionStyle<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 811 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectionStyle<\/decl.name>: ItemSelectionStyle<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "selectionStyle", - "key.namelength" : 14, - "key.nameoffset" : 822, - "key.offset" : 818, - "key.parsed_declaration" : "public var selectionStyle : ItemSelectionStyle?", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemSelectionStyle?", - "key.typeusr" : "$s10ListableUI18ItemSelectionStyleOSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV14selectionStyleAA0d9SelectionG0OSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 863 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> insertAndRemoveAnimations<\/decl.name>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "insertAndRemoveAnimations", - "key.namelength" : 25, - "key.nameoffset" : 874, - "key.offset" : 870, - "key.parsed_declaration" : "public var insertAndRemoveAnimations : ItemInsertAndRemoveAnimations?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemInsertAndRemoveAnimations?", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV25insertAndRemoveAnimationsAA0d6InsertghI0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var leadingSwipeActions: SwipeActionsConfiguration<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 937 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> leadingSwipeActions<\/decl.name>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "leadingSwipeActions", - "key.namelength" : 19, - "key.nameoffset" : 948, - "key.offset" : 944, - "key.parsed_declaration" : "public var leadingSwipeActions : SwipeActionsConfiguration?", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsConfiguration?", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV19leadingSwipeActionsAA0gH13ConfigurationVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var trailingSwipeActions: SwipeActionsConfiguration<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1001 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> trailingSwipeActions<\/decl.name>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "trailingSwipeActions", - "key.namelength" : 20, - "key.nameoffset" : 1012, - "key.offset" : 1008, - "key.parsed_declaration" : "public var trailingSwipeActions : SwipeActionsConfiguration?", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsConfiguration?", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV20trailingSwipeActionsAA0gH13ConfigurationVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reordering: ItemReordering<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1071 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reordering<\/decl.name>: ItemReordering<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "reordering", - "key.namelength" : 10, - "key.nameoffset" : 1082, - "key.offset" : 1078, - "key.parsed_declaration" : "public var reordering : ItemReordering?", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemReordering?", - "key.typeusr" : "$s10ListableUI14ItemReorderingVSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV10reorderingAA0D10ReorderingVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onWasReordered: Item<\/Type>.OnWasReordered<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1115 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onWasReordered<\/decl.name>: Item<\/ref.typealias>.OnWasReordered<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "onWasReordered", - "key.namelength" : 14, - "key.nameoffset" : 1126, - "key.offset" : 1122, - "key.parsed_declaration" : "public var onWasReordered : Item.OnWasReordered?", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item, ItemReordering.Result) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemVyxG_AA0C10ReorderingV6ResultVtcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV14onWasReorderedyAA0D0VyxG_AA0D10ReorderingV6ResultVtcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDisplay: Item<\/Type>.OnDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1177 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDisplay<\/decl.name>: Item<\/ref.typealias>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "onDisplay", - "key.namelength" : 9, - "key.nameoffset" : 1188, - "key.offset" : 1184, - "key.parsed_declaration" : "public var onDisplay : Item.OnDisplay.Callback?", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV9OnDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV9onDisplayyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onEndDisplay: Item<\/Type>.OnEndDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1229 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onEndDisplay<\/decl.name>: Item<\/ref.typealias>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "onEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 1240, - "key.offset" : 1236, - "key.parsed_declaration" : "public var onEndDisplay : Item.OnEndDisplay.Callback?", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnEndDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV12OnEndDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV12onEndDisplayyAA0D0V02OngH0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onSelect: Item<\/Type>.OnSelect<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1292 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onSelect<\/decl.name>: Item<\/ref.typealias>.OnSelect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "onSelect", - "key.namelength" : 8, - "key.nameoffset" : 1303, - "key.offset" : 1299, - "key.parsed_declaration" : "public var onSelect : Item.OnSelect.Callback?", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnSelect) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnSelectVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV8onSelectyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDeselect: Item<\/Type>.OnDeselect<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1342 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDeselect<\/decl.name>: Item<\/ref.typealias>.OnDeselect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "onDeselect", - "key.namelength" : 10, - "key.nameoffset" : 1353, - "key.offset" : 1349, - "key.parsed_declaration" : "public var onDeselect : Item.OnDeselect.Callback?", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnDeselect) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV10OnDeselectVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV10onDeselectyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onInsert: Item<\/Type>.OnInsert<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1401 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onInsert<\/decl.name>: Item<\/ref.typealias>.OnInsert<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "onInsert", - "key.namelength" : 8, - "key.nameoffset" : 1412, - "key.offset" : 1408, - "key.parsed_declaration" : "public var onInsert : Item.OnInsert.Callback?", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnInsert) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnInsertVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV8onInsertyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onRemove: Item<\/Type>.OnRemove<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1451 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onRemove<\/decl.name>: Item<\/ref.typealias>.OnRemove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "onRemove", - "key.namelength" : 8, - "key.nameoffset" : 1462, - "key.offset" : 1458, - "key.parsed_declaration" : "public var onRemove : Item.OnRemove.Callback?", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnRemove) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnRemoveVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV8onRemoveyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onMove: Item<\/Type>.OnMove<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1501 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onMove<\/decl.name>: Item<\/ref.typealias>.OnMove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "onMove", - "key.namelength" : 6, - "key.nameoffset" : 1512, - "key.offset" : 1508, - "key.parsed_declaration" : "public var onMove : Item.OnMove.Callback?", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnMove) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV6OnMoveVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV6onMoveyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onUpdate: Item<\/Type>.OnUpdate<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1547 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onUpdate<\/decl.name>: Item<\/ref.typealias>.OnUpdate<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "onUpdate", - "key.namelength" : 8, - "key.nameoffset" : 1558, - "key.offset" : 1554, - "key.parsed_declaration" : "public var onUpdate : Item.OnUpdate.Callback?", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnUpdate) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnUpdateVyx_GcSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV8onUpdateyAA0D0V02OnG0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1606 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 1617, - "key.offset" : 1613, - "key.parsed_declaration" : "public var debuggingIdentifier : String?", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV19debuggingIdentifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(sizing: Sizing<\/Type>? = nil, layouts: ItemLayouts<\/Type>? = nil, selectionStyle: ItemSelectionStyle<\/Type>? = nil, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>? = nil, leadingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, trailingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, reordering: ItemReordering<\/Type>? = nil, onWasReordered: Item<\/Type>.OnWasReordered<\/Type>? = nil, onDisplay: Item<\/Type>.OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: Item<\/Type>.OnEndDisplay<\/Type>.Callback<\/Type>? = nil, onSelect: Item<\/Type>.OnSelect<\/Type>.Callback<\/Type>? = nil, onDeselect: Item<\/Type>.OnDeselect<\/Type>.Callback<\/Type>? = nil, onInsert: Item<\/Type>.OnInsert<\/Type>.Callback<\/Type>? = nil, onRemove: Item<\/Type>.OnRemove<\/Type>.Callback<\/Type>? = nil, onMove: Item<\/Type>.OnMove<\/Type>.Callback<\/Type>? = nil, onUpdate: Item<\/Type>.OnUpdate<\/Type>.Callback<\/Type>? = nil, debuggingIdentifier: String<\/Type>? = nil, configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1660 - } - ], - "key.bodylength" : 734, - "key.bodyoffset" : 2616, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: ItemLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, selectionStyle<\/decl.var.parameter.argument_label>: ItemSelectionStyle<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, insertAndRemoveAnimations<\/decl.var.parameter.argument_label>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, leadingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, trailingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, reordering<\/decl.var.parameter.argument_label>: ItemReordering<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onWasReordered<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnWasReordered<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onSelect<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnSelect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDeselect<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnDeselect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onInsert<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnInsert<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onRemove<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnRemove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onMove<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnMove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onUpdate<\/decl.var.parameter.argument_label>: Item<\/ref.typealias>.OnUpdate<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, debuggingIdentifier<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1684, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "init(sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:debuggingIdentifier:configure:)", - "key.namelength" : 947, - "key.nameoffset" : 1667, - "key.offset" : 1667, - "key.parsed_declaration" : "public init(\n sizing : Sizing? = nil,\n layouts : ItemLayouts? = nil,\n selectionStyle : ItemSelectionStyle? = nil,\n insertAndRemoveAnimations : ItemInsertAndRemoveAnimations? = nil,\n leadingSwipeActions : SwipeActionsConfiguration? = nil,\n trailingSwipeActions : SwipeActionsConfiguration? = nil,\n reordering : ItemReordering? = nil,\n onWasReordered : Item.OnWasReordered? = nil,\n onDisplay : Item.OnDisplay.Callback? = nil,\n onEndDisplay : Item.OnEndDisplay.Callback? = nil,\n onSelect : Item.OnSelect.Callback? = nil,\n onDeselect : Item.OnDeselect.Callback? = nil,\n onInsert : Item.OnInsert.Callback? = nil,\n onRemove : Item.OnRemove.Callback? = nil,\n onMove : Item.OnMove.Callback? = nil,\n onUpdate : Item.OnUpdate.Callback? = nil,\n debuggingIdentifier : String? = nil,\n \n configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DefaultItemProperties.Type) -> (Sizing?, ItemLayouts?, ItemSelectionStyle?, ItemInsertAndRemoveAnimations?, SwipeActionsConfiguration?, SwipeActionsConfiguration?, ItemReordering?, ((Item, ItemReordering.Result) -> ())?, ((Item.OnDisplay) -> ())?, ((Item.OnEndDisplay) -> ())?, ((Item.OnSelect) -> ())?, ((Item.OnDeselect) -> ())?, ((Item.OnInsert) -> ())?, ((Item.OnRemove) -> ())?, ((Item.OnMove) -> ())?, ((Item.OnUpdate) -> ())?, String?, (inout DefaultItemProperties) -> ()) -> DefaultItemProperties", - "key.typeusr" : "$s6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingjK010reordering14onWasReordered0N7Display0n3EndQ00N6Select0N8Deselect0N6Insert0nG00N4Move0N6Update19debuggingIdentifier9configure10ListableUI21DefaultItemPropertiesVyxGAS6SizingOSg_AS11ItemLayoutsVSgAS013ItemSelectionD0OSgAS04ItemufgH0VSgAS0jK13ConfigurationVSgA9_AS14ItemReorderingVSgyAS4ItemVyxG_A11_6ResultVtcSgyA14_02OnQ0Vyx_GcSgyA14_02OnrQ0Vyx_GcSgyA14_02OnS0Vyx_GcSgyA14_02OnT0Vyx_GcSgyA14_02OnU0Vyx_GcSgyA14_02OnG0Vyx_GcSgyA14_02OnV0Vyx_GcSgyA14_02OnW0Vyx_GcSgSSSgyAVzXEtcD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingoP010reordering14onWasReordered0S7Display0s3EndV00S6Select0S8Deselect0S6Insert0sL00S4Move0S6Update19debuggingIdentifier9configureACyxGAA6SizingOSg_AA0D7LayoutsVSgAA0d9SelectionI0OSgAA0dzklM0VSgAA0oP13ConfigurationVSgA9_AA0D10ReorderingVSgyAA0D0VyxG_A11_6ResultVtcSgyA14_02OnV0Vyx_GcSgyA14_02OnwV0Vyx_GcSgyA14_02OnX0Vyx_GcSgyA14_02OnY0Vyx_GcSgyA14_02OnZ0Vyx_GcSgyA14_02OnL0Vyx_GcSgyA14_6OnMoveVyx_GcSgyA14_8OnUpdateVyx_GcSgSSSgyAVzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func defaults(with configure: (inout `Self`) -> () = { _ in }) -> DefaultItemProperties<\/Type><ContentType<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3361 - } - ], - "key.bodylength" : 41, - "key.bodyoffset" : 3446, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/DefaultItemProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> defaults<\/decl.name>(with<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> DefaultItemProperties<\/ref.struct><ContentType<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 120, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "defaults(with:)", - "key.namelength" : 56, - "key.nameoffset" : 3380, - "key.offset" : 3368, - "key.parsed_declaration" : "public static func defaults(with configure : (inout Self) -> () = { _ in }) -> Self", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DefaultItemProperties.Type) -> ((inout DefaultItemProperties) -> ()) -> DefaultItemProperties", - "key.typeusr" : "$s4with10ListableUI21DefaultItemPropertiesVyxGyAEzXE_tcD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV8defaults4withACyxGyAFzXE_tFZ" - } - ], - "key.typename" : "DefaultItemProperties.Type", - "key.typeusr" : "$s10ListableUI21DefaultItemPropertiesVyxGmD", - "key.usr" : "s:10ListableUI21DefaultItemPropertiesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 9339, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Item<Content> : AnyItem<\/Type>, AnyItemConvertible<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 891 - } - ], - "key.bodylength" : 5851, - "key.bodyoffset" : 962, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.column" : 15, - "key.doc.comment" : "\nAn `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.declaration" : "public struct Item : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "`Item` wraps an `ItemContent` struct (a protocol you implement to provide content), which drives the primary content of the row the `Item` displays." - }, - { - "Para" : "If you are used to working with a collection view or table view, you can think of `ItemContent` as what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc." - }, - { - "Para" : "Once added to a section, `Item` is type erased to`AnyItem`, to allow for mixed collections of content within a section." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI4ItemV<\/USR>public struct Item<Content> : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent<\/Declaration>An Item<\/codeVoice> is one of the core types deployed by Listable, allowing you to specify and control many of the behaviors, appearance options, and callbacks for interacting with rows within a list.<\/Para><\/Abstract>Item<\/codeVoice> wraps an ItemContent<\/codeVoice> struct (a protocol you implement to provide content), which drives the primary content of the row the Item<\/codeVoice> displays.<\/Para>If you are used to working with a collection view or table view, you can think of ItemContent<\/codeVoice> as what you put in the contentView<\/codeVoice> of your cell, and you can think of Item<\/codeVoice> as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.<\/Para>Once added to a section, Item<\/codeVoice> is type erased toAnyItem<\/codeVoice>, to allow for mixed collections of content within a section.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 22, - "key.doc.name" : "Item", - "key.doc.type" : "Class", - "key.doclength" : 809, - "key.docoffset" : 82, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 7, - "key.offset" : 933 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 942 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Item<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyItem<\/ref.protocol>, AnyItemConvertible<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyItem" - }, - { - "key.name" : "AnyItemConvertible" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 5916, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 905, - "key.offset" : 898, - "key.parsed_declaration" : "public struct Item : AnyItem, AnyItemConvertible", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 918 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 910, - "key.offset" : 910, - "key.parsed_declaration" : "public struct Itempublic var identifier: Content<\/Type>.Identifier<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 967 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifier<\/decl.name>: Content<\/ref.generic_type_param>.Identifier<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 978, - "key.offset" : 974, - "key.parsed_declaration" : "public var identifier : Content.Identifier", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Identifier", - "key.typeusr" : "$s10ListableUI10IdentifierCyx0C5ValueQzGD", - "key.usr" : "s:10ListableUI4ItemV10identifierAA10IdentifierCyx0E5ValueQzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1019 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 1030, - "key.offset" : 1026, - "key.parsed_declaration" : "public var content : Content", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Content", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI4ItemV7contentxvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sizing: Sizing<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1057 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sizing<\/decl.name>: Sizing<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "sizing", - "key.namelength" : 6, - "key.nameoffset" : 1068, - "key.offset" : 1064, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP6sizingAA6SizingOvp" - } - ], - "key.parsed_declaration" : "public var sizing : Sizing", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing", - "key.typeusr" : "$s10ListableUI6SizingOD", - "key.usr" : "s:10ListableUI4ItemV6sizingAA6SizingOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: ItemLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1088 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: ItemLayouts<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 1099, - "key.offset" : 1095, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP7layoutsAA0D7LayoutsVvp" - } - ], - "key.parsed_declaration" : "public var layouts : ItemLayouts", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemLayouts", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVD", - "key.usr" : "s:10ListableUI4ItemV7layoutsAA0C7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectionStyle: ItemSelectionStyle<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1130 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectionStyle<\/decl.name>: ItemSelectionStyle<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "selectionStyle", - "key.namelength" : 14, - "key.nameoffset" : 1141, - "key.offset" : 1137, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP14selectionStyleAA0d9SelectionF0Ovp" - } - ], - "key.parsed_declaration" : "public var selectionStyle : ItemSelectionStyle", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemSelectionStyle", - "key.typeusr" : "$s10ListableUI18ItemSelectionStyleOD", - "key.usr" : "s:10ListableUI4ItemV14selectionStyleAA0c9SelectionE0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1186 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> insertAndRemoveAnimations<\/decl.name>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "insertAndRemoveAnimations", - "key.namelength" : 25, - "key.nameoffset" : 1197, - "key.offset" : 1193, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP25insertAndRemoveAnimationsAA0d6InsertfgH0VSgvp" - } - ], - "key.parsed_declaration" : "public var insertAndRemoveAnimations : ItemInsertAndRemoveAnimations?", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemInsertAndRemoveAnimations?", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVSgD", - "key.usr" : "s:10ListableUI4ItemV25insertAndRemoveAnimationsAA0c6InsertefG0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var leadingSwipeActions: SwipeActionsConfiguration<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1381 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The configuration that provides the set of actions to display when swiping on the leading edge of the cell.", - "key.doc.column" : 16, - "key.doc.comment" : "The configuration that provides the set of actions to display when swiping on the leading edge of the cell.", - "key.doc.declaration" : "public var leadingSwipeActions: SwipeActionsConfiguration?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "leadingSwipeActions<\/Name>s:10ListableUI4ItemV19leadingSwipeActionsAA0eF13ConfigurationVSgvp<\/USR>public var leadingSwipeActions: SwipeActionsConfiguration?<\/Declaration>The configuration that provides the set of actions to display when swiping on the leading edge of the cell.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 36, - "key.doc.name" : "leadingSwipeActions", - "key.doc.type" : "Other", - "key.doclength" : 112, - "key.docoffset" : 1265, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> leadingSwipeActions<\/decl.name>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "leadingSwipeActions", - "key.namelength" : 19, - "key.nameoffset" : 1392, - "key.offset" : 1388, - "key.parsed_declaration" : "public var leadingSwipeActions : SwipeActionsConfiguration?", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsConfiguration?", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVSgD", - "key.usr" : "s:10ListableUI4ItemV19leadingSwipeActionsAA0eF13ConfigurationVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var trailingSwipeActions: SwipeActionsConfiguration<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1567 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The configuration that provides the set of actions to display when swiping on the trailing edge of the cell.", - "key.doc.column" : 16, - "key.doc.comment" : "The configuration that provides the set of actions to display when swiping on the trailing edge of the cell.", - "key.doc.declaration" : "public var trailingSwipeActions: SwipeActionsConfiguration?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "trailingSwipeActions<\/Name>s:10ListableUI4ItemV20trailingSwipeActionsAA0eF13ConfigurationVSgvp<\/USR>public var trailingSwipeActions: SwipeActionsConfiguration?<\/Declaration>The configuration that provides the set of actions to display when swiping on the trailing edge of the cell.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 39, - "key.doc.name" : "trailingSwipeActions", - "key.doc.type" : "Other", - "key.doclength" : 113, - "key.docoffset" : 1450, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> trailingSwipeActions<\/decl.name>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "trailingSwipeActions", - "key.namelength" : 20, - "key.nameoffset" : 1578, - "key.offset" : 1574, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP20trailingSwipeActionsAA0fG13ConfigurationVSgvp" - } - ], - "key.parsed_declaration" : "public var trailingSwipeActions : SwipeActionsConfiguration?", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SwipeActionsConfiguration?", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVSgD", - "key.usr" : "s:10ListableUI4ItemV20trailingSwipeActionsAA0eF13ConfigurationVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnWasReordered = (`Self`, ItemReordering<\/Type>.Result<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1633 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnWasReordered<\/decl.name> = (`Self`<\/decl.var.parameter.type><\/decl.var.parameter>, ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 62, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "OnWasReordered", - "key.namelength" : 14, - "key.nameoffset" : 1650, - "key.offset" : 1640, - "key.parsed_declaration" : "public typealias OnWasReordered = (Self, ItemReordering.Result) -> ()", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.typename" : "((Item, ItemReordering.Result) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemVyxG_AA0C10ReorderingV6ResultVtcmD", - "key.usr" : "s:10ListableUI4ItemV14OnWasReordereda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reordering: ItemReordering<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1712 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reordering<\/decl.name>: ItemReordering<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "reordering", - "key.namelength" : 10, - "key.nameoffset" : 1723, - "key.offset" : 1719, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP10reorderingAA0D10ReorderingVSgvp" - } - ], - "key.parsed_declaration" : "public var reordering : ItemReordering?", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemReordering?", - "key.typeusr" : "$s10ListableUI14ItemReorderingVSgD", - "key.usr" : "s:10ListableUI4ItemV10reorderingAA0C10ReorderingVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onWasReordered: OnWasReordered<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1756 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onWasReordered<\/decl.name>: OnWasReordered<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "onWasReordered", - "key.namelength" : 14, - "key.nameoffset" : 1767, - "key.offset" : 1763, - "key.parsed_declaration" : "public var onWasReordered : OnWasReordered?", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item, ItemReordering.Result) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemVyxG_AA0C10ReorderingV6ResultVtcSgD", - "key.usr" : "s:10ListableUI4ItemV14onWasReorderedyACyxG_AA0C10ReorderingV6ResultVtcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDisplay: OnDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1813 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDisplay<\/decl.name>: OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "onDisplay", - "key.namelength" : 9, - "key.nameoffset" : 1824, - "key.offset" : 1820, - "key.parsed_declaration" : "public var onDisplay : OnDisplay.Callback?", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV9OnDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV9onDisplayyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onEndDisplay: OnEndDisplay<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1860 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onEndDisplay<\/decl.name>: OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "onEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 1871, - "key.offset" : 1867, - "key.parsed_declaration" : "public var onEndDisplay : OnEndDisplay.Callback?", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnEndDisplay) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV12OnEndDisplayVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV12onEndDisplayyAC02OneF0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onSelect: OnSelect<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1918 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onSelect<\/decl.name>: OnSelect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "onSelect", - "key.namelength" : 8, - "key.nameoffset" : 1929, - "key.offset" : 1925, - "key.parsed_declaration" : "public var onSelect : OnSelect.Callback?", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnSelect) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnSelectVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV8onSelectyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onDeselect: OnDeselect<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1963 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onDeselect<\/decl.name>: OnDeselect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "onDeselect", - "key.namelength" : 10, - "key.nameoffset" : 1974, - "key.offset" : 1970, - "key.parsed_declaration" : "public var onDeselect : OnDeselect.Callback?", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnDeselect) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV10OnDeselectVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV10onDeselectyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onInsert: OnInsert<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2017 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onInsert<\/decl.name>: OnInsert<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "onInsert", - "key.namelength" : 8, - "key.nameoffset" : 2028, - "key.offset" : 2024, - "key.parsed_declaration" : "public var onInsert : OnInsert.Callback?", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnInsert) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnInsertVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV8onInsertyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onRemove: OnRemove<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2062 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onRemove<\/decl.name>: OnRemove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "onRemove", - "key.namelength" : 8, - "key.nameoffset" : 2073, - "key.offset" : 2069, - "key.parsed_declaration" : "public var onRemove : OnRemove.Callback?", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnRemove) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnRemoveVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV8onRemoveyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onMove: OnMove<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2107 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onMove<\/decl.name>: OnMove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "onMove", - "key.namelength" : 6, - "key.nameoffset" : 2118, - "key.offset" : 2114, - "key.parsed_declaration" : "public var onMove : OnMove.Callback?", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnMove) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV6OnMoveVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV6onMoveyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onUpdate: OnUpdate<\/Type>.Callback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2148 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onUpdate<\/decl.name>: OnUpdate<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "onUpdate", - "key.namelength" : 8, - "key.nameoffset" : 2159, - "key.offset" : 2155, - "key.parsed_declaration" : "public var onUpdate : OnUpdate.Callback?", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((Item.OnUpdate) -> ())?", - "key.typeusr" : "$sy10ListableUI4ItemV8OnUpdateVyx_GcSgD", - "key.usr" : "s:10ListableUI4ItemV8onUpdateyAC02OnE0Vyx_GcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2202 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 2213, - "key.offset" : 2209, - "key.parsed_declaration" : "public var debuggingIdentifier : String? = nil", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI4ItemV19debuggingIdentifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal let reuseIdentifier: ReuseIdentifier<\/Type><Content<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 2258 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> let<\/syntaxtype.keyword> reuseIdentifier<\/decl.name>: ReuseIdentifier<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "reuseIdentifier", - "key.namelength" : 15, - "key.nameoffset" : 2271, - "key.offset" : 2267, - "key.parsed_declaration" : "internal let reuseIdentifier : ReuseIdentifier", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.typename" : "ReuseIdentifier", - "key.typeusr" : "$s10ListableUI15ReuseIdentifierCyxGD", - "key.usr" : "s:10ListableUI4ItemV15reuseIdentifierAA05ReuseE0CyxGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 2333 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.Configure = (inout Item<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2370 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.Configure<\/decl.name> = (inout<\/syntaxtype.keyword> Item<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 40, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "Configure", - "key.namelength" : 9, - "key.nameoffset" : 2387, - "key.offset" : 2377, - "key.parsed_declaration" : "public typealias Configure = (inout Item) -> ()", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "((inout Item) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemVyxGzcmD", - "key.usr" : "s:10ListableUI4ItemV9Configurea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ content: Content<\/Type>, configure: Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2427 - } - ], - "key.bodylength" : 66, - "key.bodyoffset" : 2506, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 139, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "init(_:configure:)", - "key.namelength" : 70, - "key.nameoffset" : 2434, - "key.offset" : 2434, - "key.parsed_declaration" : "public init(\n _ content : Content,\n configure : Configure\n)", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 67, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Item.Type) -> (Content, (inout Item) -> ()) -> Item", - "key.typeusr" : "$s_9configure10ListableUI4ItemVyxGx_yAEzXEtcD", - "key.usr" : "s:10ListableUI4ItemV_9configureACyxGx_yAEzXEtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ content: Content<\/Type>, sizing: Sizing<\/Type>? = nil, layouts: ItemLayouts<\/Type>? = nil, selectionStyle: ItemSelectionStyle<\/Type>? = nil, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>? = nil, leadingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, trailingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, reordering: ItemReordering<\/Type>? = nil, onWasReordered: OnWasReordered<\/Type>? = nil, onDisplay: OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: OnEndDisplay<\/Type>.Callback<\/Type>? = nil, onSelect: OnSelect<\/Type>.Callback<\/Type>? = nil, onDeselect: OnDeselect<\/Type>.Callback<\/Type>? = nil, onInsert: OnInsert<\/Type>.Callback<\/Type>? = nil, onRemove: OnRemove<\/Type>.Callback<\/Type>? = nil, onMove: OnMove<\/Type>.Callback<\/Type>? = nil, onUpdate: OnUpdate<\/Type>.Callback<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2583 - } - ], - "key.bodylength" : 2054, - "key.bodyoffset" : 3418, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: ItemLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, selectionStyle<\/decl.var.parameter.argument_label>: ItemSelectionStyle<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, insertAndRemoveAnimations<\/decl.var.parameter.argument_label>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, leadingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, trailingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, reordering<\/decl.var.parameter.argument_label>: ItemReordering<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onWasReordered<\/decl.var.parameter.argument_label>: OnWasReordered<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onSelect<\/decl.var.parameter.argument_label>: OnSelect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDeselect<\/decl.var.parameter.argument_label>: OnDeselect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onInsert<\/decl.var.parameter.argument_label>: OnInsert<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onRemove<\/decl.var.parameter.argument_label>: OnRemove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onMove<\/decl.var.parameter.argument_label>: OnMove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onUpdate<\/decl.var.parameter.argument_label>: OnUpdate<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2883, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "init(_:sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:)", - "key.namelength" : 826, - "key.nameoffset" : 2590, - "key.offset" : 2590, - "key.parsed_declaration" : "public init(\n _ content : Content,\n sizing : Sizing? = nil,\n layouts : ItemLayouts? = nil,\n selectionStyle : ItemSelectionStyle? = nil,\n insertAndRemoveAnimations : ItemInsertAndRemoveAnimations? = nil,\n leadingSwipeActions : SwipeActionsConfiguration? = nil,\n trailingSwipeActions : SwipeActionsConfiguration? = nil,\n reordering : ItemReordering? = nil,\n onWasReordered : OnWasReordered? = nil,\n onDisplay : OnDisplay.Callback? = nil,\n onEndDisplay : OnEndDisplay.Callback? = nil,\n onSelect : OnSelect.Callback? = nil,\n onDeselect : OnDeselect.Callback? = nil,\n onInsert : OnInsert.Callback? = nil,\n onRemove : OnRemove.Callback? = nil,\n onMove : OnMove.Callback? = nil,\n onUpdate : OnUpdate.Callback? = nil\n)", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 76, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:configure:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let defaults: DefaultItemProperties<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> defaults<\/decl.name>: DefaultItemProperties<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 49, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 3520, - "key.offset" : 3516, - "key.parsed_declaration" : "let defaults = self.content.defaultItemProperties", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.typename" : "DefaultItemProperties", - "key.typeusr" : "$s10ListableUI21DefaultItemPropertiesVyxGD", - "key.usr" : "s:10ListableUI4ItemV_6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingmN010reordering14onWasReordered0Q7Display0q3EndT00Q6Select0Q8Deselect0Q6Insert0qJ00Q4Move0Q6UpdateACyxGx_AA6SizingOSgAA0C7LayoutsVSgAA0c9SelectionG0OSgAA0cxijK0VSgAA0mN13ConfigurationVSgA7_AA0C10ReorderingVSgyAT_A9_6ResultVtcSgyAC02OnT0Vyx_GcSgyAC02OnuT0Vyx_GcSgyAC02OnV0Vyx_GcSgyAC02OnW0Vyx_GcSgyAC02OnX0Vyx_GcSgyAC02OnJ0Vyx_GcSgyAC02OnY0Vyx_GcSgyAC02OnZ0Vyx_GcSgtcfc8defaultsL_AA07DefaultC10PropertiesVyxGvp" - } - ], - "key.typename" : " (Item.Type) -> (Content, Sizing?, ItemLayouts?, ItemSelectionStyle?, ItemInsertAndRemoveAnimations?, SwipeActionsConfiguration?, SwipeActionsConfiguration?, ItemReordering?, ((Item, ItemReordering.Result) -> ())?, ((Item.OnDisplay) -> ())?, ((Item.OnEndDisplay) -> ())?, ((Item.OnSelect) -> ())?, ((Item.OnDeselect) -> ())?, ((Item.OnInsert) -> ())?, ((Item.OnRemove) -> ())?, ((Item.OnMove) -> ())?, ((Item.OnUpdate) -> ())?) -> Item", - "key.typeusr" : "$s_6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingjK010reordering14onWasReordered0N7Display0n3EndQ00N6Select0N8Deselect0N6Insert0nG00N4Move0N6Update10ListableUI4ItemVyxGx_AQ6SizingOSgAQ0Z7LayoutsVSgAQ0z9SelectionD0OSgAQ0zufgH0VSgAQ0jK13ConfigurationVSgA7_AQ0Z10ReorderingVSgyAT_A9_6ResultVtcSgyAS02OnQ0Vyx_GcSgyAS02OnrQ0Vyx_GcSgyAS02OnS0Vyx_GcSgyAS02OnT0Vyx_GcSgyAS02OnU0Vyx_GcSgyAS02OnG0Vyx_GcSgyAS02OnV0Vyx_GcSgyAS02OnW0Vyx_GcSgtcD", - "key.usr" : "s:10ListableUI4ItemV_6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingmN010reordering14onWasReordered0Q7Display0q3EndT00Q6Select0Q8Deselect0Q6Insert0qJ00Q4Move0Q6UpdateACyxGx_AA6SizingOSgAA0C7LayoutsVSgAA0c9SelectionG0OSgAA0cxijK0VSgAA0mN13ConfigurationVSgA7_AA0C10ReorderingVSgyAT_A9_6ResultVtcSgyAC02OnT0Vyx_GcSgyAC02OnuT0Vyx_GcSgyAC02OnV0Vyx_GcSgyAC02OnW0Vyx_GcSgyAC02OnX0Vyx_GcSgyAC02OnJ0Vyx_GcSgyAC02OnY0Vyx_GcSgyAC02OnZ0Vyx_GcSgtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: AnyItem", - "key.offset" : 5486 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var anyIdentifier: AnyIdentifier<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5509 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 5551, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> anyIdentifier<\/decl.name>: AnyIdentifier<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "anyIdentifier", - "key.namelength" : 13, - "key.nameoffset" : 5520, - "key.offset" : 5516, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP13anyIdentifierAA0cF0Cvp" - } - ], - "key.parsed_declaration" : "public var anyIdentifier : AnyIdentifier", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.typename" : "AnyIdentifier", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCD", - "key.usr" : "s:10ListableUI4ItemV13anyIdentifierAA03AnyE0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var anyContent: Any { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5591 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 5619, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> anyContent<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "anyContent", - "key.namelength" : 10, - "key.nameoffset" : 5602, - "key.offset" : 5598, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP10anyContentypvp" - } - ], - "key.parsed_declaration" : "public var anyContent: Any", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI4ItemV10anyContentypvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5656 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 5715, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 102, - "key.line" : 147, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 5667, - "key.offset" : 5663, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI7AnyItemP22reappliesToVisibleViewAA09ReappliesfgH0Ovp" - } - ], - "key.parsed_declaration" : "public var reappliesToVisibleView: ReappliesToVisibleView", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 147, - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI4ItemV22reappliesToVisibleViewAA09ReappliesefG0Ovp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: AnyItemConvertible", - "key.offset" : 5778 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func toAnyItem() -> AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5812 - } - ], - "key.bodylength" : 18, - "key.bodyoffset" : 5848, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyItem` instance.", - "key.doc.column" : 10, - "key.doc.declaration" : "func toAnyItem() -> AnyItem", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.doc.full_as_xml" : "toAnyItem()<\/Name>s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF<\/USR>func toAnyItem() -> AnyItem<\/Declaration>Converts the object into a type-erased AnyItem<\/codeVoice> instance.<\/Para><\/Abstract>This documentation comment was inherited from AnyItemConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 36, - "key.doc.name" : "toAnyItem()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> toAnyItem<\/decl.name>() -> AnyItem<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 48, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "toAnyItem()", - "key.namelength" : 11, - "key.nameoffset" : 5824, - "key.offset" : 5819, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF" - } - ], - "key.parsed_declaration" : "public func toAnyItem() -> AnyItem", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.typename" : " (Item) -> () -> any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pycD", - "key.usr" : "s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: AnyItem_Internal", - "key.offset" : 5880 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func anyIsEquivalent(to other: AnyItem<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5912 - } - ], - "key.bodylength" : 166, - "key.bodyoffset" : 5973, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> anyIsEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 221, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "anyIsEquivalent(to:)", - "key.namelength" : 35, - "key.nameoffset" : 5924, - "key.offset" : 5919, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP15anyIsEquivalent2toSbAA0cD0_p_tF" - } - ], - "key.parsed_declaration" : "public func anyIsEquivalent(to other : AnyItem) -> Bool", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 159, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Item) -> (any AnyItem) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI4ItemV15anyIsEquivalent2toSbAA03AnyC0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func anyWasMoved(comparedTo other: AnyItem<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6150 - } - ], - "key.bodylength" : 169, - "key.bodyoffset" : 6215, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> anyWasMoved<\/decl.name>(comparedTo<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 228, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "anyWasMoved(comparedTo:)", - "key.namelength" : 39, - "key.nameoffset" : 6162, - "key.offset" : 6157, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP11anyWasMoved10comparedToSbAA0cD0_p_tF" - } - ], - "key.parsed_declaration" : "public func anyWasMoved(comparedTo other : AnyItem) -> Bool", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 168, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Item) -> (any AnyItem) -> Bool", - "key.typeusr" : "$s10comparedToSb10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI4ItemV11anyWasMoved10comparedToSbAA03AnyC0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func newPresentationItemState(with dependencies: ItemStateDependencies<\/Type>, updateCallbacks: UpdateCallbacks<\/Type>, performsContentCallbacks: Bool<\/Type>) -> Any<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6395 - } - ], - "key.bodylength" : 226, - "key.bodyoffset" : 6585, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newPresentationItemState<\/decl.name>(with<\/decl.var.parameter.argument_label> dependencies<\/decl.var.parameter.name>: ItemStateDependencies<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateCallbacks<\/decl.var.parameter.argument_label>: UpdateCallbacks<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, performsContentCallbacks<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Any<\/syntaxtype.keyword><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 410, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "newPresentationItemState(with:updateCallbacks:performsContentCallbacks:)", - "key.namelength" : 165, - "key.nameoffset" : 6407, - "key.offset" : 6402, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16AnyItem_InternalP015newPresentationD5State4with15updateCallbacks015performsContentK0ypAA0dH12DependenciesV_AA06UpdateK0CSbtF" - } - ], - "key.parsed_declaration" : "public func newPresentationItemState(\n with dependencies : ItemStateDependencies,\n updateCallbacks : UpdateCallbacks,\n performsContentCallbacks : Bool\n) -> Any", - "key.parsed_scope.end" : 189, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Item) -> (ItemStateDependencies, UpdateCallbacks, Bool) -> Any", - "key.typeusr" : "$s4with15updateCallbacks015performsContentC0yp10ListableUI21ItemStateDependenciesV_AD06UpdateC0CSbtcD", - "key.usr" : "s:10ListableUI4ItemV015newPresentationC5State4with15updateCallbacks015performsContentI0ypAA0cF12DependenciesV_AA06UpdateI0CSbtF" - } - ], - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI4ItemV" - }, - { - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.bodylength" : 2252, - "key.bodyoffset" : 6840, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2276, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 6827, - "key.offset" : 6817, - "key.parsed_declaration" : "extension ItemContent", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func with(sizing: Sizing<\/Type>? = nil, layouts: ItemLayouts<\/Type>? = nil, selectionStyle: ItemSelectionStyle<\/Type>? = nil, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>? = nil, leadingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, trailingSwipeActions: SwipeActionsConfiguration<\/Type>? = nil, reordering: ItemReordering<\/Type>? = nil, onWasReordered: Item<\/Type><Self<\/Type>>.OnWasReordered<\/Type>? = nil, onDisplay: Item<\/Type><Self<\/Type>>.OnDisplay<\/Type>.Callback<\/Type>? = nil, onEndDisplay: Item<\/Type><Self<\/Type>>.OnEndDisplay<\/Type>.Callback<\/Type>? = nil, onSelect: Item<\/Type><Self<\/Type>>.OnSelect<\/Type>.Callback<\/Type>? = nil, onDeselect: Item<\/Type><Self<\/Type>>.OnDeselect<\/Type>.Callback<\/Type>? = nil, onInsert: Item<\/Type><Self<\/Type>>.OnInsert<\/Type>.Callback<\/Type>? = nil, onRemove: Item<\/Type><Self<\/Type>>.OnRemove<\/Type>.Callback<\/Type>? = nil, onMove: Item<\/Type><Self<\/Type>>.OnMove<\/Type>.Callback<\/Type>? = nil, onUpdate: Item<\/Type><Self<\/Type>>.OnUpdate<\/Type>.Callback<\/Type>? = nil) -> Item<\/Type><Self<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7492 - } - ], - "key.bodylength" : 670, - "key.bodyoffset" : 8420, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Identical to `Item.init` which takes in an `ItemContent`,\nexcept you can call this on the `ItemContent` itself, instead of wrapping it,\nto avoid additional nesting, and to hoist your content up in your code.\n\n```\nSection(\"id\") { section in\n section += MyItemContent(name: \"Listable\")\n .with(\n sizing: .thatFits(.noConstraint),\n selectionStyle: .tappable\n )\n\nstruct MyItemContent : ItemContent {\n var name : String\n ...\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "Identical to `Item.init` which takes in an `ItemContent`,\nexcept you can call this on the `ItemContent` itself, instead of wrapping it,\nto avoid additional nesting, and to hoist your content up in your code.\n\n```\nSection(\"id\") { section in\n section += MyItemContent(name: \"Listable\")\n .with(\n sizing: .thatFits(.noConstraint),\n selectionStyle: .tappable\n )\n\nstruct MyItemContent : ItemContent {\n var name : String\n ...\n}\n```", - "key.doc.declaration" : "public func with(sizing: Sizing? = nil, layouts: ItemLayouts? = nil, selectionStyle: ItemSelectionStyle? = nil, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations? = nil, leadingSwipeActions: SwipeActionsConfiguration? = nil, trailingSwipeActions: SwipeActionsConfiguration? = nil, reordering: ItemReordering? = nil, onWasReordered: Item.OnWasReordered? = nil, onDisplay: Item.OnDisplay.Callback? = nil, onEndDisplay: Item.OnEndDisplay.Callback? = nil, onSelect: Item.OnSelect.Callback? = nil, onDeselect: Item.OnDeselect.Callback? = nil, onInsert: Item.OnInsert.Callback? = nil, onRemove: Item.OnRemove.Callback? = nil, onMove: Item.OnMove.Callback? = nil, onUpdate: Item.OnUpdate.Callback? = nil) -> Item", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "with(sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:)<\/Name>s:10ListableUI11ItemContentPAAE4with6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingoP010reordering14onWasReordered0S7Display0s3EndV00S6Select0S8Deselect0S6Insert0sL00S4Move0S6UpdateAA0C0VyxGAA6SizingOSg_AA0C7LayoutsVSgAA0c9SelectionI0OSgAA0czklM0VSgAA0oP13ConfigurationVSgA10_AA0C10ReorderingVSgyAW_A12_6ResultVtcSgyAV02OnV0Vyx_GcSgyAV02OnwV0Vyx_GcSgyAV02OnX0Vyx_GcSgyAV02OnY0Vyx_GcSgyAV02OnZ0Vyx_GcSgyAV02OnL0Vyx_GcSgyAV6OnMoveVyx_GcSgyAV8OnUpdateVyx_GcSgtF<\/USR>public func with(sizing: Sizing? = nil, layouts: ItemLayouts? = nil, selectionStyle: ItemSelectionStyle? = nil, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations? = nil, leadingSwipeActions: SwipeActionsConfiguration? = nil, trailingSwipeActions: SwipeActionsConfiguration? = nil, reordering: ItemReordering? = nil, onWasReordered: Item<Self>.OnWasReordered? = nil, onDisplay: Item<Self>.OnDisplay.Callback? = nil, onEndDisplay: Item<Self>.OnEndDisplay.Callback? = nil, onSelect: Item<Self>.OnSelect.Callback? = nil, onDeselect: Item<Self>.OnDeselect.Callback? = nil, onInsert: Item<Self>.OnInsert.Callback? = nil, onRemove: Item<Self>.OnRemove.Callback? = nil, onMove: Item<Self>.OnMove.Callback? = nil, onUpdate: Item<Self>.OnUpdate.Callback? = nil) -> Item<Self><\/Declaration>Identical to Item.init<\/codeVoice> which takes in an ItemContent<\/codeVoice>, except you can call this on the ItemContent<\/codeVoice> itself, instead of wrapping it, to avoid additional nesting, and to hoist your content up in your code.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 212, - "key.doc.name" : "with(sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:)", - "key.doc.type" : "Function", - "key.doclength" : 638, - "key.docoffset" : 6850, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> with<\/decl.name>(sizing<\/decl.var.parameter.argument_label>: Sizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: ItemLayouts<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, selectionStyle<\/decl.var.parameter.argument_label>: ItemSelectionStyle<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, insertAndRemoveAnimations<\/decl.var.parameter.argument_label>: ItemInsertAndRemoveAnimations<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, leadingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, trailingSwipeActions<\/decl.var.parameter.argument_label>: SwipeActionsConfiguration<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, reordering<\/decl.var.parameter.argument_label>: ItemReordering<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onWasReordered<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnWasReordered<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDisplay<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onEndDisplay<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnEndDisplay<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onSelect<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnSelect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onDeselect<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnDeselect<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onInsert<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnInsert<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onRemove<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnRemove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onMove<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnMove<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onUpdate<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Self<\/ref.generic_type_param>>.OnUpdate<\/ref.struct>.Callback<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Item<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1592, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "with(sizing:layouts:selectionStyle:insertAndRemoveAnimations:leadingSwipeActions:trailingSwipeActions:reordering:onWasReordered:onDisplay:onEndDisplay:onSelect:onDeselect:onInsert:onRemove:onMove:onUpdate:)", - "key.namelength" : 896, - "key.nameoffset" : 7504, - "key.offset" : 7499, - "key.parsed_declaration" : "public func with(\n sizing : Sizing? = nil,\n layouts : ItemLayouts? = nil,\n selectionStyle : ItemSelectionStyle? = nil,\n insertAndRemoveAnimations : ItemInsertAndRemoveAnimations? = nil,\n leadingSwipeActions : SwipeActionsConfiguration? = nil,\n trailingSwipeActions : SwipeActionsConfiguration? = nil,\n reordering : ItemReordering? = nil,\n onWasReordered : Item.OnWasReordered? = nil,\n onDisplay : Item.OnDisplay.Callback? = nil,\n onEndDisplay : Item.OnEndDisplay.Callback? = nil,\n onSelect : Item.OnSelect.Callback? = nil,\n onDeselect : Item.OnDeselect.Callback? = nil,\n onInsert : Item.OnInsert.Callback? = nil,\n onRemove : Item.OnRemove.Callback? = nil,\n onMove : Item.OnMove.Callback? = nil,\n onUpdate : Item.OnUpdate.Callback? = nil\n) -> Item", - "key.parsed_scope.end" : 250, - "key.parsed_scope.start" : 212, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Sizing?, ItemLayouts?, ItemSelectionStyle?, ItemInsertAndRemoveAnimations?, SwipeActionsConfiguration?, SwipeActionsConfiguration?, ItemReordering?, ((Item, ItemReordering.Result) -> ())?, ((Item.OnDisplay) -> ())?, ((Item.OnEndDisplay) -> ())?, ((Item.OnSelect) -> ())?, ((Item.OnDeselect) -> ())?, ((Item.OnInsert) -> ())?, ((Item.OnRemove) -> ())?, ((Item.OnMove) -> ())?, ((Item.OnUpdate) -> ())?) -> Item", - "key.typeusr" : "$s6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingjK010reordering14onWasReordered0N7Display0n3EndQ00N6Select0N8Deselect0N6Insert0nG00N4Move0N6Update10ListableUI4ItemVyxGAQ6SizingOSg_AQ0Z7LayoutsVSgAQ0z9SelectionD0OSgAQ0zufgH0VSgAQ0jK13ConfigurationVSgA7_AQ0Z10ReorderingVSgyAT_A9_6ResultVtcSgyAS02OnQ0Vyx_GcSgyAS02OnrQ0Vyx_GcSgyAS02OnS0Vyx_GcSgyAS02OnT0Vyx_GcSgyAS02OnU0Vyx_GcSgyAS02OnG0Vyx_GcSgyAS02OnV0Vyx_GcSgyAS02OnW0Vyx_GcSgtcD", - "key.usr" : "s:10ListableUI11ItemContentPAAE4with6sizing7layouts14selectionStyle25insertAndRemoveAnimations19leadingSwipeActions08trailingoP010reordering14onWasReordered0S7Display0s3EndV00S6Select0S8Deselect0S6Insert0sL00S4Move0S6UpdateAA0C0VyxGAA6SizingOSg_AA0C7LayoutsVSgAA0c9SelectionI0OSgAA0czklM0VSgAA0oP13ConfigurationVSgA10_AA0C10ReorderingVSgyAW_A12_6ResultVtcSgyAV02OnV0Vyx_GcSgyAV02OnwV0Vyx_GcSgyAV02OnX0Vyx_GcSgyAV02OnY0Vyx_GcSgyAV02OnZ0Vyx_GcSgyAV02OnL0Vyx_GcSgyAV6OnMoveVyx_GcSgyAV8OnUpdateVyx_GcSgtF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.annotated_decl" : "public struct Item<Content> : AnyItem<\/Type>, AnyItemConvertible<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 206, - "key.bodyoffset" : 9131, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct Item : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "`Item` wraps an `ItemContent` struct (a protocol you implement to provide content), which drives the primary content of the row the `Item` displays." - }, - { - "Para" : "If you are used to working with a collection view or table view, you can think of `ItemContent` as what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc." - }, - { - "Para" : "Once added to a section, `Item` is type erased to`AnyItem`, to allow for mixed collections of content within a section." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI4ItemV<\/USR>public struct Item<Content> : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent<\/Declaration>An Item<\/codeVoice> is one of the core types deployed by Listable, allowing you to specify and control many of the behaviors, appearance options, and callbacks for interacting with rows within a list.<\/Para><\/Abstract>Item<\/codeVoice> wraps an ItemContent<\/codeVoice> struct (a protocol you implement to provide content), which drives the primary content of the row the Item<\/codeVoice> displays.<\/Para>If you are used to working with a collection view or table view, you can think of ItemContent<\/codeVoice> as what you put in the contentView<\/codeVoice> of your cell, and you can think of Item<\/codeVoice> as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.<\/Para>Once added to a section, Item<\/codeVoice> is type erased toAnyItem<\/codeVoice>, to allow for mixed collections of content within a section.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 22, - "key.doc.name" : "Item", - "key.doc.type" : "Class", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 9113 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Item<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyItem<\/ref.protocol>, AnyItemConvertible<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "SignpostLoggable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 242, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 9106, - "key.offset" : 9096, - "key.parsed_declaration" : "extension Item : SignpostLoggable", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 254, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var signpostInfo: SignpostLoggingInfo<\/Type> { get }<\/Declaration>", - "key.bodylength" : 159, - "key.bodyoffset" : 9176, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> signpostInfo<\/decl.name>: SignpostLoggingInfo<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 200, - "key.line" : 256, - "key.modulename" : "ListableUI", - "key.name" : "signpostInfo", - "key.namelength" : 12, - "key.nameoffset" : 9140, - "key.offset" : 9136, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16SignpostLoggableP12signpostInfoAA0c7LoggingF0Vvp" - } - ], - "key.parsed_declaration" : "var signpostInfo : SignpostLoggingInfo", - "key.parsed_scope.end" : 261, - "key.parsed_scope.start" : 256, - "key.reusingastcontext" : false, - "key.typename" : "SignpostLoggingInfo", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVD", - "key.usr" : "s:10ListableUI4ItemV12signpostInfoAA015SignpostLoggingE0Vvp" - } - ], - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI4ItemV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1568, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Item<Content> : AnyItem<\/Type>, AnyItemConvertible<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 113 - } - ], - "key.bodylength" : 1430, - "key.bodyoffset" : 136, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct Item : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "`Item` wraps an `ItemContent` struct (a protocol you implement to provide content), which drives the primary content of the row the `Item` displays." - }, - { - "Para" : "If you are used to working with a collection view or table view, you can think of `ItemContent` as what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc." - }, - { - "Para" : "Once added to a section, `Item` is type erased to`AnyItem`, to allow for mixed collections of content within a section." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI4ItemV<\/USR>public struct Item<Content> : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent<\/Declaration>An Item<\/codeVoice> is one of the core types deployed by Listable, allowing you to specify and control many of the behaviors, appearance options, and callbacks for interacting with rows within a list.<\/Para><\/Abstract>Item<\/codeVoice> wraps an ItemContent<\/codeVoice> struct (a protocol you implement to provide content), which drives the primary content of the row the Item<\/codeVoice> displays.<\/Para>If you are used to working with a collection view or table view, you can think of ItemContent<\/codeVoice> as what you put in the contentView<\/codeVoice> of your cell, and you can think of Item<\/codeVoice> as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.<\/Para>Once added to a section, Item<\/codeVoice> is type erased toAnyItem<\/codeVoice>, to allow for mixed collections of content within a section.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 22, - "key.doc.name" : "Item", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Item<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyItem<\/ref.protocol>, AnyItemConvertible<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1447, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 130, - "key.offset" : 120, - "key.parsed_declaration" : "public extension Item", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnDisplay<\/Declaration>", - "key.bodylength" : 141, - "key.bodyoffset" : 224, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onDisplay` callback for `Item`.", - "key.doc.column" : 12, - "key.doc.comment" : "Value passed to the `onDisplay` callback for `Item`.", - "key.doc.declaration" : "struct OnDisplay", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.doc.full_as_xml" : "OnDisplay<\/Name>s:10ListableUI4ItemV9OnDisplayV<\/USR>struct OnDisplay<\/Declaration>Value passed to the onDisplay<\/codeVoice> callback for Item<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "OnDisplay", - "key.doc.type" : "Class", - "key.doclength" : 57, - "key.docoffset" : 141, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnDisplay<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 164, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "OnDisplay", - "key.namelength" : 9, - "key.nameoffset" : 209, - "key.offset" : 202, - "key.parsed_declaration" : "struct OnDisplay", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnDisplay<\/Type>.Callback = (OnDisplay<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 233 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnDisplay<\/ref.struct>.Callback<\/decl.name> = (OnDisplay<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 250, - "key.offset" : 240, - "key.parsed_declaration" : "public typealias Callback = (OnDisplay) -> ()", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnDisplay) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV9OnDisplayVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV9OnDisplayV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 288 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 299, - "key.offset" : 295, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV9OnDisplayV4itemACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isFirstDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 328 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFirstDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "isFirstDisplay", - "key.namelength" : 14, - "key.nameoffset" : 339, - "key.offset" : 335, - "key.parsed_declaration" : "public var isFirstDisplay : Bool", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI4ItemV9OnDisplayV07isFirstE0Sbvp" - } - ], - "key.typename" : "Item.OnDisplay.Type", - "key.typeusr" : "$s10ListableUI4ItemV9OnDisplayVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV9OnDisplayV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnEndDisplay<\/Declaration>", - "key.bodylength" : 147, - "key.bodyoffset" : 465, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onEndDisplay` callback for `Item`.", - "key.doc.column" : 12, - "key.doc.comment" : "Value passed to the `onEndDisplay` callback for `Item`.", - "key.doc.declaration" : "struct OnEndDisplay", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.doc.full_as_xml" : "OnEndDisplay<\/Name>s:10ListableUI4ItemV12OnEndDisplayV<\/USR>struct OnEndDisplay<\/Declaration>Value passed to the onEndDisplay<\/codeVoice> callback for Item<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 24, - "key.doc.name" : "OnEndDisplay", - "key.doc.type" : "Class", - "key.doclength" : 60, - "key.docoffset" : 376, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnEndDisplay<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 173, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "OnEndDisplay", - "key.namelength" : 12, - "key.nameoffset" : 447, - "key.offset" : 440, - "key.parsed_declaration" : "struct OnEndDisplay", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnEndDisplay<\/Type>.Callback = (OnEndDisplay<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 474 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnEndDisplay<\/ref.struct>.Callback<\/decl.name> = (OnEndDisplay<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 41, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 491, - "key.offset" : 481, - "key.parsed_declaration" : "public typealias Callback = (OnEndDisplay) -> ()", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnEndDisplay) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV12OnEndDisplayVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV12OnEndDisplayV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 532 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 543, - "key.offset" : 539, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV12OnEndDisplayV4itemACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isFirstEndDisplay: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 572 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFirstEndDisplay<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "isFirstEndDisplay", - "key.namelength" : 17, - "key.nameoffset" : 583, - "key.offset" : 579, - "key.parsed_declaration" : "public var isFirstEndDisplay : Bool", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI4ItemV12OnEndDisplayV07isFirsteF0Sbvp" - } - ], - "key.typename" : "Item.OnEndDisplay.Type", - "key.typeusr" : "$s10ListableUI4ItemV12OnEndDisplayVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV12OnEndDisplayV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnSelect<\/Declaration>", - "key.bodylength" : 98, - "key.bodyoffset" : 704, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onSelect` callback for `Item`.", - "key.doc.column" : 12, - "key.doc.comment" : "Value passed to the `onSelect` callback for `Item`.", - "key.doc.declaration" : "struct OnSelect", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.doc.full_as_xml" : "OnSelect<\/Name>s:10ListableUI4ItemV8OnSelectV<\/USR>struct OnSelect<\/Declaration>Value passed to the onSelect<\/codeVoice> callback for Item<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 34, - "key.doc.name" : "OnSelect", - "key.doc.type" : "Class", - "key.doclength" : 56, - "key.docoffset" : 623, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnSelect<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 120, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "OnSelect", - "key.namelength" : 8, - "key.nameoffset" : 690, - "key.offset" : 683, - "key.parsed_declaration" : "struct OnSelect", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnSelect<\/Type>.Callback = (OnSelect<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 713 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnSelect<\/ref.struct>.Callback<\/decl.name> = (OnSelect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 37, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 730, - "key.offset" : 720, - "key.parsed_declaration" : "public typealias Callback = (OnSelect) -> ()", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnSelect) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV8OnSelectVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV8OnSelectV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 775 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 786, - "key.offset" : 782, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV8OnSelectV4itemACyxGvp" - } - ], - "key.typename" : "Item.OnSelect.Type", - "key.typeusr" : "$s10ListableUI4ItemV8OnSelectVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV8OnSelectV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnDeselect<\/Declaration>", - "key.bodylength" : 92, - "key.bodyoffset" : 898, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Value passed to the `onDeselect` callback for `Item`.", - "key.doc.column" : 12, - "key.doc.comment" : "Value passed to the `onDeselect` callback for `Item`.", - "key.doc.declaration" : "struct OnDeselect", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.doc.full_as_xml" : "OnDeselect<\/Name>s:10ListableUI4ItemV10OnDeselectV<\/USR>struct OnDeselect<\/Declaration>Value passed to the onDeselect<\/codeVoice> callback for Item<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "OnDeselect", - "key.doc.type" : "Class", - "key.doclength" : 58, - "key.docoffset" : 813, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnDeselect<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 116, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "OnDeselect", - "key.namelength" : 10, - "key.nameoffset" : 882, - "key.offset" : 875, - "key.parsed_declaration" : "struct OnDeselect", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnDeselect<\/Type>.Callback = (OnDeselect<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 907 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnDeselect<\/ref.struct>.Callback<\/decl.name> = (OnDeselect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 39, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 924, - "key.offset" : 914, - "key.parsed_declaration" : "public typealias Callback = (OnDeselect) -> ()", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnDeselect) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV10OnDeselectVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV10OnDeselectV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 963 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 974, - "key.offset" : 970, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV10OnDeselectV4itemACyxGvp" - } - ], - "key.typename" : "Item.OnDeselect.Type", - "key.typeusr" : "$s10ListableUI4ItemV10OnDeselectVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV10OnDeselectV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnInsert<\/Declaration>", - "key.bodylength" : 98, - "key.bodyoffset" : 1022, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnInsert<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 120, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "OnInsert", - "key.namelength" : 8, - "key.nameoffset" : 1008, - "key.offset" : 1001, - "key.parsed_declaration" : "struct OnInsert", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnInsert<\/Type>.Callback = (OnInsert<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1031 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnInsert<\/ref.struct>.Callback<\/decl.name> = (OnInsert<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 37, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 1048, - "key.offset" : 1038, - "key.parsed_declaration" : "public typealias Callback = (OnInsert) -> ()", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnInsert) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV8OnInsertVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV8OnInsertV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1093 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 1104, - "key.offset" : 1100, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV8OnInsertV4itemACyxGvp" - } - ], - "key.typename" : "Item.OnInsert.Type", - "key.typeusr" : "$s10ListableUI4ItemV8OnInsertVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV8OnInsertV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnRemove<\/Declaration>", - "key.bodylength" : 98, - "key.bodyoffset" : 1152, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnRemove<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 120, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "OnRemove", - "key.namelength" : 8, - "key.nameoffset" : 1138, - "key.offset" : 1131, - "key.parsed_declaration" : "struct OnRemove", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnRemove<\/Type>.Callback = (OnRemove<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1161 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnRemove<\/ref.struct>.Callback<\/decl.name> = (OnRemove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 37, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 1178, - "key.offset" : 1168, - "key.parsed_declaration" : "public typealias Callback = (OnRemove) -> ()", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnRemove) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV8OnRemoveVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV8OnRemoveV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var item: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1223 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 1234, - "key.offset" : 1230, - "key.parsed_declaration" : "public var item : Item", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV8OnRemoveV4itemACyxGvp" - } - ], - "key.typename" : "Item.OnRemove.Type", - "key.typeusr" : "$s10ListableUI4ItemV8OnRemoveVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV8OnRemoveV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnMove<\/Declaration>", - "key.bodylength" : 125, - "key.bodyoffset" : 1280, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnMove<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 145, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "OnMove", - "key.namelength" : 6, - "key.nameoffset" : 1268, - "key.offset" : 1261, - "key.parsed_declaration" : "struct OnMove", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnMove<\/Type>.Callback = (OnMove<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1289 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnMove<\/ref.struct>.Callback<\/decl.name> = (OnMove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 35, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 1306, - "key.offset" : 1296, - "key.parsed_declaration" : "public typealias Callback = (OnMove) -> ()", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnMove) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV6OnMoveVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV6OnMoveV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var old: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1349 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> old<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 1360, - "key.offset" : 1356, - "key.parsed_declaration" : "public var old : Item", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV6OnMoveV3oldACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var new: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1379 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> new<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 1390, - "key.offset" : 1386, - "key.parsed_declaration" : "public var new : Item", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV6OnMoveV3newACyxGvp" - } - ], - "key.typename" : "Item.OnMove.Type", - "key.typeusr" : "$s10ListableUI4ItemV6OnMoveVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV6OnMoveV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct OnUpdate<\/Declaration>", - "key.bodylength" : 127, - "key.bodyoffset" : 1437, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> OnUpdate<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 149, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "OnUpdate", - "key.namelength" : 8, - "key.nameoffset" : 1423, - "key.offset" : 1416, - "key.parsed_declaration" : "struct OnUpdate", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Item<\/Type><Content<\/Type>>.OnUpdate<\/Type>.Callback = (OnUpdate<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1446 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>>.OnUpdate<\/ref.struct>.Callback<\/decl.name> = (OnUpdate<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 37, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "Callback", - "key.namelength" : 8, - "key.nameoffset" : 1463, - "key.offset" : 1453, - "key.parsed_declaration" : "public typealias Callback = (OnUpdate) -> ()", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.typename" : "((Item.OnUpdate) -> ()).Type", - "key.typeusr" : "$sy10ListableUI4ItemV8OnUpdateVyx_GcmD", - "key.usr" : "s:10ListableUI4ItemV8OnUpdateV8Callbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var old: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1508 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> old<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 1519, - "key.offset" : 1515, - "key.parsed_declaration" : "public var old : Item", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV8OnUpdateV3oldACyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var new: Item<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1538 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> new<\/decl.name>: Item<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 14, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 1549, - "key.offset" : 1545, - "key.parsed_declaration" : "public var new : Item", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI4ItemV8OnUpdateV3newACyxGvp" - } - ], - "key.typename" : "Item.OnUpdate.Type", - "key.typeusr" : "$s10ListableUI4ItemV8OnUpdateVyx_GmD", - "key.usr" : "s:10ListableUI4ItemV8OnUpdateV" - } - ], - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI4ItemV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 26828, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1293 - } - ], - "key.bodylength" : 17381, - "key.bodyoffset" : 1385, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nAn `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 1189, - "key.docoffset" : 104, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 1323 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyItemConvertible" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 17467, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 1309, - "key.offset" : 1300, - "key.parsed_declaration" : "public protocol ItemContent : AnyItemConvertible where Coordinator.ItemContentType == Self", - "key.parsed_scope.end" : 471, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Identification", - "key.offset" : 1400 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `Hashable` type which is returned from ``ItemContent\/identifierValue-swift.property``,\nwhich is used to identify the ``ItemContent`` when it put into a list.\n\nThe ``ItemContent\/identifierValue-swift.property`` is used to unique the item,\ncontrol its lifetime, and identify it across update operations.\n\nSee ``ItemContent\/identifierValue-swift.property`` for more.", - "key.doc.column" : 20, - "key.doc.comment" : "A `Hashable` type which is returned from ``ItemContent\/identifierValue-swift.property``,\nwhich is used to identify the ``ItemContent`` when it put into a list.\n\nThe ``ItemContent\/identifierValue-swift.property`` is used to unique the item,\ncontrol its lifetime, and identify it across update operations.\n\nSee ``ItemContent\/identifierValue-swift.property`` for more.", - "key.doc.declaration" : "associatedtype IdentifierValue : Hashable", - "key.doc.discussion" : [ - { - "Para" : "The `ItemContent\/identifierValue-swift.property` is used to unique the item, control its lifetime, and identify it across update operations." - }, - { - "Para" : "See `ItemContent\/identifierValue-swift.property` for more." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "IdentifierValue<\/Name>s:10ListableUI11ItemContentP15IdentifierValueQa<\/USR>associatedtype IdentifierValue : Hashable<\/Declaration>A Hashable<\/codeVoice> type which is returned from ItemContent\/identifierValue-swift.property<\/codeVoice>, which is used to identify the ItemContent<\/codeVoice> when it put into a list.<\/Para><\/Abstract>The ItemContent\/identifierValue-swift.property<\/codeVoice> is used to unique the item, control its lifetime, and identify it across update operations.<\/Para>See ItemContent\/identifierValue-swift.property<\/codeVoice> for more.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 56, - "key.doc.name" : "IdentifierValue", - "key.doc.type" : "Other", - "key.doclength" : 416, - "key.docoffset" : 1437, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> IdentifierValue<\/decl.name> : Hashable<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 41, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 1872, - "key.offset" : 1857, - "key.parsed_declaration" : "associatedtype IdentifierValue : Hashable", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 56, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.IdentifierValue.Type", - "key.typeusr" : "$s15IdentifierValueQzmD", - "key.usr" : "s:10ListableUI11ItemContentP15IdentifierValueQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var identifierValue: IdentifierValue<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 8725, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used to unique the item, control its lifetime, and identify it across update operations.\n\n### Identifier Stability\nThis value must be stable. Changing the `identifier` will mean that the list will think\nthe item has been removed from the list (and a new one inserted), which can cause\nundesired animations or other undesired behavior when a new view is created and inserted.\n\n```swift\nstruct MyItemContent : ItemContent {\n\n var identifierValue : UUID {\n \/\/ 🚫 Wrong; will change every time the item is accessed.\n UUID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let contentID = UUID()\n\n var identifierValue : UUID {\n \/\/ 🚫 Also wrong, will change every time the item is built.\n self.contentID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model \/\/ Conforms to Hashable\n\n var identifierValue : String {\n \/\/ 🚫 Wrong! This will change the value of the identifier\n \/\/ any time any value within our content changes.\n\n self.model\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Still wrong! Same as above, but with reflection. You should\n \/\/ never used a reflecting or describing method to generate an identifier.\n\n String(describing\/reflecting: self.model)\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Stable across updates.\n self.model.serverID\n }\n}\n```\n\nIdentifier stability is especially important with items that embed interactive controls, like buttons, sliders,\ntext fields, etc. The identifier of the control should be stable and **independent of the value\nthe control is currently representing**. Including the value the control is currently representing\nin the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.\n```swift\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n\n var identifierValue : String {\n \/\/ 🚫 Wrong; identifier will change every time the search text changes.\n searchText\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n let id : String \/\/ Something like \"item-search\".\n\n var identifierValue : String {\n \/\/ ✅ Good! Stable across updates.\n id\n }\n}\n```\n\n### Identifier Uniqueness\nWhile identifiers do need to be _stable_, they do not need to be globally unique – the list will make a\n\"best guess\" if there are multiple items with the same identifier. However, diffing of changes\nwill be more visually correct with a unique identifier.\n\nIf you are backing your content with some sort of client or server-provided data, consider using its\nserver or client UUID here, or some other stable unique identifier from the underlying data model.\n\nGenerally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID\nas mentioned above. For something without the concept of identity, consider providing a value\nbased on what the content represents (eg, a row title like \"Settings\").\n\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ 🚫 Likely wrong. If entered by the user,\n \/\/ there could be many items with this name,\n \/\/ or multiple items with no name at all, leading\n \/\/ to identifier collisions.\n\n self.model.name\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let setting : Setting\n\n var identifierValue : UUID {\n \/\/ 🤔 Probably good enough! Since this item\n \/\/ represents a setting in a settings screen,\n \/\/ returning the title of the row is likely\n \/\/ unique enough to guarantee stability.\n\n self.setting.name \/\/ Something like \"Location Services\".\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Very unique.\n self.model.serverID\n }\n}\n```\n\n### Identifier Leverages The Type System\nYour ``ItemContent\/identifierValue-swift.property`` gets wrapped up in an `Identifier`\nwhen it used by the list to unique the item, control its lifetime, and identify it across update operations. This\nadditional type information is used to further unique the identifier. You do not need to provide any\nadditional type-salting and uniquing information in your ``ItemContent\/identifierValue-swift.property`` besides the value from your content.\n\nEven once the ``Identifier`` is type-erased to ``AnyIdentifier``, this type information is retained:\n```swift\nlet first : AnyIdentifier = Identifier(\"a-value\")\nlet second : AnyIdentifier = Identifier(\"a-value\")\n\nlet isEqual = first == second \/\/ false\n```\n\nIn practical terms, this means that your ``ItemContent\/identifierValue-swift.property`` implementation should be:\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Not needed: Type information will be encoded into the Identifier.\n \"MyItemContent-\\(model.serverID)\"\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let model : Model\n\n var identifierValue : searchText {\n \/\/ ✅ Good! No need for the string interpolation.\n model.serverID\n }\n}\n```", - "key.doc.column" : 9, - "key.doc.comment" : "\nUsed to unique the item, control its lifetime, and identify it across update operations.\n\n### Identifier Stability\nThis value must be stable. Changing the `identifier` will mean that the list will think\nthe item has been removed from the list (and a new one inserted), which can cause\nundesired animations or other undesired behavior when a new view is created and inserted.\n\n```swift\nstruct MyItemContent : ItemContent {\n\n var identifierValue : UUID {\n \/\/ 🚫 Wrong; will change every time the item is accessed.\n UUID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let contentID = UUID()\n\n var identifierValue : UUID {\n \/\/ 🚫 Also wrong, will change every time the item is built.\n self.contentID()\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model \/\/ Conforms to Hashable\n\n var identifierValue : String {\n \/\/ 🚫 Wrong! This will change the value of the identifier\n \/\/ any time any value within our content changes.\n\n self.model\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Still wrong! Same as above, but with reflection. You should\n \/\/ never used a reflecting or describing method to generate an identifier.\n\n String(describing\/reflecting: self.model)\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Stable across updates.\n self.model.serverID\n }\n}\n```\n\nIdentifier stability is especially important with items that embed interactive controls, like buttons, sliders,\ntext fields, etc. The identifier of the control should be stable and **independent of the value\nthe control is currently representing**. Including the value the control is currently representing\nin the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.\n```swift\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n\n var identifierValue : String {\n \/\/ 🚫 Wrong; identifier will change every time the search text changes.\n searchText\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let searchText : String\n let id : String \/\/ Something like \"item-search\".\n\n var identifierValue : String {\n \/\/ ✅ Good! Stable across updates.\n id\n }\n}\n```\n\n### Identifier Uniqueness\nWhile identifiers do need to be _stable_, they do not need to be globally unique – the list will make a\n\"best guess\" if there are multiple items with the same identifier. However, diffing of changes\nwill be more visually correct with a unique identifier.\n\nIf you are backing your content with some sort of client or server-provided data, consider using its\nserver or client UUID here, or some other stable unique identifier from the underlying data model.\n\nGenerally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID\nas mentioned above. For something without the concept of identity, consider providing a value\nbased on what the content represents (eg, a row title like \"Settings\").\n\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ 🚫 Likely wrong. If entered by the user,\n \/\/ there could be many items with this name,\n \/\/ or multiple items with no name at all, leading\n \/\/ to identifier collisions.\n\n self.model.name\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let setting : Setting\n\n var identifierValue : UUID {\n \/\/ 🤔 Probably good enough! Since this item\n \/\/ represents a setting in a settings screen,\n \/\/ returning the title of the row is likely\n \/\/ unique enough to guarantee stability.\n\n self.setting.name \/\/ Something like \"Location Services\".\n }\n}\n\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : UUID {\n \/\/ ✅ Good! Very unique.\n self.model.serverID\n }\n}\n```\n\n### Identifier Leverages The Type System\nYour ``ItemContent\/identifierValue-swift.property`` gets wrapped up in an `Identifier`\nwhen it used by the list to unique the item, control its lifetime, and identify it across update operations. This\nadditional type information is used to further unique the identifier. You do not need to provide any\nadditional type-salting and uniquing information in your ``ItemContent\/identifierValue-swift.property`` besides the value from your content.\n\nEven once the ``Identifier`` is type-erased to ``AnyIdentifier``, this type information is retained:\n```swift\nlet first : AnyIdentifier = Identifier(\"a-value\")\nlet second : AnyIdentifier = Identifier(\"a-value\")\n\nlet isEqual = first == second \/\/ false\n```\n\nIn practical terms, this means that your ``ItemContent\/identifierValue-swift.property`` implementation should be:\n```swift\nstruct MyItemContent : ItemContent {\n\n let model : Model\n\n var identifierValue : String {\n \/\/ 🚫 Not needed: Type information will be encoded into the Identifier.\n \"MyItemContent-\\(model.serverID)\"\n }\n}\n\nstruct MySearchBarRow : ItemContent {\n\n let model : Model\n\n var identifierValue : searchText {\n \/\/ ✅ Good! No need for the string interpolation.\n model.serverID\n }\n}\n```", - "key.doc.declaration" : "var identifierValue: IdentifierValue { get }", - "key.doc.discussion" : [ - { - "Para" : "This value must be stable. Changing the `identifier` will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and . Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one." - }, - { - "CodeListing" : "" - }, - { - "Para" : "While identifiers do need to be , they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier." - }, - { - "Para" : "If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model." - }, - { - "Para" : "Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”)." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Your `ItemContent\/identifierValue-swift.property` gets wrapped up in an `Identifier` when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your `ItemContent\/identifierValue-swift.property` besides the value from your content." - }, - { - "Para" : "Even once the `Identifier` is type-erased to `AnyIdentifier`, this type information is retained:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In practical terms, this means that your `ItemContent\/identifierValue-swift.property` implementation should be:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "identifierValue<\/Name>s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp<\/USR>var identifierValue: IdentifierValue { get }<\/Declaration>Used to unique the item, control its lifetime, and identify it across update operations.<\/Para><\/Abstract>]]><\/rawHTML>Identifier Stability]]><\/rawHTML>This value must be stable. Changing the identifier<\/codeVoice> will mean that the list will think the item has been removed from the list (and a new one inserted), which can cause undesired animations or other undesired behavior when a new view is created and inserted.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Identifier stability is especially important with items that embed interactive controls, like buttons, sliders, text fields, etc. The identifier of the control should be stable and independent of the value the control is currently representing<\/bold>. Including the value the control is currently representing in the identifier will cause the list to repeatedly re-create the control, removing the old item and inserting the new one.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Uniqueness]]><\/rawHTML>While identifiers do need to be stable<\/emphasis>, they do not need to be globally unique – the list will make a “best guess” if there are multiple items with the same identifier. However, diffing of changes will be more visually correct with a unique identifier.<\/Para>If you are backing your content with some sort of client or server-provided data, consider using its server or client UUID here, or some other stable unique identifier from the underlying data model.<\/Para>Generally, try to use the most stable ID you have access to. Sometimes this will be a server or client ID as mentioned above. For something without the concept of identity, consider providing a value based on what the content represents (eg, a row title like “Settings”).<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Identifier Leverages The Type System]]><\/rawHTML>Your ItemContent\/identifierValue-swift.property<\/codeVoice> gets wrapped up in an Identifier<YourItemContent, IdentifierValue><\/codeVoice> when it used by the list to unique the item, control its lifetime, and identify it across update operations. This additional type information is used to further unique the identifier. You do not need to provide any additional type-salting and uniquing information in your ItemContent\/identifierValue-swift.property<\/codeVoice> besides the value from your content.<\/Para>Even once the Identifier<\/codeVoice> is type-erased to AnyIdentifier<\/codeVoice>, this type information is retained:<\/Para>(\"a-value\")]]><\/zCodeLineNumbered>(\"a-value\")]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In practical terms, this means that your ItemContent\/identifierValue-swift.property<\/codeVoice> implementation should be:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 235, - "key.doc.name" : "identifierValue", - "key.doc.type" : "Other", - "key.doclength" : 6774, - "key.docoffset" : 1908, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifierValue<\/decl.name>: IdentifierValue<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 235, - "key.modulename" : "ListableUI", - "key.name" : "identifierValue", - "key.namelength" : 15, - "key.nameoffset" : 8690, - "key.offset" : 8686, - "key.parsed_declaration" : "var identifierValue : IdentifierValue", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 235, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "identifierValue<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.IdentifierValue", - "key.typeusr" : "$s15IdentifierValueQzD", - "key.usr" : "s:10ListableUI11ItemContentP15identifierValue010IdentifierF0Qzvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Tracking Changes", - "key.offset" : 8751 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isEquivalent(to other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used by the list to determine when the content of the item has changed; in order to\nremeasure the item and re-layout the list.\n\nYou should return `false` from this method when any content within your item that\naffects visual appearance or layout (and in particular, sizing) changes. When the list\nreceives `false` back from this method, it will invalidate any cached sizing it has stored\nfor the item, and re-measure + re-layout the content.\n\n```swift\nstruct MyItemContent : ItemContent, Equatable {\n\n var identifierValue : UUID\n var title : String\n var detail : String\n var theme : MyTheme\n var onTapDetail : () -> ()\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing checks for title and detail.\n \/\/ If they change, they likely affect sizing,\n \/\/ which would result in incorrect item sizing.\n\n self.theme == other.theme\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing check for theme.\n \/\/ If the theme changed; its likely that the device's\n \/\/ accessibility settings changed; dark mode was enabled,\n \/\/ etc. All of these can affect the appearance or sizing\n \/\/ of the item.\n\n self.title == other.title &&\n self.detail == other.detail\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ ✅ Checking all parameters which can affect appearance + layout.\n \/\/ Not checking identifierValue or onTapDetail, since they do not affect appearance + layout.\n\n self.theme == other.theme &&\n self.title == other.title &&\n self.detail == other.detail\n }\n}\n\nstruct MyItemContent : ItemContent, Equatable {\n \/\/ ✅ Nothing else needed!\n \/\/ `Equatable` conformance provides `isEquivalent(to:) for free!`\n}\n```\n\n#### Note\nIf your ``ItemContent`` conforms to ``Equatable``, there is a default\nimplementation of this method which simply returns `self == other`.\n", - "key.doc.column" : 10, - "key.doc.comment" : "\nUsed by the list to determine when the content of the item has changed; in order to\nremeasure the item and re-layout the list.\n\nYou should return `false` from this method when any content within your item that\naffects visual appearance or layout (and in particular, sizing) changes. When the list\nreceives `false` back from this method, it will invalidate any cached sizing it has stored\nfor the item, and re-measure + re-layout the content.\n\n```swift\nstruct MyItemContent : ItemContent, Equatable {\n\n var identifierValue : UUID\n var title : String\n var detail : String\n var theme : MyTheme\n var onTapDetail : () -> ()\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing checks for title and detail.\n \/\/ If they change, they likely affect sizing,\n \/\/ which would result in incorrect item sizing.\n\n self.theme == other.theme\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ 🚫 Missing check for theme.\n \/\/ If the theme changed; its likely that the device's\n \/\/ accessibility settings changed; dark mode was enabled,\n \/\/ etc. All of these can affect the appearance or sizing\n \/\/ of the item.\n\n self.title == other.title &&\n self.detail == other.detail\n }\n\n func isEquivalent(to other : MyItemContent) -> Bool {\n \/\/ ✅ Checking all parameters which can affect appearance + layout.\n \/\/ Not checking identifierValue or onTapDetail, since they do not affect appearance + layout.\n\n self.theme == other.theme &&\n self.title == other.title &&\n self.detail == other.detail\n }\n}\n\nstruct MyItemContent : ItemContent, Equatable {\n \/\/ ✅ Nothing else needed!\n \/\/ `Equatable` conformance provides `isEquivalent(to:) for free!`\n}\n```\n\n#### Note\nIf your ``ItemContent`` conforms to ``Equatable``, there is a default\nimplementation of this method which simply returns `self == other`.", - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "You should return `false` from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives `false` back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If your `ItemContent` conforms to `Equatable`, there is a default implementation of this method which simply returns `self == other`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>Used by the list to determine when the content of the item has changed; in order to remeasure the item and re-layout the list.<\/Para><\/Abstract>You should return false<\/codeVoice> from this method when any content within your item that affects visual appearance or layout (and in particular, sizing) changes. When the list receives false<\/codeVoice> back from this method, it will invalidate any cached sizing it has stored for the item, and re-measure + re-layout the content.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> ()]]><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>If your ItemContent<\/codeVoice> conforms to Equatable<\/codeVoice>, there is a default implementation of this method which simply returns self == other<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 298, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.doclength" : 2398, - "key.docoffset" : 8790, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 42, - "key.line" : 298, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 29, - "key.nameoffset" : 11197, - "key.offset" : 11192, - "key.parsed_declaration" : "func isEquivalent(to other : Self) -> Bool", - "key.parsed_scope.end" : 298, - "key.parsed_scope.start" : 298, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isEquivalent(to: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s2toSbx_tcD", - "key.usr" : "s:10ListableUI11ItemContentP12isEquivalent2toSbx_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasMoved(comparedTo other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used by the list view to determine move events during an update's diff operation.\n\nThis function should return `true` if the content's sort changed based on the old value passed into the function.\nFor example, if your content is sorted based on an `updatedAt` `Date` parameter, you would implement\nthis method as follows:\n```swift\nfunc wasMoved(comparedTo other : MyContent) -> Bool {\n self.updatedAt != other.updatedAt\n}\n```\n\n#### Note\nThere is a default implementation of this method which calls `isEquivalent == false`. Unless\nyour list has an extremely high amount of ordering churn, you should not need to implement this method.\n", - "key.doc.column" : 10, - "key.doc.comment" : "Used by the list view to determine move events during an update's diff operation.\n\nThis function should return `true` if the content's sort changed based on the old value passed into the function.\nFor example, if your content is sorted based on an `updatedAt` `Date` parameter, you would implement\nthis method as follows:\n```swift\nfunc wasMoved(comparedTo other : MyContent) -> Bool {\n self.updatedAt != other.updatedAt\n}\n```\n\n#### Note\nThere is a default implementation of this method which calls `isEquivalent == false`. Unless\nyour list has an extremely high amount of ordering churn, you should not need to implement this method.", - "key.doc.declaration" : "func wasMoved(comparedTo other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "This function should return `true` if the content’s sort changed based on the old value passed into the function. For example, if your content is sorted based on an `updatedAt` `Date` parameter, you would implement this method as follows:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "There is a default implementation of this method which calls `isEquivalent == false`. Unless your list has an extremely high amount of ordering churn, you should not need to implement this method." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "wasMoved(comparedTo:)<\/Name>s:10ListableUI11ItemContentP8wasMoved10comparedToSbx_tF<\/USR>func wasMoved(comparedTo other: Self) -> Bool<\/Declaration>Used by the list view to determine move events during an update’s diff operation.<\/Para><\/Abstract>This function should return true<\/codeVoice> if the content’s sort changed based on the old value passed into the function. For example, if your content is sorted based on an updatedAt<\/codeVoice> Date<\/codeVoice> parameter, you would implement this method as follows:<\/Para> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>There is a default implementation of this method which calls isEquivalent == false<\/codeVoice>. Unless your list has an extremely high amount of ordering churn, you should not need to implement this method.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 315, - "key.doc.name" : "wasMoved(comparedTo:)", - "key.doc.type" : "Function", - "key.doclength" : 751, - "key.docoffset" : 11244, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasMoved<\/decl.name>(comparedTo<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 46, - "key.line" : 315, - "key.modulename" : "ListableUI", - "key.name" : "wasMoved(comparedTo:)", - "key.namelength" : 33, - "key.nameoffset" : 12004, - "key.offset" : 11999, - "key.parsed_declaration" : "func wasMoved(comparedTo other : Self) -> Bool", - "key.parsed_scope.end" : 315, - "key.parsed_scope.start" : 315, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasMoved(comparedTo: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s10comparedToSbx_tcD", - "key.usr" : "s:10ListableUI11ItemContentP8wasMoved10comparedToSbx_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Default Item Properties", - "key.offset" : 12065 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias ItemContent<\/Type>.DefaultProperties = DefaultItemProperties<\/Type><Self<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ItemContent<\/ref.protocol>.DefaultProperties<\/decl.name> = DefaultItemProperties<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 57, - "key.line" : 321, - "key.modulename" : "ListableUI", - "key.name" : "DefaultProperties", - "key.namelength" : 17, - "key.nameoffset" : 12121, - "key.offset" : 12111, - "key.parsed_declaration" : "typealias DefaultProperties = DefaultItemProperties", - "key.parsed_scope.end" : 321, - "key.parsed_scope.start" : 321, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultItemProperties.Type", - "key.typeusr" : "$s10ListableUI21DefaultItemPropertiesVyxGmD", - "key.usr" : "s:10ListableUI11ItemContentP17DefaultPropertiesa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var defaultItemProperties: DefaultProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 12393, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Default values to assign to various properties on the `Item` which wraps\nthis `ItemContent`, if those values are not passed to the `Item` initializer.", - "key.doc.column" : 9, - "key.doc.comment" : "Default values to assign to various properties on the `Item` which wraps\nthis `ItemContent`, if those values are not passed to the `Item` initializer.", - "key.doc.declaration" : "var defaultItemProperties: DefaultProperties { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "defaultItemProperties<\/Name>s:10ListableUI11ItemContentP07defaultC10PropertiesAA07DefaultcF0VyxGvp<\/USR>var defaultItemProperties: DefaultProperties { get }<\/Declaration>Default values to assign to various properties on the Item<\/codeVoice> which wraps this ItemContent<\/codeVoice>, if those values are not passed to the Item<\/codeVoice> initializer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 326, - "key.doc.name" : "defaultItemProperties", - "key.doc.type" : "Other", - "key.doclength" : 163, - "key.docoffset" : 12179, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> defaultItemProperties<\/decl.name>: DefaultProperties<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 326, - "key.modulename" : "ListableUI", - "key.name" : "defaultItemProperties", - "key.namelength" : 21, - "key.nameoffset" : 12350, - "key.offset" : 12346, - "key.parsed_declaration" : "var defaultItemProperties : DefaultProperties", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 326, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "defaultItemProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultItemProperties", - "key.typeusr" : "$s10ListableUI21DefaultItemPropertiesVyxGD", - "key.usr" : "s:10ListableUI11ItemContentP07defaultC10PropertiesAA07DefaultcF0VyxGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 32, - "key.name" : "MARK: Applying To Displayed View", - "key.offset" : 12419 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func apply(to views: ItemContentViews<\/Type><Self<\/Type>>, for reason: ApplyReason<\/Type>, with info: ApplyItemContentInfo<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called when rendering the content. This is where you should push data from your\ncontent into the passed in views.\n\nDo not retain a reference to the passed in views – they are reused by the list.\n", - "key.doc.column" : 10, - "key.doc.comment" : "Called when rendering the content. This is where you should push data from your\ncontent into the passed in views.\n\nDo not retain a reference to the passed in views – they are reused by the list.", - "key.doc.declaration" : "func apply(to views: ItemContentViews, for reason: ApplyReason, with info: ApplyItemContentInfo)", - "key.doc.discussion" : [ - { - "Para" : "Do not retain a reference to the passed in views – they are reused by the list." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "apply(to:for:with:)<\/Name>s:10ListableUI11ItemContentP5apply2to3for4withyAA0cD5ViewsVyxG_AA11ApplyReasonOAA0jcD4InfoVtF<\/USR>func apply(to views: ItemContentViews<Self>, for reason: ApplyReason, with info: ApplyItemContentInfo)<\/Declaration>Called when rendering the content. This is where you should push data from your content into the passed in views.<\/Para><\/Abstract>Do not retain a reference to the passed in views – they are reused by the list.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 338, - "key.doc.name" : "apply(to:for:with:)", - "key.doc.type" : "Function", - "key.doclength" : 228, - "key.docoffset" : 12472, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> views<\/decl.var.parameter.name>: ItemContentViews<\/ref.struct><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: ApplyReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 134, - "key.line" : 338, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:for:with:)", - "key.namelength" : 129, - "key.nameoffset" : 12710, - "key.offset" : 12705, - "key.parsed_declaration" : "func apply(\n to views : ItemContentViews,\n for reason: ApplyReason,\n with info : ApplyItemContentInfo\n)", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 338, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemContentViews, ApplyReason, ApplyItemContentInfo) -> ()", - "key.typeusr" : "$s2to3for4withy10ListableUI16ItemContentViewsVyxG_AD11ApplyReasonOAD0ifG4InfoVtcD", - "key.usr" : "s:10ListableUI11ItemContentP5apply2to3for4withyAA0cD5ViewsVyxG_AA11ApplyReasonOAA0jcD4InfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 13140, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the `ItemContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.column" : 9, - "key.doc.comment" : "When the `ItemContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.declaration" : "var reappliesToVisibleView: ReappliesToVisibleView { get }", - "key.doc.discussion" : [ - { - "Para" : "Defaults to `ReappliesToVisibleView\/always`." - }, - { - "Para" : "See `ReappliesToVisibleView` for a full discussion." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "reappliesToVisibleView<\/Name>s:10ListableUI11ItemContentP22reappliesToVisibleViewAA09ReappliesfgH0Ovp<\/USR>var reappliesToVisibleView: ReappliesToVisibleView { get }<\/Declaration>When the ItemContent<\/codeVoice> is on screen, controls how and when to apply updates to the view.<\/Para><\/Abstract>Defaults to ReappliesToVisibleView\/always<\/codeVoice>.<\/Para>See ReappliesToVisibleView<\/codeVoice> for a full discussion.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 350, - "key.doc.name" : "reappliesToVisibleView", - "key.doc.type" : "Other", - "key.doclength" : 234, - "key.docoffset" : 12849, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 59, - "key.line" : 350, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 13091, - "key.offset" : 13087, - "key.parsed_declaration" : "var reappliesToVisibleView : ReappliesToVisibleView", - "key.parsed_scope.end" : 350, - "key.parsed_scope.start" : 350, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "reappliesToVisibleView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI11ItemContentP22reappliesToVisibleViewAA09ReappliesfgH0Ovp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 45, - "key.name" : "MARK: Creating & Providing Swipe Action Views", - "key.offset" : 13166 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var swipeActionsStyle: SwipeActionsViewStyle<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 13441, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The swipe action style for this content.\n\nIf this is `nil`, the style provided by the ``SwipeActionsViewStyleKey`` environment value will be used.", - "key.doc.column" : 9, - "key.doc.comment" : "The swipe action style for this content.\n\nIf this is `nil`, the style provided by the ``SwipeActionsViewStyleKey`` environment value will be used.", - "key.doc.declaration" : "var swipeActionsStyle: SwipeActionsViewStyle? { get }", - "key.doc.discussion" : [ - { - "Para" : "If this is `nil`, the style provided by the `SwipeActionsViewStyleKey` environment value will be used." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "swipeActionsStyle<\/Name>s:10ListableUI11ItemContentP17swipeActionsStyleAA05Swipef4ViewG0VSgvp<\/USR>var swipeActionsStyle: SwipeActionsViewStyle? { get }<\/Declaration>The swipe action style for this content.<\/Para><\/Abstract>If this is nil<\/codeVoice>, the style provided by the SwipeActionsViewStyleKey<\/codeVoice> environment value will be used.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 359, - "key.doc.name" : "swipeActionsStyle", - "key.doc.type" : "Other", - "key.doclength" : 166, - "key.docoffset" : 13224, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> swipeActionsStyle<\/decl.name>: SwipeActionsViewStyle<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 359, - "key.modulename" : "ListableUI", - "key.name" : "swipeActionsStyle", - "key.namelength" : 17, - "key.nameoffset" : 13398, - "key.offset" : 13394, - "key.parsed_declaration" : "var swipeActionsStyle: SwipeActionsViewStyle?", - "key.parsed_scope.end" : 359, - "key.parsed_scope.start" : 359, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "swipeActionsStyle<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsViewStyle?", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVSgD", - "key.usr" : "s:10ListableUI11ItemContentP17swipeActionsStyleAA05Swipef4ViewG0VSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 40, - "key.name" : "MARK: Creating & Providing Content Views", - "key.offset" : 13463 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype ContentView : UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.column" : 20, - "key.doc.comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.declaration" : "associatedtype ContentView : UIView", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ContentView<\/Name>s:10ListableUI11ItemContentP0D4ViewQa<\/USR>associatedtype ContentView : UIView<\/Declaration>The content view used to draw the content. The content view is drawn at the top of the view hierarchy, above the background views.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 367, - "key.doc.name" : "ContentView", - "key.doc.type" : "Other", - "key.doclength" : 143, - "key.docoffset" : 13520, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> ContentView<\/decl.name> : UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 34, - "key.line" : 367, - "key.modulename" : "ListableUI", - "key.name" : "ContentView", - "key.namelength" : 11, - "key.nameoffset" : 13682, - "key.offset" : 13667, - "key.parsed_declaration" : "associatedtype ContentView: UIView", - "key.parsed_scope.end" : 367, - "key.parsed_scope.start" : 367, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.ContentView.Type", - "key.typeusr" : "$s11ContentViewQzmD", - "key.usr" : "s:10ListableUI11ItemContentP0D4ViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableContentView(frame: CGRect<\/Type>) -> ContentView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new content view used to render the content.\n\n### Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new content view used to render the content.\n\n### Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableContentView(frame: CGRect) -> ContentView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableContentView(frame:)<\/Name>s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ<\/USR>static func createReusableContentView(frame: CGRect) -> ContentView<\/Declaration>Create and return a new content view used to render the content.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 375, - "key.doc.name" : "createReusableContentView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 319, - "key.docoffset" : 13712, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableContentView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ContentView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 68, - "key.line" : 375, - "key.modulename" : "ListableUI", - "key.name" : "createReusableContentView(frame:)", - "key.namelength" : 41, - "key.nameoffset" : 14047, - "key.offset" : 14035, - "key.parsed_declaration" : "static func createReusableContentView(frame : CGRect) -> ContentView", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 375, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.ContentView", - "key.typeusr" : "$s5frame11ContentViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP014createReusableD4View5frame0dG0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func contentAreaViewProperties(with info: ApplyItemContentInfo<\/Type>) -> ViewProperties<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the properties to configure on the content area view for the item.", - "key.doc.column" : 10, - "key.doc.comment" : "Describes the properties to configure on the content area view for the item.", - "key.doc.declaration" : "func contentAreaViewProperties(with info: ApplyItemContentInfo) -> ViewProperties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "contentAreaViewProperties(with:)<\/Name>s:10ListableUI11ItemContentP25contentAreaViewProperties4withAA0gH0VAA05ApplycD4InfoV_tF<\/USR>func contentAreaViewProperties(with info: ApplyItemContentInfo) -> ViewProperties<\/Declaration>Describes the properties to configure on the content area view for the item.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 378, - "key.doc.name" : "contentAreaViewProperties(with:)", - "key.doc.type" : "Function", - "key.doclength" : 81, - "key.docoffset" : 14113, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> contentAreaViewProperties<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 378, - "key.modulename" : "ListableUI", - "key.name" : "contentAreaViewProperties(with:)", - "key.namelength" : 59, - "key.nameoffset" : 14203, - "key.offset" : 14198, - "key.parsed_declaration" : "func contentAreaViewProperties(with info : ApplyItemContentInfo) -> ViewProperties", - "key.parsed_scope.end" : 378, - "key.parsed_scope.start" : 378, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "contentAreaViewProperties(with: ApplyItemContentInfo) -> ViewProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> ViewProperties", - "key.typeusr" : "$s4with10ListableUI14ViewPropertiesVAB20ApplyItemContentInfoV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP25contentAreaViewProperties4withAA0gH0VAA05ApplycD4InfoV_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 43, - "key.name" : "MARK: Creating & Providing Background Views", - "key.offset" : 14300 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype BackgroundView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view used to draw the background of the content.\nThe background view is drawn below the content view.\n\n### Note\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a background view.\n", - "key.doc.column" : 20, - "key.doc.comment" : "The background view used to draw the background of the content.\nThe background view is drawn below the content view.\n\n### Note\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a background view.", - "key.doc.declaration" : "associatedtype BackgroundView : UIView = UIView", - "key.doc.discussion" : [ - { - "Para" : "Defaults to a `UIView` with no drawn appearance or state. You do not need to provide this `typealias` unless you would like to draw a background view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "BackgroundView<\/Name>s:10ListableUI11ItemContentP14BackgroundViewQa<\/USR>associatedtype BackgroundView : UIView = UIView<\/Declaration>The background view used to draw the background of the content. The background view is drawn below the content view.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Defaults to a UIView<\/codeVoice> with no drawn appearance or state. You do not need to provide this typealias<\/codeVoice> unless you would like to draw a background view.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 392, - "key.doc.name" : "BackgroundView", - "key.doc.type" : "Other", - "key.doclength" : 337, - "key.docoffset" : 14360, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> BackgroundView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 45, - "key.line" : 392, - "key.modulename" : "ListableUI", - "key.name" : "BackgroundView", - "key.namelength" : 14, - "key.nameoffset" : 14716, - "key.offset" : 14701, - "key.parsed_declaration" : "associatedtype BackgroundView:UIView = UIView", - "key.parsed_scope.end" : 392, - "key.parsed_scope.start" : 392, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.BackgroundView.Type", - "key.typeusr" : "$s14BackgroundViewQzmD", - "key.usr" : "s:10ListableUI11ItemContentP14BackgroundViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 400, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 344, - "key.docoffset" : 14756, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 74, - "key.line" : 400, - "key.modulename" : "ListableUI", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 44, - "key.nameoffset" : 15116, - "key.offset" : 15104, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame : CGRect) -> BackgroundView", - "key.parsed_scope.end" : 400, - "key.parsed_scope.start" : 400, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frame14BackgroundViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype SelectedBackgroundView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The selected background view used to draw the background of the content when it is selected or highlighted.\nThe selected background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a selected background view.\n", - "key.doc.column" : 20, - "key.doc.comment" : "The selected background view used to draw the background of the content when it is selected or highlighted.\nThe selected background view is drawn below the content view.\n\nNote\n----\nDefaults to a `UIView` with no drawn appearance or state.\nYou do not need to provide this `typealias` unless you would like\nto draw a selected background view.", - "key.doc.declaration" : "associatedtype SelectedBackgroundView : UIView = UIView", - "key.doc.discussion" : [ - { - "Para" : "Defaults to a `UIView` with no drawn appearance or state. You do not need to provide this `typealias` unless you would like to draw a selected background view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "SelectedBackgroundView<\/Name>s:10ListableUI11ItemContentP22SelectedBackgroundViewQa<\/USR>associatedtype SelectedBackgroundView : UIView = UIView<\/Declaration>The selected background view used to draw the background of the content when it is selected or highlighted. The selected background view is drawn below the content view.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Defaults to a UIView<\/codeVoice> with no drawn appearance or state. You do not need to provide this typealias<\/codeVoice> unless you would like to draw a selected background view.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 411, - "key.doc.name" : "SelectedBackgroundView", - "key.doc.type" : "Other", - "key.doclength" : 408, - "key.docoffset" : 15188, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> SelectedBackgroundView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 53, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "SelectedBackgroundView", - "key.namelength" : 22, - "key.nameoffset" : 15615, - "key.offset" : 15600, - "key.parsed_declaration" : "associatedtype SelectedBackgroundView:UIView = UIView", - "key.parsed_scope.end" : 411, - "key.parsed_scope.start" : 411, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.SelectedBackgroundView.Type", - "key.typeusr" : "$s22SelectedBackgroundViewQzmD", - "key.usr" : "s:10ListableUI11ItemContentP22SelectedBackgroundViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableSelectedBackgroundView(frame: CGRect<\/Type>) -> SelectedBackgroundView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's selected background.\n\nThis view is displayed when the content is highlighted or selected.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new background view used to render the content's selected background.\n\nThis view is displayed when the content is highlighted or selected.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the content is highlighted or selected." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableSelectedBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s selected background.<\/Para><\/Abstract>This view is displayed when the content is highlighted or selected.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 425, - "key.doc.name" : "createReusableSelectedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 615, - "key.docoffset" : 15668, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableSelectedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> SelectedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 90, - "key.line" : 425, - "key.modulename" : "ListableUI", - "key.name" : "createReusableSelectedBackgroundView(frame:)", - "key.namelength" : 52, - "key.nameoffset" : 16299, - "key.offset" : 16287, - "key.parsed_declaration" : "static func createReusableSelectedBackgroundView(frame : CGRect) -> SelectedBackgroundView", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 425, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.SelectedBackgroundView", - "key.typeusr" : "$s5frame22SelectedBackgroundViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 43, - "key.name" : "MARK: Creating & Providing Decoration Views", - "key.offset" : 16397 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype OverlayDecorationView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.column" : 20, - "key.doc.comment" : "The content view used to draw the content.\nThe content view is drawn at the top of the view hierarchy, above the background views.", - "key.doc.declaration" : "associatedtype OverlayDecorationView : UIView = UIView", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "OverlayDecorationView<\/Name>s:10ListableUI11ItemContentP21OverlayDecorationViewQa<\/USR>associatedtype OverlayDecorationView : UIView = UIView<\/Declaration>The content view used to draw the content. The content view is drawn at the top of the view hierarchy, above the background views.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 433, - "key.doc.name" : "OverlayDecorationView", - "key.doc.type" : "Other", - "key.doclength" : 143, - "key.docoffset" : 16457, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> OverlayDecorationView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 52, - "key.line" : 433, - "key.modulename" : "ListableUI", - "key.name" : "OverlayDecorationView", - "key.namelength" : 21, - "key.nameoffset" : 16619, - "key.offset" : 16604, - "key.parsed_declaration" : "associatedtype OverlayDecorationView:UIView = UIView", - "key.parsed_scope.end" : 433, - "key.parsed_scope.start" : 433, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.OverlayDecorationView.Type", - "key.typeusr" : "$s21OverlayDecorationViewQzmD", - "key.usr" : "s:10ListableUI11ItemContentP21OverlayDecorationViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype UnderlayDecorationView : UIView<\/Type> = UIView<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view used to draw the content.\nThe content view is drawn at the bottom of the view hierarchy, above the background views.", - "key.doc.column" : 20, - "key.doc.comment" : "The content view used to draw the content.\nThe content view is drawn at the bottom of the view hierarchy, above the background views.", - "key.doc.declaration" : "associatedtype UnderlayDecorationView : UIView = UIView", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "UnderlayDecorationView<\/Name>s:10ListableUI11ItemContentP22UnderlayDecorationViewQa<\/USR>associatedtype UnderlayDecorationView : UIView = UIView<\/Declaration>The content view used to draw the content. The content view is drawn at the bottom of the view hierarchy, above the background views.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 437, - "key.doc.name" : "UnderlayDecorationView", - "key.doc.type" : "Other", - "key.doclength" : 146, - "key.docoffset" : 16666, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> UnderlayDecorationView<\/decl.name> : UIView<\/ref.class> = UIView<\/ref.class><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 53, - "key.line" : 437, - "key.modulename" : "ListableUI", - "key.name" : "UnderlayDecorationView", - "key.namelength" : 22, - "key.nameoffset" : 16831, - "key.offset" : 16816, - "key.parsed_declaration" : "associatedtype UnderlayDecorationView:UIView = UIView", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 437, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.UnderlayDecorationView.Type", - "key.typeusr" : "$s22UnderlayDecorationViewQzmD", - "key.usr" : "s:10ListableUI11ItemContentP22UnderlayDecorationViewQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableOverlayDecorationView(frame: CGRect<\/Type>) -> OverlayDecorationView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new overlay decoration view used to render any required decorations over the content.\nThe decoration view appears above all content, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new overlay decoration view used to render any required decorations over the content.\nThe decoration view appears above all content, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableOverlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView<\/Declaration>Create and return a new overlay decoration view used to render any required decorations over the content. The decoration view appears above all content, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 445, - "key.doc.name" : "createReusableOverlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 452, - "key.docoffset" : 16879, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableOverlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> OverlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 88, - "key.line" : 445, - "key.modulename" : "ListableUI", - "key.name" : "createReusableOverlayDecorationView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 17347, - "key.offset" : 17335, - "key.parsed_declaration" : "static func createReusableOverlayDecorationView(frame : CGRect) -> OverlayDecorationView", - "key.parsed_scope.end" : 445, - "key.parsed_scope.start" : 445, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.OverlayDecorationView", - "key.typeusr" : "$s5frame21OverlayDecorationViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableUnderlayDecorationView(frame: CGRect<\/Type>) -> UnderlayDecorationView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new underlay decoration view used to render any required decorations under the content.\nThe decoration view appears under all content as a background, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.comment" : "Create and return a new underlay decoration view used to render any required decorations under the content.\nThe decoration view appears under all content as a background, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.declaration" : "static func createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableUnderlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView<\/Declaration>Create and return a new underlay decoration view used to render any required decorations under the content. The decoration view appears under all content as a background, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 453, - "key.doc.name" : "createReusableUnderlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.doclength" : 470, - "key.docoffset" : 17433, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableUnderlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UnderlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 90, - "key.line" : 453, - "key.modulename" : "ListableUI", - "key.name" : "createReusableUnderlayDecorationView(frame:)", - "key.namelength" : 52, - "key.nameoffset" : 17919, - "key.offset" : 17907, - "key.parsed_declaration" : "static func createReusableUnderlayDecorationView(frame : CGRect) -> UnderlayDecorationView", - "key.parsed_scope.end" : 453, - "key.parsed_scope.start" : 453, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.UnderlayDecorationView", - "key.typeusr" : "$s5frame22UnderlayDecorationViewQzSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: Content Coordination", - "key.offset" : 18017 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype Coordinator : ItemContentCoordinator<\/Type> = DefaultItemContentCoordinator<\/Type><Self<\/Type>> where Self<\/Type> == Self<\/Type>.Coordinator<\/Type>.ItemContentType<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The coordinator type to use to manage the live state of the `Item` and `ItemContent`,\nif you need to update content based on signals such as notifications, view state, appearance state,\netc.", - "key.doc.column" : 20, - "key.doc.comment" : "The coordinator type to use to manage the live state of the `Item` and `ItemContent`,\nif you need to update content based on signals such as notifications, view state, appearance state,\netc.", - "key.doc.declaration" : "associatedtype Coordinator : ListableUI.ItemContentCoordinator = ListableUI.DefaultItemContentCoordinator where Self == Self.Coordinator.ItemContentType", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "Coordinator<\/Name>s:10ListableUI11ItemContentP11CoordinatorQa<\/USR>associatedtype Coordinator : ListableUI.ItemContentCoordinator = ListableUI.DefaultItemContentCoordinator<Self> where Self == Self.Coordinator.ItemContentType<\/Declaration>The coordinator type to use to manage the live state of the Item<\/codeVoice> and ItemContent<\/codeVoice>, if you need to update content based on signals such as notifications, view state, appearance state, etc.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 462, - "key.doc.name" : "Coordinator", - "key.doc.type" : "Other", - "key.doclength" : 211, - "key.docoffset" : 18060, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> Coordinator<\/decl.name> : ItemContentCoordinator<\/ref.protocol> = DefaultItemContentCoordinator<\/ref.class><Self<\/ref.generic_type_param>> where<\/syntaxtype.keyword> Self<\/ref.generic_type_param> == Self<\/ref.generic_type_param>.Coordinator<\/ref.associatedtype>.ItemContentType<\/ref.associatedtype><\/decl.generic_type_requirement><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 89, - "key.line" : 462, - "key.modulename" : "ListableUI", - "key.name" : "Coordinator", - "key.namelength" : 11, - "key.nameoffset" : 18290, - "key.offset" : 18275, - "key.parsed_declaration" : "associatedtype Coordinator : ItemContentCoordinator = DefaultItemContentCoordinator", - "key.parsed_scope.end" : 462, - "key.parsed_scope.start" : 462, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.Coordinator.Type", - "key.typeusr" : "$s11CoordinatorQzmD", - "key.usr" : "s:10ListableUI11ItemContentP11CoordinatorQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias ItemContent<\/Type>.CoordinatorActions = ItemContentCoordinatorActions<\/Type><Self<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions passed to the coordinator.", - "key.doc.column" : 15, - "key.doc.comment" : "The actions passed to the coordinator.", - "key.doc.declaration" : "typealias ListableUI.ItemContent.CoordinatorActions = ItemContentCoordinatorActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "CoordinatorActions<\/Name>s:10ListableUI11ItemContentP18CoordinatorActionsa<\/USR>typealias ListableUI.ItemContent.CoordinatorActions = ItemContentCoordinatorActions<Self><\/Declaration>The actions passed to the coordinator.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 465, - "key.doc.name" : "CoordinatorActions", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 18374, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ItemContent<\/ref.protocol>.CoordinatorActions<\/decl.name> = ItemContentCoordinatorActions<\/ref.class><Self<\/ref.generic_type_param>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 66, - "key.line" : 465, - "key.modulename" : "ListableUI", - "key.name" : "CoordinatorActions", - "key.namelength" : 18, - "key.nameoffset" : 18431, - "key.offset" : 18421, - "key.parsed_declaration" : "typealias CoordinatorActions = ItemContentCoordinatorActions", - "key.parsed_scope.end" : 465, - "key.parsed_scope.start" : 465, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorActions.Type", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCyxGmD", - "key.usr" : "s:10ListableUI11ItemContentP18CoordinatorActionsa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias ItemContent<\/Type>.CoordinatorInfo = ItemContentCoordinatorInfo<\/Type><Self<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The info passed to the coordinator.", - "key.doc.column" : 15, - "key.doc.comment" : "The info passed to the coordinator.", - "key.doc.declaration" : "typealias ListableUI.ItemContent.CoordinatorInfo = ItemContentCoordinatorInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "CoordinatorInfo<\/Name>s:10ListableUI11ItemContentP15CoordinatorInfoa<\/USR>typealias ListableUI.ItemContent.CoordinatorInfo = ItemContentCoordinatorInfo<Self><\/Declaration>The info passed to the coordinator.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 467, - "key.doc.name" : "CoordinatorInfo", - "key.doc.type" : "Other", - "key.doclength" : 40, - "key.docoffset" : 18492, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ItemContent<\/ref.protocol>.CoordinatorInfo<\/decl.name> = ItemContentCoordinatorInfo<\/ref.class><Self<\/ref.generic_type_param>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 60, - "key.line" : 467, - "key.modulename" : "ListableUI", - "key.name" : "CoordinatorInfo", - "key.namelength" : 15, - "key.nameoffset" : 18546, - "key.offset" : 18536, - "key.parsed_declaration" : "typealias CoordinatorInfo = ItemContentCoordinatorInfo", - "key.parsed_scope.end" : 467, - "key.parsed_scope.start" : 467, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorInfo.Type", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCyxGmD", - "key.usr" : "s:10ListableUI11ItemContentP15CoordinatorInfoa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func makeCoordinator(actions: CoordinatorActions<\/Type>, info: CoordinatorInfo<\/Type>) -> Coordinator<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new coordinator with the provided actions and info.", - "key.doc.column" : 10, - "key.doc.comment" : "Creates a new coordinator with the provided actions and info.", - "key.doc.declaration" : "func makeCoordinator(actions: CoordinatorActions, info: CoordinatorInfo) -> Coordinator", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "makeCoordinator(actions:info:)<\/Name>s:10ListableUI11ItemContentP15makeCoordinator7actions4info0F0QzAA0cdF7ActionsCyxG_AA0cdF4InfoCyxGtF<\/USR>func makeCoordinator(actions: CoordinatorActions, info: CoordinatorInfo) -> Coordinator<\/Declaration>Creates a new coordinator with the provided actions and info.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 470, - "key.doc.name" : "makeCoordinator(actions:info:)", - "key.doc.type" : "Function", - "key.doclength" : 66, - "key.docoffset" : 18606, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> makeCoordinator<\/decl.name>(actions<\/decl.var.parameter.argument_label>: CoordinatorActions<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: CoordinatorInfo<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Coordinator<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 89, - "key.line" : 470, - "key.modulename" : "ListableUI", - "key.name" : "makeCoordinator(actions:info:)", - "key.namelength" : 69, - "key.nameoffset" : 18681, - "key.offset" : 18676, - "key.parsed_declaration" : "func makeCoordinator(actions : CoordinatorActions, info : CoordinatorInfo) -> Coordinator", - "key.parsed_scope.end" : 470, - "key.parsed_scope.start" : 470, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "makeCoordinator(actions: ItemContentCoordinatorActions<Self>, info: ItemContentCoordinatorInfo<Self>) -> Coordinator<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemContentCoordinatorActions, ItemContentCoordinatorInfo) -> Self.Coordinator", - "key.typeusr" : "$s7actions4info11CoordinatorQz10ListableUI011ItemContentC7ActionsCyxG_AE0fgC4InfoCyxGtcD", - "key.usr" : "s:10ListableUI11ItemContentP15makeCoordinator7actions4info0F0QzAA0cdF7ActionsCyxG_AA0cdF4InfoCyxGtF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18770 - } - ], - "key.bodylength" : 66, - "key.bodyoffset" : 18800, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 90, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 18787, - "key.offset" : 18777, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 479, - "key.parsed_scope.start" : 474, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func toAnyItem() -> AnyItem<\/Type><\/Declaration>", - "key.bodylength" : 24, - "key.bodyoffset" : 18840, - "key.column" : 11, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Converts the object into a type-erased `AnyItem` instance.", - "key.doc.column" : 10, - "key.doc.declaration" : "func toAnyItem() -> AnyItem", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/AnyItemConvertible.swift", - "key.doc.full_as_xml" : "toAnyItem()<\/Name>s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF<\/USR>func toAnyItem() -> AnyItem<\/Declaration>Converts the object into a type-erased AnyItem<\/codeVoice> instance.<\/Para><\/Abstract>This documentation comment was inherited from AnyItemConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 36, - "key.doc.name" : "toAnyItem()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toAnyItem<\/decl.name>() -> AnyItem<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 54, - "key.line" : 476, - "key.modulename" : "ListableUI", - "key.name" : "toAnyItem()", - "key.namelength" : 11, - "key.nameoffset" : 18816, - "key.offset" : 18811, - "key.parsed_declaration" : "func toAnyItem() -> AnyItem", - "key.parsed_scope.end" : 478, - "key.parsed_scope.start" : 476, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "toAnyItem() -> AnyItem<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> () -> any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pycD", - "key.usr" : "s:10ListableUI18AnyItemConvertibleP02tocD0AA0cD0_pyF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemContentViews<Content> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18975 - } - ], - "key.bodylength" : 2059, - "key.bodyoffset" : 19028, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The views owned by the item content, passed to the `apply(to:) method to theme and provide content.`", - "key.doc.column" : 15, - "key.doc.comment" : "The views owned by the item content, passed to the `apply(to:) method to theme and provide content.`", - "key.doc.declaration" : "public struct ItemContentViews where Content : ListableUI.ItemContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContentViews<\/Name>s:10ListableUI16ItemContentViewsV<\/USR>public struct ItemContentViews<Content> where Content : ListableUI.ItemContent<\/Declaration>The views owned by the item content, passed to the apply(to:) method to theme and provide content.<\/codeVoice><\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 483, - "key.doc.name" : "ItemContentViews", - "key.doc.type" : "Class", - "key.doclength" : 105, - "key.docoffset" : 18870, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemContentViews<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2106, - "key.line" : 483, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentViews", - "key.namelength" : 16, - "key.nameoffset" : 18989, - "key.offset" : 18982, - "key.parsed_declaration" : "public struct ItemContentViews", - "key.parsed_scope.end" : 537, - "key.parsed_scope.start" : 483, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 19014 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 483, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 19006, - "key.offset" : 19006, - "key.parsed_declaration" : "public struct ItemContentViewslet cell: ItemCell<\/Type><Content<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: ItemCell<\/ref.class><Content<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 485, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 19037, - "key.offset" : 19033, - "key.parsed_declaration" : "let cell : ItemCell", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 485, - "key.reusingastcontext" : false, - "key.typename" : "ItemCell", - "key.typeusr" : "$s10ListableUI8ItemCellCyxGD", - "key.usr" : "s:10ListableUI16ItemContentViewsV4cellAA0C4CellCyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: Content<\/Type>.ContentView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19112 - } - ], - "key.bodylength" : 47, - "key.bodyoffset" : 19154, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content view of the content.", - "key.doc.column" : 16, - "key.doc.comment" : "The content view of the content.", - "key.doc.declaration" : "public var content: Content.ContentView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "content<\/Name>s:10ListableUI16ItemContentViewsV7content0D4ViewQzvp<\/USR>public var content: Content.ContentView { get }<\/Declaration>The content view of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 488, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.doclength" : 37, - "key.docoffset" : 19071, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.generic_type_param>.ContentView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 83, - "key.line" : 488, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 19123, - "key.offset" : 19119, - "key.parsed_declaration" : "public var content : Content.ContentView", - "key.parsed_scope.end" : 490, - "key.parsed_scope.start" : 488, - "key.reusingastcontext" : false, - "key.typename" : "Content.ContentView", - "key.typeusr" : "$s11ContentViewQzD", - "key.usr" : "s:10ListableUI16ItemContentViewsV7content0D4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var background: Content<\/Type>.BackgroundView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19256 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 19304, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content.", - "key.doc.declaration" : "public var background: Content.BackgroundView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "background<\/Name>s:10ListableUI16ItemContentViewsV10background14BackgroundViewQzvp<\/USR>public var background: Content.BackgroundView { get }<\/Declaration>The background view of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 493, - "key.doc.name" : "background", - "key.doc.type" : "Other", - "key.doclength" : 40, - "key.docoffset" : 19212, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> background<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 71, - "key.line" : 493, - "key.modulename" : "ListableUI", - "key.name" : "background", - "key.namelength" : 10, - "key.nameoffset" : 19267, - "key.offset" : 19263, - "key.parsed_declaration" : "public var background : Content.BackgroundView", - "key.parsed_scope.end" : 495, - "key.parsed_scope.start" : 493, - "key.reusingastcontext" : false, - "key.typename" : "Content.BackgroundView", - "key.typeusr" : "$s14BackgroundViewQzD", - "key.usr" : "s:10ListableUI16ItemContentViewsV10background14BackgroundViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var backgroundIfLoaded: Content<\/Type>.BackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19411 - } - ], - "key.bodylength" : 37, - "key.bodyoffset" : 19468, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background view of the content, if it has been loaded.", - "key.doc.column" : 16, - "key.doc.comment" : "The background view of the content, if it has been loaded.", - "key.doc.declaration" : "public var backgroundIfLoaded: Content.BackgroundView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "backgroundIfLoaded<\/Name>s:10ListableUI16ItemContentViewsV18backgroundIfLoaded14BackgroundViewQzSgvp<\/USR>public var backgroundIfLoaded: Content.BackgroundView? { get }<\/Declaration>The background view of the content, if it has been loaded.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 498, - "key.doc.name" : "backgroundIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 63, - "key.docoffset" : 19344, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> backgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.BackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 88, - "key.line" : 498, - "key.modulename" : "ListableUI", - "key.name" : "backgroundIfLoaded", - "key.namelength" : 18, - "key.nameoffset" : 19422, - "key.offset" : 19418, - "key.parsed_declaration" : "public var backgroundIfLoaded : Content.BackgroundView?", - "key.parsed_scope.end" : 500, - "key.parsed_scope.start" : 498, - "key.reusingastcontext" : false, - "key.typename" : "Content.BackgroundView?", - "key.typeusr" : "$s14BackgroundViewQzSgD", - "key.usr" : "s:10ListableUI16ItemContentViewsV18backgroundIfLoaded14BackgroundViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectedBackground: Content<\/Type>.SelectedBackgroundView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19632 - } - ], - "key.bodylength" : 37, - "key.bodyoffset" : 19696, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The selected background view of the content.\nDisplayed when the content is highlighted or selected.", - "key.doc.column" : 16, - "key.doc.comment" : "The selected background view of the content.\nDisplayed when the content is highlighted or selected.", - "key.doc.declaration" : "public var selectedBackground: Content.SelectedBackgroundView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "selectedBackground<\/Name>s:10ListableUI16ItemContentViewsV18selectedBackground08SelectedG4ViewQzvp<\/USR>public var selectedBackground: Content.SelectedBackgroundView { get }<\/Declaration>The selected background view of the content. Displayed when the content is highlighted or selected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 504, - "key.doc.name" : "selectedBackground", - "key.doc.type" : "Other", - "key.doclength" : 112, - "key.docoffset" : 19516, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectedBackground<\/decl.name>: Content<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 95, - "key.line" : 504, - "key.modulename" : "ListableUI", - "key.name" : "selectedBackground", - "key.namelength" : 18, - "key.nameoffset" : 19643, - "key.offset" : 19639, - "key.parsed_declaration" : "public var selectedBackground : Content.SelectedBackgroundView", - "key.parsed_scope.end" : 506, - "key.parsed_scope.start" : 504, - "key.reusingastcontext" : false, - "key.typename" : "Content.SelectedBackgroundView", - "key.typeusr" : "$s22SelectedBackgroundViewQzD", - "key.usr" : "s:10ListableUI16ItemContentViewsV18selectedBackground08SelectedG4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var selectedBackgroundIfLoaded: Content<\/Type>.SelectedBackgroundView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19883 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 19956, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The selected background view of the content, if it has been loaded.\nDisplayed when the content is highlighted or selected.", - "key.doc.column" : 16, - "key.doc.comment" : "The selected background view of the content, if it has been loaded.\nDisplayed when the content is highlighted or selected.", - "key.doc.declaration" : "public var selectedBackgroundIfLoaded: Content.SelectedBackgroundView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "selectedBackgroundIfLoaded<\/Name>s:10ListableUI16ItemContentViewsV26selectedBackgroundIfLoaded08SelectedG4ViewQzSgvp<\/USR>public var selectedBackgroundIfLoaded: Content.SelectedBackgroundView? { get }<\/Declaration>The selected background view of the content, if it has been loaded. Displayed when the content is highlighted or selected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 510, - "key.doc.name" : "selectedBackgroundIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 135, - "key.docoffset" : 19744, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> selectedBackgroundIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.SelectedBackgroundView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 112, - "key.line" : 510, - "key.modulename" : "ListableUI", - "key.name" : "selectedBackgroundIfLoaded", - "key.namelength" : 26, - "key.nameoffset" : 19894, - "key.offset" : 19890, - "key.parsed_declaration" : "public var selectedBackgroundIfLoaded : Content.SelectedBackgroundView?", - "key.parsed_scope.end" : 512, - "key.parsed_scope.start" : 510, - "key.reusingastcontext" : false, - "key.typename" : "Content.SelectedBackgroundView?", - "key.typeusr" : "$s22SelectedBackgroundViewQzSgD", - "key.usr" : "s:10ListableUI16ItemContentViewsV26selectedBackgroundIfLoaded08SelectedG4ViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var overlayDecoration: Content<\/Type>.OverlayDecorationView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20144 - } - ], - "key.bodylength" : 44, - "key.bodyoffset" : 20206, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The overlay decoration view of the content.\nAlways displayed over the content, and does not react to swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "The overlay decoration view of the content.\nAlways displayed over the content, and does not react to swipe actions.", - "key.doc.declaration" : "public var overlayDecoration: Content.OverlayDecorationView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "overlayDecoration<\/Name>s:10ListableUI16ItemContentViewsV17overlayDecoration07OverlayG4ViewQzvp<\/USR>public var overlayDecoration: Content.OverlayDecorationView { get }<\/Declaration>The overlay decoration view of the content. Always displayed over the content, and does not react to swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 516, - "key.doc.name" : "overlayDecoration", - "key.doc.type" : "Other", - "key.doclength" : 128, - "key.docoffset" : 20012, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> overlayDecoration<\/decl.name>: Content<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 100, - "key.line" : 516, - "key.modulename" : "ListableUI", - "key.name" : "overlayDecoration", - "key.namelength" : 17, - "key.nameoffset" : 20155, - "key.offset" : 20151, - "key.parsed_declaration" : "public var overlayDecoration : Content.OverlayDecorationView", - "key.parsed_scope.end" : 518, - "key.parsed_scope.start" : 516, - "key.reusingastcontext" : false, - "key.typename" : "Content.OverlayDecorationView", - "key.typeusr" : "$s21OverlayDecorationViewQzD", - "key.usr" : "s:10ListableUI16ItemContentViewsV17overlayDecoration07OverlayG4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var overlayDecorationIfLoaded: Content<\/Type>.OverlayDecorationView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20416 - } - ], - "key.bodylength" : 53, - "key.bodyoffset" : 20487, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The overlay decoration view of the content, if it has been loaded.\nAlways displayed over the content, and does not react to swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "The overlay decoration view of the content, if it has been loaded.\nAlways displayed over the content, and does not react to swipe actions.", - "key.doc.declaration" : "public var overlayDecorationIfLoaded: Content.OverlayDecorationView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "overlayDecorationIfLoaded<\/Name>s:10ListableUI16ItemContentViewsV25overlayDecorationIfLoaded07OverlayG4ViewQzSgvp<\/USR>public var overlayDecorationIfLoaded: Content.OverlayDecorationView? { get }<\/Declaration>The overlay decoration view of the content, if it has been loaded. Always displayed over the content, and does not react to swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 522, - "key.doc.name" : "overlayDecorationIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 151, - "key.docoffset" : 20261, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> overlayDecorationIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.OverlayDecorationView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 118, - "key.line" : 522, - "key.modulename" : "ListableUI", - "key.name" : "overlayDecorationIfLoaded", - "key.namelength" : 25, - "key.nameoffset" : 20427, - "key.offset" : 20423, - "key.parsed_declaration" : "public var overlayDecorationIfLoaded : Content.OverlayDecorationView?", - "key.parsed_scope.end" : 524, - "key.parsed_scope.start" : 522, - "key.reusingastcontext" : false, - "key.typename" : "Content.OverlayDecorationView?", - "key.typeusr" : "$s21OverlayDecorationViewQzSgD", - "key.usr" : "s:10ListableUI16ItemContentViewsV25overlayDecorationIfLoaded07OverlayG4ViewQzSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var underlayDecoration: Content<\/Type>.UnderlayDecorationView<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20681 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 20745, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlay decoration view of the content.\nAlways displayed under the content, and does not react to swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "The underlay decoration view of the content.\nAlways displayed under the content, and does not react to swipe actions.", - "key.doc.declaration" : "public var underlayDecoration: Content.UnderlayDecorationView { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "underlayDecoration<\/Name>s:10ListableUI16ItemContentViewsV18underlayDecoration08UnderlayG4ViewQzvp<\/USR>public var underlayDecoration: Content.UnderlayDecorationView { get }<\/Declaration>The underlay decoration view of the content. Always displayed under the content, and does not react to swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 528, - "key.doc.name" : "underlayDecoration", - "key.doc.type" : "Other", - "key.doclength" : 130, - "key.docoffset" : 20547, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> underlayDecoration<\/decl.name>: Content<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 103, - "key.line" : 528, - "key.modulename" : "ListableUI", - "key.name" : "underlayDecoration", - "key.namelength" : 18, - "key.nameoffset" : 20692, - "key.offset" : 20688, - "key.parsed_declaration" : "public var underlayDecoration : Content.UnderlayDecorationView", - "key.parsed_scope.end" : 530, - "key.parsed_scope.start" : 528, - "key.reusingastcontext" : false, - "key.typename" : "Content.UnderlayDecorationView", - "key.typeusr" : "$s22UnderlayDecorationViewQzD", - "key.usr" : "s:10ListableUI16ItemContentViewsV18underlayDecoration08UnderlayG4ViewQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var underlayDecorationIfLoaded: Content<\/Type>.UnderlayDecorationView<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20958 - } - ], - "key.bodylength" : 54, - "key.bodyoffset" : 21031, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The underlay decoration view of the content, if it has been loaded.\nAlways displayed under the content, and does not react to swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "The underlay decoration view of the content, if it has been loaded.\nAlways displayed under the content, and does not react to swipe actions.", - "key.doc.declaration" : "public var underlayDecorationIfLoaded: Content.UnderlayDecorationView? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "underlayDecorationIfLoaded<\/Name>s:10ListableUI16ItemContentViewsV26underlayDecorationIfLoaded08UnderlayG4ViewQzSgvp<\/USR>public var underlayDecorationIfLoaded: Content.UnderlayDecorationView? { get }<\/Declaration>The underlay decoration view of the content, if it has been loaded. Always displayed under the content, and does not react to swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 534, - "key.doc.name" : "underlayDecorationIfLoaded", - "key.doc.type" : "Other", - "key.doclength" : 153, - "key.docoffset" : 20801, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> underlayDecorationIfLoaded<\/decl.name>: Content<\/ref.generic_type_param>.UnderlayDecorationView<\/ref.associatedtype>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 121, - "key.line" : 534, - "key.modulename" : "ListableUI", - "key.name" : "underlayDecorationIfLoaded", - "key.namelength" : 26, - "key.nameoffset" : 20969, - "key.offset" : 20965, - "key.parsed_declaration" : "public var underlayDecorationIfLoaded : Content.UnderlayDecorationView?", - "key.parsed_scope.end" : 536, - "key.parsed_scope.start" : 534, - "key.reusingastcontext" : false, - "key.typename" : "Content.UnderlayDecorationView?", - "key.typeusr" : "$s22UnderlayDecorationViewQzSgD", - "key.usr" : "s:10ListableUI16ItemContentViewsV26underlayDecorationIfLoaded08UnderlayG4ViewQzSgvp" - } - ], - "key.typename" : "ItemContentViews.Type", - "key.typeusr" : "$s10ListableUI16ItemContentViewsVyxGmD", - "key.usr" : "s:10ListableUI16ItemContentViewsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ApplyItemContentInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 21506 - } - ], - "key.bodylength" : 930, - "key.bodyoffset" : 21542, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Information about the current state of the content, which is passed to `apply(to:for:with:)`\nduring configuration and preparation for display.\n\nYou can use this information to alter the display of your content, such as changing\nthe background color for highlights and selections, providing different corner styles\nfor different item positions, etc.\n\nTODO: Rename to `ApplyItemContext`", - "key.doc.column" : 15, - "key.doc.comment" : "Information about the current state of the content, which is passed to `apply(to:for:with:)`\nduring configuration and preparation for display.\n\nYou can use this information to alter the display of your content, such as changing\nthe background color for highlights and selections, providing different corner styles\nfor different item positions, etc.\n\nTODO: Rename to `ApplyItemContext`", - "key.doc.declaration" : "public struct ApplyItemContentInfo", - "key.doc.discussion" : [ - { - "Para" : "You can use this information to alter the display of your content, such as changing the background color for highlights and selections, providing different corner styles for different item positions, etc." - }, - { - "Para" : "TODO: Rename to `ApplyItemContext`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ApplyItemContentInfo<\/Name>s:10ListableUI20ApplyItemContentInfoV<\/USR>public struct ApplyItemContentInfo<\/Declaration>Information about the current state of the content, which is passed to apply(to:for:with:)<\/codeVoice> during configuration and preparation for display.<\/Para><\/Abstract>You can use this information to alter the display of your content, such as changing the background color for highlights and selections, providing different corner styles for different item positions, etc.<\/Para>TODO: Rename to ApplyItemContext<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 548, - "key.doc.name" : "ApplyItemContentInfo", - "key.doc.type" : "Class", - "key.doclength" : 415, - "key.docoffset" : 21091, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ApplyItemContentInfo<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 960, - "key.line" : 548, - "key.modulename" : "ListableUI", - "key.name" : "ApplyItemContentInfo", - "key.namelength" : 20, - "key.nameoffset" : 21520, - "key.offset" : 21513, - "key.parsed_declaration" : "public struct ApplyItemContentInfo", - "key.parsed_scope.end" : 572, - "key.parsed_scope.start" : 548, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var state: ItemState<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 21647 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The state of the `Item` currently displaying the content. Is it highlighted, selected, etc.", - "key.doc.column" : 16, - "key.doc.comment" : "The state of the `Item` currently displaying the content. Is it highlighted, selected, etc.", - "key.doc.declaration" : "public var state: ItemState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "state<\/Name>s:10ListableUI20ApplyItemContentInfoV5stateAA0D5StateVvp<\/USR>public var state: ItemState<\/Declaration>The state of the Item<\/codeVoice> currently displaying the content. Is it highlighted, selected, etc.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 551, - "key.doc.name" : "state", - "key.doc.type" : "Other", - "key.doclength" : 96, - "key.docoffset" : 21547, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> state<\/decl.name>: ItemState<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 551, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 21658, - "key.offset" : 21654, - "key.parsed_declaration" : "public var state : ItemState", - "key.parsed_scope.end" : 551, - "key.parsed_scope.start" : 551, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemState", - "key.typeusr" : "$s10ListableUI9ItemStateVD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV5stateAA0D5StateVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var position: ItemPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 21738 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The position of the item within its section.", - "key.doc.column" : 16, - "key.doc.comment" : "The position of the item within its section.", - "key.doc.declaration" : "public var position: ItemPosition", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "position<\/Name>s:10ListableUI20ApplyItemContentInfoV8positionAA0D8PositionOvp<\/USR>public var position: ItemPosition<\/Declaration>The position of the item within its section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 554, - "key.doc.name" : "position", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 21685, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> position<\/decl.name>: ItemPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 554, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 21749, - "key.offset" : 21745, - "key.parsed_declaration" : "public var position : ItemPosition", - "key.parsed_scope.end" : 554, - "key.parsed_scope.start" : 554, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemPosition", - "key.typeusr" : "$s10ListableUI12ItemPositionOD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV8positionAA0D8PositionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reorderingActions: ReorderingActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 21868 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides access to actions to handle re-ordering the content within the list.", - "key.doc.column" : 16, - "key.doc.comment" : "Provides access to actions to handle re-ordering the content within the list.", - "key.doc.declaration" : "public var reorderingActions: ReorderingActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "reorderingActions<\/Name>s:10ListableUI20ApplyItemContentInfoV17reorderingActionsAA010ReorderingH0Cvp<\/USR>public var reorderingActions: ReorderingActions<\/Declaration>Provides access to actions to handle re-ordering the content within the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 557, - "key.doc.name" : "reorderingActions", - "key.doc.type" : "Other", - "key.doclength" : 82, - "key.docoffset" : 21782, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reorderingActions<\/decl.name>: ReorderingActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 557, - "key.modulename" : "ListableUI", - "key.name" : "reorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 21879, - "key.offset" : 21875, - "key.parsed_declaration" : "public var reorderingActions : ReorderingActions", - "key.parsed_scope.end" : 557, - "key.parsed_scope.start" : 557, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ReorderingActions", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV17reorderingActionsAA010ReorderingH0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var showLeadingSwipeActions: () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 21985 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When invoked, will show the leading swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "When invoked, will show the leading swipe actions.", - "key.doc.declaration" : "public var showLeadingSwipeActions: () -> ()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "showLeadingSwipeActions<\/Name>s:10ListableUI20ApplyItemContentInfoV23showLeadingSwipeActionsyycvp<\/USR>public var showLeadingSwipeActions: () -> ()<\/Declaration>When invoked, will show the leading swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 560, - "key.doc.name" : "showLeadingSwipeActions", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 21926, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> showLeadingSwipeActions<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 560, - "key.modulename" : "ListableUI", - "key.name" : "showLeadingSwipeActions", - "key.namelength" : 23, - "key.nameoffset" : 21996, - "key.offset" : 21992, - "key.parsed_declaration" : "public var showLeadingSwipeActions : () -> ()", - "key.parsed_scope.end" : 560, - "key.parsed_scope.start" : 560, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV23showLeadingSwipeActionsyycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var showTrailingSwipeActions: () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22100 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When invoked, will show the trailing swipe actions.", - "key.doc.column" : 16, - "key.doc.comment" : "When invoked, will show the trailing swipe actions.", - "key.doc.declaration" : "public var showTrailingSwipeActions: () -> ()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "showTrailingSwipeActions<\/Name>s:10ListableUI20ApplyItemContentInfoV24showTrailingSwipeActionsyycvp<\/USR>public var showTrailingSwipeActions: () -> ()<\/Declaration>When invoked, will show the trailing swipe actions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 563, - "key.doc.name" : "showTrailingSwipeActions", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 22040, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> showTrailingSwipeActions<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 563, - "key.modulename" : "ListableUI", - "key.name" : "showTrailingSwipeActions", - "key.namelength" : 24, - "key.nameoffset" : 22111, - "key.offset" : 22107, - "key.parsed_declaration" : "public var showTrailingSwipeActions : () -> ()", - "key.parsed_scope.end" : 563, - "key.parsed_scope.start" : 563, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV24showTrailingSwipeActionsyycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isReorderable: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22289 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item can be reordered.\nUse this property to determine if your `ItemContent` should display a reorder control.", - "key.doc.column" : 16, - "key.doc.comment" : "If the item can be reordered.\nUse this property to determine if your `ItemContent` should display a reorder control.", - "key.doc.declaration" : "public var isReorderable: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "isReorderable<\/Name>s:10ListableUI20ApplyItemContentInfoV13isReorderableSbvp<\/USR>public var isReorderable: Bool<\/Declaration>If the item can be reordered. Use this property to determine if your ItemContent<\/codeVoice> should display a reorder control.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 567, - "key.doc.name" : "isReorderable", - "key.doc.type" : "Other", - "key.doclength" : 129, - "key.docoffset" : 22156, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isReorderable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 567, - "key.modulename" : "ListableUI", - "key.name" : "isReorderable", - "key.namelength" : 13, - "key.nameoffset" : 22300, - "key.offset" : 22296, - "key.parsed_declaration" : "public var isReorderable : Bool", - "key.parsed_scope.end" : 567, - "key.parsed_scope.start" : 567, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV13isReorderableSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var environment: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22431 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The environment of the containing list.\nSee `ListEnvironment` for usage information.", - "key.doc.column" : 16, - "key.doc.comment" : "The environment of the containing list.\nSee `ListEnvironment` for usage information.", - "key.doc.declaration" : "public var environment: ListEnvironment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:10ListableUI20ApplyItemContentInfoV11environmentAA15ListEnvironmentVvp<\/USR>public var environment: ListEnvironment<\/Declaration>The environment of the containing list. See ListEnvironment<\/codeVoice> for usage information.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 571, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 97, - "key.docoffset" : 22330, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 571, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 22442, - "key.offset" : 22438, - "key.parsed_declaration" : "public var environment : ListEnvironment", - "key.parsed_scope.end" : 571, - "key.parsed_scope.start" : 571, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV11environmentAA15ListEnvironmentVvp" - } - ], - "key.typename" : "ApplyItemContentInfo.Type", - "key.typeusr" : "$s10ListableUI20ApplyItemContentInfoVmD", - "key.usr" : "s:10ListableUI20ApplyItemContentInfoV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22475 - } - ], - "key.bodylength" : 78, - "key.bodyoffset" : 22505, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 102, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 22492, - "key.offset" : 22482, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 578, - "key.parsed_scope.start" : 574, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var swipeActionsStyle: SwipeActionsViewStyle<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 24, - "key.bodyoffset" : 22557, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The swipe action style for this content.\n\nIf this is `nil`, the style provided by the ``SwipeActionsViewStyleKey`` environment value will be used.", - "key.doc.column" : 9, - "key.doc.declaration" : "var swipeActionsStyle: SwipeActionsViewStyle? { get }", - "key.doc.discussion" : [ - { - "Para" : "If this is `nil`, the style provided by the `SwipeActionsViewStyleKey` environment value will be used." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "swipeActionsStyle<\/Name>s:10ListableUI11ItemContentP17swipeActionsStyleAA05Swipef4ViewG0VSgvp<\/USR>var swipeActionsStyle: SwipeActionsViewStyle? { get }<\/Declaration>The swipe action style for this content.<\/Para><\/Abstract>If this is nil<\/codeVoice>, the style provided by the SwipeActionsViewStyleKey<\/codeVoice> environment value will be used.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 359, - "key.doc.name" : "swipeActionsStyle", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> swipeActionsStyle<\/decl.name>: SwipeActionsViewStyle<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 72, - "key.line" : 575, - "key.modulename" : "ListableUI", - "key.name" : "swipeActionsStyle", - "key.namelength" : 17, - "key.nameoffset" : 22514, - "key.offset" : 22510, - "key.parsed_declaration" : "var swipeActionsStyle: SwipeActionsViewStyle?", - "key.parsed_scope.end" : 577, - "key.parsed_scope.start" : 575, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "swipeActionsStyle<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "SwipeActionsViewStyle?", - "key.typeusr" : "$s10ListableUI21SwipeActionsViewStyleVSgD", - "key.usr" : "s:10ListableUI11ItemContentP17swipeActionsStyleAA05Swipef4ViewG0VSgvp" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22586 - } - ], - "key.bodylength" : 183, - "key.bodyoffset" : 22637, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 228, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 22603, - "key.offset" : 22593, - "key.parsed_declaration" : "public extension ItemContent where Self:Equatable", - "key.parsed_scope.end" : 586, - "key.parsed_scope.start" : 580, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isEquivalent(to other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 27, - "key.bodyoffset" : 22791, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If your `ItemContent` is `Equatable`, `isEquivalent` is based on the `Equatable` implementation.", - "key.doc.column" : 10, - "key.doc.comment" : "If your `ItemContent` is `Equatable`, `isEquivalent` is based on the `Equatable` implementation.", - "key.doc.declaration" : "func isEquivalent(to other: Self) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "isEquivalent(to:)<\/Name>s:10ListableUI11ItemContentPAASQRzrlE12isEquivalent2toSbx_tF<\/USR>func isEquivalent(to other: Self) -> Bool<\/Declaration>If your ItemContent<\/codeVoice> is Equatable<\/codeVoice>, isEquivalent<\/codeVoice> is based on the Equatable<\/codeVoice> implementation.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 583, - "key.doc.name" : "isEquivalent(to:)", - "key.doc.type" : "Function", - "key.doclength" : 101, - "key.docoffset" : 22642, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isEquivalent<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 72, - "key.line" : 583, - "key.modulename" : "ListableUI", - "key.name" : "isEquivalent(to:)", - "key.namelength" : 29, - "key.nameoffset" : 22752, - "key.offset" : 22747, - "key.parsed_declaration" : "func isEquivalent(to other : Self) -> Bool", - "key.parsed_scope.end" : 585, - "key.parsed_scope.start" : 583, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "isEquivalent(to: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s2toSbx_tcD", - "key.usr" : "s:10ListableUI11ItemContentPAASQRzrlE12isEquivalent2toSbx_tF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22824 - } - ], - "key.bodylength" : 1296, - "key.bodyoffset" : 22854, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1320, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 22841, - "key.offset" : 22831, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 620, - "key.parsed_scope.start" : 589, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias Identifier = ListableUI.Identifier<\/Type><Self<\/Type>, IdentifierValue<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `Identifier` type for the item.\n\nFor example, if your ``ItemContent`` was `MyContent`, and your `IdentifierValue` was `UUID`,\nthis variable will provide an `Identifier`.\n", - "key.doc.column" : 15, - "key.doc.comment" : "The `Identifier` type for the item.\n\nFor example, if your ``ItemContent`` was `MyContent`, and your `IdentifierValue` was `UUID`,\nthis variable will provide an `Identifier`.", - "key.doc.declaration" : "typealias Identifier = ListableUI.Identifier", - "key.doc.discussion" : [ - { - "Para" : "For example, if your `ItemContent` was `MyContent`, and your `IdentifierValue` was `UUID`, this variable will provide an `Identifier`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "Identifier<\/Name>s:10ListableUI11ItemContentPAAE10Identifiera<\/USR>typealias Identifier = ListableUI.Identifier<Self, IdentifierValue><\/Declaration>The Identifier<\/codeVoice> type for the item.<\/Para><\/Abstract>For example, if your ItemContent<\/codeVoice> was MyContent<\/codeVoice>, and your IdentifierValue<\/codeVoice> was UUID<\/codeVoice>, this variable will provide an Identifier<MyContent, UUID><\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 596, - "key.doc.name" : "Identifier", - "key.doc.type" : "Other", - "key.doclength" : 226, - "key.docoffset" : 22864, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> Identifier<\/decl.name> = ListableUI.Identifier<\/ref.class><Self<\/ref.generic_type_param>, IdentifierValue<\/ref.associatedtype>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 67, - "key.line" : 596, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 23104, - "key.offset" : 23094, - "key.parsed_declaration" : "typealias Identifier = ListableUI.Identifier", - "key.parsed_scope.end" : 596, - "key.parsed_scope.start" : 596, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$s10ListableUI10IdentifierCyx0C5ValueQzGmD", - "key.usr" : "s:10ListableUI11ItemContentPAAE10Identifiera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var identifier: Identifier<\/Type> { get }<\/Declaration>", - "key.bodylength" : 57, - "key.bodyoffset" : 23425, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `Identifier` for the item.\n\nFor example, if your ``ItemContent`` was `MyContent`, and your `IdentifierValue` was `UUID`,\nthis variable will provide an `Identifier`.\n", - "key.doc.column" : 9, - "key.doc.comment" : "The `Identifier` for the item.\n\nFor example, if your ``ItemContent`` was `MyContent`, and your `IdentifierValue` was `UUID`,\nthis variable will provide an `Identifier`.", - "key.doc.declaration" : "var identifier: Identifier { get }", - "key.doc.discussion" : [ - { - "Para" : "For example, if your `ItemContent` was `MyContent`, and your `IdentifierValue` was `UUID`, this variable will provide an `Identifier`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "identifier<\/Name>s:10ListableUI11ItemContentPAAE10identifierAA10IdentifierCyx0F5ValueQzGvp<\/USR>var identifier: Identifier { get }<\/Declaration>The Identifier<\/codeVoice> for the item.<\/Para><\/Abstract>For example, if your ItemContent<\/codeVoice> was MyContent<\/codeVoice>, and your IdentifierValue<\/codeVoice> was UUID<\/codeVoice>, this variable will provide an Identifier<MyContent, UUID><\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 603, - "key.doc.name" : "identifier", - "key.doc.type" : "Other", - "key.doclength" : 221, - "key.docoffset" : 23171, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 87, - "key.line" : 603, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 23400, - "key.offset" : 23396, - "key.parsed_declaration" : "var identifier : Identifier", - "key.parsed_scope.end" : 605, - "key.parsed_scope.start" : 603, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier", - "key.typeusr" : "$s10ListableUI10IdentifierCyx0C5ValueQzGD", - "key.usr" : "s:10ListableUI11ItemContentPAAE10identifierAA10IdentifierCyx0F5ValueQzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func identifier(with value: IdentifierValue<\/Type>) -> Identifier<\/Type><\/Declaration>", - "key.bodylength" : 31, - "key.bodyoffset" : 24117, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates an ``Identifier`` with the provided value.\n\nThis method allows creating an ``Identifier`` in a type safe manner; enforcing that the\n`Represented` and `Value` parameters are of the correct type for the ``ItemContent``:\n```\nMyItem.identifier(with: \"my-id\") \/\/ ✅ OK\nMyItem.identifier(with: 1) \/\/ 🚫 Error: MyItem's IdentifierValue is String.\n```\nYou can also read the identifier via ``ItemContent\/identifier``, ``Item\/identifier`` or ``AnyItem\/anyIdentifier``.\n", - "key.doc.column" : 17, - "key.doc.comment" : "Creates an ``Identifier`` with the provided value.\n\nThis method allows creating an ``Identifier`` in a type safe manner; enforcing that the\n`Represented` and `Value` parameters are of the correct type for the ``ItemContent``:\n```\nMyItem.identifier(with: \"my-id\") \/\/ ✅ OK\nMyItem.identifier(with: 1) \/\/ 🚫 Error: MyItem's IdentifierValue is String.\n```\nYou can also read the identifier via ``ItemContent\/identifier``, ``Item\/identifier`` or ``AnyItem\/anyIdentifier``.", - "key.doc.declaration" : "static func identifier(with value: IdentifierValue) -> Identifier", - "key.doc.discussion" : [ - { - "Para" : "This method allows creating an `Identifier` in a type safe manner; enforcing that the `Represented` and `Value` parameters are of the correct type for the `ItemContent`:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can also read the identifier via `ItemContent\/identifier`, `Item\/identifier` or `AnyItem\/anyIdentifier`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "identifier(with:)<\/Name>s:10ListableUI11ItemContentPAAE10identifier4withAA10IdentifierCyx0G5ValueQzGAI_tFZ<\/USR>static func identifier(with value: IdentifierValue) -> Identifier<\/Declaration>Creates an Identifier<\/codeVoice> with the provided value.<\/Para><\/Abstract>This method allows creating an Identifier<\/codeVoice> in a type safe manner; enforcing that the Represented<\/codeVoice> and Value<\/codeVoice> parameters are of the correct type for the ItemContent<\/codeVoice>:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can also read the identifier via ItemContent\/identifier<\/codeVoice>, Item\/identifier<\/codeVoice> or AnyItem\/anyIdentifier<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 617, - "key.doc.name" : "identifier(with:)", - "key.doc.type" : "Function", - "key.doclength" : 552, - "key.docoffset" : 23493, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> identifier<\/decl.name>(with<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: IdentifierValue<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 100, - "key.line" : 617, - "key.modulename" : "ListableUI", - "key.name" : "identifier(with:)", - "key.namelength" : 40, - "key.nameoffset" : 24061, - "key.offset" : 24049, - "key.parsed_declaration" : "static func identifier(with value : IdentifierValue) -> Identifier", - "key.parsed_scope.end" : 619, - "key.parsed_scope.start" : 617, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (Self.IdentifierValue) -> Identifier", - "key.typeusr" : "$s4with10ListableUI10IdentifierCyx0D5ValueQzGAF_tcD", - "key.usr" : "s:10ListableUI11ItemContentPAAE10identifier4withAA10IdentifierCyx0G5ValueQzGAI_tFZ" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24268 - } - ], - "key.bodylength" : 58, - "key.bodyoffset" : 24322, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provides a default implementation of `identifierValue` when self conforms to Swift's `Identifiable` protocol.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 114, - "key.docoffset" : 24154, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 106, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 24285, - "key.offset" : 24275, - "key.parsed_declaration" : "public extension ItemContent where Self:Identifiable", - "key.parsed_scope.end" : 629, - "key.parsed_scope.start" : 624, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var identifierValue: ID<\/Type> { get }<\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 24357, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifierValue<\/decl.name>: ID<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 626, - "key.modulename" : "ListableUI", - "key.name" : "identifierValue", - "key.namelength" : 15, - "key.nameoffset" : 24335, - "key.offset" : 24331, - "key.parsed_declaration" : "var identifierValue : ID", - "key.parsed_scope.end" : 628, - "key.parsed_scope.start" : 626, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "identifierValue<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.ID", - "key.typeusr" : "$s2IDs12IdentifiablePQzD", - "key.usr" : "s:10ListableUI11ItemContentPAAs12IdentifiableRzrlE15identifierValue2IDsADPQzvp" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24453 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 24483, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Implement `wasMoved` in terms of `isEquivalent(to:)` by default.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 69, - "key.docoffset" : 24384, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 141, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 24470, - "key.offset" : 24460, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 639, - "key.parsed_scope.start" : 633, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasMoved(comparedTo other: Self<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 58, - "key.bodyoffset" : 24540, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used by the list view to determine move events during an update's diff operation.\n\nThis function should return `true` if the content's sort changed based on the old value passed into the function.\nFor example, if your content is sorted based on an `updatedAt` `Date` parameter, you would implement\nthis method as follows:\n```swift\nfunc wasMoved(comparedTo other : MyContent) -> Bool {\n self.updatedAt != other.updatedAt\n}\n```\n\n#### Note\nThere is a default implementation of this method which calls `isEquivalent == false`. Unless\nyour list has an extremely high amount of ordering churn, you should not need to implement this method.\n", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasMoved(comparedTo other: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "This function should return `true` if the content’s sort changed based on the old value passed into the function. For example, if your content is sorted based on an `updatedAt` `Date` parameter, you would implement this method as follows:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "There is a default implementation of this method which calls `isEquivalent == false`. Unless your list has an extremely high amount of ordering churn, you should not need to implement this method." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "wasMoved(comparedTo:)<\/Name>s:10ListableUI11ItemContentP8wasMoved10comparedToSbx_tF<\/USR>func wasMoved(comparedTo other: Self) -> Bool<\/Declaration>Used by the list view to determine move events during an update’s diff operation.<\/Para><\/Abstract>This function should return true<\/codeVoice> if the content’s sort changed based on the old value passed into the function. For example, if your content is sorted based on an updatedAt<\/codeVoice> Date<\/codeVoice> parameter, you would implement this method as follows:<\/Para> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>There is a default implementation of this method which calls isEquivalent == false<\/codeVoice>. Unless your list has an extremely high amount of ordering churn, you should not need to implement this method.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 315, - "key.doc.name" : "wasMoved(comparedTo:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasMoved<\/decl.name>(comparedTo<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 111, - "key.line" : 635, - "key.modulename" : "ListableUI", - "key.name" : "wasMoved(comparedTo:)", - "key.namelength" : 33, - "key.nameoffset" : 24493, - "key.offset" : 24488, - "key.parsed_declaration" : "func wasMoved(comparedTo other : Self) -> Bool", - "key.parsed_scope.end" : 638, - "key.parsed_scope.start" : 635, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasMoved(comparedTo: Self) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Self) -> Bool", - "key.typeusr" : "$s10comparedToSbx_tcD", - "key.usr" : "s:10ListableUI11ItemContentP8wasMoved10comparedToSbx_tF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24694 - } - ], - "key.bodylength" : 81, - "key.bodyoffset" : 24724, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a default implementation of `reappliesToVisibleView` which returns `.always`.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 90, - "key.docoffset" : 24604, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 105, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 24711, - "key.offset" : 24701, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 648, - "key.parsed_scope.start" : 643, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var reappliesToVisibleView: ReappliesToVisibleView<\/Type> { get }<\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 24782, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the `ItemContent` is on screen, controls how and when to apply updates\nto the view.\n\nDefaults to ``ReappliesToVisibleView\/always``.\n\nSee ``ReappliesToVisibleView`` for a full discussion.", - "key.doc.column" : 9, - "key.doc.declaration" : "var reappliesToVisibleView: ReappliesToVisibleView { get }", - "key.doc.discussion" : [ - { - "Para" : "Defaults to `ReappliesToVisibleView\/always`." - }, - { - "Para" : "See `ReappliesToVisibleView` for a full discussion." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "reappliesToVisibleView<\/Name>s:10ListableUI11ItemContentP22reappliesToVisibleViewAA09ReappliesfgH0Ovp<\/USR>var reappliesToVisibleView: ReappliesToVisibleView { get }<\/Declaration>When the ItemContent<\/codeVoice> is on screen, controls how and when to apply updates to the view.<\/Para><\/Abstract>Defaults to ReappliesToVisibleView\/always<\/codeVoice>.<\/Para>See ReappliesToVisibleView<\/codeVoice> for a full discussion.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 350, - "key.doc.name" : "reappliesToVisibleView", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> reappliesToVisibleView<\/decl.name>: ReappliesToVisibleView<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 75, - "key.line" : 645, - "key.modulename" : "ListableUI", - "key.name" : "reappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 24733, - "key.offset" : 24729, - "key.parsed_declaration" : "var reappliesToVisibleView : ReappliesToVisibleView", - "key.parsed_scope.end" : 647, - "key.parsed_scope.start" : 645, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "reappliesToVisibleView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ReappliesToVisibleView", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOD", - "key.usr" : "s:10ListableUI11ItemContentP22reappliesToVisibleViewAA09ReappliesfgH0Ovp" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24945 - } - ], - "key.bodylength" : 75, - "key.bodyoffset" : 24975, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a default implementation of `defaultItemProperties` which returns an\nempty instance that does not provide any defaults.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 136, - "key.docoffset" : 24809, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 99, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 24962, - "key.offset" : 24952, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 658, - "key.parsed_scope.start" : 653, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var defaultItemProperties: DefaultProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 25027, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Default values to assign to various properties on the `Item` which wraps\nthis `ItemContent`, if those values are not passed to the `Item` initializer.", - "key.doc.column" : 9, - "key.doc.declaration" : "var defaultItemProperties: DefaultProperties { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "defaultItemProperties<\/Name>s:10ListableUI11ItemContentP07defaultC10PropertiesAA07DefaultcF0VyxGvp<\/USR>var defaultItemProperties: DefaultProperties { get }<\/Declaration>Default values to assign to various properties on the Item<\/codeVoice> which wraps this ItemContent<\/codeVoice>, if those values are not passed to the Item<\/codeVoice> initializer.<\/Para><\/Abstract>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 326, - "key.doc.name" : "defaultItemProperties", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> defaultItemProperties<\/decl.name>: DefaultProperties<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 69, - "key.line" : 655, - "key.modulename" : "ListableUI", - "key.name" : "defaultItemProperties", - "key.namelength" : 21, - "key.nameoffset" : 24984, - "key.offset" : 24980, - "key.parsed_declaration" : "var defaultItemProperties : DefaultProperties", - "key.parsed_scope.end" : 657, - "key.parsed_scope.start" : 655, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "defaultItemProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "DefaultItemProperties", - "key.typeusr" : "$s10ListableUI21DefaultItemPropertiesVyxGD", - "key.usr" : "s:10ListableUI11ItemContentP07defaultC10PropertiesAA07DefaultcF0VyxGvp" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 25132 - } - ], - "key.bodylength" : 209, - "key.bodyoffset" : 25219, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provides a default coordinator for items without a specified coordinator.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 78, - "key.docoffset" : 25054, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 290, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 25149, - "key.offset" : 25139, - "key.parsed_declaration" : "public extension ItemContent where Coordinator == DefaultItemContentCoordinator", - "key.parsed_scope.end" : 668, - "key.parsed_scope.start" : 662, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func makeCoordinator(actions: ItemContentCoordinatorActions<\/Type><Self<\/Type>>, info: ItemContentCoordinatorInfo<\/Type><Self<\/Type>>) -> Coordinator<\/Type><\/Declaration>", - "key.bodylength" : 73, - "key.bodyoffset" : 25353, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new coordinator with the provided actions and info.", - "key.doc.column" : 10, - "key.doc.declaration" : "func makeCoordinator(actions: CoordinatorActions, info: CoordinatorInfo) -> Coordinator", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "makeCoordinator(actions:info:)<\/Name>s:10ListableUI11ItemContentP15makeCoordinator7actions4info0F0QzAA0cdF7ActionsCyxG_AA0cdF4InfoCyxGtF<\/USR>func makeCoordinator(actions: CoordinatorActions, info: CoordinatorInfo) -> Coordinator<\/Declaration>Creates a new coordinator with the provided actions and info.<\/Para><\/Abstract>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 470, - "key.doc.name" : "makeCoordinator(actions:info:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> makeCoordinator<\/decl.name>(actions<\/decl.var.parameter.argument_label>: ItemContentCoordinatorActions<\/ref.class><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: ItemContentCoordinatorInfo<\/ref.class><Self<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Coordinator<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 203, - "key.line" : 664, - "key.modulename" : "ListableUI", - "key.name" : "makeCoordinator(actions:info:)", - "key.namelength" : 103, - "key.nameoffset" : 25229, - "key.offset" : 25224, - "key.parsed_declaration" : "func makeCoordinator(actions : ItemContentCoordinatorActions, info : ItemContentCoordinatorInfo) -> Coordinator", - "key.parsed_scope.end" : 667, - "key.parsed_scope.start" : 664, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "makeCoordinator(actions: CoordinatorActions, info: CoordinatorInfo) -> Coordinator<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "> (Self) -> (ItemContentCoordinatorActions, ItemContentCoordinatorInfo) -> Self.Coordinator", - "key.typeusr" : "$s7actions4info10ListableUI29DefaultItemContentCoordinatorCyxGAC0fgH7ActionsCyxG_AC0fgH4InfoCyxGtcD", - "key.usr" : "s:10ListableUI11ItemContentP15makeCoordinator7actions4info0F0QzAA0cdF7ActionsCyxG_AA0cdF4InfoCyxGtF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 25517 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 25547, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provides a default implementation of `ViewProperties` which configure no options.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 86, - "key.docoffset" : 25431, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 141, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 25534, - "key.offset" : 25524, - "key.parsed_declaration" : "public extension ItemContent", - "key.parsed_scope.end" : 676, - "key.parsed_scope.start" : 671, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func contentAreaViewProperties(with info: ApplyItemContentInfo<\/Type>) -> ViewProperties<\/Type><\/Declaration>", - "key.bodylength" : 21, - "key.bodyoffset" : 25641, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the properties to configure on the content area view for the item.", - "key.doc.column" : 10, - "key.doc.declaration" : "func contentAreaViewProperties(with info: ApplyItemContentInfo) -> ViewProperties", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "contentAreaViewProperties(with:)<\/Name>s:10ListableUI11ItemContentP25contentAreaViewProperties4withAA0gH0VAA05ApplycD4InfoV_tF<\/USR>func contentAreaViewProperties(with info: ApplyItemContentInfo) -> ViewProperties<\/Declaration>Describes the properties to configure on the content area view for the item.<\/Para><\/Abstract>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 378, - "key.doc.name" : "contentAreaViewProperties(with:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> contentAreaViewProperties<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: ApplyItemContentInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 106, - "key.line" : 673, - "key.modulename" : "ListableUI", - "key.name" : "contentAreaViewProperties(with:)", - "key.namelength" : 59, - "key.nameoffset" : 25562, - "key.offset" : 25557, - "key.parsed_declaration" : "func contentAreaViewProperties(with info : ApplyItemContentInfo) -> ViewProperties", - "key.parsed_scope.end" : 675, - "key.parsed_scope.start" : 673, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "contentAreaViewProperties(with: ApplyItemContentInfo) -> ViewProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ApplyItemContentInfo) -> ViewProperties", - "key.typeusr" : "$s4with10ListableUI14ViewPropertiesVAB20ApplyItemContentInfoV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP25contentAreaViewProperties4withAA0gH0VAA05ApplycD4InfoV_tF" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 25735 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 25796, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a UIView when no special background view is specified.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 67, - "key.docoffset" : 25668, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 184, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 25752, - "key.offset" : 25742, - "key.parsed_declaration" : "public extension ItemContent where BackgroundView == UIView", - "key.parsed_scope.end" : 686, - "key.parsed_scope.start" : 680, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableBackgroundView(frame: CGRect<\/Type>) -> BackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 25881, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's background.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableBackgroundView(frame: CGRect) -> BackgroundView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ<\/USR>static func createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/Declaration>Create and return a new background view used to render the content’s background.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 400, - "key.doc.name" : "createReusableBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> BackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 123, - "key.line" : 682, - "key.modulename" : "ListableUI", - "key.name" : "createReusableBackgroundView(frame:)", - "key.namelength" : 44, - "key.nameoffset" : 25813, - "key.offset" : 25801, - "key.parsed_declaration" : "static func createReusableBackgroundView(frame : CGRect) -> BackgroundView", - "key.parsed_scope.end" : 685, - "key.parsed_scope.start" : 682, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableBackgroundView(frame: CGRect) -> BackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.BackgroundView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP28createReusableBackgroundView5frame0gH0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26005 - } - ], - "key.bodylength" : 153, - "key.bodyoffset" : 26074, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a UIView when no special selected background view is specified.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 76, - "key.docoffset" : 25929, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 216, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 26022, - "key.offset" : 26012, - "key.parsed_declaration" : "public extension ItemContent where SelectedBackgroundView == UIView", - "key.parsed_scope.end" : 696, - "key.parsed_scope.start" : 690, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableSelectedBackgroundView(frame: CGRect<\/Type>) -> SelectedBackgroundView<\/Type><\/Declaration>", - "key.bodylength" : 50, - "key.bodyoffset" : 26175, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new background view used to render the content's selected background.\n\nThis view is displayed when the content is highlighted or selected.\n\nIf your `BackgroundView` and `SelectedBackgroundView` are the same type, this method\nis provided automatically by calling `createReusableBackgroundView`.\n\nNote\n----\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView", - "key.doc.discussion" : [ - { - "Para" : "This view is displayed when the content is highlighted or selected." - }, - { - "Para" : "If your `BackgroundView` and `SelectedBackgroundView` are the same type, this method is provided automatically by calling `createReusableBackgroundView`." - }, - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableSelectedBackgroundView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView<\/Declaration>Create and return a new background view used to render the content’s selected background.<\/Para><\/Abstract>This view is displayed when the content is highlighted or selected.<\/Para>If your BackgroundView<\/codeVoice> and SelectedBackgroundView<\/codeVoice> are the same type, this method is provided automatically by calling createReusableBackgroundView<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 425, - "key.doc.name" : "createReusableSelectedBackgroundView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableSelectedBackgroundView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> SelectedBackgroundView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 147, - "key.line" : 692, - "key.modulename" : "ListableUI", - "key.name" : "createReusableSelectedBackgroundView(frame:)", - "key.namelength" : 52, - "key.nameoffset" : 26091, - "key.offset" : 26079, - "key.parsed_declaration" : "static func createReusableSelectedBackgroundView(frame : CGRect) -> SelectedBackgroundView", - "key.parsed_scope.end" : 695, - "key.parsed_scope.start" : 692, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableSelectedBackgroundView(frame: CGRect) -> SelectedBackgroundView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.SelectedBackgroundView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableSelectedBackgroundView5frame0ghI0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26306 - } - ], - "key.bodylength" : 150, - "key.bodyoffset" : 26374, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a UIView when no special overlay decoration view is specified.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 75, - "key.docoffset" : 26231, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 212, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 26323, - "key.offset" : 26313, - "key.parsed_declaration" : "public extension ItemContent where OverlayDecorationView == UIView", - "key.parsed_scope.end" : 706, - "key.parsed_scope.start" : 700, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableOverlayDecorationView(frame: CGRect<\/Type>) -> OverlayDecorationView<\/Type><\/Declaration>", - "key.bodylength" : 49, - "key.bodyoffset" : 26473, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new overlay decoration view used to render any required decorations over the content.\nThe decoration view appears above all content, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableOverlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView<\/Declaration>Create and return a new overlay decoration view used to render any required decorations over the content. The decoration view appears above all content, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 445, - "key.doc.name" : "createReusableOverlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableOverlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> OverlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 144, - "key.line" : 702, - "key.modulename" : "ListableUI", - "key.name" : "createReusableOverlayDecorationView(frame:)", - "key.namelength" : 51, - "key.nameoffset" : 26391, - "key.offset" : 26379, - "key.parsed_declaration" : "static func createReusableOverlayDecorationView(frame : CGRect) -> OverlayDecorationView", - "key.parsed_scope.end" : 705, - "key.parsed_scope.start" : 702, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableOverlayDecorationView(frame: CGRect) -> OverlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.OverlayDecorationView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP35createReusableOverlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContent : AnyItemConvertible<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26604 - } - ], - "key.bodylength" : 153, - "key.bodyoffset" : 26673, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `ItemContent` is a type used to provide the content of an `Item` in a list section.\n\nA `ItemContent` that displays text might look like this:\n```swift\nstruct MyItemContent : ItemContent, Equatable\n{\n var text : String\n var id : UUID\n\n var identifierValue: UUID {\n self.id\n }\n\n static func createReusableContentView(frame : CGRect) -> MyContentView {\n MyContentView(frame: frame)\n }\n\n func apply(to views : ItemContentViews, for reason: ApplyReason, with info : ApplyItemContentInfo) {\n views.content.text = self.text\n }\n}\n```\nIf you want to add support for rendering a background view and a selected or highlighted state, you should provide\nboth `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods,\nand apply the desired content in your `apply(to:)` method.\n\nThe ordering of the elements by z-index is as follows:\nz-index 3) `ContentView`\nz-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.)\nz-index 1) `BackgroundView`\n", - "key.doc.column" : 17, - "key.doc.comment" : "Provide a UIView when no special underlay decoration view is specified.", - "key.doc.declaration" : "public protocol ItemContent : ListableUI.AnyItemConvertible", - "key.doc.discussion" : [ - { - "Para" : "A `ItemContent` that displays text might look like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you want to add support for rendering a background view and a selected or highlighted state, you should provide both `createReusableBackgroundView` and `createReusableSelectedBackgroundView` methods, and apply the desired content in your `apply(to:)` method." - }, - { - "Para" : "The ordering of the elements by z-index is as follows: z-index 3) `ContentView` z-index 2) `SelectedBackgroundView` (Only if the item supports a `selectionStyle` and is selected or highlighted.) z-index 1) `BackgroundView`" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "ItemContent<\/Name>s:10ListableUI11ItemContentP<\/USR>public protocol ItemContent : ListableUI.AnyItemConvertible<\/Declaration>An ItemContent<\/codeVoice> is a type used to provide the content of an Item<\/codeVoice> in a list section.<\/Para><\/Abstract>A ItemContent<\/codeVoice> that displays text might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> MyContentView {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>, for reason: ApplyReason, with info : ApplyItemContentInfo) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you want to add support for rendering a background view and a selected or highlighted state, you should provide both createReusableBackgroundView<\/codeVoice> and createReusableSelectedBackgroundView<\/codeVoice> methods, and apply the desired content in your apply(to:)<\/codeVoice> method.<\/Para>The ordering of the elements by z-index is as follows: z-index 3) ContentView<\/codeVoice> z-index 2) SelectedBackgroundView<\/codeVoice> (Only if the item supports a selectionStyle<\/codeVoice> and is selected or highlighted.) z-index 1) BackgroundView<\/codeVoice><\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ItemContent", - "key.doc.type" : "Class", - "key.doclength" : 76, - "key.docoffset" : 26528, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContent<\/decl.name> : AnyItemConvertible<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 216, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ItemContent", - "key.namelength" : 11, - "key.nameoffset" : 26621, - "key.offset" : 26611, - "key.parsed_declaration" : "public extension ItemContent where UnderlayDecorationView == UIView", - "key.parsed_scope.end" : 716, - "key.parsed_scope.start" : 710, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func createReusableUnderlayDecorationView(frame: CGRect<\/Type>) -> UnderlayDecorationView<\/Type><\/Declaration>", - "key.bodylength" : 50, - "key.bodyoffset" : 26774, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create and return a new underlay decoration view used to render any required decorations under the content.\nThe decoration view appears under all content as a background, and is not affected by swipe actions.\n\n## Note\nDo not do configuration in this method that will be changed by your view's theme or appearance – instead\ndo that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes.", - "key.doc.column" : 17, - "key.doc.declaration" : "static func createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView", - "key.doc.discussion" : [ - { - "Para" : "Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in `apply(to:)`, so the appearance will be updated if the appearance of content changes." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.doc.full_as_xml" : "createReusableUnderlayDecorationView(frame:)<\/Name>s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ<\/USR>static func createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView<\/Declaration>Create and return a new underlay decoration view used to render any required decorations under the content. The decoration view appears under all content as a background, and is not affected by swipe actions.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Do not do configuration in this method that will be changed by your view’s theme or appearance – instead do that work in apply(to:)<\/codeVoice>, so the appearance will be updated if the appearance of content changes.<\/Para>This documentation comment was inherited from ItemContent<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 453, - "key.doc.name" : "createReusableUnderlayDecorationView(frame:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createReusableUnderlayDecorationView<\/decl.name>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UnderlayDecorationView<\/ref.associatedtype><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 147, - "key.line" : 712, - "key.modulename" : "ListableUI", - "key.name" : "createReusableUnderlayDecorationView(frame:)", - "key.namelength" : 52, - "key.nameoffset" : 26690, - "key.offset" : 26678, - "key.parsed_declaration" : "static func createReusableUnderlayDecorationView(frame : CGRect) -> UnderlayDecorationView", - "key.parsed_scope.end" : 715, - "key.parsed_scope.start" : 712, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI11ItemContentP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "createReusableUnderlayDecorationView(frame: CGRect) -> UnderlayDecorationView<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (CGRect) -> Self.UnderlayDecorationView", - "key.typeusr" : "$s5frameSo6UIViewCSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI11ItemContentP36createReusableUnderlayDecorationView5frame0ghI0QzSo6CGRectV_tFZ" - } - ], - "key.typename" : "ItemContent.Type", - "key.typeusr" : "$s10ListableUI11ItemContent_pmD", - "key.usr" : "s:10ListableUI11ItemContentP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7261, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContentCoordinator : AnyObject<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1763 - } - ], - "key.bodylength" : 2108, - "key.bodyoffset" : 1815, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type which lets you interactively manage the contents of an `Item` or `ItemContent`\nwithin a list.\n\nEg, you might create a `ItemContentCoordinator` which listens to a\nnotification, and then updates a field on the `Item` or `ItemContent` in response\nto this notification.\n\n`ItemContentCoordinator` is created when an item is being prepared to be presented\non screen for the first time, and lives for as long as the item is present in the list. If you need\nto pull in any changes to the item due to time passing, you can update the item within the\n`wasCreated`callback.\n\nThere are default implementations of all `ItemContentCoordinator` methods. You only\nneed to provide implementations for the methods relevant to you.\n\nExample\n-------\nA simple `ItemContentCoordinator` might look like this:\n\n```\nfinal class MyCoordinator : ItemContentCoordinator\n{\n typealias ItemContentType = MyContentType\n\n let actions: CoordinatorActions\n let info: CoordinatorInfo\n var view : View?\n\n init(actions: CoordinatorActions, info: CoordinatorInfo)\n {\n self.actions = actions\n self.info = info\n\n NotificationCenter.default.addObserver(self, selector: #selector(downloadUpdated(:)), name: .DownloadProgressChanged, object: nil)\n }\n\n @objc func downloadUpdated(notification : Notification)\n {\n self.actions.update {\n $0.content.downloadProgress = notification.userInfo[\"download_progress\"] as! CGFloat\n }\n }\n}\n```\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nA type which lets you interactively manage the contents of an `Item` or `ItemContent`\nwithin a list.\n\nEg, you might create a `ItemContentCoordinator` which listens to a\nnotification, and then updates a field on the `Item` or `ItemContent` in response\nto this notification.\n\n`ItemContentCoordinator` is created when an item is being prepared to be presented\non screen for the first time, and lives for as long as the item is present in the list. If you need\nto pull in any changes to the item due to time passing, you can update the item within the\n`wasCreated`callback.\n\nThere are default implementations of all `ItemContentCoordinator` methods. You only\nneed to provide implementations for the methods relevant to you.\n\nExample\n-------\nA simple `ItemContentCoordinator` might look like this:\n\n```\nfinal class MyCoordinator : ItemContentCoordinator\n{\n typealias ItemContentType = MyContentType\n\n let actions: CoordinatorActions\n let info: CoordinatorInfo\n var view : View?\n\n init(actions: CoordinatorActions, info: CoordinatorInfo)\n {\n self.actions = actions\n self.info = info\n\n NotificationCenter.default.addObserver(self, selector: #selector(downloadUpdated(:)), name: .DownloadProgressChanged, object: nil)\n }\n\n @objc func downloadUpdated(notification : Notification)\n {\n self.actions.update {\n $0.content.downloadProgress = notification.userInfo[\"download_progress\"] as! CGFloat\n }\n }\n}\n```", - "key.doc.declaration" : "public protocol ItemContentCoordinator : AnyObject", - "key.doc.discussion" : [ - { - "Para" : "Eg, you might create a `ItemContentCoordinator` which listens to a notification, and then updates a field on the `Item` or `ItemContent` in response to this notification." - }, - { - "Para" : "`ItemContentCoordinator` is created when an item is being prepared to be presented on screen for the first time, and lives for as long as the item is present in the list. If you need to pull in any changes to the item due to time passing, you can update the item within the `wasCreated`callback." - }, - { - "Para" : "There are default implementations of all `ItemContentCoordinator` methods. You only need to provide implementations for the methods relevant to you." - }, - { - "Para" : "A simple `ItemContentCoordinator` might look like this:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "ItemContentCoordinator<\/Name>s:10ListableUI22ItemContentCoordinatorP<\/USR>public protocol ItemContentCoordinator : AnyObject<\/Declaration>A type which lets you interactively manage the contents of an Item<\/codeVoice> or ItemContent<\/codeVoice> within a list.<\/Para><\/Abstract>Eg, you might create a ItemContentCoordinator<\/codeVoice> which listens to a notification, and then updates a field on the Item<\/codeVoice> or ItemContent<\/codeVoice> in response to this notification.<\/Para>ItemContentCoordinator<\/codeVoice> is created when an item is being prepared to be presented on screen for the first time, and lives for as long as the item is present in the list. If you need to pull in any changes to the item due to time passing, you can update the item within the wasCreated<\/codeVoice>callback.<\/Para>There are default implementations of all ItemContentCoordinator<\/codeVoice> methods. You only need to provide implementations for the methods relevant to you.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML>A simple ItemContentCoordinator<\/codeVoice> might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 57, - "key.doc.name" : "ItemContentCoordinator", - "key.doc.type" : "Class", - "key.doclength" : 1643, - "key.docoffset" : 120, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1804 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContentCoordinator<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 2154, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentCoordinator", - "key.namelength" : 22, - "key.nameoffset" : 1779, - "key.offset" : 1770, - "key.parsed_declaration" : "public protocol ItemContentCoordinator : AnyObject", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype ItemContentType : ItemContent<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of `ItemContent` associated with this coordinator.", - "key.doc.column" : 20, - "key.doc.comment" : "The type of `ItemContent` associated with this coordinator.", - "key.doc.declaration" : "associatedtype ItemContentType : ListableUI.ItemContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "ItemContentType<\/Name>s:10ListableUI22ItemContentCoordinatorP0cD4TypeQa<\/USR>associatedtype ItemContentType : ListableUI.ItemContent<\/Declaration>The type of ItemContent<\/codeVoice> associated with this coordinator.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "ItemContentType", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 1820, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> ItemContentType<\/decl.name> : ItemContent<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 44, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentType", - "key.namelength" : 15, - "key.nameoffset" : 1903, - "key.offset" : 1888, - "key.parsed_declaration" : "associatedtype ItemContentType : ItemContent", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.ItemContentType.Type", - "key.typeusr" : "$s15ItemContentTypeQzmD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP0cD4TypeQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "typealias ItemContentCoordinator<\/Type>.Item = ListableUI.Item<\/Type><ItemContentType<\/Type>><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item associated with the coordinator.", - "key.doc.column" : 15, - "key.doc.comment" : "The item associated with the coordinator.", - "key.doc.declaration" : "typealias ListableUI.ItemContentCoordinator.Item = ListableUI.Item", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI22ItemContentCoordinatorP0C0a<\/USR>typealias ListableUI.ItemContentCoordinator.Item = ListableUI.Item<ItemContentType><\/Declaration>The item associated with the coordinator.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "Item", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 1942, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ItemContentCoordinator<\/ref.protocol>.Item<\/decl.name> = ListableUI.Item<\/ref.struct><ItemContentType<\/ref.associatedtype>><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 49, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 2002, - "key.offset" : 1992, - "key.parsed_declaration" : "typealias Item = ListableUI.Item", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVy0C11ContentTypeQzGmD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP0C0a" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Actions & Info", - "key.offset" : 2054 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var actions: ItemContentType<\/Type>.CoordinatorActions<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2239, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The available actions you can perform on the coordinated `Item`. Eg, updating it to a new value.", - "key.doc.column" : 9, - "key.doc.comment" : "The available actions you can perform on the coordinated `Item`. Eg, updating it to a new value.", - "key.doc.declaration" : "var actions: ItemContentType.CoordinatorActions { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI22ItemContentCoordinatorP7actionsAA0cdE7ActionsCy0cD4TypeQzGvp<\/USR>var actions: ItemContentType.CoordinatorActions { get }<\/Declaration>The available actions you can perform on the coordinated Item<\/codeVoice>. Eg, updating it to a new value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 68, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 101, - "key.docoffset" : 2084, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> actions<\/decl.name>: ItemContentType<\/ref.associatedtype>.CoordinatorActions<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 56, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 2193, - "key.offset" : 2189, - "key.parsed_declaration" : "var actions : ItemContentType.CoordinatorActions", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 68, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorActions", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCy0cD4TypeQzGD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP7actionsAA0cdE7ActionsCy0cD4TypeQzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var info: ItemContentType<\/Type>.CoordinatorInfo<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 2382, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Info about the coordinated `Item`, such as its original and current value.", - "key.doc.column" : 9, - "key.doc.comment" : "Info about the coordinated `Item`, such as its original and current value.", - "key.doc.declaration" : "var info: ItemContentType.CoordinatorInfo { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "info<\/Name>s:10ListableUI22ItemContentCoordinatorP4infoAA0cdE4InfoCy0cD4TypeQzGvp<\/USR>var info: ItemContentType.CoordinatorInfo { get }<\/Declaration>Info about the coordinated Item<\/codeVoice>, such as its original and current value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "info", - "key.doc.type" : "Other", - "key.doclength" : 79, - "key.docoffset" : 2255, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> info<\/decl.name>: ItemContentType<\/ref.associatedtype>.CoordinatorInfo<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 2342, - "key.offset" : 2338, - "key.parsed_declaration" : "var info : ItemContentType.CoordinatorInfo", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorInfo", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCy0cD4TypeQzGD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP4infoAA0cdE4InfoCy0cD4TypeQzGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Instance Lifecycle", - "key.offset" : 2401 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasInserted(_ info: Item<\/Type>.OnInsert<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when it is first created and configured.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked on the coordinator when it is first created and configured.", - "key.doc.declaration" : "func wasInserted(_ info: Item.OnInsert)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasInserted(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP11wasInsertedyyAA0C0V8OnInsertVy0cD4TypeQz_GF<\/USR>func wasInserted(_ info: Item.OnInsert)<\/Declaration>Invoked on the coordinator when it is first created and configured.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 76, - "key.doc.name" : "wasInserted(_:)", - "key.doc.type" : "Function", - "key.doclength" : 72, - "key.docoffset" : 2435, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasInserted<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnInsert<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 40, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "wasInserted(_:)", - "key.namelength" : 35, - "key.nameoffset" : 2516, - "key.offset" : 2511, - "key.parsed_declaration" : "func wasInserted(_ info : Item.OnInsert)", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 76, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasInserted(_: Item.OnInsert)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnInsert) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnInsertVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11wasInsertedyyAA0C0V8OnInsertVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasRemoved(_ info: Item<\/Type>.OnRemove<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when its owned item is removed from the list due to\nthe item, or its entire section, being removed from the list.\n\nNot invoked during deallocation of a list.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked on the coordinator when its owned item is removed from the list due to\nthe item, or its entire section, being removed from the list.\n\nNot invoked during deallocation of a list.", - "key.doc.declaration" : "func wasRemoved(_ info: Item.OnRemove)", - "key.doc.discussion" : [ - { - "Para" : "Not invoked during deallocation of a list." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasRemoved(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP10wasRemovedyyAA0C0V8OnRemoveVy0cD4TypeQz_GF<\/USR>func wasRemoved(_ info: Item.OnRemove)<\/Declaration>Invoked on the coordinator when its owned item is removed from the list due to the item, or its entire section, being removed from the list.<\/Para><\/Abstract>Not invoked during deallocation of a list.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 82, - "key.doc.name" : "wasRemoved(_:)", - "key.doc.type" : "Function", - "key.doclength" : 212, - "key.docoffset" : 2561, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasRemoved<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnRemove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 39, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "wasRemoved(_:)", - "key.namelength" : 34, - "key.nameoffset" : 2782, - "key.offset" : 2777, - "key.parsed_declaration" : "func wasRemoved(_ info : Item.OnRemove)", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasRemoved(_: Item.OnRemove)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnRemove) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnRemoveVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP10wasRemovedyyAA0C0V8OnRemoveVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasMoved(_ info: Item<\/Type>.OnMove<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when its owned item is moved inside a list due to its\norder changing.\n\nNot invoked when an item is manually re-ordered by a user.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked on the coordinator when its owned item is moved inside a list due to its\norder changing.\n\nNot invoked when an item is manually re-ordered by a user.", - "key.doc.declaration" : "func wasMoved(_ info: Item.OnMove)", - "key.doc.discussion" : [ - { - "Para" : "Not invoked when an item is manually re-ordered by a user." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasMoved(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP8wasMovedyyAA0C0V6OnMoveVy0cD4TypeQz_GF<\/USR>func wasMoved(_ info: Item.OnMove)<\/Declaration>Invoked on the coordinator when its owned item is moved inside a list due to its order changing.<\/Para><\/Abstract>Not invoked when an item is manually re-ordered by a user.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 88, - "key.doc.name" : "wasMoved(_:)", - "key.doc.type" : "Function", - "key.doclength" : 184, - "key.docoffset" : 2826, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasMoved<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnMove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 35, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "wasMoved(_:)", - "key.namelength" : 30, - "key.nameoffset" : 3019, - "key.offset" : 3014, - "key.parsed_declaration" : "func wasMoved(_ info : Item.OnMove)", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 88, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasMoved(_: Item.OnMove)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnMove) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV6OnMoveVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP8wasMovedyyAA0C0V6OnMoveVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasUpdated(_ info: Item<\/Type>.OnUpdate<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when an external update is pushed onto the owned `Item`.\nThis happens when the developer updates the content of the list, and the item is\nreported as changed via its `isEquivalent(to:)` method.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked on the coordinator when an external update is pushed onto the owned `Item`.\nThis happens when the developer updates the content of the list, and the item is\nreported as changed via its `isEquivalent(to:)` method.", - "key.doc.declaration" : "func wasUpdated(_ info: Item.OnUpdate)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasUpdated(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP10wasUpdatedyyAA0C0V8OnUpdateVy0cD4TypeQz_GF<\/USR>func wasUpdated(_ info: Item.OnUpdate)<\/Declaration>Invoked on the coordinator when an external update is pushed onto the owned Item<\/codeVoice>. This happens when the developer updates the content of the list, and the item is reported as changed via its isEquivalent(to:)<\/codeVoice> method.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 93, - "key.doc.name" : "wasUpdated(_:)", - "key.doc.type" : "Function", - "key.doclength" : 241, - "key.docoffset" : 3059, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasUpdated<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnUpdate<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 39, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "wasUpdated(_:)", - "key.namelength" : 34, - "key.nameoffset" : 3309, - "key.offset" : 3304, - "key.parsed_declaration" : "func wasUpdated(_ info : Item.OnUpdate)", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasUpdated(_: Item.OnUpdate)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnUpdate) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnUpdateVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP10wasUpdatedyyAA0C0V8OnUpdateVy0cD4TypeQz_GF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 33, - "key.name" : "MARK: Visibility & View Lifecycle", - "key.offset" : 3356 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func willDisplay()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the list is about to begin displaying the item with the given view.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked when the list is about to begin displaying the item with the given view.", - "key.doc.declaration" : "func willDisplay()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "willDisplay()<\/Name>s:10ListableUI22ItemContentCoordinatorP11willDisplayyyF<\/USR>func willDisplay()<\/Declaration>Invoked when the list is about to begin displaying the item with the given view.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 98, - "key.doc.name" : "willDisplay()", - "key.doc.type" : "Function", - "key.doclength" : 85, - "key.docoffset" : 3395, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> willDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 18, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "willDisplay()", - "key.namelength" : 13, - "key.nameoffset" : 3489, - "key.offset" : 3484, - "key.parsed_declaration" : "func willDisplay()", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "willDisplay()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11willDisplayyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func didEndDisplay()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the list is about to complete displaying the item with the given view.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked when the list is about to complete displaying the item with the given view.", - "key.doc.declaration" : "func didEndDisplay()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "didEndDisplay()<\/Name>s:10ListableUI22ItemContentCoordinatorP13didEndDisplayyyF<\/USR>func didEndDisplay()<\/Declaration>Invoked when the list is about to complete displaying the item with the given view.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 101, - "key.doc.name" : "didEndDisplay()", - "key.doc.type" : "Function", - "key.doclength" : 88, - "key.docoffset" : 3508, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> didEndDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 20, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "didEndDisplay()", - "key.namelength" : 15, - "key.nameoffset" : 3605, - "key.offset" : 3600, - "key.parsed_declaration" : "func didEndDisplay()", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "didEndDisplay()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP13didEndDisplayyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 37, - "key.name" : "MARK: Selection & Highlight Lifecycle", - "key.offset" : 3633 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasSelected()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the item is selected, via either user interaction or the `selectionStyle`.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked when the item is selected, via either user interaction or the `selectionStyle`.", - "key.doc.declaration" : "func wasSelected()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasSelected()<\/Name>s:10ListableUI22ItemContentCoordinatorP11wasSelectedyyF<\/USR>func wasSelected()<\/Declaration>Invoked when the item is selected, via either user interaction or the selectionStyle<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 106, - "key.doc.name" : "wasSelected()", - "key.doc.type" : "Function", - "key.doclength" : 92, - "key.docoffset" : 3680, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasSelected<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 18, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "wasSelected()", - "key.namelength" : 13, - "key.nameoffset" : 3781, - "key.offset" : 3776, - "key.parsed_declaration" : "func wasSelected()", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 106, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasSelected()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11wasSelectedyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasDeselected()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the item is deselected, via either user interaction or the `selectionStyle`.", - "key.doc.column" : 10, - "key.doc.comment" : "Invoked when the item is deselected, via either user interaction or the `selectionStyle`.", - "key.doc.declaration" : "func wasDeselected()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasDeselected()<\/Name>s:10ListableUI22ItemContentCoordinatorP13wasDeselectedyyF<\/USR>func wasDeselected()<\/Declaration>Invoked when the item is deselected, via either user interaction or the selectionStyle<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 109, - "key.doc.name" : "wasDeselected()", - "key.doc.type" : "Function", - "key.doclength" : 94, - "key.docoffset" : 3804, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasDeselected<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 20, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "wasDeselected()", - "key.namelength" : 15, - "key.nameoffset" : 3907, - "key.offset" : 3902, - "key.parsed_declaration" : "func wasDeselected()", - "key.parsed_scope.end" : 109, - "key.parsed_scope.start" : 109, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasDeselected()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP13wasDeselectedyyF" - } - ], - "key.typename" : "ItemContentCoordinator.Type", - "key.typeusr" : "$s10ListableUI22ItemContentCoordinator_pmD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemContentCoordinator : AnyObject<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3927 - } - ], - "key.bodylength" : 455, - "key.bodyoffset" : 3968, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A type which lets you interactively manage the contents of an `Item` or `ItemContent`\nwithin a list.\n\nEg, you might create a `ItemContentCoordinator` which listens to a\nnotification, and then updates a field on the `Item` or `ItemContent` in response\nto this notification.\n\n`ItemContentCoordinator` is created when an item is being prepared to be presented\non screen for the first time, and lives for as long as the item is present in the list. If you need\nto pull in any changes to the item due to time passing, you can update the item within the\n`wasCreated`callback.\n\nThere are default implementations of all `ItemContentCoordinator` methods. You only\nneed to provide implementations for the methods relevant to you.\n\nExample\n-------\nA simple `ItemContentCoordinator` might look like this:\n\n```\nfinal class MyCoordinator : ItemContentCoordinator\n{\n typealias ItemContentType = MyContentType\n\n let actions: CoordinatorActions\n let info: CoordinatorInfo\n var view : View?\n\n init(actions: CoordinatorActions, info: CoordinatorInfo)\n {\n self.actions = actions\n self.info = info\n\n NotificationCenter.default.addObserver(self, selector: #selector(downloadUpdated(:)), name: .DownloadProgressChanged, object: nil)\n }\n\n @objc func downloadUpdated(notification : Notification)\n {\n self.actions.update {\n $0.content.downloadProgress = notification.userInfo[\"download_progress\"] as! CGFloat\n }\n }\n}\n```\n", - "key.doc.column" : 17, - "key.doc.declaration" : "public protocol ItemContentCoordinator : AnyObject", - "key.doc.discussion" : [ - { - "Para" : "Eg, you might create a `ItemContentCoordinator` which listens to a notification, and then updates a field on the `Item` or `ItemContent` in response to this notification." - }, - { - "Para" : "`ItemContentCoordinator` is created when an item is being prepared to be presented on screen for the first time, and lives for as long as the item is present in the list. If you need to pull in any changes to the item due to time passing, you can update the item within the `wasCreated`callback." - }, - { - "Para" : "There are default implementations of all `ItemContentCoordinator` methods. You only need to provide implementations for the methods relevant to you." - }, - { - "Para" : "A simple `ItemContentCoordinator` might look like this:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "ItemContentCoordinator<\/Name>s:10ListableUI22ItemContentCoordinatorP<\/USR>public protocol ItemContentCoordinator : AnyObject<\/Declaration>A type which lets you interactively manage the contents of an Item<\/codeVoice> or ItemContent<\/codeVoice> within a list.<\/Para><\/Abstract>Eg, you might create a ItemContentCoordinator<\/codeVoice> which listens to a notification, and then updates a field on the Item<\/codeVoice> or ItemContent<\/codeVoice> in response to this notification.<\/Para>ItemContentCoordinator<\/codeVoice> is created when an item is being prepared to be presented on screen for the first time, and lives for as long as the item is present in the list. If you need to pull in any changes to the item due to time passing, you can update the item within the wasCreated<\/codeVoice>callback.<\/Para>There are default implementations of all ItemContentCoordinator<\/codeVoice> methods. You only need to provide implementations for the methods relevant to you.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML>A simple ItemContentCoordinator<\/codeVoice> might look like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 57, - "key.doc.name" : "ItemContentCoordinator", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemContentCoordinator<\/decl.name> : AnyObject<\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 490, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentCoordinator", - "key.namelength" : 22, - "key.nameoffset" : 3944, - "key.offset" : 3934, - "key.parsed_declaration" : "public extension ItemContentCoordinator", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Instance Lifecycle", - "key.offset" : 3976 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasInserted(_ info: Item<\/Type>.OnInsert<\/Type>)<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4052, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when it is first created and configured.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasInserted(_ info: Item.OnInsert)", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasInserted(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP11wasInsertedyyAA0C0V8OnInsertVy0cD4TypeQz_GF<\/USR>func wasInserted(_ info: Item.OnInsert)<\/Declaration>Invoked on the coordinator when it is first created and configured.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 76, - "key.doc.name" : "wasInserted(_:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasInserted<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnInsert<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 43, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "wasInserted(_:)", - "key.namelength" : 35, - "key.nameoffset" : 4015, - "key.offset" : 4010, - "key.parsed_declaration" : "func wasInserted(_ info : Item.OnInsert)", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 117, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasInserted(_: Item.OnInsert)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnInsert) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnInsertVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11wasInsertedyyAA0C0V8OnInsertVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasRemoved(_ info: Item<\/Type>.OnRemove<\/Type>)<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4104, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when its owned item is removed from the list due to\nthe item, or its entire section, being removed from the list.\n\nNot invoked during deallocation of a list.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasRemoved(_ info: Item.OnRemove)", - "key.doc.discussion" : [ - { - "Para" : "Not invoked during deallocation of a list." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasRemoved(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP10wasRemovedyyAA0C0V8OnRemoveVy0cD4TypeQz_GF<\/USR>func wasRemoved(_ info: Item.OnRemove)<\/Declaration>Invoked on the coordinator when its owned item is removed from the list due to the item, or its entire section, being removed from the list.<\/Para><\/Abstract>Not invoked during deallocation of a list.<\/Para>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 82, - "key.doc.name" : "wasRemoved(_:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasRemoved<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnRemove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 42, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "wasRemoved(_:)", - "key.namelength" : 34, - "key.nameoffset" : 4068, - "key.offset" : 4063, - "key.parsed_declaration" : "func wasRemoved(_ info : Item.OnRemove)", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasRemoved(_: Item.OnRemove)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnRemove) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnRemoveVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP10wasRemovedyyAA0C0V8OnRemoveVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasMoved(_ info: Item<\/Type>.OnMove<\/Type>)<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4152, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when its owned item is moved inside a list due to its\norder changing.\n\nNot invoked when an item is manually re-ordered by a user.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasMoved(_ info: Item.OnMove)", - "key.doc.discussion" : [ - { - "Para" : "Not invoked when an item is manually re-ordered by a user." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasMoved(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP8wasMovedyyAA0C0V6OnMoveVy0cD4TypeQz_GF<\/USR>func wasMoved(_ info: Item.OnMove)<\/Declaration>Invoked on the coordinator when its owned item is moved inside a list due to its order changing.<\/Para><\/Abstract>Not invoked when an item is manually re-ordered by a user.<\/Para>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 88, - "key.doc.name" : "wasMoved(_:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasMoved<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnMove<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "wasMoved(_:)", - "key.namelength" : 30, - "key.nameoffset" : 4120, - "key.offset" : 4115, - "key.parsed_declaration" : "func wasMoved(_ info : Item.OnMove)", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasMoved(_: Item.OnMove)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnMove) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV6OnMoveVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP8wasMovedyyAA0C0V6OnMoveVy0cD4TypeQz_GF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasUpdated(_ info: Item<\/Type>.OnUpdate<\/Type>)<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4204, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked on the coordinator when an external update is pushed onto the owned `Item`.\nThis happens when the developer updates the content of the list, and the item is\nreported as changed via its `isEquivalent(to:)` method.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasUpdated(_ info: Item.OnUpdate)", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasUpdated(_:)<\/Name>s:10ListableUI22ItemContentCoordinatorP10wasUpdatedyyAA0C0V8OnUpdateVy0cD4TypeQz_GF<\/USR>func wasUpdated(_ info: Item.OnUpdate)<\/Declaration>Invoked on the coordinator when an external update is pushed onto the owned Item<\/codeVoice>. This happens when the developer updates the content of the list, and the item is reported as changed via its isEquivalent(to:)<\/codeVoice> method.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 93, - "key.doc.name" : "wasUpdated(_:)", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasUpdated<\/decl.name>(_<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: Item<\/ref.typealias>.OnUpdate<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 42, - "key.line" : 123, - "key.modulename" : "ListableUI", - "key.name" : "wasUpdated(_:)", - "key.namelength" : 34, - "key.nameoffset" : 4168, - "key.offset" : 4163, - "key.parsed_declaration" : "func wasUpdated(_ info : Item.OnUpdate)", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 123, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasUpdated(_: Item.OnUpdate)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Item.OnUpdate) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemV8OnUpdateVy0C11ContentTypeQz_GcD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP10wasUpdatedyyAA0C0V8OnUpdateVy0cD4TypeQz_GF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: Visibility Lifecycle", - "key.offset" : 4218 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func willDisplay()<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4278, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the list is about to begin displaying the item with the given view.", - "key.doc.column" : 10, - "key.doc.declaration" : "func willDisplay()", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "willDisplay()<\/Name>s:10ListableUI22ItemContentCoordinatorP11willDisplayyyF<\/USR>func willDisplay()<\/Declaration>Invoked when the list is about to begin displaying the item with the given view.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 98, - "key.doc.name" : "willDisplay()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> willDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 21, - "key.line" : 127, - "key.modulename" : "ListableUI", - "key.name" : "willDisplay()", - "key.namelength" : 13, - "key.nameoffset" : 4263, - "key.offset" : 4258, - "key.parsed_declaration" : "func willDisplay()", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 127, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "willDisplay()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11willDisplayyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func didEndDisplay()<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4307, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the list is about to complete displaying the item with the given view.", - "key.doc.column" : 10, - "key.doc.declaration" : "func didEndDisplay()", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "didEndDisplay()<\/Name>s:10ListableUI22ItemContentCoordinatorP13didEndDisplayyyF<\/USR>func didEndDisplay()<\/Declaration>Invoked when the list is about to complete displaying the item with the given view.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 101, - "key.doc.name" : "didEndDisplay()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> didEndDisplay<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 23, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "didEndDisplay()", - "key.namelength" : 15, - "key.nameoffset" : 4290, - "key.offset" : 4285, - "key.parsed_declaration" : "func didEndDisplay()", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "didEndDisplay()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP13didEndDisplayyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 37, - "key.name" : "MARK: Selection & Highlight Lifecycle", - "key.offset" : 4321 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasSelected()<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4388, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the item is selected, via either user interaction or the `selectionStyle`.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasSelected()", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasSelected()<\/Name>s:10ListableUI22ItemContentCoordinatorP11wasSelectedyyF<\/USR>func wasSelected()<\/Declaration>Invoked when the item is selected, via either user interaction or the selectionStyle<\/codeVoice>.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 106, - "key.doc.name" : "wasSelected()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasSelected<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 21, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "wasSelected()", - "key.namelength" : 13, - "key.nameoffset" : 4373, - "key.offset" : 4368, - "key.parsed_declaration" : "func wasSelected()", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 133, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasSelected()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP11wasSelectedyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func wasDeselected()<\/Declaration>", - "key.bodylength" : 0, - "key.bodyoffset" : 4421, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when the item is deselected, via either user interaction or the `selectionStyle`.", - "key.doc.column" : 10, - "key.doc.declaration" : "func wasDeselected()", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "wasDeselected()<\/Name>s:10ListableUI22ItemContentCoordinatorP13wasDeselectedyyF<\/USR>func wasDeselected()<\/Declaration>Invoked when the item is deselected, via either user interaction or the selectionStyle<\/codeVoice>.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 109, - "key.doc.name" : "wasDeselected()", - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> wasDeselected<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 23, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "wasDeselected()", - "key.namelength" : 15, - "key.nameoffset" : 4404, - "key.offset" : 4399, - "key.parsed_declaration" : "func wasDeselected()", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "wasDeselected()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP13wasDeselectedyyF" - } - ], - "key.typename" : "ItemContentCoordinator.Type", - "key.typeusr" : "$s10ListableUI22ItemContentCoordinator_pmD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ItemContentCoordinatorActions<Content> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 4550 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4543 - } - ], - "key.bodylength" : 1403, - "key.bodyoffset" : 4614, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The available actions you can perform as a coordinator, which are reported back to the list to manage the item.", - "key.doc.column" : 20, - "key.doc.comment" : "The available actions you can perform as a coordinator, which are reported back to the list to manage the item.", - "key.doc.declaration" : "public final class ItemContentCoordinatorActions where Content : ListableUI.ItemContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "ItemContentCoordinatorActions<\/Name>s:10ListableUI29ItemContentCoordinatorActionsC<\/USR>public final class ItemContentCoordinatorActions<Content> where Content : ListableUI.ItemContent<\/Declaration>The available actions you can perform as a coordinator, which are reported back to the list to manage the item.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 140, - "key.doc.name" : "ItemContentCoordinatorActions", - "key.doc.type" : "Class", - "key.doclength" : 116, - "key.docoffset" : 4427, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemContentCoordinatorActions<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1462, - "key.line" : 140, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentCoordinatorActions", - "key.namelength" : 29, - "key.nameoffset" : 4562, - "key.offset" : 4556, - "key.parsed_declaration" : "public final class ItemContentCoordinatorActions", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 50, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 4600 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 140, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 4592, - "key.offset" : 4592, - "key.parsed_declaration" : "public final class ItemContentCoordinatorActionsprivate let currentProvider: () -> Item<\/Type><Content<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4619 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> currentProvider<\/decl.name>: () -> Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "currentProvider", - "key.namelength" : 15, - "key.nameoffset" : 4631, - "key.offset" : 4627, - "key.parsed_declaration" : "private let currentProvider : () -> Item", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.typename" : "() -> Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGycD", - "key.usr" : "s:10ListableUI29ItemContentCoordinatorActionsC15currentProvider33_8F0E9940DA079D8843210E4978EC0DE9LLAA0C0VyxGycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var updateCallback: (Item<\/Type><Content<\/Type>>, ViewAnimation<\/Type>) -> ()<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> updateCallback<\/decl.name>: (Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, ViewAnimation<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 57, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "updateCallback", - "key.namelength" : 14, - "key.nameoffset" : 4677, - "key.offset" : 4673, - "key.parsed_declaration" : "var updateCallback : (Item, ViewAnimation) -> ()", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(Item, ViewAnimation) -> ()", - "key.typeusr" : "$syy10ListableUI4ItemVyxG_AA13ViewAnimationOtcD", - "key.usr" : "s:10ListableUI29ItemContentCoordinatorActionsC14updateCallbackyyAA0C0VyxG_AA13ViewAnimationOtcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(current: @escaping () -> Item<\/Type><Content<\/Type>>, update: @escaping (Item<\/Type><Content<\/Type>>, ViewAnimation<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 81, - "key.bodyoffset" : 4848, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(current<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, update<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, ViewAnimation<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 190, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "init(current:update:)", - "key.namelength" : 102, - "key.nameoffset" : 4740, - "key.offset" : 4740, - "key.parsed_declaration" : "init(current : @escaping () -> Item, update : @escaping (Item, ViewAnimation) -> ())", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemContentCoordinatorActions.Type) -> (@escaping () -> Item, @escaping (Item, ViewAnimation) -> ()) -> ItemContentCoordinatorActions", - "key.typeusr" : "$s7current6update10ListableUI29ItemContentCoordinatorActionsCyxGAC0E0VyxGyc_yAI_AC13ViewAnimationOtctcD", - "key.usr" : "s:10ListableUI29ItemContentCoordinatorActionsC7current6updateACyxGAA0C0VyxGyc_yAI_AA13ViewAnimationOtctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func update(animation: ViewAnimation<\/Type> = .default, after delay: TimeInterval<\/Type> = 0, update: @escaping (inout Item<\/Type><Content<\/Type>>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5421 - } - ], - "key.bodylength" : 428, - "key.bodyoffset" : 5587, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows you to update the displayed item via the provided closure, with an optional\nanimation or delay.\n\nNote that the `update` callback is invoked after the provided `delay`, and\nis passed the value of the `Item` at that point in time.\n\n```\nfunc wasSelected() {\n self.update(animation: .animated(0.15), after: 1.0) { item in\n item.content.myProperty = true\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "\nAllows you to update the displayed item via the provided closure, with an optional\nanimation or delay.\n\nNote that the `update` callback is invoked after the provided `delay`, and\nis passed the value of the `Item` at that point in time.\n\n```\nfunc wasSelected() {\n self.update(animation: .animated(0.15), after: 1.0) { item in\n item.content.myProperty = true\n }\n}\n```", - "key.doc.declaration" : "public func update(animation: ViewAnimation = .default, after delay: TimeInterval = 0, update: @escaping (inout Item) -> ())", - "key.doc.discussion" : [ - { - "Para" : "Note that the `update` callback is invoked after the provided `delay`, and is passed the value of the `Item` at that point in time." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "update(animation:after:update:)<\/Name>s:10ListableUI29ItemContentCoordinatorActionsC6update9animation5afterADyAA13ViewAnimationO_SdyAA0C0VyxGzctF<\/USR>public func update(animation: ViewAnimation = .default, after delay: TimeInterval = 0, update: @escaping (inout Item<Content>) -> ())<\/Declaration>Allows you to update the displayed item via the provided closure, with an optional animation or delay.<\/Para><\/Abstract>Note that the update<\/codeVoice> callback is invoked after the provided delay<\/codeVoice>, and is passed the value of the Item<\/codeVoice> at that point in time.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 165, - "key.doc.name" : "update(animation:after:update:)", - "key.doc.type" : "Function", - "key.doclength" : 481, - "key.docoffset" : 4936, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> update<\/decl.name>(animation<\/decl.var.parameter.argument_label>: ViewAnimation<\/ref.enum><\/decl.var.parameter.type> = .default<\/decl.var.parameter>, after<\/decl.var.parameter.argument_label> delay<\/decl.var.parameter.name>: TimeInterval<\/ref.typealias><\/decl.var.parameter.type> = 0<\/decl.var.parameter>, update<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (inout<\/syntaxtype.keyword> Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 588, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "update(animation:after:update:)", - "key.namelength" : 152, - "key.nameoffset" : 5433, - "key.offset" : 5428, - "key.parsed_declaration" : "public func update(\n animation: ViewAnimation = .default,\n after delay: TimeInterval = 0,\n update : @escaping (inout Item) -> ()\n)", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 165, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemContentCoordinatorActions) -> (ViewAnimation, Double, @escaping (inout Item) -> ()) -> ()", - "key.typeusr" : "$s9animation5after6updatey10ListableUI13ViewAnimationO_SdyAD4ItemVyxGzctcD", - "key.usr" : "s:10ListableUI29ItemContentCoordinatorActionsC6update9animation5afterADyAA13ViewAnimationO_SdyAA0C0VyxGzctF" - } - ], - "key.typename" : "ItemContentCoordinatorActions.Type", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCyxGmD", - "key.usr" : "s:10ListableUI29ItemContentCoordinatorActionsC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ItemContentCoordinatorInfo<Content> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 6094 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6087 - } - ], - "key.bodylength" : 659, - "key.bodyoffset" : 6155, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Information about the current and original state of the item.", - "key.doc.column" : 20, - "key.doc.comment" : "Information about the current and original state of the item.", - "key.doc.declaration" : "public final class ItemContentCoordinatorInfo where Content : ListableUI.ItemContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "ItemContentCoordinatorInfo<\/Name>s:10ListableUI26ItemContentCoordinatorInfoC<\/USR>public final class ItemContentCoordinatorInfo<Content> where Content : ListableUI.ItemContent<\/Declaration>Information about the current and original state of the item.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 188, - "key.doc.name" : "ItemContentCoordinatorInfo", - "key.doc.type" : "Class", - "key.doclength" : 66, - "key.docoffset" : 6021, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemContentCoordinatorInfo<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 715, - "key.line" : 188, - "key.modulename" : "ListableUI", - "key.name" : "ItemContentCoordinatorInfo", - "key.namelength" : 26, - "key.nameoffset" : 6106, - "key.offset" : 6100, - "key.parsed_declaration" : "public final class ItemContentCoordinatorInfo", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 188, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 47, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 6141 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 188, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6133, - "key.offset" : 6133, - "key.parsed_declaration" : "public final class ItemContentCoordinatorInfopublic internal(set) var original: Item<\/Type><Content<\/Type>> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.internal", - "key.length" : 13, - "key.offset" : 6358 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6351 - } - ], - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The original state of the item, as passed to the list.\nThis is property is updated when the list is updated, and the\n`isEquivalent(to:)` reports a change to the item.", - "key.doc.column" : 30, - "key.doc.comment" : "The original state of the item, as passed to the list.\nThis is property is updated when the list is updated, and the\n`isEquivalent(to:)` reports a change to the item.", - "key.doc.declaration" : "public internal(set) var original: Item { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "original<\/Name>s:10ListableUI26ItemContentCoordinatorInfoC8originalAA0C0VyxGvp<\/USR>public internal(set) var original: Item<Content> { get }<\/Declaration>The original state of the item, as passed to the list. This is property is updated when the list is updated, and the isEquivalent(to:)<\/codeVoice> reports a change to the item.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 193, - "key.doc.name" : "original", - "key.doc.type" : "Other", - "key.doclength" : 187, - "key.docoffset" : 6160, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> internal<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> original<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "original", - "key.namelength" : 8, - "key.nameoffset" : 6376, - "key.offset" : 6372, - "key.parsed_declaration" : "public internal(set) var original : Item", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI26ItemContentCoordinatorInfoC8originalAA0C0VyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var current: Item<\/Type><Content<\/Type>> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6507 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 6543, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current value of the item, including changes made\nby the coordinator itself.", - "key.doc.column" : 16, - "key.doc.comment" : "The current value of the item, including changes made\nby the coordinator itself.", - "key.doc.declaration" : "public var current: Item { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "current<\/Name>s:10ListableUI26ItemContentCoordinatorInfoC7currentAA0C0VyxGvp<\/USR>public var current: Item<Content> { get }<\/Declaration>The current value of the item, including changes made by the coordinator itself.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 197, - "key.doc.name" : "current", - "key.doc.type" : "Other", - "key.doclength" : 93, - "key.docoffset" : 6410, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> current<\/decl.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 66, - "key.line" : 197, - "key.modulename" : "ListableUI", - "key.name" : "current", - "key.namelength" : 7, - "key.nameoffset" : 6518, - "key.offset" : 6514, - "key.parsed_declaration" : "public var current : Item", - "key.parsed_scope.end" : 199, - "key.parsed_scope.start" : 197, - "key.reusingastcontext" : false, - "key.typename" : "Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGD", - "key.usr" : "s:10ListableUI26ItemContentCoordinatorInfoC7currentAA0C0VyxGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let currentProvider: () -> Item<\/Type><Content<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6590 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> currentProvider<\/decl.name>: () -> Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 201, - "key.modulename" : "ListableUI", - "key.name" : "currentProvider", - "key.namelength" : 15, - "key.nameoffset" : 6602, - "key.offset" : 6598, - "key.parsed_declaration" : "private let currentProvider : () -> Item", - "key.parsed_scope.end" : 201, - "key.parsed_scope.start" : 201, - "key.reusingastcontext" : false, - "key.typename" : "() -> Item", - "key.typeusr" : "$s10ListableUI4ItemVyxGycD", - "key.usr" : "s:10ListableUI26ItemContentCoordinatorInfoC15currentProvider33_8F0E9940DA079D8843210E4978EC0DE9LLAA0C0VyxGycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(original: Item<\/Type><Content<\/Type>>, current: @escaping () -> Item<\/Type><Content<\/Type>>)<\/Declaration>", - "key.bodylength" : 86, - "key.bodyoffset" : 6726, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(original<\/decl.var.parameter.argument_label>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, current<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 164, - "key.line" : 203, - "key.modulename" : "ListableUI", - "key.name" : "init(original:current:)", - "key.namelength" : 71, - "key.nameoffset" : 6649, - "key.offset" : 6649, - "key.parsed_declaration" : "init(original : Item, current : @escaping () -> Item)", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 203, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ItemContentCoordinatorInfo.Type) -> (Item, @escaping () -> Item) -> ItemContentCoordinatorInfo", - "key.typeusr" : "$s8original7current10ListableUI26ItemContentCoordinatorInfoCyxGAC0E0VyxG_AIyctcD", - "key.usr" : "s:10ListableUI26ItemContentCoordinatorInfoC8original7currentACyxGAA0C0VyxG_AIyctcfc" - } - ], - "key.typename" : "ItemContentCoordinatorInfo.Type", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCyxGmD", - "key.usr" : "s:10ListableUI26ItemContentCoordinatorInfoC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class DefaultItemContentCoordinator<Content> : ItemContentCoordinator<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 6894 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6887 - } - ], - "key.bodylength" : 276, - "key.bodyoffset" : 6983, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default `ItemContentCoordinator`, which performs no actions.", - "key.doc.column" : 20, - "key.doc.comment" : "The default `ItemContentCoordinator`, which performs no actions.", - "key.doc.declaration" : "public final class DefaultItemContentCoordinator : ItemContentCoordinator where Content : ListableUI.ItemContent", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "DefaultItemContentCoordinator<\/Name>s:10ListableUI29DefaultItemContentCoordinatorC<\/USR>public final class DefaultItemContentCoordinator<Content> : ItemContentCoordinator where Content : ListableUI.ItemContent<\/Declaration>The default ItemContentCoordinator<\/codeVoice>, which performs no actions.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 213, - "key.doc.name" : "DefaultItemContentCoordinator", - "key.doc.type" : "Class", - "key.doclength" : 69, - "key.docoffset" : 6818, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 22, - "key.offset" : 6959 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DefaultItemContentCoordinator<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : ItemContentCoordinator<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContentCoordinator" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 360, - "key.line" : 213, - "key.modulename" : "ListableUI", - "key.name" : "DefaultItemContentCoordinator", - "key.namelength" : 29, - "key.nameoffset" : 6906, - "key.offset" : 6900, - "key.parsed_declaration" : "public final class DefaultItemContentCoordinator : ItemContentCoordinator", - "key.parsed_scope.end" : 225, - "key.parsed_scope.start" : 213, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 50, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 6944 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 213, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6936, - "key.offset" : 6936, - "key.parsed_declaration" : "public final class DefaultItemContentCoordinatorpublic let actions: Content<\/Type>.CoordinatorActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6988 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The available actions you can perform on the coordinated `Item`. Eg, updating it to a new value.", - "key.doc.column" : 9, - "key.doc.declaration" : "var actions: ItemContentType.CoordinatorActions { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI22ItemContentCoordinatorP7actionsAA0cdE7ActionsCy0cD4TypeQzGvp<\/USR>var actions: ItemContentType.CoordinatorActions { get }<\/Declaration>The available actions you can perform on the coordinated Item<\/codeVoice>. Eg, updating it to a new value.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 68, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: Content<\/ref.generic_type_param>.CoordinatorActions<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 215, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 6999, - "key.offset" : 6995, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP7actionsAA0cdE7ActionsCy0cD4TypeQzGvp" - } - ], - "key.parsed_declaration" : "public let actions : Content.CoordinatorActions", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 215, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorActions", - "key.typeusr" : "$s10ListableUI29ItemContentCoordinatorActionsCyxGD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP7actionsAA0cdE7ActionsCy0cD4TypeQzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let info: Content<\/Type>.CoordinatorInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7040 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Info about the coordinated `Item`, such as its original and current value.", - "key.doc.column" : 9, - "key.doc.declaration" : "var info: ItemContentType.CoordinatorInfo { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.doc.full_as_xml" : "info<\/Name>s:10ListableUI22ItemContentCoordinatorP4infoAA0cdE4InfoCy0cD4TypeQzGvp<\/USR>var info: ItemContentType.CoordinatorInfo { get }<\/Declaration>Info about the coordinated Item<\/codeVoice>, such as its original and current value.<\/Para><\/Abstract>This documentation comment was inherited from ItemContentCoordinator<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "info", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> info<\/decl.name>: Content<\/ref.generic_type_param>.CoordinatorInfo<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 216, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 7051, - "key.offset" : 7047, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP4infoAA0cdE4InfoCy0cD4TypeQzGvp" - } - ], - "key.parsed_declaration" : "public let info : Content.CoordinatorInfo", - "key.parsed_scope.end" : 216, - "key.parsed_scope.start" : 216, - "key.reusingastcontext" : false, - "key.typename" : "ItemContentCoordinatorInfo", - "key.typeusr" : "$s10ListableUI26ItemContentCoordinatorInfoCyxGD", - "key.usr" : "s:10ListableUI22ItemContentCoordinatorP4infoAA0cdE4InfoCy0cD4TypeQzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal init(actions: Content<\/Type>.CoordinatorActions<\/Type>, info: Content<\/Type>.CoordinatorInfo<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 7091 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 7196, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemContentCoordinator.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(actions<\/decl.var.parameter.argument_label>: Content<\/ref.generic_type_param>.CoordinatorActions<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: Content<\/ref.generic_type_param>.CoordinatorInfo<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 158, - "key.line" : 218, - "key.modulename" : "ListableUI", - "key.name" : "init(actions:info:)", - "key.namelength" : 94, - "key.nameoffset" : 7100, - "key.offset" : 7100, - "key.parsed_declaration" : "internal init(\n actions: Content.CoordinatorActions,\n info: Content.CoordinatorInfo\n)", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 218, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DefaultItemContentCoordinator.Type) -> (ItemContentCoordinatorActions, ItemContentCoordinatorInfo) -> DefaultItemContentCoordinator", - "key.typeusr" : "$s7actions4info10ListableUI29DefaultItemContentCoordinatorCyxGAC0fgH7ActionsCyxG_AC0fgH4InfoCyxGtcD", - "key.usr" : "s:10ListableUI29DefaultItemContentCoordinatorC7actions4infoACyxGAA0deF7ActionsCyxG_AA0deF4InfoCyxGtcfc" - } - ], - "key.typename" : "DefaultItemContentCoordinator.Type", - "key.typeusr" : "$s10ListableUI29DefaultItemContentCoordinatorCyxGmD", - "key.usr" : "s:10ListableUI29DefaultItemContentCoordinatorC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3482, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemInsertAndRemoveAnimations<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 392 - } - ], - "key.bodylength" : 613, - "key.bodyoffset" : 437, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the animations that are displayed when an item is inserted into, or removed from, a list.\n\n### Note\nIf `UIAccessibility.isReduceMotionEnabled` is `true`, animations will fall\nback to a `.fade` style animation when displayed by the list view.", - "key.doc.column" : 15, - "key.doc.comment" : "Controls the animations that are displayed when an item is inserted into, or removed from, a list.\n\n### Note\nIf `UIAccessibility.isReduceMotionEnabled` is `true`, animations will fall\nback to a `.fade` style animation when displayed by the list view.", - "key.doc.declaration" : "public struct ItemInsertAndRemoveAnimations", - "key.doc.discussion" : [ - { - "Para" : "If `UIAccessibility.isReduceMotionEnabled` is `true`, animations will fall back to a `.fade` style animation when displayed by the list view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.doc.full_as_xml" : "ItemInsertAndRemoveAnimations<\/Name>s:10ListableUI29ItemInsertAndRemoveAnimationsV<\/USR>public struct ItemInsertAndRemoveAnimations<\/Declaration>Controls the animations that are displayed when an item is inserted into, or removed from, a list.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>If UIAccessibility.isReduceMotionEnabled<\/codeVoice> is true<\/codeVoice>, animations will fall back to a .fade<\/codeVoice> style animation when displayed by the list view.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 16, - "key.doc.name" : "ItemInsertAndRemoveAnimations", - "key.doc.type" : "Class", - "key.doclength" : 270, - "key.docoffset" : 122, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemInsertAndRemoveAnimations<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 652, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "ItemInsertAndRemoveAnimations", - "key.namelength" : 29, - "key.nameoffset" : 406, - "key.offset" : 399, - "key.parsed_declaration" : "public struct ItemInsertAndRemoveAnimations", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ItemInsertAndRemoveAnimations<\/Type>.Prepare = (inout ListContentLayoutAttributes<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 442 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemInsertAndRemoveAnimations<\/ref.struct>.Prepare<\/decl.name> = (inout<\/syntaxtype.keyword> ListContentLayoutAttributes<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 61, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "Prepare", - "key.namelength" : 7, - "key.nameoffset" : 459, - "key.offset" : 449, - "key.parsed_declaration" : "public typealias Prepare = (inout ListContentLayoutAttributes) -> ()", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "((inout ListContentLayoutAttributes) -> ()).Type", - "key.typeusr" : "$sy10ListableUI27ListContentLayoutAttributesVzcmD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV7Preparea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var name: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 520 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> name<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "name", - "key.namelength" : 4, - "key.nameoffset" : 531, - "key.offset" : 527, - "key.parsed_declaration" : "public var name : String", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV4nameSSvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onInsert: Prepare<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 554 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onInsert<\/decl.name>: Prepare<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "onInsert", - "key.namelength" : 8, - "key.nameoffset" : 565, - "key.offset" : 561, - "key.parsed_declaration" : "public var onInsert : Prepare", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(inout ListContentLayoutAttributes) -> ()", - "key.typeusr" : "$syy10ListableUI27ListContentLayoutAttributesVzcD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV02onD0yyAA27ListContentLayoutAttributesVzcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onRemoval: Prepare<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 588 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onRemoval<\/decl.name>: Prepare<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "onRemoval", - "key.namelength" : 9, - "key.nameoffset" : 599, - "key.offset" : 595, - "key.parsed_declaration" : "public var onRemoval : Prepare", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(inout ListContentLayoutAttributes) -> ()", - "key.typeusr" : "$syy10ListableUI27ListContentLayoutAttributesVzcD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV9onRemovalyyAA27ListContentLayoutAttributesVzcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(name: String<\/Type>, onInsert: @escaping Prepare<\/Type>, onRemoval: @escaping Prepare<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 628 - } - ], - "key.bodylength" : 98, - "key.bodyoffset" : 747, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(name<\/decl.var.parameter.argument_label>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, onInsert<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Prepare<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, onRemoval<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Prepare<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 211, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "init(name:onInsert:onRemoval:)", - "key.namelength" : 110, - "key.nameoffset" : 635, - "key.offset" : 635, - "key.parsed_declaration" : "public init(\n name : String,\n onInsert : @escaping Prepare,\n onRemoval : @escaping Prepare\n)", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 25, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(name:attributes:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemInsertAndRemoveAnimations.Type) -> (String, @escaping (inout ListContentLayoutAttributes) -> (), @escaping (inout ListContentLayoutAttributes) -> ()) -> ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s4name8onInsert0B7Removal10ListableUI04ItemC19AndRemoveAnimationsVSS_yAD27ListContentLayoutAttributesVzcyAHzctcD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV4name02onD00I7RemovalACSS_yAA27ListContentLayoutAttributesVzcyAHzctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(name: String<\/Type>, attributes: @escaping Prepare<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 856 - } - ], - "key.bodylength" : 110, - "key.bodyoffset" : 938, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(name<\/decl.var.parameter.argument_label>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, attributes<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Prepare<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 186, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init(name:attributes:)", - "key.namelength" : 73, - "key.nameoffset" : 863, - "key.offset" : 863, - "key.parsed_declaration" : "public init(\n name : String,\n attributes : @escaping Prepare\n)", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 35, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(name:onInsert:onRemoval:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemInsertAndRemoveAnimations.Type) -> (String, @escaping (inout ListContentLayoutAttributes) -> ()) -> ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s4name10attributes10ListableUI29ItemInsertAndRemoveAnimationsVSS_yAC27ListContentLayoutAttributesVzctcD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV4name10attributesACSS_yAA27ListContentLayoutAttributesVzctcfc" - } - ], - "key.typename" : "ItemInsertAndRemoveAnimations.Type", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVmD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemInsertAndRemoveAnimations<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1054 - } - ], - "key.bodylength" : 2378, - "key.bodyoffset" : 1102, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the animations that are displayed when an item is inserted into, or removed from, a list.\n\n### Note\nIf `UIAccessibility.isReduceMotionEnabled` is `true`, animations will fall\nback to a `.fade` style animation when displayed by the list view.", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ItemInsertAndRemoveAnimations", - "key.doc.discussion" : [ - { - "Para" : "If `UIAccessibility.isReduceMotionEnabled` is `true`, animations will fall back to a `.fade` style animation when displayed by the list view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.doc.full_as_xml" : "ItemInsertAndRemoveAnimations<\/Name>s:10ListableUI29ItemInsertAndRemoveAnimationsV<\/USR>public struct ItemInsertAndRemoveAnimations<\/Declaration>Controls the animations that are displayed when an item is inserted into, or removed from, a list.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>If UIAccessibility.isReduceMotionEnabled<\/codeVoice> is true<\/codeVoice>, animations will fall back to a .fade<\/codeVoice> style animation when displayed by the list view.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 16, - "key.doc.name" : "ItemInsertAndRemoveAnimations", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemInsertAndRemoveAnimations<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2420, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "ItemInsertAndRemoveAnimations", - "key.namelength" : 29, - "key.nameoffset" : 1071, - "key.offset" : 1061, - "key.parsed_declaration" : "public extension ItemInsertAndRemoveAnimations", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var fade: `Self` { get }<\/Declaration>", - "key.bodylength" : 195, - "key.bodyoffset" : 1131, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> fade<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 220, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "fade", - "key.namelength" : 4, - "key.nameoffset" : 1118, - "key.offset" : 1107, - "key.parsed_declaration" : "static var fade : Self", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV4fadeACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var right: `Self` { get }<\/Declaration>", - "key.bodylength" : 300, - "key.bodyoffset" : 1362, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> right<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 326, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "right", - "key.namelength" : 5, - "key.nameoffset" : 1348, - "key.offset" : 1337, - "key.parsed_declaration" : "static var right : Self", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV5rightACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var left: `Self` { get }<\/Declaration>", - "key.bodylength" : 299, - "key.bodyoffset" : 1697, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> left<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 324, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "left", - "key.namelength" : 4, - "key.nameoffset" : 1684, - "key.offset" : 1673, - "key.parsed_declaration" : "static var left : Self", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV4leftACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var top: `Self` { get }<\/Declaration>", - "key.bodylength" : 300, - "key.bodyoffset" : 2030, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> top<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 324, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 2018, - "key.offset" : 2007, - "key.parsed_declaration" : "static var top : Self", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV3topACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var bottom: `Self` { get }<\/Declaration>", - "key.bodylength" : 303, - "key.bodyoffset" : 2367, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bottom<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 330, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 2352, - "key.offset" : 2341, - "key.parsed_declaration" : "static var bottom : Self", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV6bottomACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var scaleDown: `Self` { get }<\/Declaration>", - "key.bodylength" : 366, - "key.bodyoffset" : 2710, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scaleDown<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 396, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "scaleDown", - "key.namelength" : 9, - "key.nameoffset" : 2692, - "key.offset" : 2681, - "key.parsed_declaration" : "static var scaleDown : Self", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV9scaleDownACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var scaleUp: `Self` { get }<\/Declaration>", - "key.bodylength" : 364, - "key.bodyoffset" : 3114, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemInsertAndRemoveAnimations.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scaleUp<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 392, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "scaleUp", - "key.namelength" : 7, - "key.nameoffset" : 3098, - "key.offset" : 3087, - "key.parsed_declaration" : "static var scaleUp : Self", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV7scaleUpACvpZ" - } - ], - "key.typename" : "ItemInsertAndRemoveAnimations.Type", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVmD", - "key.usr" : "s:10ListableUI29ItemInsertAndRemoveAnimationsV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3634, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemLayouts<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1433 - } - ], - "key.bodylength" : 1245, - "key.bodyoffset" : 1460, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`ItemLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your item:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Item` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n\nmyItem.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type, like so:\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\n`ItemLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your item:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Item` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n\nmyItem.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type, like so:\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public struct ItemLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your item:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Item` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `ItemLayouts`, to provide easier access to your layout-specific `ItemLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "ItemLayouts<\/Name>s:10ListableUI11ItemLayoutsV<\/USR>public struct ItemLayouts<\/Declaration>ItemLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your item:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Item<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to ItemLayouts<\/codeVoice>, to provide easier access to your layout-specific ItemLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "ItemLayouts", - "key.doc.type" : "Class", - "key.doclength" : 1324, - "key.docoffset" : 109, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1266, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayouts", - "key.namelength" : 11, - "key.nameoffset" : 1447, - "key.offset" : 1440, - "key.parsed_declaration" : "public struct ItemLayouts", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1602 - } - ], - "key.bodylength" : 70, - "key.bodyoffset" : 1674, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.declaration" : "public init(_ configure: (inout `Self`) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI11ItemLayoutsVyACyACzXEcfc<\/USR>public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>Creates a new instance of the layouts, with an optional configure<\/codeVoice> closure, to allow you to set up styling inline.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 58, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 128, - "key.docoffset" : 1470, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 136, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 63, - "key.nameoffset" : 1609, - "key.offset" : 1609, - "key.parsed_declaration" : "public init(\n _ configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemLayouts.Type) -> ((inout ItemLayouts) -> ()) -> ItemLayouts", - "key.typeusr" : "$sy10ListableUI11ItemLayoutsVyACzXEcD", - "key.usr" : "s:10ListableUI11ItemLayoutsVyACyACzXEcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var storage: ContentLayoutsStorage<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1755 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> storage<\/decl.name>: ContentLayoutsStorage<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 1767, - "key.offset" : 1763, - "key.parsed_declaration" : "private var storage : ContentLayoutsStorage", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ContentLayoutsStorage", - "key.typeusr" : "$s10ListableUI21ContentLayoutsStorageVD", - "key.usr" : "s:10ListableUI11ItemLayoutsV7storage33_72313C9ECF60BD4A9EA46928C34A7FB6LLAA07ContentD7StorageVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<ValueType>(valueType: ValueType<\/Type>.Type) -> ValueType<\/Type> where ValueType<\/Type> : ItemLayoutsValue<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2473 - } - ], - "key.bodylength" : 141, - "key.bodyoffset" : 2562, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows accessing the various `ItemLayoutsValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type.\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 12, - "key.doc.comment" : "Allows accessing the various `ItemLayoutsValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type.\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public subscript(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.ItemLayoutsValue { get set }", - "key.doc.discussion" : [ - { - "Para" : "When implementing your own custom layout, you should add an extension to `ItemLayouts`, to provide easier access to your layout-specific `ItemLayoutsValue` type." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "subscript(_:)<\/Name>s:10ListableUI11ItemLayoutsVyxxmcAA0cD5ValueRzluip<\/USR>public subscript<ValueType>(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.ItemLayoutsValue { get set }<\/Declaration>Allows accessing the various ItemLayoutsValue<\/codeVoice>s stored within the object. This method will return the defaultValue<\/codeVoice> for a value if none is set.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to ItemLayouts<\/codeVoice>, to provide easier access to your layout-specific ItemLayoutsValue<\/codeVoice> type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 84, - "key.doc.name" : "subscript(_:)", - "key.doc.type" : "Other", - "key.doclength" : 661, - "key.docoffset" : 1808, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(valueType<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> ValueType<\/ref.generic_type_param><\/decl.function.returntype> where<\/syntaxtype.keyword> ValueType<\/ref.generic_type_param> : ItemLayoutsValue<\/ref.protocol><\/decl.generic_type_requirement> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 224, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "subscript(_:)", - "key.namelength" : 67, - "key.nameoffset" : 2480, - "key.offset" : 2480, - "key.parsed_declaration" : "public subscript(_ valueType : ValueType.Type) -> ValueType", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.substructure" : [ - { - "key.annotated_decl" : "ValueType : ItemLayoutsValue<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 2500 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "ValueType<\/decl.generic_type_param.name> : ItemLayoutsValue<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 26, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "ValueType", - "key.namelength" : 9, - "key.nameoffset" : 2490, - "key.offset" : 2490, - "key.parsed_declaration" : "public subscript (ValueType.Type) -> ValueType", - "key.typeusr" : "$syxxmc10ListableUI16ItemLayoutsValueRzluD", - "key.usr" : "s:10ListableUI11ItemLayoutsVyxxmcAA0cD5ValueRzluip" - } - ], - "key.typename" : "ItemLayouts.Type", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVmD", - "key.usr" : "s:10ListableUI11ItemLayoutsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ItemLayoutsValue<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3233 - } - ], - "key.bodylength" : 122, - "key.bodyoffset" : 3267, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ItemLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `ItemLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, ItemLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "\nThe `ItemLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `ItemLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, ItemLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.declaration" : "public protocol ItemLayoutsValue", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "ItemLayoutsValue<\/Name>s:10ListableUI16ItemLayoutsValueP<\/USR>public protocol ItemLayoutsValue<\/Declaration>The ItemLayoutsValue<\/codeVoice> protocol provides a default value for the different layouts stored within ItemLayouts<\/codeVoice>. Provide a defaultValue<\/codeVoice> with reasonable defaults, as the developer should not need to set these values at all times when using your layout.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 109, - "key.doc.name" : "ItemLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 524, - "key.docoffset" : 2709, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ItemLayoutsValue<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 150, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayoutsValue", - "key.namelength" : 16, - "key.nameoffset" : 3249, - "key.offset" : 3240, - "key.parsed_declaration" : "public protocol ItemLayoutsValue", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var defaultValue: Self<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3382, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.comment" : "The default value used when accessing the value, if none is set.", - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 3277, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Self<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 38, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3361, - "key.offset" : 3350, - "key.parsed_declaration" : "static var defaultValue : Self", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 112, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI16ItemLayoutsValueP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.typename" : "ItemLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI16ItemLayoutsValue_pmD", - "key.usr" : "s:10ListableUI16ItemLayoutsValueP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct EmptyItemLayoutsValue : ItemLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3462 - } - ], - "key.bodylength" : 114, - "key.bodyoffset" : 3518, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Use this type if you have no `ItemLayout` for your `ListLayout`.", - "key.doc.column" : 15, - "key.doc.comment" : "Use this type if you have no `ItemLayout` for your `ListLayout`.", - "key.doc.declaration" : "public struct EmptyItemLayoutsValue : ItemLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "EmptyItemLayoutsValue<\/Name>s:10ListableUI21EmptyItemLayoutsValueV<\/USR>public struct EmptyItemLayoutsValue : ItemLayoutsValue<\/Declaration>Use this type if you have no ItemLayout<\/codeVoice> for your ListLayout<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 117, - "key.doc.name" : "EmptyItemLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 69, - "key.docoffset" : 3393, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 3500 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> EmptyItemLayoutsValue<\/decl.name> : ItemLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 164, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "EmptyItemLayoutsValue", - "key.namelength" : 21, - "key.nameoffset" : 3476, - "key.offset" : 3469, - "key.parsed_declaration" : "public struct EmptyItemLayoutsValue : ItemLayoutsValue", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3528 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 3543, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 3535, - "key.offset" : 3535, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "(EmptyItemLayoutsValue.Type) -> () -> EmptyItemLayoutsValue", - "key.typeusr" : "$s10ListableUI21EmptyItemLayoutsValueVycD", - "key.usr" : "s:10ListableUI21EmptyItemLayoutsValueVACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: EmptyItemLayoutsValue<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3554 - } - ], - "key.bodylength" : 21, - "key.bodyoffset" : 3609, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from ItemLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: EmptyItemLayoutsValue<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 70, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3572, - "key.offset" : 3561, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue: EmptyItemLayoutsValue", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "EmptyItemLayoutsValue", - "key.typeusr" : "$s10ListableUI21EmptyItemLayoutsValueVD", - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.typename" : "EmptyItemLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI21EmptyItemLayoutsValueVmD", - "key.usr" : "s:10ListableUI21EmptyItemLayoutsValueV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 206, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ItemPosition<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 111 - } - ], - "key.bodylength" : 67, - "key.bodyoffset" : 137, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ItemPosition<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 87, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ItemPosition", - "key.namelength" : 12, - "key.nameoffset" : 123, - "key.offset" : 118, - "key.parsed_declaration" : "public enum ItemPosition", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 142, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case single<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> single<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "single", - "key.namelength" : 6, - "key.nameoffset" : 147, - "key.offset" : 147, - "key.parsed_declaration" : "case single", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "(ItemPosition.Type) -> ItemPosition", - "key.typeusr" : "$sy10ListableUI12ItemPositionOACmcD", - "key.usr" : "s:10ListableUI12ItemPositionO6singleyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 163, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case first<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> first<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "first", - "key.namelength" : 5, - "key.nameoffset" : 168, - "key.offset" : 168, - "key.parsed_declaration" : "case first", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(ItemPosition.Type) -> ItemPosition", - "key.typeusr" : "$sy10ListableUI12ItemPositionOACmcD", - "key.usr" : "s:10ListableUI12ItemPositionO5firstyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 178, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case middle<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> middle<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "middle", - "key.namelength" : 6, - "key.nameoffset" : 183, - "key.offset" : 183, - "key.parsed_declaration" : "case middle", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(ItemPosition.Type) -> ItemPosition", - "key.typeusr" : "$sy10ListableUI12ItemPositionOACmcD", - "key.usr" : "s:10ListableUI12ItemPositionO6middleyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 194, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case last<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> last<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "last", - "key.namelength" : 4, - "key.nameoffset" : 199, - "key.offset" : 199, - "key.parsed_declaration" : "case last", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "(ItemPosition.Type) -> ItemPosition", - "key.typeusr" : "$sy10ListableUI12ItemPositionOACmcD", - "key.usr" : "s:10ListableUI12ItemPositionO4lastyA2CmF" - } - ] - } - ], - "key.typename" : "ItemPosition.Type", - "key.typeusr" : "$s10ListableUI12ItemPositionOmD", - "key.usr" : "s:10ListableUI12ItemPositionO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 10754, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemReordering<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1321 - } - ], - "key.bodylength" : 694, - "key.bodyoffset" : 1351, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides configuration options to control how an ``Item`` can be reordered within a list.\n\nTo enable reordering on your ``Item``, assign the ``Item\/reordering`` property,\nconfigured as you need to control where the item can be reordered to.\n\nIn the example below, we set a ``ItemReordering`` config which allows\nreordering the item within the current section, and when the reorder completes,\na controller is called to update the underlying data model.\n```swift\nitem.reordering = .init(sections: .current)\n\nitem.onWasReordered = { result in\n myController.move(from: result.from, to: result.to)\n}\n```\n\nIf you have many items, providing a ``Item\/onWasReordered-swift.property`` callback for every item can be tedious.\n\nIn these cases, you can instead provide a ``ListStateObserver\/onItemReordered(_:)`` callback,\nwhich receives a ``ListStateObserver\/ItemReordered`` value:\n```swift\nlist.stateObserver.onItemReordered { change in\n myController.move(from: change.result.from, to: change.result.to)\n}\n```\nFrom which you can then read any changes and pass them through to your data model.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nProvides configuration options to control how an ``Item`` can be reordered within a list.\n\nTo enable reordering on your ``Item``, assign the ``Item\/reordering`` property,\nconfigured as you need to control where the item can be reordered to.\n\nIn the example below, we set a ``ItemReordering`` config which allows\nreordering the item within the current section, and when the reorder completes,\na controller is called to update the underlying data model.\n```swift\nitem.reordering = .init(sections: .current)\n\nitem.onWasReordered = { result in\n myController.move(from: result.from, to: result.to)\n}\n```\n\nIf you have many items, providing a ``Item\/onWasReordered-swift.property`` callback for every item can be tedious.\n\nIn these cases, you can instead provide a ``ListStateObserver\/onItemReordered(_:)`` callback,\nwhich receives a ``ListStateObserver\/ItemReordered`` value:\n```swift\nlist.stateObserver.onItemReordered { change in\n myController.move(from: change.result.from, to: change.result.to)\n}\n```\nFrom which you can then read any changes and pass them through to your data model.", - "key.doc.declaration" : "public struct ItemReordering", - "key.doc.discussion" : [ - { - "Para" : "To enable reordering on your `Item`, assign the `Item\/reordering` property, configured as you need to control where the item can be reordered to." - }, - { - "Para" : "In the example below, we set a `ItemReordering` config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you have many items, providing a `Item\/onWasReordered-swift.property` callback for every item can be tedious." - }, - { - "Para" : "In these cases, you can instead provide a `ListStateObserver\/onItemReordered(_:)` callback, which receives a `ListStateObserver\/ItemReordered` value:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "From which you can then read any changes and pass them through to your data model." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "ItemReordering<\/Name>s:10ListableUI14ItemReorderingV<\/USR>public struct ItemReordering<\/Declaration>Provides configuration options to control how an Item<\/codeVoice> can be reordered within a list.<\/Para><\/Abstract>To enable reordering on your Item<\/codeVoice>, assign the Item\/reordering<\/codeVoice> property, configured as you need to control where the item can be reordered to.<\/Para>In the example below, we set a ItemReordering<\/codeVoice> config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you have many items, providing a Item\/onWasReordered-swift.property<\/codeVoice> callback for every item can be tedious.<\/Para>In these cases, you can instead provide a ListStateObserver\/onItemReordered(_:)<\/codeVoice> callback, which receives a ListStateObserver\/ItemReordered<\/codeVoice> value:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>From which you can then read any changes and pass them through to your data model.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ItemReordering", - "key.doc.type" : "Class", - "key.doclength" : 1195, - "key.docoffset" : 126, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemReordering<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 718, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordering", - "key.namelength" : 14, - "key.nameoffset" : 1335, - "key.offset" : 1328, - "key.parsed_declaration" : "public struct ItemReordering", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 37, - "key.name" : "MARK: Controlling Reordering Behavior", - "key.offset" : 1359 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sections: Sections<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1470 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The sections in which the `Item` can be reordered into.", - "key.doc.column" : 16, - "key.doc.comment" : "The sections in which the `Item` can be reordered into.", - "key.doc.declaration" : "public var sections: Sections", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "sections<\/Name>s:10ListableUI14ItemReorderingV8sectionsAC8SectionsOvp<\/USR>public var sections: Sections<\/Declaration>The sections in which the Item<\/codeVoice> can be reordered into.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 45, - "key.doc.name" : "sections", - "key.doc.type" : "Other", - "key.doclength" : 60, - "key.docoffset" : 1406, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sections<\/decl.name>: Sections<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 1481, - "key.offset" : 1477, - "key.parsed_declaration" : "public var sections : Sections", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemReordering.Sections", - "key.typeusr" : "$s10ListableUI14ItemReorderingV8SectionsOD", - "key.usr" : "s:10ListableUI14ItemReorderingV8sectionsAC8SectionsOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ItemReordering<\/Type>.CanReorder = (Result<\/Type>) throws -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1510 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemReordering<\/ref.struct>.CanReorder<\/decl.name> = (Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) throws<\/syntaxtype.keyword> -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 46, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "CanReorder", - "key.namelength" : 10, - "key.nameoffset" : 1527, - "key.offset" : 1517, - "key.parsed_declaration" : "public typealias CanReorder = (Result) throws -> Bool", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.typename" : "((ItemReordering.Result) throws -> Bool).Type", - "key.typeusr" : "$sSb10ListableUI14ItemReorderingV6ResultVKcmD", - "key.usr" : "s:10ListableUI14ItemReorderingV10CanReordera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var canReorder: CanReorder<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1734 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A predicate closure which allows more fine-grained validation of a reorder event,\nallowing you to control reordering on an index by index basis.", - "key.doc.column" : 16, - "key.doc.comment" : "A predicate closure which allows more fine-grained validation of a reorder event,\nallowing you to control reordering on an index by index basis.", - "key.doc.declaration" : "public var canReorder: CanReorder?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "canReorder<\/Name>s:10ListableUI14ItemReorderingV10canReorderSbAC6ResultVKcSgvp<\/USR>public var canReorder: CanReorder?<\/Declaration>A predicate closure which allows more fine-grained validation of a reorder event, allowing you to control reordering on an index by index basis.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 51, - "key.doc.name" : "canReorder", - "key.doc.type" : "Other", - "key.doclength" : 157, - "key.docoffset" : 1573, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> canReorder<\/decl.name>: CanReorder<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "canReorder", - "key.namelength" : 10, - "key.nameoffset" : 1745, - "key.offset" : 1741, - "key.parsed_declaration" : "public var canReorder : CanReorder?", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((ItemReordering.Result) throws -> Bool)?", - "key.typeusr" : "$sSb10ListableUI14ItemReorderingV6ResultVKcSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV10canReorderSbAC6ResultVKcSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1782 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(sections: Sections<\/Type>, canReorder: CanReorder<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1880 - } - ], - "key.bodylength" : 75, - "key.bodyoffset" : 1968, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `Reorder` instance with the provided options.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new `Reorder` instance with the provided options.", - "key.doc.declaration" : "public init(sections: Sections, canReorder: CanReorder? = nil)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "init(sections:canReorder:)<\/Name>s:10ListableUI14ItemReorderingV8sections10canReorderA2C8SectionsO_SbAC6ResultVKcSgtcfc<\/USR>public init(sections: Sections, canReorder: CanReorder? = nil)<\/Declaration>Creates a new Reorder<\/codeVoice> instance with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 56, - "key.doc.name" : "init(sections:canReorder:)", - "key.doc.type" : "Function", - "key.doclength" : 64, - "key.docoffset" : 1812, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(sections<\/decl.var.parameter.argument_label>: Sections<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, canReorder<\/decl.var.parameter.argument_label>: CanReorder<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 157, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "init(sections:canReorder:)", - "key.namelength" : 79, - "key.nameoffset" : 1887, - "key.offset" : 1887, - "key.parsed_declaration" : "public init(\n sections : Sections,\n canReorder : CanReorder? = nil\n)", - "key.parsed_scope.end" : 62, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.Type) -> (ItemReordering.Sections, ((ItemReordering.Result) throws -> Bool)?) -> ItemReordering", - "key.typeusr" : "$s8sections10canReorder10ListableUI14ItemReorderingVAE8SectionsO_SbAE6ResultVKcSgtcD", - "key.usr" : "s:10ListableUI14ItemReorderingV8sections10canReorderA2C8SectionsO_SbAC6ResultVKcSgtcfc" - } - ], - "key.typename" : "ItemReordering.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingVmD", - "key.usr" : "s:10ListableUI14ItemReorderingV" - }, - { - "key.annotated_decl" : "public struct ItemReordering<\/Declaration>", - "key.bodylength" : 6832, - "key.bodyoffset" : 2075, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides configuration options to control how an ``Item`` can be reordered within a list.\n\nTo enable reordering on your ``Item``, assign the ``Item\/reordering`` property,\nconfigured as you need to control where the item can be reordered to.\n\nIn the example below, we set a ``ItemReordering`` config which allows\nreordering the item within the current section, and when the reorder completes,\na controller is called to update the underlying data model.\n```swift\nitem.reordering = .init(sections: .current)\n\nitem.onWasReordered = { result in\n myController.move(from: result.from, to: result.to)\n}\n```\n\nIf you have many items, providing a ``Item\/onWasReordered-swift.property`` callback for every item can be tedious.\n\nIn these cases, you can instead provide a ``ListStateObserver\/onItemReordered(_:)`` callback,\nwhich receives a ``ListStateObserver\/ItemReordered`` value:\n```swift\nlist.stateObserver.onItemReordered { change in\n myController.move(from: change.result.from, to: change.result.to)\n}\n```\nFrom which you can then read any changes and pass them through to your data model.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ItemReordering", - "key.doc.discussion" : [ - { - "Para" : "To enable reordering on your `Item`, assign the `Item\/reordering` property, configured as you need to control where the item can be reordered to." - }, - { - "Para" : "In the example below, we set a `ItemReordering` config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you have many items, providing a `Item\/onWasReordered-swift.property` callback for every item can be tedious." - }, - { - "Para" : "In these cases, you can instead provide a `ListStateObserver\/onItemReordered(_:)` callback, which receives a `ListStateObserver\/ItemReordered` value:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "From which you can then read any changes and pass them through to your data model." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "ItemReordering<\/Name>s:10ListableUI14ItemReorderingV<\/USR>public struct ItemReordering<\/Declaration>Provides configuration options to control how an Item<\/codeVoice> can be reordered within a list.<\/Para><\/Abstract>To enable reordering on your Item<\/codeVoice>, assign the Item\/reordering<\/codeVoice> property, configured as you need to control where the item can be reordered to.<\/Para>In the example below, we set a ItemReordering<\/codeVoice> config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you have many items, providing a Item\/onWasReordered-swift.property<\/codeVoice> callback for every item can be tedious.<\/Para>In these cases, you can instead provide a ListStateObserver\/onItemReordered(_:)<\/codeVoice> callback, which receives a ListStateObserver\/ItemReordered<\/codeVoice> value:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>From which you can then read any changes and pass them through to your data model.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ItemReordering", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemReordering<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 6859, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordering", - "key.namelength" : 14, - "key.nameoffset" : 2059, - "key.offset" : 2049, - "key.parsed_declaration" : "extension ItemReordering", - "key.parsed_scope.end" : 247, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Sections : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2180 - } - ], - "key.bodylength" : 466, - "key.bodyoffset" : 2214, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls which sections a reorderable ``Item`` can be moved to during a reorder event.", - "key.doc.column" : 17, - "key.doc.comment" : "Controls which sections a reorderable ``Item`` can be moved to during a reorder event.", - "key.doc.declaration" : "public enum Sections : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "Sections<\/Name>s:10ListableUI14ItemReorderingV8SectionsO<\/USR>public enum Sections : Equatable<\/Declaration>Controls which sections a reorderable Item<\/codeVoice> can be moved to during a reorder event.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 69, - "key.doc.name" : "Sections", - "key.doc.type" : "Other", - "key.doclength" : 91, - "key.docoffset" : 2085, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2203 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sections<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 494, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "Sections", - "key.namelength" : 8, - "key.nameoffset" : 2192, - "key.offset" : 2187, - "key.parsed_declaration" : "public enum Sections : Equatable", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 2302, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case all<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The ``Item`` can be moved to any section during a reorder", - "key.doc.column" : 14, - "key.doc.comment" : "The ``Item`` can be moved to any section during a reorder", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "all<\/Name>s:10ListableUI14ItemReorderingV8SectionsO3allyA2EmF<\/USR><\/Declaration>The Item<\/codeVoice> can be moved to any section during a reorder<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "all", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 2232, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> all<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 2307, - "key.offset" : 2307, - "key.parsed_declaration" : "case all", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.typename" : "(ItemReordering.Sections.Type) -> ItemReordering.Sections", - "key.typeusr" : "$sy10ListableUI14ItemReorderingV8SectionsOAEmcD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO3allyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 2416, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case current<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The ``Item`` can only be moved within the current section during a reorder.", - "key.doc.column" : 14, - "key.doc.comment" : "The ``Item`` can only be moved within the current section during a reorder.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "current<\/Name>s:10ListableUI14ItemReorderingV8SectionsO7currentyA2EmF<\/USR><\/Declaration>The Item<\/codeVoice> can only be moved within the current section during a reorder.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 75, - "key.doc.name" : "current", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 2328, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> current<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "current", - "key.namelength" : 7, - "key.nameoffset" : 2421, - "key.offset" : 2421, - "key.parsed_declaration" : "case current", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.typename" : "(ItemReordering.Sections.Type) -> ItemReordering.Sections", - "key.typeusr" : "$sy10ListableUI14ItemReorderingV8SectionsOAEmcD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO7currentyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 51, - "key.offset" : 2624, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case specific(current: Bool<\/Type>, IDs: Set<\/Type><AnyHashable<\/Type>>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The ``Item`` can only be moved within the specified sections during a reorder.\nThe values passed should be the value of the ``Section``'s ``Identifier``.", - "key.doc.column" : 14, - "key.doc.comment" : "The ``Item`` can only be moved within the specified sections during a reorder.\nThe values passed should be the value of the ``Section``'s ``Identifier``.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "specific(current:IDs:)<\/Name>s:10ListableUI14ItemReorderingV8SectionsO8specificyAESb_Shys11AnyHashableVGtcAEmF<\/USR><\/Declaration>The Item<\/codeVoice> can only be moved within the specified sections during a reorder. The values passed should be the value of the Section<\/codeVoice>’s Identifier<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 79, - "key.doc.name" : "specific(current:IDs:)", - "key.doc.type" : "Other", - "key.doclength" : 170, - "key.docoffset" : 2446, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> specific<\/decl.name>(current<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, IDs<\/decl.var.parameter.argument_label>: Set<\/ref.struct><AnyHashable<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 46, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "specific(current:IDs:)", - "key.namelength" : 46, - "key.nameoffset" : 2629, - "key.offset" : 2629, - "key.parsed_declaration" : "case specific(current: Bool, IDs: Set)", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 79, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.Sections.Type) -> (Bool, Set) -> ItemReordering.Sections", - "key.typeusr" : "$sy10ListableUI14ItemReorderingV8SectionsOSb_Shys11AnyHashableVGtcAEmcD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO8specificyAESb_Shys11AnyHashableVGtcAEmF" - } - ] - } - ], - "key.typename" : "ItemReordering.Sections.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingV8SectionsOmD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Result<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3157 - } - ], - "key.bodylength" : 1325, - "key.bodyoffset" : 3179, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides information about the current state of a reorder event.\n\nWhen used as part of ``canReorder-swift.property``, the state of the sections\nand identifiers reflect the current state of the list – the item has not yet been moved.\n\nWhen used as part of ``Item\/onWasReordered-swift.property``, the state of the sections\nand identifiers reflect the state of the list after the move has been committed.\n", - "key.doc.column" : 19, - "key.doc.comment" : "Provides information about the current state of a reorder event.\n\nWhen used as part of ``canReorder-swift.property``, the state of the sections\nand identifiers reflect the current state of the list – the item has not yet been moved.\n\nWhen used as part of ``Item\/onWasReordered-swift.property``, the state of the sections\nand identifiers reflect the state of the list after the move has been committed.", - "key.doc.declaration" : "public struct Result", - "key.doc.discussion" : [ - { - "Para" : "When used as part of `canReorder-swift.property`, the state of the sections and identifiers reflect the current state of the list – the item has not yet been moved." - }, - { - "Para" : "When used as part of `Item\/onWasReordered-swift.property`, the state of the sections and identifiers reflect the state of the list after the move has been committed." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "Result<\/Name>s:10ListableUI14ItemReorderingV6ResultV<\/USR>public struct Result<\/Declaration>Provides information about the current state of a reorder event.<\/Para><\/Abstract>When used as part of canReorder-swift.property<\/codeVoice>, the state of the sections and identifiers reflect the current state of the list – the item has not yet been moved.<\/Para>When used as part of Item\/onWasReordered-swift.property<\/codeVoice>, the state of the sections and identifiers reflect the state of the list after the move has been committed.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 90, - "key.doc.name" : "Result", - "key.doc.type" : "Class", - "key.doclength" : 462, - "key.docoffset" : 2691, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Result<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1341, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "Result", - "key.namelength" : 6, - "key.nameoffset" : 3171, - "key.offset" : 3164, - "key.parsed_declaration" : "public struct Result", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Public Properties", - "key.offset" : 3200 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var from: IndexPath<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3302 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The index path the ``Item`` is being moved from.", - "key.doc.column" : 20, - "key.doc.comment" : "The index path the ``Item`` is being moved from.", - "key.doc.declaration" : "public var from: IndexPath", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "from<\/Name>s:10ListableUI14ItemReorderingV6ResultV4from10Foundation9IndexPathVvp<\/USR>public var from: IndexPath<\/Declaration>The index path the Item<\/codeVoice> is being moved from.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 95, - "key.doc.name" : "from", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 3241, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> from<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "from", - "key.namelength" : 4, - "key.nameoffset" : 3313, - "key.offset" : 3309, - "key.parsed_declaration" : "public var from : IndexPath", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV4from10Foundation9IndexPathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var fromSection: Section<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3400 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The ``Section`` the ``Item`` is being moved from.", - "key.doc.column" : 20, - "key.doc.comment" : "The ``Section`` the ``Item`` is being moved from.", - "key.doc.declaration" : "public var fromSection: Section", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "fromSection<\/Name>s:10ListableUI14ItemReorderingV6ResultV11fromSectionAA0G0Vvp<\/USR>public var fromSection: Section<\/Declaration>The Section<\/codeVoice> the Item<\/codeVoice> is being moved from.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 97, - "key.doc.name" : "fromSection", - "key.doc.type" : "Other", - "key.doclength" : 54, - "key.docoffset" : 3338, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> fromSection<\/decl.name>: Section<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "fromSection", - "key.namelength" : 11, - "key.nameoffset" : 3411, - "key.offset" : 3407, - "key.parsed_declaration" : "public var fromSection : Section", - "key.parsed_scope.end" : 97, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Section", - "key.typeusr" : "$s10ListableUI7SectionVD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV11fromSectionAA0G0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var to: IndexPath<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3509 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The index path the ``Item`` is being moved to.", - "key.doc.column" : 20, - "key.doc.comment" : "The index path the ``Item`` is being moved to.", - "key.doc.declaration" : "public var to: IndexPath", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "to<\/Name>s:10ListableUI14ItemReorderingV6ResultV2to10Foundation9IndexPathVvp<\/USR>public var to: IndexPath<\/Declaration>The index path the Item<\/codeVoice> is being moved to.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 100, - "key.doc.name" : "to", - "key.doc.type" : "Other", - "key.doclength" : 51, - "key.docoffset" : 3450, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> to<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "to", - "key.namelength" : 2, - "key.nameoffset" : 3520, - "key.offset" : 3516, - "key.parsed_declaration" : "public var to : IndexPath", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV2to10Foundation9IndexPathVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var toSection: Section<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3603 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The ``Section`` the ``Item`` is being moved to.", - "key.doc.column" : 20, - "key.doc.comment" : "The ``Section`` the ``Item`` is being moved to.", - "key.doc.declaration" : "public var toSection: Section", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "toSection<\/Name>s:10ListableUI14ItemReorderingV6ResultV9toSectionAA0G0Vvp<\/USR>public var toSection: Section<\/Declaration>The Section<\/codeVoice> the Item<\/codeVoice> is being moved to.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 102, - "key.doc.name" : "toSection", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 3543, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> toSection<\/decl.name>: Section<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "toSection", - "key.namelength" : 9, - "key.nameoffset" : 3614, - "key.offset" : 3610, - "key.parsed_declaration" : "public var toSection : Section", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Section", - "key.typeusr" : "$s10ListableUI7SectionVD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV9toSectionAA0G0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sectionChanged: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3728 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item moved between sections during the reorder operation.", - "key.doc.column" : 20, - "key.doc.comment" : "If the item moved between sections during the reorder operation.", - "key.doc.declaration" : "public var sectionChanged: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "sectionChanged<\/Name>s:10ListableUI14ItemReorderingV6ResultV14sectionChangedSbvp<\/USR>public var sectionChanged: Bool<\/Declaration>If the item moved between sections during the reorder operation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 105, - "key.doc.name" : "sectionChanged", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 3651, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sectionChanged<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "sectionChanged", - "key.namelength" : 14, - "key.nameoffset" : 3739, - "key.offset" : 3735, - "key.parsed_declaration" : "public var sectionChanged : Bool", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV14sectionChangedSbvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 3781 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(from: IndexPath<\/Type>, fromSection: Section<\/Type>, to: IndexPath<\/Type>, toSection: Section<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3910 - } - ], - "key.bodylength" : 206, - "key.bodyoffset" : 4055, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance of ``ItemReordering\/Result`` with the provided options.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new instance of ``ItemReordering\/Result`` with the provided options.", - "key.doc.declaration" : "public init(from: IndexPath, fromSection: Section, to: IndexPath, toSection: Section)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "init(from:fromSection:to:toSection:)<\/Name>s:10ListableUI14ItemReorderingV6ResultV4from0F7Section2to0hG0AE10Foundation9IndexPathV_AA0G0VAlNtcfc<\/USR>public init(from: IndexPath, fromSection: Section, to: IndexPath, toSection: Section)<\/Declaration>Creates a new instance of ItemReordering\/Result<\/codeVoice> with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 110, - "key.doc.name" : "init(from:fromSection:to:toSection:)", - "key.doc.type" : "Function", - "key.doclength" : 83, - "key.docoffset" : 3819, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(from<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, fromSection<\/decl.var.parameter.argument_label>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, toSection<\/decl.var.parameter.argument_label>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 345, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "init(from:fromSection:to:toSection:)", - "key.namelength" : 136, - "key.nameoffset" : 3917, - "key.offset" : 3917, - "key.parsed_declaration" : "public init(\n from: IndexPath,\n fromSection: Section,\n to: IndexPath,\n toSection: Section\n)", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.Result.Type) -> (IndexPath, Section, IndexPath, Section) -> ItemReordering.Result", - "key.typeusr" : "$s4from0A7Section2to0cB010ListableUI14ItemReorderingV6ResultV10Foundation9IndexPathV_AE0B0VAlNtcD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV4from0F7Section2to0hG0AE10Foundation9IndexPathV_AA0G0VAlNtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Reading Values", - "key.offset" : 4283 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var indexPathsDescription: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4413 - } - ], - "key.bodylength" : 42, - "key.bodyoffset" : 4456, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A short, readable description of the index path changes involved with the move.", - "key.doc.column" : 20, - "key.doc.comment" : "A short, readable description of the index path changes involved with the move.", - "key.doc.declaration" : "public var indexPathsDescription: String { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "indexPathsDescription<\/Name>s:10ListableUI14ItemReorderingV6ResultV21indexPathsDescriptionSSvp<\/USR>public var indexPathsDescription: String { get }<\/Declaration>A short, readable description of the index path changes involved with the move.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 126, - "key.doc.name" : "indexPathsDescription", - "key.doc.type" : "Other", - "key.doclength" : 84, - "key.docoffset" : 4321, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> indexPathsDescription<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 79, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "indexPathsDescription", - "key.namelength" : 21, - "key.nameoffset" : 4424, - "key.offset" : 4420, - "key.parsed_declaration" : "public var indexPathsDescription : String", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV21indexPathsDescriptionSSvp" - } - ], - "key.typename" : "ItemReordering.Result.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingV6ResultVmD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public class GestureRecognizer : UILongPressGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5514 - } - ], - "key.bodylength" : 3324, - "key.bodyoffset" : 5581, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A gesture recognizer that you should use when implementing a reorderable ``Item`` in your list.\n\nIn order to connect your gesture recognizer instance to the list, utilize the ``ReorderingActions``\nthat you get off of the ``ApplyItemContentInfo`` passed to your `apply(to...)` method.\n\nNote that when using `BlueprintUILists`, you do not need to use this gesture recognizer\ndirectly. Instead, wrap your reorder control in a `ListReorderGesture` element, which will\ncreate and manage the underlying recognizer for you:\n\n```swift\nfunc element(with info : ApplyItemContentInfo) -> Element {\n Row { row in\n row.add(child: Label(...))\n row.add(child: Spacer())\n\n row.add(\n child: MyReorderControl()\n .listReorderGesture(with: info.reorderingActions)\n )\n }\n}\n```", - "key.doc.column" : 18, - "key.doc.comment" : "\nA gesture recognizer that you should use when implementing a reorderable ``Item`` in your list.\n\nIn order to connect your gesture recognizer instance to the list, utilize the ``ReorderingActions``\nthat you get off of the ``ApplyItemContentInfo`` passed to your `apply(to...)` method.\n\nNote that when using `BlueprintUILists`, you do not need to use this gesture recognizer\ndirectly. Instead, wrap your reorder control in a `ListReorderGesture` element, which will\ncreate and manage the underlying recognizer for you:\n\n```swift\nfunc element(with info : ApplyItemContentInfo) -> Element {\n Row { row in\n row.add(child: Label(...))\n row.add(child: Spacer())\n\n row.add(\n child: MyReorderControl()\n .listReorderGesture(with: info.reorderingActions)\n )\n }\n}\n```", - "key.doc.declaration" : "@MainActor public class GestureRecognizer : UILongPressGestureRecognizer", - "key.doc.discussion" : [ - { - "Para" : "In order to connect your gesture recognizer instance to the list, utilize the `ReorderingActions` that you get off of the `ApplyItemContentInfo` passed to your `apply(to...)` method." - }, - { - "Para" : "Note that when using `BlueprintUILists`, you do not need to use this gesture recognizer directly. Instead, wrap your reorder control in a `ListReorderGesture` element, which will create and manage the underlying recognizer for you:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "GestureRecognizer<\/Name>s:10ListableUI14ItemReorderingV17GestureRecognizerC<\/USR>@MainActor public class GestureRecognizer : UILongPressGestureRecognizer<\/Declaration>A gesture recognizer that you should use when implementing a reorderable Item<\/codeVoice> in your list.<\/Para><\/Abstract>In order to connect your gesture recognizer instance to the list, utilize the ReorderingActions<\/codeVoice> that you get off of the ApplyItemContentInfo<\/codeVoice> passed to your apply(to...)<\/codeVoice> method.<\/Para>Note that when using BlueprintUILists<\/codeVoice>, you do not need to use this gesture recognizer directly. Instead, wrap your reorder control in a ListReorderGesture<\/codeVoice> element, which will create and manage the underlying recognizer for you:<\/Para> Element {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 154, - "key.doc.name" : "GestureRecognizer", - "key.doc.type" : "Class", - "key.doclength" : 995, - "key.docoffset" : 4515, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 5547 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> class<\/syntaxtype.keyword> GestureRecognizer<\/decl.name> : UILongPressGestureRecognizer<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UILongPressGestureRecognizer" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3385, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "GestureRecognizer", - "key.namelength" : 17, - "key.nameoffset" : 5527, - "key.offset" : 5521, - "key.parsed_declaration" : "public class GestureRecognizer : UILongPressGestureRecognizer", - "key.parsed_scope.end" : 246, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private typealias ItemReordering<\/Type>.GestureRecognizer<\/Type>.OnStart = () -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5590 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class>.OnStart<\/decl.name> = () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 30, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "OnStart", - "key.namelength" : 7, - "key.nameoffset" : 5608, - "key.offset" : 5598, - "key.parsed_declaration" : "private typealias OnStart = () -> Bool", - "key.parsed_scope.end" : 156, - "key.parsed_scope.start" : 156, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(() -> Bool).Type", - "key.typeusr" : "$sSbycmD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC7OnStart33_DF1EF30D3CD8B667EE5D90F580EAE72CLLa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private typealias ItemReordering<\/Type>.GestureRecognizer<\/Type>.OnMove = (GestureRecognizer<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5637 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class>.OnMove<\/decl.name> = (GestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 44, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "OnMove", - "key.namelength" : 6, - "key.nameoffset" : 5655, - "key.offset" : 5645, - "key.parsed_declaration" : "private typealias OnMove = (GestureRecognizer) -> ()", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "((ItemReordering.GestureRecognizer) -> ()).Type", - "key.typeusr" : "$sy10ListableUI14ItemReorderingV17GestureRecognizerCcmD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC6OnMove33_DF1EF30D3CD8B667EE5D90F580EAE72CLLa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private typealias ItemReordering<\/Type>.GestureRecognizer<\/Type>.OnEnd = (ReorderingActions<\/Type>.Result<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5698 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class>.OnEnd<\/decl.name> = (ReorderingActions<\/ref.class>.Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 50, - "key.line" : 158, - "key.modulename" : "ListableUI", - "key.name" : "OnEnd", - "key.namelength" : 5, - "key.nameoffset" : 5716, - "key.offset" : 5706, - "key.parsed_declaration" : "private typealias OnEnd = (ReorderingActions.Result) -> ()", - "key.parsed_scope.end" : 158, - "key.parsed_scope.start" : 158, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "((ReorderingActions.Result) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC6ResultOcmD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC5OnEnd33_DF1EF30D3CD8B667EE5D90F580EAE72CLLa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var onStart: OnStart<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5766 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onStart<\/decl.name>: OnStart<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "onStart", - "key.namelength" : 7, - "key.nameoffset" : 5778, - "key.offset" : 5774, - "key.parsed_declaration" : "private var onStart : OnStart? = nil", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 160, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(() -> Bool)?", - "key.typeusr" : "$sSbycSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC7onStart33_DF1EF30D3CD8B667EE5D90F580EAE72CLLSbycSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var onMove: OnMove<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5811 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onMove<\/decl.name>: OnMove<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "onMove", - "key.namelength" : 6, - "key.nameoffset" : 5823, - "key.offset" : 5819, - "key.parsed_declaration" : "private var onMove : OnMove? = nil", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 161, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "((ItemReordering.GestureRecognizer) -> ())?", - "key.typeusr" : "$sy10ListableUI14ItemReorderingV17GestureRecognizerCcSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC6onMove33_DF1EF30D3CD8B667EE5D90F580EAE72CLLyAEcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var onEnd: OnEnd<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5854 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onEnd<\/decl.name>: OnEnd<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 162, - "key.modulename" : "ListableUI", - "key.name" : "onEnd", - "key.namelength" : 5, - "key.nameoffset" : 5866, - "key.offset" : 5862, - "key.parsed_declaration" : "private var onEnd : OnEnd? = nil", - "key.parsed_scope.end" : 162, - "key.parsed_scope.start" : 162, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "((ReorderingActions.Result) -> ())?", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC6ResultOcSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC5onEnd33_DF1EF30D3CD8B667EE5D90F580EAE72CLLyAA0D7ActionsC6ResultOcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var accessibilityProxy: NSObject<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6022 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityProxy<\/decl.name>: NSObject<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityProxy", - "key.namelength" : 18, - "key.nameoffset" : 6033, - "key.offset" : 6029, - "key.parsed_declaration" : "public var accessibilityProxy: NSObject?", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 165, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "NSObject?", - "key.typeusr" : "$sSo8NSObjectCSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC18accessibilityProxySo8NSObjectCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override init(target: Any?, action: Selector<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 6167 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6160 - } - ], - "key.bodylength" : 193, - "key.bodyoffset" : 6223, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a gesture recognizer with the provided target and selector.", - "key.doc.column" : 25, - "key.doc.comment" : "Creates a gesture recognizer with the provided target and selector.", - "key.doc.declaration" : "@MainActor public override init(target: Any?, action: Selector?)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "init(target:action:)<\/Name>s:10ListableUI14ItemReorderingV17GestureRecognizerC6target6actionAEypSg_10ObjectiveC8SelectorVSgtcfc<\/USR>@MainActor public override init(target: Any?, action: Selector?)<\/Declaration>Creates a gesture recognizer with the provided target and selector.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 168, - "key.doc.name" : "init(target:action:)", - "key.doc.type" : "Function", - "key.doclength" : 72, - "key.docoffset" : 6080, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(target<\/decl.var.parameter.argument_label>: Any<\/syntaxtype.keyword>?<\/decl.var.parameter.type><\/decl.var.parameter>, action<\/decl.var.parameter.argument_label>: Selector<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 241, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "init(target:action:)", - "key.namelength" : 37, - "key.nameoffset" : 6176, - "key.offset" : 6176, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIGestureRecognizer(im)initWithTarget:action:" - } - ], - "key.parsed_declaration" : "public override init(target: Any?, action: Selector?)", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 168, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(coder:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.GestureRecognizer.Type) -> (Any?, Selector?) -> ItemReordering.GestureRecognizer", - "key.typeusr" : "$s6target6action10ListableUI14ItemReorderingV17GestureRecognizerCypSg_10ObjectiveC8SelectorVSgtcD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC6target6actionAEypSg_10ObjectiveC8SelectorVSgtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func apply(actions: ReorderingActions<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6602 - } - ], - "key.bodylength" : 151, - "key.bodyoffset" : 6650, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies the actions from the ``ReorderingActions`` to the gesture recognizer,\nso that it can communicate with the list during reorder actions.", - "key.doc.column" : 21, - "key.doc.comment" : "Applies the actions from the ``ReorderingActions`` to the gesture recognizer,\nso that it can communicate with the list during reorder actions.", - "key.doc.declaration" : "@MainActor public func apply(actions: ReorderingActions)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "apply(actions:)<\/Name>s:10ListableUI14ItemReorderingV17GestureRecognizerC5apply7actionsyAA0D7ActionsC_tF<\/USR>@MainActor public func apply(actions: ReorderingActions)<\/Declaration>Applies the actions from the ReorderingActions<\/codeVoice> to the gesture recognizer, so that it can communicate with the list during reorder actions.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 179, - "key.doc.name" : "apply(actions:)", - "key.doc.type" : "Function", - "key.doclength" : 159, - "key.docoffset" : 6435, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> apply<\/decl.name>(actions<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 193, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "apply(actions:)", - "key.namelength" : 34, - "key.nameoffset" : 6614, - "key.offset" : 6609, - "key.parsed_declaration" : "public func apply(actions : ReorderingActions)", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 179, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.GestureRecognizer) -> (ReorderingActions) -> ()", - "key.typeusr" : "$s7actionsy10ListableUI17ReorderingActionsC_tcD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC5apply7actionsyAA0D7ActionsC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func reorderPosition(in collectionView: UIView<\/Type>) -> CGPoint<\/Type>?<\/Declaration>", - "key.bodylength" : 775, - "key.bodyoffset" : 6882, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> reorderPosition<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGPoint<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 838, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "reorderPosition(in:)", - "key.namelength" : 43, - "key.nameoffset" : 6825, - "key.offset" : 6820, - "key.parsed_declaration" : "func reorderPosition(in collectionView : UIView) -> CGPoint?", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 186, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let translation: CGPoint<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> translation<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 51, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "translation", - "key.namelength" : 11, - "key.nameoffset" : 7137, - "key.offset" : 7133, - "key.parsed_declaration" : "let translation = self.location(in: collectionView)", - "key.parsed_scope.end" : 194, - "key.parsed_scope.start" : 194, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC15reorderPosition2inSo7CGPointVSgSo6UIViewC_tF11translationL_AIvp" - }, - { - "key.annotated_decl" : "let initialPointInCell: CGPoint<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> initialPointInCell<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "initialPointInCell", - "key.namelength" : 18, - "key.nameoffset" : 7214, - "key.offset" : 7210, - "key.parsed_declaration" : "let initialPointInCell = cell.convert(initialPoint, from: view)", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC15reorderPosition2inSo7CGPointVSgSo6UIViewC_tF18initialPointInCellL_AIvp" - }, - { - "key.annotated_decl" : "let initialPointAndCenterDiff: CGPoint<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> initialPointAndCenterDiff<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 191, - "key.line" : 198, - "key.modulename" : "ListableUI", - "key.name" : "initialPointAndCenterDiff", - "key.namelength" : 25, - "key.nameoffset" : 7291, - "key.offset" : 7287, - "key.parsed_declaration" : "let initialPointAndCenterDiff = CGPoint(\n x: cell.contentView.center.x - initialPointInCell.x,\n y: cell.contentView.center.y - initialPointInCell.y\n)", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 198, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC15reorderPosition2inSo7CGPointVSgSo6UIViewC_tF25initialPointAndCenterDiffL_AIvp" - } - ], - "key.typename" : "(ItemReordering.GestureRecognizer) -> (UIView) -> CGPoint?", - "key.typeusr" : "$s2inSo7CGPointVSgSo6UIViewC_tcD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC15reorderPosition2inSo7CGPointVSgSo6UIViewC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var initialTouchPoint: CGPoint<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7668 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> initialTouchPoint<\/decl.name>: CGPoint<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 209, - "key.modulename" : "ListableUI", - "key.name" : "initialTouchPoint", - "key.namelength" : 17, - "key.nameoffset" : 7680, - "key.offset" : 7676, - "key.parsed_declaration" : "private var initialTouchPoint : CGPoint? = nil", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 209, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGPoint?", - "key.typeusr" : "$sSo7CGPointVSgD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC17initialTouchPoint33_DF1EF30D3CD8B667EE5D90F580EAE72CLLSo7CGPointVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func updated()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7730 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 7724 - } - ], - "key.bodylength" : 820, - "key.bodyoffset" : 7762, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updated<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 845, - "key.line" : 211, - "key.modulename" : "ListableUI", - "key.name" : "updated()", - "key.namelength" : 9, - "key.nameoffset" : 7743, - "key.offset" : 7738, - "key.parsed_declaration" : "@objc private func updated()", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 211, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.GestureRecognizer) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC7updated33_DF1EF30D3CD8B667EE5D90F580EAE72CLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func accessibilityShouldContinue() -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8601 - } - ], - "key.bodylength" : 246, - "key.bodyoffset" : 8653, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> accessibilityShouldContinue<\/decl.name>() -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 291, - "key.line" : 240, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityShouldContinue()", - "key.namelength" : 29, - "key.nameoffset" : 8614, - "key.offset" : 8609, - "key.parsed_declaration" : "private func accessibilityShouldContinue() -> Bool", - "key.parsed_scope.end" : 245, - "key.parsed_scope.start" : 240, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.GestureRecognizer) -> () -> Bool", - "key.typeusr" : "$sSbycD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC27accessibilityShouldContinue33_DF1EF30D3CD8B667EE5D90F580EAE72CLLSbyF" - } - ], - "key.typename" : "ItemReordering.GestureRecognizer.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingV17GestureRecognizerCmD", - "key.usr" : "s:10ListableUI14ItemReorderingV17GestureRecognizerC" - } - ], - "key.typename" : "ItemReordering.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingVmD", - "key.usr" : "s:10ListableUI14ItemReorderingV" - }, - { - "key.annotated_decl" : "public struct ItemReordering<\/Declaration>", - "key.bodylength" : 961, - "key.bodyoffset" : 8937, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides configuration options to control how an ``Item`` can be reordered within a list.\n\nTo enable reordering on your ``Item``, assign the ``Item\/reordering`` property,\nconfigured as you need to control where the item can be reordered to.\n\nIn the example below, we set a ``ItemReordering`` config which allows\nreordering the item within the current section, and when the reorder completes,\na controller is called to update the underlying data model.\n```swift\nitem.reordering = .init(sections: .current)\n\nitem.onWasReordered = { result in\n myController.move(from: result.from, to: result.to)\n}\n```\n\nIf you have many items, providing a ``Item\/onWasReordered-swift.property`` callback for every item can be tedious.\n\nIn these cases, you can instead provide a ``ListStateObserver\/onItemReordered(_:)`` callback,\nwhich receives a ``ListStateObserver\/ItemReordered`` value:\n```swift\nlist.stateObserver.onItemReordered { change in\n myController.move(from: change.result.from, to: change.result.to)\n}\n```\nFrom which you can then read any changes and pass them through to your data model.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ItemReordering", - "key.doc.discussion" : [ - { - "Para" : "To enable reordering on your `Item`, assign the `Item\/reordering` property, configured as you need to control where the item can be reordered to." - }, - { - "Para" : "In the example below, we set a `ItemReordering` config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model." - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you have many items, providing a `Item\/onWasReordered-swift.property` callback for every item can be tedious." - }, - { - "Para" : "In these cases, you can instead provide a `ListStateObserver\/onItemReordered(_:)` callback, which receives a `ListStateObserver\/ItemReordered` value:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "From which you can then read any changes and pass them through to your data model." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "ItemReordering<\/Name>s:10ListableUI14ItemReorderingV<\/USR>public struct ItemReordering<\/Declaration>Provides configuration options to control how an Item<\/codeVoice> can be reordered within a list.<\/Para><\/Abstract>To enable reordering on your Item<\/codeVoice>, assign the Item\/reordering<\/codeVoice> property, configured as you need to control where the item can be reordered to.<\/Para>In the example below, we set a ItemReordering<\/codeVoice> config which allows reordering the item within the current section, and when the reorder completes, a controller is called to update the underlying data model.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you have many items, providing a Item\/onWasReordered-swift.property<\/codeVoice> callback for every item can be tedious.<\/Para>In these cases, you can instead provide a ListStateObserver\/onItemReordered(_:)<\/codeVoice> callback, which receives a ListStateObserver\/ItemReordered<\/codeVoice> value:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>From which you can then read any changes and pass them through to your data model.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 40, - "key.doc.name" : "ItemReordering", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemReordering<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 988, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordering", - "key.namelength" : 14, - "key.nameoffset" : 8921, - "key.offset" : 8911, - "key.parsed_declaration" : "extension ItemReordering", - "key.parsed_scope.end" : 287, - "key.parsed_scope.start" : 250, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func destination(from: IndexPath<\/Type>, fromSection: PresentationState<\/Type>.SectionState<\/Type>, to: IndexPath<\/Type>, toSection: PresentationState<\/Type>.SectionState<\/Type>) -> IndexPath<\/Type><\/Declaration>", - "key.bodylength" : 752, - "key.bodyoffset" : 9144, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> destination<\/decl.name>(from<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, fromSection<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, toSection<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 950, - "key.line" : 252, - "key.modulename" : "ListableUI", - "key.name" : "destination(from:fromSection:to:toSection:)", - "key.namelength" : 173, - "key.nameoffset" : 8952, - "key.offset" : 8947, - "key.parsed_declaration" : "func destination(\n from : IndexPath,\n fromSection : PresentationState.SectionState,\n to : IndexPath,\n toSection : PresentationState.SectionState\n) -> IndexPath", - "key.parsed_scope.end" : 286, - "key.parsed_scope.start" : 252, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let result: ItemReordering<\/Type>.Result<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> result<\/decl.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 157, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "result", - "key.namelength" : 6, - "key.nameoffset" : 9157, - "key.offset" : 9153, - "key.parsed_declaration" : "let result = Result(\n from: from,\n fromSection: fromSection.model,\n to: to,\n toSection: toSection.model\n)", - "key.parsed_scope.end" : 259, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.typename" : "ItemReordering.Result", - "key.typeusr" : "$s10ListableUI14ItemReorderingV6ResultVD", - "key.usr" : "s:10ListableUI14ItemReorderingV11destination4from0F7Section2to0hG010Foundation9IndexPathVAK_AA17PresentationStateC0gM0CAkOtF6resultL_AC6ResultVvp" - }, - { - "key.annotated_decl" : "let checks: [() -> Bool<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> checks<\/decl.name>: [() -> Bool<\/ref.struct><\/decl.function.returntype>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 338, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "checks", - "key.namelength" : 6, - "key.nameoffset" : 9405, - "key.offset" : 9401, - "key.parsed_declaration" : "let checks : [() -> Bool] = [\n { self.sections.canMove(from: fromSection, to: toSection) },\n \n { fromSection.model.reordering.canReorderOut(with: result) },\n { toSection.model.reordering.canReorderIn(with: result) },\n \n { result.allowed(with: self.canReorder) },\n]", - "key.parsed_scope.end" : 270, - "key.parsed_scope.start" : 270, - "key.reusingastcontext" : false, - "key.typename" : "[() -> Bool]", - "key.typeusr" : "$sSaySbycGD", - "key.usr" : "s:10ListableUI14ItemReorderingV11destination4from0F7Section2to0hG010Foundation9IndexPathVAK_AA17PresentationStateC0gM0CAkOtF6checksL_SaySbycGvp" - } - ], - "key.typename" : "(ItemReordering) -> (IndexPath, PresentationState.SectionState, IndexPath, PresentationState.SectionState) -> IndexPath", - "key.typeusr" : "$s4from0A7Section2to0cB010Foundation9IndexPathVAG_10ListableUI17PresentationStateC0bJ0CAgLtcD", - "key.usr" : "s:10ListableUI14ItemReorderingV11destination4from0F7Section2to0hG010Foundation9IndexPathVAK_AA17PresentationStateC0gM0CAkOtF" - } - ], - "key.typename" : "ItemReordering.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingVmD", - "key.usr" : "s:10ListableUI14ItemReorderingV" - }, - { - "key.annotated_decl" : "public struct Result<\/Declaration>", - "key.bodylength" : 366, - "key.bodyoffset" : 9935, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides information about the current state of a reorder event.\n\nWhen used as part of ``canReorder-swift.property``, the state of the sections\nand identifiers reflect the current state of the list – the item has not yet been moved.\n\nWhen used as part of ``Item\/onWasReordered-swift.property``, the state of the sections\nand identifiers reflect the state of the list after the move has been committed.\n", - "key.doc.column" : 19, - "key.doc.declaration" : "public struct Result", - "key.doc.discussion" : [ - { - "Para" : "When used as part of `canReorder-swift.property`, the state of the sections and identifiers reflect the current state of the list – the item has not yet been moved." - }, - { - "Para" : "When used as part of `Item\/onWasReordered-swift.property`, the state of the sections and identifiers reflect the state of the list after the move has been committed." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "Result<\/Name>s:10ListableUI14ItemReorderingV6ResultV<\/USR>public struct Result<\/Declaration>Provides information about the current state of a reorder event.<\/Para><\/Abstract>When used as part of canReorder-swift.property<\/codeVoice>, the state of the sections and identifiers reflect the current state of the list – the item has not yet been moved.<\/Para>When used as part of Item\/onWasReordered-swift.property<\/codeVoice>, the state of the sections and identifiers reflect the state of the list after the move has been committed.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 90, - "key.doc.name" : "Result", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Result<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 400, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordering.Result", - "key.namelength" : 21, - "key.nameoffset" : 9912, - "key.offset" : 9902, - "key.parsed_declaration" : "extension ItemReordering.Result", - "key.parsed_scope.end" : 308, - "key.parsed_scope.start" : 290, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func allowed(with check: ((ItemReordering<\/Type>.Result<\/Type>) throws -> Bool<\/Type>)?) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 276, - "key.bodyoffset" : 10023, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> allowed<\/decl.name>(with<\/decl.var.parameter.argument_label> check<\/decl.var.parameter.name>: ((ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) throws<\/syntaxtype.keyword> -> Bool<\/ref.struct><\/decl.function.returntype><\/tuple.element.type><\/tuple.element>)<\/tuple>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 355, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "allowed(with:)", - "key.namelength" : 63, - "key.nameoffset" : 9950, - "key.offset" : 9945, - "key.parsed_declaration" : "func allowed(with check : ((ItemReordering.Result) throws -> Bool)?) -> Bool", - "key.parsed_scope.end" : 307, - "key.parsed_scope.start" : 292, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.Result) -> (((ItemReordering.Result) throws -> Bool)?) -> Bool", - "key.typeusr" : "$s4withS2b10ListableUI14ItemReorderingV6ResultVKcSg_tcD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV7allowed4withS2bAEKcSg_tF" - } - ], - "key.typename" : "ItemReordering.Result.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingV6ResultVmD", - "key.usr" : "s:10ListableUI14ItemReorderingV6ResultV" - }, - { - "key.annotated_decl" : "public enum Sections : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 412, - "key.bodyoffset" : 10340, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls which sections a reorderable ``Item`` can be moved to during a reorder event.", - "key.doc.column" : 17, - "key.doc.declaration" : "public enum Sections : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.doc.full_as_xml" : "Sections<\/Name>s:10ListableUI14ItemReorderingV8SectionsO<\/USR>public enum Sections : Equatable<\/Declaration>Controls which sections a reorderable Item<\/codeVoice> can be moved to during a reorder event.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 69, - "key.doc.name" : "Sections", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sections<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 448, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordering.Sections", - "key.namelength" : 23, - "key.nameoffset" : 10315, - "key.offset" : 10305, - "key.parsed_declaration" : "extension ItemReordering.Sections", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 311, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func canMove(from: PresentationState<\/Type>.SectionState<\/Type>, to: PresentationState<\/Type>.SectionState<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 302, - "key.bodyoffset" : 10448, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemReordering.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> canMove<\/decl.name>(from<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 401, - "key.line" : 313, - "key.modulename" : "ListableUI", - "key.name" : "canMove(from:to:)", - "key.namelength" : 83, - "key.nameoffset" : 10355, - "key.offset" : 10350, - "key.parsed_declaration" : "func canMove(from : PresentationState.SectionState, to : PresentationState.SectionState) -> Bool", - "key.parsed_scope.end" : 325, - "key.parsed_scope.start" : 313, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemReordering.Sections) -> (PresentationState.SectionState, PresentationState.SectionState) -> Bool", - "key.typeusr" : "$s4from2toSb10ListableUI17PresentationStateC07SectionF0C_AGtcD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO7canMove4from2toSbAA17PresentationStateC07SectionK0C_ALtF" - } - ], - "key.typename" : "ItemReordering.Sections.Type", - "key.typeusr" : "$s10ListableUI14ItemReorderingV8SectionsOmD", - "key.usr" : "s:10ListableUI14ItemReorderingV8SectionsO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1274, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ItemSelectionStyle : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 185 - } - ], - "key.bodylength" : 1043, - "key.bodyoffset" : 229, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the selection style and behavior of an item in a list.", - "key.doc.column" : 13, - "key.doc.comment" : "Controls the selection style and behavior of an item in a list.", - "key.doc.declaration" : "public enum ItemSelectionStyle : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.doc.full_as_xml" : "ItemSelectionStyle<\/Name>s:10ListableUI18ItemSelectionStyleO<\/USR>public enum ItemSelectionStyle : Equatable<\/Declaration>Controls the selection style and behavior of an item in a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 12, - "key.doc.name" : "ItemSelectionStyle", - "key.doc.type" : "Other", - "key.doclength" : 68, - "key.docoffset" : 117, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 218 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ItemSelectionStyle<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1081, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ItemSelectionStyle", - "key.namelength" : 18, - "key.nameoffset" : 197, - "key.offset" : 192, - "key.parsed_declaration" : "public enum ItemSelectionStyle : Equatable", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 18, - "key.offset" : 277, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case notSelectable<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item is not selectable at all.", - "key.doc.column" : 10, - "key.doc.comment" : "The item is not selectable at all.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.doc.full_as_xml" : "notSelectable<\/Name>s:10ListableUI18ItemSelectionStyleO13notSelectableyA2CmF<\/USR><\/Declaration>The item is not selectable at all.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "notSelectable", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 234, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> notSelectable<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 13, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "notSelectable", - "key.namelength" : 13, - "key.nameoffset" : 282, - "key.offset" : 282, - "key.parsed_declaration" : "case notSelectable", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(ItemSelectionStyle.Type) -> ItemSelectionStyle", - "key.typeusr" : "$sy10ListableUI18ItemSelectionStyleOACmcD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO13notSelectableyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 407, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case tappable<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item is temporarily selectable. Once the user lifts their finger, the item is deselected.", - "key.doc.column" : 10, - "key.doc.comment" : "The item is temporarily selectable. Once the user lifts their finger, the item is deselected.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.doc.full_as_xml" : "tappable<\/Name>s:10ListableUI18ItemSelectionStyleO8tappableyA2CmF<\/USR><\/Declaration>The item is temporarily selectable. Once the user lifts their finger, the item is deselected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "tappable", - "key.doc.type" : "Other", - "key.doclength" : 98, - "key.docoffset" : 305, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> tappable<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "tappable", - "key.namelength" : 8, - "key.nameoffset" : 412, - "key.offset" : 412, - "key.parsed_declaration" : "case tappable", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "(ItemSelectionStyle.Type) -> ItemSelectionStyle", - "key.typeusr" : "$sy10ListableUI18ItemSelectionStyleOACmcD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO8tappableyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 42, - "key.offset" : 533, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case selectable(isSelected: Bool<\/Type> = false)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item is persistently selectable. Once the user lifts their finger, the item is maintained.", - "key.doc.column" : 10, - "key.doc.comment" : "The item is persistently selectable. Once the user lifts their finger, the item is maintained.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.doc.full_as_xml" : "selectable(isSelected:)<\/Name>s:10ListableUI18ItemSelectionStyleO10selectableyACSb_tcACmF<\/USR><\/Declaration>The item is persistently selectable. Once the user lifts their finger, the item is maintained.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 21, - "key.doc.name" : "selectable(isSelected:)", - "key.doc.type" : "Other", - "key.doclength" : 99, - "key.docoffset" : 430, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> selectable<\/decl.name>(isSelected<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 37, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "selectable(isSelected:)", - "key.namelength" : 37, - "key.nameoffset" : 538, - "key.offset" : 538, - "key.parsed_declaration" : "case selectable(isSelected : Bool = false)", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemSelectionStyle.Type) -> (Bool) -> ItemSelectionStyle", - "key.typeusr" : "$sy10ListableUI18ItemSelectionStyleOSb_tcACmcD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO10selectableyACSb_tcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 39, - "key.offset" : 749, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case toggles(isSelected: Bool<\/Type> = false)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item is persistently selectable. Once the user lifts their finger, the item is maintained.\nIf the user taps again, the item will be deselected.", - "key.doc.column" : 10, - "key.doc.comment" : "The item is persistently selectable. Once the user lifts their finger, the item is maintained.\nIf the user taps again, the item will be deselected.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.doc.full_as_xml" : "toggles(isSelected:)<\/Name>s:10ListableUI18ItemSelectionStyleO7togglesyACSb_tcACmF<\/USR><\/Declaration>The item is persistently selectable. Once the user lifts their finger, the item is maintained. If the user taps again, the item will be deselected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 25, - "key.doc.name" : "toggles(isSelected:)", - "key.doc.type" : "Other", - "key.doclength" : 160, - "key.docoffset" : 585, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> toggles<\/decl.name>(isSelected<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 34, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "toggles(isSelected:)", - "key.namelength" : 34, - "key.nameoffset" : 754, - "key.offset" : 754, - "key.parsed_declaration" : "case toggles(isSelected : Bool = false)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemSelectionStyle.Type) -> (Bool) -> ItemSelectionStyle", - "key.typeusr" : "$sy10ListableUI18ItemSelectionStyleOSb_tcACmcD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO7togglesyACSb_tcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isSelected: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 225, - "key.bodyoffset" : 821, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isSelected<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 249, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "isSelected", - "key.namelength" : 10, - "key.nameoffset" : 802, - "key.offset" : 798, - "key.parsed_declaration" : "var isSelected : Bool", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO10isSelectedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isSelectable: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 188, - "key.bodyoffset" : 1082, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemSelectionStyle.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isSelectable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 214, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "isSelectable", - "key.namelength" : 12, - "key.nameoffset" : 1061, - "key.offset" : 1057, - "key.parsed_declaration" : "var isSelectable : Bool", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO12isSelectableSbvp" - } - ], - "key.typename" : "ItemSelectionStyle.Type", - "key.typeusr" : "$s10ListableUI18ItemSelectionStyleOmD", - "key.usr" : "s:10ListableUI18ItemSelectionStyleO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 995, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemState : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 121 - } - ], - "key.bodylength" : 836, - "key.bodyoffset" : 157, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 147 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemState<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 866, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ItemState", - "key.namelength" : 9, - "key.nameoffset" : 135, - "key.offset" : 128, - "key.parsed_declaration" : "public struct ItemState : Hashable", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isSelected: Bool<\/Type>, isHighlighted: Bool<\/Type>, isReordering: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 162 - } - ], - "key.bodylength" : 126, - "key.bodyoffset" : 241, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isSelected<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, isHighlighted<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, isReordering<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 199, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "init(isSelected:isHighlighted:isReordering:)", - "key.namelength" : 66, - "key.nameoffset" : 169, - "key.offset" : 169, - "key.parsed_declaration" : "public init(isSelected : Bool, isHighlighted : Bool, isReordering : Bool)", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 14, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(cell:isReordering:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemState.Type) -> (Bool, Bool, Bool) -> ItemState", - "key.typeusr" : "$s10isSelected0A11Highlighted0A10Reordering10ListableUI9ItemStateVSb_S2btcD", - "key.usr" : "s:10ListableUI9ItemStateV10isSelected0E11Highlighted0E10ReorderingACSb_S2btcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(cell: UICollectionViewCell<\/Type>, isReordering: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 378 - } - ], - "key.bodylength" : 136, - "key.bodyoffset" : 445, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(cell<\/decl.var.parameter.argument_label>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, isReordering<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 197, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "init(cell:isReordering:)", - "key.namelength" : 54, - "key.nameoffset" : 385, - "key.offset" : 385, - "key.parsed_declaration" : "public init(cell : UICollectionViewCell, isReordering : Bool)", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 21, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(isSelected:isHighlighted:isReordering:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemState.Type) -> (UICollectionViewCell, Bool) -> ItemState", - "key.typeusr" : "$s4cell12isReordering10ListableUI9ItemStateVSo20UICollectionViewCellC_SbtcD", - "key.usr" : "s:10ListableUI9ItemStateV4cell12isReorderingACSo20UICollectionViewCellC_Sbtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isSelected: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 635 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item is currently selected.", - "key.doc.column" : 16, - "key.doc.comment" : "If the item is currently selected.", - "key.doc.declaration" : "public var isSelected: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.doc.full_as_xml" : "isSelected<\/Name>s:10ListableUI9ItemStateV10isSelectedSbvp<\/USR>public var isSelected: Bool<\/Declaration>If the item is currently selected.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 29, - "key.doc.name" : "isSelected", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 592, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isSelected<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "isSelected", - "key.namelength" : 10, - "key.nameoffset" : 646, - "key.offset" : 642, - "key.parsed_declaration" : "public var isSelected : Bool", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ItemStateV10isSelectedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isHighlighted: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 719 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item is currently highlighted.", - "key.doc.column" : 16, - "key.doc.comment" : "If the item is currently highlighted.", - "key.doc.declaration" : "public var isHighlighted: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.doc.full_as_xml" : "isHighlighted<\/Name>s:10ListableUI9ItemStateV13isHighlightedSbvp<\/USR>public var isHighlighted: Bool<\/Declaration>If the item is currently highlighted.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 32, - "key.doc.name" : "isHighlighted", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 673, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isHighlighted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "isHighlighted", - "key.namelength" : 13, - "key.nameoffset" : 730, - "key.offset" : 726, - "key.parsed_declaration" : "public var isHighlighted : Bool", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ItemStateV13isHighlightedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isReordering: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 817 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item is currently being moved by the user", - "key.doc.column" : 16, - "key.doc.comment" : "If the item is currently being moved by the user", - "key.doc.declaration" : "public var isReordering: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.doc.full_as_xml" : "isReordering<\/Name>s:10ListableUI9ItemStateV12isReorderingSbvp<\/USR>public var isReordering: Bool<\/Declaration>If the item is currently being moved by the user<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 35, - "key.doc.name" : "isReordering", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 760, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isReordering<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "isReordering", - "key.namelength" : 12, - "key.nameoffset" : 828, - "key.offset" : 824, - "key.parsed_declaration" : "public var isReordering : Bool", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ItemStateV12isReorderingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isActive: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 912 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 940, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the item is either selected or highlighted.", - "key.doc.column" : 16, - "key.doc.comment" : "If the item is either selected or highlighted.", - "key.doc.declaration" : "public var isActive: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.doc.full_as_xml" : "isActive<\/Name>s:10ListableUI9ItemStateV8isActiveSbvp<\/USR>public var isActive: Bool { get }<\/Declaration>If the item is either selected or highlighted.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 38, - "key.doc.name" : "isActive", - "key.doc.type" : "Other", - "key.doclength" : 51, - "key.docoffset" : 857, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemState.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isActive<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 73, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "isActive", - "key.namelength" : 8, - "key.nameoffset" : 923, - "key.offset" : 919, - "key.parsed_declaration" : "public var isActive : Bool", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI9ItemStateV8isActiveSbvp" - } - ], - "key.typename" : "ItemState.Type", - "key.typeusr" : "$s10ListableUI9ItemStateVmD", - "key.usr" : "s:10ListableUI9ItemStateV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 22991, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class CollectionViewLayout : UICollectionViewLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 113 - } - ], - "key.bodylength" : 19917, - "key.bodyoffset" : 172, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 22, - "key.offset" : 148 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> CollectionViewLayout<\/decl.name> : UICollectionViewLayout<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionViewLayout" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 19971, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "CollectionViewLayout", - "key.namelength" : 20, - "key.nameoffset" : 125, - "key.offset" : 119, - "key.parsed_declaration" : "final class CollectionViewLayout : UICollectionViewLayout", - "key.parsed_scope.end" : 660, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 187 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned let delegate: CollectionViewLayoutDelegate<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 216 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> let<\/syntaxtype.keyword> delegate<\/decl.name>: CollectionViewLayoutDelegate<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "delegate", - "key.namelength" : 8, - "key.nameoffset" : 228, - "key.offset" : 224, - "key.parsed_declaration" : "unowned let delegate : CollectionViewLayoutDelegate", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "any CollectionViewLayoutDelegate", - "key.typeusr" : "$s10ListableUI28CollectionViewLayoutDelegate_pD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC8delegateAA0cdE8Delegate_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var layoutDescription: LayoutDescription<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> layoutDescription<\/decl.name>: LayoutDescription<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "layoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 277, - "key.offset" : 273, - "key.parsed_declaration" : "var layoutDescription : LayoutDescription", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC17layoutDescriptionAA0eG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var appearance: Appearance<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 158, - "key.bodyoffset" : 349, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 188, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 324, - "key.offset" : 320, - "key.parsed_declaration" : "var appearance : Appearance", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var isReordering: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 514 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> isReordering<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "isReordering", - "key.namelength" : 12, - "key.nameoffset" : 531, - "key.offset" : 527, - "key.parsed_declaration" : "private(set) var isReordering : Bool = false", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC12isReorderingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func applyAppearance()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 564 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 600, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> applyAppearance<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 158, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "applyAppearance()", - "key.namelength" : 17, - "key.nameoffset" : 577, - "key.offset" : 572, - "key.parsed_declaration" : "private func applyAppearance()", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC15applyAppearance33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var behavior: Behavior<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 154, - "key.bodyoffset" : 761, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 180, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 740, - "key.offset" : 736, - "key.parsed_declaration" : "var behavior : Behavior", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func applyBehavior()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 922 - } - ], - "key.bodylength" : 129, - "key.bodyoffset" : 956, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> applyBehavior<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 156, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "applyBehavior()", - "key.namelength" : 15, - "key.nameoffset" : 935, - "key.offset" : 930, - "key.parsed_declaration" : "private func applyBehavior()", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC13applyBehavior33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1102 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> init(delegate: CollectionViewLayoutDelegate<\/Type>, layoutDescription: LayoutDescription<\/Type>, appearance: Appearance<\/Type>, behavior: Behavior<\/Type>)<\/Declaration>", - "key.bodylength" : 570, - "key.bodyoffset" : 1305, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> init<\/syntaxtype.keyword>(delegate<\/decl.var.parameter.argument_label>: CollectionViewLayoutDelegate<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, layoutDescription<\/decl.var.parameter.argument_label>: LayoutDescription<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 741, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "init(delegate:layoutDescription:appearance:behavior:)", - "key.namelength" : 168, - "key.nameoffset" : 1135, - "key.offset" : 1135, - "key.parsed_declaration" : "init(\n delegate : CollectionViewLayoutDelegate,\n layoutDescription : LayoutDescription,\n appearance : Appearance,\n behavior : Behavior\n)", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout.Type) -> (any CollectionViewLayoutDelegate, LayoutDescription, Appearance, Behavior) -> CollectionViewLayout", - "key.typeusr" : "$s8delegate17layoutDescription10appearance8behavior10ListableUI20CollectionViewLayoutCAE0hiJ8Delegate_p_AE0jC0VAE10AppearanceVAE8BehaviorVtcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC8delegate17layoutDescription10appearance8behaviorAcA0cdE8Delegate_p_AA0eH0VAA10AppearanceVAA8BehaviorVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 1913 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 1882 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 1945, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 49, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 1922, - "key.offset" : 1922, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Querying The Layout", - "key.offset" : 1987 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func frameForItem(at indexPath: IndexPath<\/Type>) -> CGRect<\/Type><\/Declaration>", - "key.bodylength" : 59, - "key.bodyoffset" : 2084, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> frameForItem<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGRect<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 119, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "frameForItem(at:)", - "key.namelength" : 38, - "key.nameoffset" : 2030, - "key.offset" : 2025, - "key.parsed_declaration" : "func frameForItem(at indexPath : IndexPath) -> CGRect", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath) -> CGRect", - "key.typeusr" : "$s2atSo6CGRectV10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC12frameForItem2atSo6CGRectV10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func positionForItem(at indexPath: IndexPath<\/Type>) -> ItemPosition<\/Type><\/Declaration>", - "key.bodylength" : 62, - "key.bodyoffset" : 2218, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> positionForItem<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemPosition<\/ref.enum><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 131, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "positionForItem(at:)", - "key.namelength" : 41, - "key.nameoffset" : 2155, - "key.offset" : 2150, - "key.parsed_declaration" : "func positionForItem(at indexPath : IndexPath) -> ItemPosition", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath) -> ItemPosition", - "key.typeusr" : "$s2at10ListableUI12ItemPositionO10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC15positionForItem2atAA0H8PositionO10Foundation9IndexPathV_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Private Properties", - "key.offset" : 2297 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var layout: AnyListLayout<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2334 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> layout<\/decl.name>: AnyListLayout<\/ref.protocol><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 2351, - "key.offset" : 2347, - "key.parsed_declaration" : "private(set) var layout : AnyListLayout", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "any AnyListLayout", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC6layoutAA07AnyListE0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var previousLayout: AnyListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2379 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> previousLayout<\/decl.name>: AnyListLayout<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "previousLayout", - "key.namelength" : 14, - "key.nameoffset" : 2391, - "key.offset" : 2387, - "key.parsed_declaration" : "private var previousLayout : AnyListLayout", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "any AnyListLayout", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC08previousE033_EB34EA08C49AB6823BEA7E315664A1CBLLAA07AnyListE0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var changesDuringCurrentUpdate: UpdateItems<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2426 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> changesDuringCurrentUpdate<\/decl.name>: UpdateItems<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "changesDuringCurrentUpdate", - "key.namelength" : 26, - "key.nameoffset" : 2438, - "key.offset" : 2434, - "key.parsed_declaration" : "private var changesDuringCurrentUpdate : UpdateItems", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "UpdateItems", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC26changesDuringCurrentUpdate33_EB34EA08C49AB6823BEA7E315664A1CBLLAA0I5ItemsAELLVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var viewProperties: CollectionViewLayoutProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2483 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> viewProperties<\/decl.name>: CollectionViewLayoutProperties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "viewProperties", - "key.namelength" : 14, - "key.nameoffset" : 2495, - "key.offset" : 2491, - "key.parsed_declaration" : "private var viewProperties : CollectionViewLayoutProperties", - "key.parsed_scope.end" : 118, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CollectionViewLayoutProperties", - "key.typeusr" : "$s10ListableUI30CollectionViewLayoutPropertiesVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC14viewProperties33_EB34EA08C49AB6823BEA7E315664A1CBLLAA0cdeG0Vvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 42, - "key.name" : "MARK: Invalidation & Invalidation Contexts", - "key.offset" : 2558 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func setNeedsRelayout()<\/Declaration>", - "key.bodylength" : 91, - "key.bodyoffset" : 2642, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> setNeedsRelayout<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 121, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "setNeedsRelayout()", - "key.namelength" : 18, - "key.nameoffset" : 2618, - "key.offset" : 2613, - "key.parsed_declaration" : "func setNeedsRelayout()", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 124, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC16setNeedsRelayoutyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func setNeedsRebuild(animated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 410, - "key.bodyoffset" : 2782, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> setNeedsRebuild<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 453, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "setNeedsRebuild(animated:)", - "key.namelength" : 31, - "key.nameoffset" : 2745, - "key.offset" : 2740, - "key.parsed_declaration" : "func setNeedsRebuild(animated: Bool)", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (Bool) -> ()", - "key.typeusr" : "$s8animatedySb_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC15setNeedsRebuild8animatedySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var shouldAskForItemSizesDuringLayoutInvalidation: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 3199 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "The collection view actually manages the animation, and the duration or curve doesn't matter.\nHowever, we need to be in an animation block for it to animate.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> shouldAskForItemSizesDuringLayoutInvalidation<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 64, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "shouldAskForItemSizesDuringLayoutInvalidation", - "key.namelength" : 45, - "key.nameoffset" : 3216, - "key.offset" : 3212, - "key.parsed_declaration" : "private(set) var shouldAskForItemSizesDuringLayoutInvalidation : Bool = false", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC027shouldAskForItemSizesDuringE12InvalidationSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func setShouldAskForItemSizesDuringLayoutInvalidation()<\/Declaration>", - "key.bodylength" : 71, - "key.bodyoffset" : 3343, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> setShouldAskForItemSizesDuringLayoutInvalidation<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 133, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "setShouldAskForItemSizesDuringLayoutInvalidation()", - "key.namelength" : 50, - "key.nameoffset" : 3287, - "key.offset" : 3282, - "key.parsed_declaration" : "func setShouldAskForItemSizesDuringLayoutInvalidation()", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC030setShouldAskForItemSizesDuringE12InvalidationyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override class var invalidationContextClass: AnyClass<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3421 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 3476, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> class<\/syntaxtype.keyword> var<\/syntaxtype.keyword> invalidationContextClass<\/decl.name>: AnyClass<\/ref.typealias><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.class>", - "key.kind" : "source.lang.swift.decl.var.class", - "key.length" : 92, - "key.line" : 151, - "key.modulename" : "ListableUI", - "key.name" : "invalidationContextClass", - "key.namelength" : 24, - "key.nameoffset" : 3440, - "key.offset" : 3430, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(cpy)invalidationContextClass" - } - ], - "key.parsed_declaration" : "override class var invalidationContextClass: AnyClass", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 151, - "key.reusingastcontext" : false, - "key.typename" : "any AnyObject.Type", - "key.typeusr" : "$syXlXpD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(cpy)invalidationContextClass" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func invalidateLayout()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3528 - } - ], - "key.bodylength" : 229, - "key.bodyoffset" : 3566, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> invalidateLayout<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 259, - "key.line" : 155, - "key.modulename" : "ListableUI", - "key.name" : "invalidateLayout()", - "key.namelength" : 18, - "key.nameoffset" : 3542, - "key.offset" : 3537, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)invalidateLayout" - } - ], - "key.parsed_declaration" : "override func invalidateLayout()", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 155, - "key.related_decls" : [ - { - "key.annotated_decl" : "invalidateLayout(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)invalidateLayout" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func invalidateLayout(with context: UICollectionViewLayoutInvalidationContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3802 - } - ], - "key.bodylength" : 957, - "key.bodyoffset" : 3895, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> invalidateLayout<\/decl.name>(with<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: UICollectionViewLayoutInvalidationContext<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1042, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "invalidateLayout(with:)", - "key.namelength" : 73, - "key.nameoffset" : 3816, - "key.offset" : 3811, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)invalidateLayoutWithContext:" - } - ], - "key.parsed_declaration" : "override func invalidateLayout(with context: UICollectionViewLayoutInvalidationContext)", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 165, - "key.related_decls" : [ - { - "key.annotated_decl" : "invalidateLayout()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: UICollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: UICollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 3908, - "key.offset" : 3904, - "key.parsed_declaration" : "let view = self.collectionView!", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionView", - "key.typeusr" : "$sSo16UICollectionViewCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC010invalidateE04withySo012UICollectiondE19InvalidationContextC_tF4viewL_So0hD0Cvp" - }, - { - "key.annotated_decl" : "let context: CollectionViewLayout<\/Type>.InvalidationContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 3948, - "key.offset" : 3944, - "key.parsed_declaration" : "let context = context as! InvalidationContext", - "key.parsed_scope.end" : 168, - "key.parsed_scope.start" : 168, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout.InvalidationContext", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC010invalidateE04withySo012UICollectiondE19InvalidationContextC_tF7contextL0_AC0iJ033_EB34EA08C49AB6823BEA7E315664A1CBLLCvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (UICollectionViewLayoutInvalidationContext) -> ()", - "key.typeusr" : "$s4withySo41UICollectionViewLayoutInvalidationContextC_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)invalidateLayoutWithContext:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func sendEndQueuingEditsAfterDelay()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4859 - } - ], - "key.bodylength" : 1542, - "key.bodyoffset" : 4905, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sendEndQueuingEditsAfterDelay<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1581, - "key.line" : 200, - "key.modulename" : "ListableUI", - "key.name" : "sendEndQueuingEditsAfterDelay()", - "key.namelength" : 31, - "key.nameoffset" : 4872, - "key.offset" : 4867, - "key.parsed_declaration" : "private func sendEndQueuingEditsAfterDelay()", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 200, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC29sendEndQueuingEditsAfterDelay33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func invalidationContext(forInteractivelyMovingItems targetIndexPaths: [IndexPath<\/Type>], withTargetPosition targetPosition: CGPoint<\/Type>, previousIndexPaths: [IndexPath<\/Type>], previousPosition: CGPoint<\/Type>) -> UICollectionViewLayoutInvalidationContext<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 6454 - } - ], - "key.bodylength" : 620, - "key.bodyoffset" : 6739, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "\nHello! Welcome to the source code. You're probably wondering why this perform after runloop hack is here.\n\nWell, it is because `UICollectionView` does not play well with removals that occur synchronously\nas a result of a reorder being messaged.\n\nPlease, consider the following:\n\n1) A user begins dragging an item.\n2) They drop the item at the last point in the list; (2,1). The collection view records this index path (2,1).\n3) Via `collectionView(_:moveItemAt:to:)`, we notify the observer(s) of the change.\n4) Synchronously via that notification, they remove the item at (2,0), moving the item now at (2,1) to (2,0).\n\nUnfortunately, this causes `super.invalidateLayout(with: context)` to then fail with an invalid\nindex path; because it seems to take one runloop to let the reorder \"settle\" through the collection view –\nmost notably, the `context.targetIndexPathsForInteractivelyMovingItems` contains an\ninvalid index path – the item which was previously at (2,1) is still there, when it should now be at (2,0).\n\nSo thus, we queue updates a runloop to let the collection view figure its internal state out before we begin\nprocessing any further updates 🥴.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> invalidationContext<\/decl.name>(forInteractivelyMovingItems<\/decl.var.parameter.argument_label> targetIndexPaths<\/decl.var.parameter.name>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, withTargetPosition<\/decl.var.parameter.argument_label> targetPosition<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, previousIndexPaths<\/decl.var.parameter.argument_label>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, previousPosition<\/decl.var.parameter.argument_label>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutInvalidationContext<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 897, - "key.line" : 229, - "key.modulename" : "ListableUI", - "key.name" : "invalidationContext(forInteractivelyMovingItems:withTargetPosition:previousIndexPaths:previousPosition:)", - "key.namelength" : 220, - "key.nameoffset" : 6468, - "key.offset" : 6463, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)invalidationContextForInteractivelyMovingItems:withTargetPosition:previousIndexPaths:previousPosition:" - } - ], - "key.parsed_declaration" : "override func invalidationContext(\n forInteractivelyMovingItems targetIndexPaths: [IndexPath],\n withTargetPosition targetPosition: CGPoint,\n previousIndexPaths: [IndexPath],\n previousPosition: CGPoint\n) -> UICollectionViewLayoutInvalidationContext", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 229, - "key.related_decls" : [ - { - "key.annotated_decl" : "invalidationContext(forBoundsChange:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "invalidationContext(forPreferredLayoutAttributes:withOriginalAttributes:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let context: CollectionViewLayout<\/Type>.InvalidationContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 280, - "key.line" : 238, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 6786, - "key.offset" : 6782, - "key.parsed_declaration" : "let context = super.invalidationContext(\n forInteractivelyMovingItems: targetIndexPaths,\n withTargetPosition: targetPosition,\n previousIndexPaths: previousIndexPaths,\n previousPosition: previousPosition\n) as! InvalidationContext", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 238, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout.InvalidationContext", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19invalidationContext27forInteractivelyMovingItems18withTargetPosition18previousIndexPaths0oN0So012UICollectionde12InvalidationG0CSay10Foundation0P4PathVG_So7CGPointVAnPtF7contextL_AC0sG033_EB34EA08C49AB6823BEA7E315664A1CBLLCvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> ([IndexPath], CGPoint, [IndexPath], CGPoint) -> UICollectionViewLayoutInvalidationContext", - "key.typeusr" : "$s27forInteractivelyMovingItems18withTargetPosition18previousIndexPaths0hG0So41UICollectionViewLayoutInvalidationContextCSay10Foundation0I4PathVG_So7CGPointVAjLtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)invalidationContextForInteractivelyMovingItems:withTargetPosition:previousIndexPaths:previousPosition:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func invalidationContextForEndingInteractiveMovementOfItems(toFinalIndexPaths indexPaths: [IndexPath<\/Type>], previousIndexPaths: [IndexPath<\/Type>], movementCancelled: Bool<\/Type>) -> UICollectionViewLayoutInvalidationContext<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 7366 - } - ], - "key.bodylength" : 832, - "key.bodyoffset" : 7616, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> invalidationContextForEndingInteractiveMovementOfItems<\/decl.name>(toFinalIndexPaths<\/decl.var.parameter.argument_label> indexPaths<\/decl.var.parameter.name>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, previousIndexPaths<\/decl.var.parameter.argument_label>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, movementCancelled<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutInvalidationContext<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1074, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "invalidationContextForEndingInteractiveMovementOfItems(toFinalIndexPaths:previousIndexPaths:movementCancelled:)", - "key.namelength" : 185, - "key.nameoffset" : 7380, - "key.offset" : 7375, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths:previousIndexPaths:movementCancelled:" - } - ], - "key.parsed_declaration" : "override func invalidationContextForEndingInteractiveMovementOfItems(\n toFinalIndexPaths indexPaths: [IndexPath],\n previousIndexPaths: [IndexPath],\n movementCancelled: Bool\n) -> UICollectionViewLayoutInvalidationContext", - "key.parsed_scope.end" : 290, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let context: CollectionViewLayout<\/Type>.InvalidationContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 253, - "key.line" : 265, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 7664, - "key.offset" : 7660, - "key.parsed_declaration" : "let context = super.invalidationContextForEndingInteractiveMovementOfItems(\n toFinalIndexPaths: indexPaths,\n previousIndexPaths: previousIndexPaths,\n movementCancelled: movementCancelled\n) as! InvalidationContext", - "key.parsed_scope.end" : 265, - "key.parsed_scope.start" : 265, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout.InvalidationContext", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC54invalidationContextForEndingInteractiveMovementOfItems17toFinalIndexPaths08previouspQ017movementCancelledSo012UICollectionde12InvalidationG0CSay10Foundation0P4PathVG_AMSbtF7contextL_AC0vG033_EB34EA08C49AB6823BEA7E315664A1CBLLCvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> ([IndexPath], [IndexPath], Bool) -> UICollectionViewLayoutInvalidationContext", - "key.typeusr" : "$s17toFinalIndexPaths08previouscD017movementCancelledSo41UICollectionViewLayoutInvalidationContextCSay10Foundation0C4PathVG_AISbtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)invalidationContextForEndingInteractiveMovementOfItemsToFinalIndexPaths:previousIndexPaths:movementCancelled:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 8455 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 8540, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> shouldInvalidateLayout<\/decl.name>(forBoundsChange<\/decl.var.parameter.argument_label> newBounds<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 102, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "shouldInvalidateLayout(forBoundsChange:)", - "key.namelength" : 57, - "key.nameoffset" : 8469, - "key.offset" : 8464, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)shouldInvalidateLayoutForBoundsChange:" - } - ], - "key.parsed_declaration" : "override func shouldInvalidateLayout(forBoundsChange newBounds: CGRect) -> Bool", - "key.parsed_scope.end" : 295, - "key.parsed_scope.start" : 292, - "key.related_decls" : [ - { - "key.annotated_decl" : "shouldInvalidateLayout(forPreferredLayoutAttributes:withOriginalAttributes:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (CGRect) -> Bool", - "key.typeusr" : "$s15forBoundsChangeSbSo6CGRectV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)shouldInvalidateLayoutForBoundsChange:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private final class CollectionViewLayout<\/Type>.InvalidationContext : UICollectionViewLayoutInvalidationContext<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 8580 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8572 - } - ], - "key.bodylength" : 1064, - "key.bodyoffset" : 8661, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 41, - "key.offset" : 8614 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.InvalidationContext<\/decl.name> : UICollectionViewLayoutInvalidationContext<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionViewLayoutInvalidationContext" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1140, - "key.line" : 297, - "key.modulename" : "ListableUI", - "key.name" : "InvalidationContext", - "key.namelength" : 19, - "key.nameoffset" : 8592, - "key.offset" : 8586, - "key.parsed_declaration" : "private final class InvalidationContext : UICollectionViewLayoutInvalidationContext", - "key.parsed_scope.end" : 337, - "key.parsed_scope.start" : 297, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var viewPropertiesChanged: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> viewPropertiesChanged<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 299, - "key.modulename" : "ListableUI", - "key.name" : "viewPropertiesChanged", - "key.namelength" : 21, - "key.nameoffset" : 8674, - "key.offset" : 8670, - "key.parsed_declaration" : "var viewPropertiesChanged : Bool = false", - "key.parsed_scope.end" : 299, - "key.parsed_scope.start" : 299, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21viewPropertiesChangedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var interactiveMoveAction: InteractiveMoveAction<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> interactiveMoveAction<\/decl.name>: InteractiveMoveAction<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 56, - "key.line" : 301, - "key.modulename" : "ListableUI", - "key.name" : "interactiveMoveAction", - "key.namelength" : 21, - "key.nameoffset" : 8724, - "key.offset" : 8720, - "key.parsed_declaration" : "var interactiveMoveAction : InteractiveMoveAction? = nil", - "key.parsed_scope.end" : 301, - "key.parsed_scope.start" : 301, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CollectionViewLayout.InvalidationContext.InteractiveMoveAction?", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionOSgD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21interactiveMoveActionAF011InteractiveqR0OSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum CollectionViewLayout<\/Type>.InvalidationContext<\/Type>.InteractiveMoveAction<\/Declaration>", - "key.bodylength" : 905, - "key.bodyoffset" : 8814, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class>.InteractiveMoveAction<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 934, - "key.line" : 303, - "key.modulename" : "ListableUI", - "key.name" : "InteractiveMoveAction", - "key.namelength" : 21, - "key.nameoffset" : 8791, - "key.offset" : 8786, - "key.parsed_declaration" : "enum InteractiveMoveAction", - "key.parsed_scope.end" : 336, - "key.parsed_scope.start" : 303, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 27, - "key.offset" : 8827, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case inProgress(InProgress<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> inProgress<\/decl.name>(InProgress<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 22, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "inProgress(_:)", - "key.namelength" : 22, - "key.nameoffset" : 8832, - "key.offset" : 8832, - "key.parsed_declaration" : "case inProgress(InProgress)", - "key.parsed_scope.end" : 304, - "key.parsed_scope.start" : 304, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Type) -> (CollectionViewLayout.InvalidationContext.InteractiveMoveAction.InProgress) -> CollectionViewLayout.InvalidationContext.InteractiveMoveAction", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionOAH10InProgressVcAHmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10inProgressyA2H02InT0VcAHmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 23, - "key.offset" : 8867, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case complete(Complete<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> complete<\/decl.name>(Complete<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 305, - "key.modulename" : "ListableUI", - "key.name" : "complete(_:)", - "key.namelength" : 18, - "key.nameoffset" : 8872, - "key.offset" : 8872, - "key.parsed_declaration" : "case complete(Complete)", - "key.parsed_scope.end" : 305, - "key.parsed_scope.start" : 305, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Type) -> (CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Complete) -> CollectionViewLayout.InvalidationContext.InteractiveMoveAction", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionOAH8CompleteVcAHmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO8completeyA2H8CompleteVcAHmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 25, - "key.offset" : 8903, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case cancelled(Cancelled<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> cancelled<\/decl.name>(Cancelled<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 20, - "key.line" : 306, - "key.modulename" : "ListableUI", - "key.name" : "cancelled(_:)", - "key.namelength" : 20, - "key.nameoffset" : 8908, - "key.offset" : 8908, - "key.parsed_declaration" : "case cancelled(Cancelled)", - "key.parsed_scope.end" : 306, - "key.parsed_scope.start" : 306, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Type) -> (CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Cancelled) -> CollectionViewLayout.InvalidationContext.InteractiveMoveAction", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionOAH9CancelledVcAHmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO9cancelledyA2H9CancelledVcAHmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var shouldRelayout: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 289, - "key.bodyoffset" : 8969, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> shouldRelayout<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 317, - "key.line" : 308, - "key.modulename" : "ListableUI", - "key.name" : "shouldRelayout", - "key.namelength" : 14, - "key.nameoffset" : 8946, - "key.offset" : 8942, - "key.parsed_declaration" : "var shouldRelayout : Bool", - "key.parsed_scope.end" : 317, - "key.parsed_scope.start" : 308, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO14shouldRelayoutSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CollectionViewLayout<\/Type>.InvalidationContext<\/Type>.InteractiveMoveAction<\/Type>.InProgress<\/Declaration>", - "key.bodylength" : 174, - "key.bodyoffset" : 9292, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class>.InteractiveMoveAction<\/ref.enum>.InProgress<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 194, - "key.line" : 319, - "key.modulename" : "ListableUI", - "key.name" : "InProgress", - "key.namelength" : 10, - "key.nameoffset" : 9280, - "key.offset" : 9273, - "key.parsed_declaration" : "struct InProgress", - "key.parsed_scope.end" : 325, - "key.parsed_scope.start" : 319, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var from: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> from<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 320, - "key.modulename" : "ListableUI", - "key.name" : "from", - "key.namelength" : 4, - "key.nameoffset" : 9313, - "key.offset" : 9309, - "key.parsed_declaration" : "var from : [IndexPath]", - "key.parsed_scope.end" : 320, - "key.parsed_scope.start" : 320, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressV4fromSay10Foundation9IndexPathVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var fromPosition: CGPoint<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> fromPosition<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 321, - "key.modulename" : "ListableUI", - "key.name" : "fromPosition", - "key.namelength" : 12, - "key.nameoffset" : 9352, - "key.offset" : 9348, - "key.parsed_declaration" : "var fromPosition : CGPoint", - "key.parsed_scope.end" : 321, - "key.parsed_scope.start" : 321, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressV12fromPositionSo7CGPointVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var to: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> to<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 323, - "key.modulename" : "ListableUI", - "key.name" : "to", - "key.namelength" : 2, - "key.nameoffset" : 9396, - "key.offset" : 9392, - "key.parsed_declaration" : "var to : [IndexPath]", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 323, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressV2toSay10Foundation9IndexPathVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var toPosition: CGPoint<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toPosition<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 324, - "key.modulename" : "ListableUI", - "key.name" : "toPosition", - "key.namelength" : 10, - "key.nameoffset" : 9433, - "key.offset" : 9429, - "key.parsed_declaration" : "var toPosition : CGPoint", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressV10toPositionSo7CGPointVvp" - } - ], - "key.typename" : "CollectionViewLayout.InvalidationContext.InteractiveMoveAction.InProgress.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressVmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO10InProgressV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CollectionViewLayout<\/Type>.InvalidationContext<\/Type>.InteractiveMoveAction<\/Type>.Complete<\/Declaration>", - "key.bodylength" : 89, - "key.bodyoffset" : 9498, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class>.InteractiveMoveAction<\/ref.enum>.Complete<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 107, - "key.line" : 327, - "key.modulename" : "ListableUI", - "key.name" : "Complete", - "key.namelength" : 8, - "key.nameoffset" : 9488, - "key.offset" : 9481, - "key.parsed_declaration" : "struct Complete", - "key.parsed_scope.end" : 330, - "key.parsed_scope.start" : 327, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var from: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> from<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "from", - "key.namelength" : 4, - "key.nameoffset" : 9519, - "key.offset" : 9515, - "key.parsed_declaration" : "var from : [IndexPath]", - "key.parsed_scope.end" : 328, - "key.parsed_scope.start" : 328, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO8CompleteV4fromSay10Foundation9IndexPathVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var to: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> to<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 329, - "key.modulename" : "ListableUI", - "key.name" : "to", - "key.namelength" : 2, - "key.nameoffset" : 9558, - "key.offset" : 9554, - "key.parsed_declaration" : "var to : [IndexPath]", - "key.parsed_scope.end" : 329, - "key.parsed_scope.start" : 329, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO8CompleteV2toSay10Foundation9IndexPathVGvp" - } - ], - "key.typename" : "CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Complete.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO8CompleteVmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO8CompleteV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CollectionViewLayout<\/Type>.InvalidationContext<\/Type>.InteractiveMoveAction<\/Type>.Cancelled<\/Declaration>", - "key.bodylength" : 89, - "key.bodyoffset" : 9620, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class>.InteractiveMoveAction<\/ref.enum>.Cancelled<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 108, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "Cancelled", - "key.namelength" : 9, - "key.nameoffset" : 9609, - "key.offset" : 9602, - "key.parsed_declaration" : "struct Cancelled", - "key.parsed_scope.end" : 335, - "key.parsed_scope.start" : 332, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var from: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> from<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 333, - "key.modulename" : "ListableUI", - "key.name" : "from", - "key.namelength" : 4, - "key.nameoffset" : 9641, - "key.offset" : 9637, - "key.parsed_declaration" : "var from : [IndexPath]", - "key.parsed_scope.end" : 333, - "key.parsed_scope.start" : 333, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO9CancelledV4fromSay10Foundation9IndexPathVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var to: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> to<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 334, - "key.modulename" : "ListableUI", - "key.name" : "to", - "key.namelength" : 2, - "key.nameoffset" : 9680, - "key.offset" : 9676, - "key.parsed_declaration" : "var to : [IndexPath]", - "key.parsed_scope.end" : 334, - "key.parsed_scope.start" : 334, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO9CancelledV2toSay10Foundation9IndexPathVGvp" - } - ], - "key.typename" : "CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Cancelled.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO9CancelledVmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO9CancelledV" - } - ], - "key.typename" : "CollectionViewLayout.InvalidationContext.InteractiveMoveAction.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionOmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC21InteractiveMoveActionO" - } - ], - "key.typename" : "CollectionViewLayout.InvalidationContext.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLCmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLC" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 27, - "key.name" : "MARK: Preparing For Layouts", - "key.offset" : 9742 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum CollectionViewLayout<\/Type>.NeededLayoutType<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9782 - } - ], - "key.bodylength" : 1140, - "key.bodyoffset" : 9813, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CollectionViewLayout<\/ref.class>.NeededLayoutType<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1164, - "key.line" : 343, - "key.modulename" : "ListableUI", - "key.name" : "NeededLayoutType", - "key.namelength" : 16, - "key.nameoffset" : 9795, - "key.offset" : 9790, - "key.parsed_declaration" : "private enum NeededLayoutType", - "key.parsed_scope.end" : 383, - "key.parsed_scope.start" : 343, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 9822, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 9827, - "key.offset" : 9827, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.typename" : "(CollectionViewLayout.NeededLayoutType.Type) -> CollectionViewLayout.NeededLayoutType", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLOAFmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO4noneyA2FmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 9840, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case relayout<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> relayout<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 345, - "key.modulename" : "ListableUI", - "key.name" : "relayout", - "key.namelength" : 8, - "key.nameoffset" : 9845, - "key.offset" : 9845, - "key.parsed_declaration" : "case relayout", - "key.parsed_scope.end" : 345, - "key.parsed_scope.start" : 345, - "key.reusingastcontext" : false, - "key.typename" : "(CollectionViewLayout.NeededLayoutType.Type) -> CollectionViewLayout.NeededLayoutType", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLOAFmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO8relayoutyA2FmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 9862, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case rebuild<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> rebuild<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 346, - "key.modulename" : "ListableUI", - "key.name" : "rebuild", - "key.namelength" : 7, - "key.nameoffset" : 9867, - "key.offset" : 9867, - "key.parsed_declaration" : "case rebuild", - "key.parsed_scope.end" : 346, - "key.parsed_scope.start" : 346, - "key.reusingastcontext" : false, - "key.typename" : "(CollectionViewLayout.NeededLayoutType.Type) -> CollectionViewLayout.NeededLayoutType", - "key.typeusr" : "$sy10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLOAFmcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO7rebuildyA2FmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "mutating func merge(with context: UICollectionViewLayoutInvalidationContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 9884 - } - ], - "key.bodylength" : 478, - "key.bodyoffset" : 9971, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> merge<\/decl.name>(with<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: UICollectionViewLayoutInvalidationContext<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 557, - "key.line" : 348, - "key.modulename" : "ListableUI", - "key.name" : "merge(with:)", - "key.namelength" : 63, - "key.nameoffset" : 9898, - "key.offset" : 9893, - "key.parsed_declaration" : "mutating func merge(with context : UICollectionViewLayoutInvalidationContext)", - "key.parsed_scope.end" : 360, - "key.parsed_scope.start" : 348, - "key.related_decls" : [ - { - "key.annotated_decl" : "merge(with: NeededLayoutType)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let context: CollectionViewLayout<\/Type>.InvalidationContext<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: CollectionViewLayout<\/ref.class>.InvalidationContext<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 350, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 9988, - "key.offset" : 9984, - "key.parsed_declaration" : "let context = context as! InvalidationContext", - "key.parsed_scope.end" : 350, - "key.parsed_scope.start" : 350, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout.InvalidationContext", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC19InvalidationContext33_EB34EA08C49AB6823BEA7E315664A1CBLLCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO5merge4withySo012UICollectiondE19InvalidationContextC_tF7contextL0_AC0sT0AELLCvp" - }, - { - "key.annotated_decl" : "let requeryDataSourceCounts: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> requeryDataSourceCounts<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 96, - "key.line" : 352, - "key.modulename" : "ListableUI", - "key.name" : "requeryDataSourceCounts", - "key.namelength" : 23, - "key.nameoffset" : 10047, - "key.offset" : 10043, - "key.parsed_declaration" : "let requeryDataSourceCounts = context.invalidateEverything || context.invalidateDataSourceCounts", - "key.parsed_scope.end" : 352, - "key.parsed_scope.start" : 352, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO5merge4withySo012UICollectiondE19InvalidationContextC_tF23requeryDataSourceCountsL_Sbvp" - }, - { - "key.annotated_decl" : "let needsRelayout: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> needsRelayout<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 107, - "key.line" : 353, - "key.modulename" : "ListableUI", - "key.name" : "needsRelayout", - "key.namelength" : 13, - "key.nameoffset" : 10156, - "key.offset" : 10152, - "key.parsed_declaration" : "let needsRelayout = context.viewPropertiesChanged || context.interactiveMoveAction?.shouldRelayout ?? false", - "key.parsed_scope.end" : 353, - "key.parsed_scope.start" : 353, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO5merge4withySo012UICollectiondE19InvalidationContextC_tF13needsRelayoutL_Sbvp" - } - ], - "key.typename" : "(inout CollectionViewLayout.NeededLayoutType) -> (UICollectionViewLayoutInvalidationContext) -> ()", - "key.typeusr" : "$s4withySo41UICollectionViewLayoutInvalidationContextC_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO5merge4withySo012UICollectiondE19InvalidationContextC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "mutating func merge(with new: NeededLayoutType<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 10460 - } - ], - "key.bodylength" : 96, - "key.bodyoffset" : 10518, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> merge<\/decl.name>(with<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: NeededLayoutType<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 146, - "key.line" : 362, - "key.modulename" : "ListableUI", - "key.name" : "merge(with:)", - "key.namelength" : 34, - "key.nameoffset" : 10474, - "key.offset" : 10469, - "key.parsed_declaration" : "mutating func merge(with new : NeededLayoutType)", - "key.parsed_scope.end" : 367, - "key.parsed_scope.start" : 362, - "key.related_decls" : [ - { - "key.annotated_decl" : "merge(with: UICollectionViewLayoutInvalidationContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout CollectionViewLayout.NeededLayoutType) -> (CollectionViewLayout.NeededLayoutType) -> ()", - "key.typeusr" : "$s4withy10ListableUI20CollectionViewLayoutC06NeededF4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO5merge4withyAF_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var priority: Int<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10625 - } - ], - "key.bodylength" : 155, - "key.bodyoffset" : 10653, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> priority<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 176, - "key.line" : 369, - "key.modulename" : "ListableUI", - "key.name" : "priority", - "key.namelength" : 8, - "key.nameoffset" : 10637, - "key.offset" : 10633, - "key.parsed_declaration" : "private var priority : Int", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 369, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO8prioritySivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "mutating func update(with success: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 10819 - } - ], - "key.bodylength" : 77, - "key.bodyoffset" : 10870, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> success<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 120, - "key.line" : 377, - "key.modulename" : "ListableUI", - "key.name" : "update(with:)", - "key.namelength" : 27, - "key.nameoffset" : 10833, - "key.offset" : 10828, - "key.parsed_declaration" : "mutating func update(with success : Bool)", - "key.parsed_scope.end" : 382, - "key.parsed_scope.start" : 377, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout CollectionViewLayout.NeededLayoutType) -> (Bool) -> ()", - "key.typeusr" : "$s4withySb_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO6update4withySb_tF" - } - ], - "key.typename" : "CollectionViewLayout.NeededLayoutType.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLOmD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var neededLayoutType: NeededLayoutType<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10960 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> neededLayoutType<\/decl.name>: NeededLayoutType<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 385, - "key.modulename" : "ListableUI", - "key.name" : "neededLayoutType", - "key.namelength" : 16, - "key.nameoffset" : 10972, - "key.offset" : 10968, - "key.parsed_declaration" : "private var neededLayoutType : NeededLayoutType = .rebuild", - "key.parsed_scope.end" : 385, - "key.parsed_scope.start" : 385, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CollectionViewLayout.NeededLayoutType", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutC06NeededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLOD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC06neededE4Type33_EB34EA08C49AB6823BEA7E315664A1CBLLAC06NeededeG0AELLOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func prepare()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 11024 - } - ], - "key.bodylength" : 812, - "key.bodyoffset" : 11053, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> prepare<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 833, - "key.line" : 387, - "key.modulename" : "ListableUI", - "key.name" : "prepare()", - "key.namelength" : 9, - "key.nameoffset" : 11038, - "key.offset" : 11033, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)prepareLayout" - } - ], - "key.parsed_declaration" : "override func prepare()", - "key.parsed_scope.end" : 418, - "key.parsed_scope.start" : 387, - "key.related_decls" : [ - { - "key.annotated_decl" : "prepare(forCollectionViewUpdates:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "prepare(forAnimatedBoundsChange:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let size: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 393, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 11156, - "key.offset" : 11152, - "key.parsed_declaration" : "let size = self.collectionView?.bounds.size ?? .zero", - "key.parsed_scope.end" : 393, - "key.parsed_scope.start" : 393, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC7prepareyyF4sizeL_So6CGSizeVvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)prepareLayout" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func prepare(forCollectionViewUpdates updateItems: [UICollectionViewUpdateItem<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 11872 - } - ], - "key.bodylength" : 140, - "key.bodyoffset" : 11967, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> prepare<\/decl.name>(forCollectionViewUpdates<\/decl.var.parameter.argument_label> updateItems<\/decl.var.parameter.name>: [UICollectionViewUpdateItem<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 227, - "key.line" : 420, - "key.modulename" : "ListableUI", - "key.name" : "prepare(forCollectionViewUpdates:)", - "key.namelength" : 75, - "key.nameoffset" : 11886, - "key.offset" : 11881, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)prepareForCollectionViewUpdates:" - } - ], - "key.parsed_declaration" : "override func prepare(forCollectionViewUpdates updateItems: [UICollectionViewUpdateItem])", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 420, - "key.related_decls" : [ - { - "key.annotated_decl" : "prepare()<\/RelatedName>" - }, - { - "key.annotated_decl" : "prepare(forAnimatedBoundsChange:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> ([UICollectionViewUpdateItem]) -> ()", - "key.typeusr" : "$s24forCollectionViewUpdatesySaySo012UICollectionC10UpdateItemCG_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)prepareForCollectionViewUpdates:" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Finishing Layouts", - "key.offset" : 12124 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func finalizeCollectionViewUpdates()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 12160 - } - ], - "key.bodylength" : 116, - "key.bodyoffset" : 12211, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> finalizeCollectionViewUpdates<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 159, - "key.line" : 431, - "key.modulename" : "ListableUI", - "key.name" : "finalizeCollectionViewUpdates()", - "key.namelength" : 31, - "key.nameoffset" : 12174, - "key.offset" : 12169, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)finalizeCollectionViewUpdates" - } - ], - "key.parsed_declaration" : "override func finalizeCollectionViewUpdates()", - "key.parsed_scope.end" : 436, - "key.parsed_scope.start" : 431, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)finalizeCollectionViewUpdates" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Performing Layouts", - "key.offset" : 12344 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performRebuild(andLayout layout: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 12381 - } - ], - "key.bodylength" : 634, - "key.bodyoffset" : 12439, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performRebuild<\/decl.name>(andLayout<\/decl.var.parameter.argument_label> layout<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 685, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "performRebuild(andLayout:)", - "key.namelength" : 39, - "key.nameoffset" : 12394, - "key.offset" : 12389, - "key.parsed_declaration" : "private func performRebuild(andLayout layout : Bool)", - "key.parsed_scope.end" : 464, - "key.parsed_scope.start" : 442, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (Bool) -> ()", - "key.typeusr" : "$s9andLayoutySb_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC14performRebuild33_EB34EA08C49AB6823BEA7E315664A1CBLL03andE0ySb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performLayout()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13080 - } - ], - "key.bodylength" : 398, - "key.bodyoffset" : 13114, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performLayout<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 425, - "key.line" : 466, - "key.modulename" : "ListableUI", - "key.name" : "performLayout()", - "key.namelength" : 15, - "key.nameoffset" : 13093, - "key.offset" : 13088, - "key.parsed_declaration" : "private func performLayout()", - "key.parsed_scope.end" : 481, - "key.parsed_scope.start" : 466, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: UICollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: UICollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 468, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 13127, - "key.offset" : 13123, - "key.parsed_declaration" : "let view = self.collectionView!", - "key.parsed_scope.end" : 468, - "key.parsed_scope.start" : 468, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionView", - "key.typeusr" : "$sSo16UICollectionViewCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE033_EB34EA08C49AB6823BEA7E315664A1CBLLyyF4viewL_So012UICollectionD0Cvp" - }, - { - "key.annotated_decl" : "let context: ListLayoutLayoutContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 156, - "key.line" : 470, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 13168, - "key.offset" : 13164, - "key.parsed_declaration" : "let context = ListLayoutLayoutContext(\n collectionView: view,\n environment: self.delegate.listViewLayoutCurrentEnvironment()\n)", - "key.parsed_scope.end" : 470, - "key.parsed_scope.start" : 470, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutLayoutContext", - "key.typeusr" : "$s10ListableUI010ListLayoutD7ContextVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE033_EB34EA08C49AB6823BEA7E315664A1CBLLyyF7contextL_AA04ListeE7ContextVvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE033_EB34EA08C49AB6823BEA7E315664A1CBLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performLayoutUpdate()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 13519 - } - ], - "key.bodylength" : 395, - "key.bodyoffset" : 13559, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performLayoutUpdate<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 428, - "key.line" : 483, - "key.modulename" : "ListableUI", - "key.name" : "performLayoutUpdate()", - "key.namelength" : 21, - "key.nameoffset" : 13532, - "key.offset" : 13527, - "key.parsed_declaration" : "private func performLayoutUpdate()", - "key.parsed_scope.end" : 496, - "key.parsed_scope.start" : 483, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: UICollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: UICollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 485, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 13572, - "key.offset" : 13568, - "key.parsed_declaration" : "let view = self.collectionView!", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 485, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionView", - "key.typeusr" : "$sSo16UICollectionViewCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE6Update33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF4viewL_So012UICollectionD0Cvp" - }, - { - "key.annotated_decl" : "let context: ListLayoutLayoutContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> context<\/decl.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 156, - "key.line" : 487, - "key.modulename" : "ListableUI", - "key.name" : "context", - "key.namelength" : 7, - "key.nameoffset" : 13613, - "key.offset" : 13609, - "key.parsed_declaration" : "let context = ListLayoutLayoutContext(\n collectionView: view,\n environment: self.delegate.listViewLayoutCurrentEnvironment()\n)", - "key.parsed_scope.end" : 487, - "key.parsed_scope.start" : 487, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutLayoutContext", - "key.typeusr" : "$s10ListableUI010ListLayoutD7ContextVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE6Update33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF7contextL_AA04ListeE7ContextVvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07performE6Update33_EB34EA08C49AB6823BEA7E315664A1CBLLyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 36, - "key.name" : "MARK: UICollectionViewLayout Methods", - "key.offset" : 13971 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var collectionViewContentSize: CGSize<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 14020 - } - ], - "key.bodylength" : 52, - "key.bodyoffset" : 14073, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> collectionViewContentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 97, - "key.line" : 502, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewContentSize", - "key.namelength" : 25, - "key.nameoffset" : 14033, - "key.offset" : 14029, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(py)collectionViewContentSize" - } - ], - "key.parsed_declaration" : "override var collectionViewContentSize : CGSize", - "key.parsed_scope.end" : 505, - "key.parsed_scope.start" : 502, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(py)collectionViewContentSize" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutAttributesForElements(in rect: CGRect<\/Type>) -> [UICollectionViewLayoutAttributes<\/Type>]?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 14132 - } - ], - "key.bodylength" : 98, - "key.bodyoffset" : 14235, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutAttributesForElements<\/decl.name>(in<\/decl.var.parameter.argument_label> rect<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [UICollectionViewLayoutAttributes<\/ref.class>]?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 193, - "key.line" : 507, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributesForElements(in:)", - "key.namelength" : 44, - "key.nameoffset" : 14146, - "key.offset" : 14141, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)layoutAttributesForElementsInRect:" - } - ], - "key.parsed_declaration" : "override func layoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]?", - "key.parsed_scope.end" : 510, - "key.parsed_scope.start" : 507, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (CGRect) -> [UICollectionViewLayoutAttributes]?", - "key.typeusr" : "$s2inSaySo32UICollectionViewLayoutAttributesCGSgSo6CGRectV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)layoutAttributesForElementsInRect:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func visibleLayoutAttributesForElements(in rect: CGRect<\/Type>) -> [UICollectionViewLayoutAttributes<\/Type>]?<\/Declaration>", - "key.bodylength" : 99, - "key.bodyoffset" : 14441, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> visibleLayoutAttributesForElements<\/decl.name>(in<\/decl.var.parameter.argument_label> rect<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [UICollectionViewLayoutAttributes<\/ref.class>]?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 201, - "key.line" : 512, - "key.modulename" : "ListableUI", - "key.name" : "visibleLayoutAttributesForElements(in:)", - "key.namelength" : 51, - "key.nameoffset" : 14345, - "key.offset" : 14340, - "key.parsed_declaration" : "func visibleLayoutAttributesForElements(in rect: CGRect) -> [UICollectionViewLayoutAttributes]?", - "key.parsed_scope.end" : 515, - "key.parsed_scope.start" : 512, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (CGRect) -> [UICollectionViewLayoutAttributes]?", - "key.typeusr" : "$s2inSaySo32UICollectionViewLayoutAttributesCGSgSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07visibleE21AttributesForElements2inSaySo012UICollectiondeG0CGSgSo6CGRectV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutAttributesForItem(at indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 14547 - } - ], - "key.bodylength" : 72, - "key.bodyoffset" : 14652, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutAttributesForItem<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 169, - "key.line" : 517, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributesForItem(at:)", - "key.namelength" : 48, - "key.nameoffset" : 14561, - "key.offset" : 14556, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)layoutAttributesForItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "override func layoutAttributesForItem(at indexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 520, - "key.parsed_scope.start" : 517, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s2atSo32UICollectionViewLayoutAttributesCSg10Foundation9IndexPathV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)layoutAttributesForItemAtIndexPath:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func layoutAttributesForSupplementaryView(ofKind elementKind: String<\/Type>, at indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 14738 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14731 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 14884, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutAttributesForSupplementaryView<\/decl.name>(ofKind<\/decl.var.parameter.argument_label> elementKind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 240, - "key.line" : 522, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributesForSupplementaryView(ofKind:at:)", - "key.namelength" : 89, - "key.nameoffset" : 14752, - "key.offset" : 14747, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)layoutAttributesForSupplementaryViewOfKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "public override func layoutAttributesForSupplementaryView(ofKind elementKind: String, at indexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 525, - "key.parsed_scope.start" : 522, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (String, IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s6ofKind2atSo32UICollectionViewLayoutAttributesCSgSS_10Foundation9IndexPathVtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)layoutAttributesForSupplementaryViewOfKind:atIndexPath:" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 59, - "key.name" : "MARK: UICollectionViewLayout Methods: Insertions & Removals", - "key.offset" : 15003 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func animations(for item: ListLayoutContent<\/Type>.ItemInfo<\/Type>) -> ItemInsertAndRemoveAnimations<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 15075 - } - ], - "key.bodylength" : 158, - "key.bodyoffset" : 15172, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> animations<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemInsertAndRemoveAnimations<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 248, - "key.line" : 531, - "key.modulename" : "ListableUI", - "key.name" : "animations(for:)", - "key.namelength" : 49, - "key.nameoffset" : 15088, - "key.offset" : 15083, - "key.parsed_declaration" : "private func animations(for item : ListLayoutContent.ItemInfo) -> ItemInsertAndRemoveAnimations", - "key.parsed_scope.end" : 537, - "key.parsed_scope.start" : 531, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (ListLayoutContent.ItemInfo) -> ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s3for10ListableUI29ItemInsertAndRemoveAnimationsVAB17ListLayoutContentC0D4InfoC_tcD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC10animations33_EB34EA08C49AB6823BEA7E315664A1CBLL3forAA29ItemInsertAndRemoveAnimationsVAA04ListE7ContentC0P4InfoC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 15337 - } - ], - "key.bodylength" : 922, - "key.bodyoffset" : 15462, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> initialLayoutAttributesForAppearingItem<\/decl.name>(at<\/decl.var.parameter.argument_label> itemIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1039, - "key.line" : 539, - "key.modulename" : "ListableUI", - "key.name" : "initialLayoutAttributesForAppearingItem(at:)", - "key.namelength" : 68, - "key.nameoffset" : 15351, - "key.offset" : 15346, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)initialLayoutAttributesForAppearingItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "override func initialLayoutAttributesForAppearingItem(at itemIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 564, - "key.parsed_scope.start" : 539, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let wasInserted: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wasInserted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 108, - "key.line" : 541, - "key.modulename" : "ListableUI", - "key.name" : "wasInserted", - "key.namelength" : 11, - "key.nameoffset" : 15475, - "key.offset" : 15471, - "key.parsed_declaration" : "let wasInserted = self.changesDuringCurrentUpdate.insertedItems.contains(.init(newIndexPath: itemIndexPath))", - "key.parsed_scope.end" : 541, - "key.parsed_scope.start" : 541, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07initialE26AttributesForAppearingItem2atSo012UICollectiondeG0CSg10Foundation9IndexPathV_tF11wasInsertedL_Sbvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s2atSo32UICollectionViewLayoutAttributesCSg10Foundation9IndexPathV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)initialLayoutAttributesForAppearingItemAtIndexPath:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 16391 - } - ], - "key.bodylength" : 934, - "key.bodyoffset" : 16517, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> finalLayoutAttributesForDisappearingItem<\/decl.name>(at<\/decl.var.parameter.argument_label> itemIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1052, - "key.line" : 566, - "key.modulename" : "ListableUI", - "key.name" : "finalLayoutAttributesForDisappearingItem(at:)", - "key.namelength" : 69, - "key.nameoffset" : 16405, - "key.offset" : 16400, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)finalLayoutAttributesForDisappearingItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "override func finalLayoutAttributesForDisappearingItem(at itemIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 591, - "key.parsed_scope.start" : 566, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let wasItemDeleted: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wasItemDeleted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 110, - "key.line" : 568, - "key.modulename" : "ListableUI", - "key.name" : "wasItemDeleted", - "key.namelength" : 14, - "key.nameoffset" : 16530, - "key.offset" : 16526, - "key.parsed_declaration" : "let wasItemDeleted = self.changesDuringCurrentUpdate.deletedItems.contains(.init(oldIndexPath: itemIndexPath))", - "key.parsed_scope.end" : 568, - "key.parsed_scope.start" : 568, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC05finalE29AttributesForDisappearingItem2atSo012UICollectiondeG0CSg10Foundation9IndexPathV_tF03wasJ7DeletedL_Sbvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s2atSo32UICollectionViewLayoutAttributesCSg10Foundation9IndexPathV_tcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)finalLayoutAttributesForDisappearingItemAtIndexPath:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String<\/Type>, at elementIndexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 17458 - } - ], - "key.bodylength" : 370, - "key.bodyoffset" : 17630, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> initialLayoutAttributesForAppearingSupplementaryElement<\/decl.name>(ofKind<\/decl.var.parameter.argument_label> elementKind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> elementIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 534, - "key.line" : 593, - "key.modulename" : "ListableUI", - "key.name" : "initialLayoutAttributesForAppearingSupplementaryElement(ofKind:at:)", - "key.namelength" : 115, - "key.nameoffset" : 17472, - "key.offset" : 17467, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)initialLayoutAttributesForAppearingSupplementaryElementOfKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "override func initialLayoutAttributesForAppearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 603, - "key.parsed_scope.start" : 593, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let wasInserted: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wasInserted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 118, - "key.line" : 595, - "key.modulename" : "ListableUI", - "key.name" : "wasInserted", - "key.namelength" : 11, - "key.nameoffset" : 17643, - "key.offset" : 17639, - "key.parsed_declaration" : "let wasInserted = self.changesDuringCurrentUpdate.insertedSections.contains(.init(newIndex: elementIndexPath.section))", - "key.parsed_scope.end" : 595, - "key.parsed_scope.start" : 595, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07initialE42AttributesForAppearingSupplementaryElement6ofKind2atSo012UICollectiondeG0CSgSS_10Foundation9IndexPathVtF11wasInsertedL_Sbvp" - }, - { - "key.annotated_decl" : "let attributes: UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> attributes<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 121, - "key.line" : 596, - "key.modulename" : "ListableUI", - "key.name" : "attributes", - "key.namelength" : 10, - "key.nameoffset" : 17770, - "key.offset" : 17766, - "key.parsed_declaration" : "let attributes = super.initialLayoutAttributesForAppearingSupplementaryElement(ofKind: elementKind, at: elementIndexPath)", - "key.parsed_scope.end" : 596, - "key.parsed_scope.start" : 596, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes?", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCSgD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC07initialE42AttributesForAppearingSupplementaryElement6ofKind2atSo012UICollectiondeG0CSgSS_10Foundation9IndexPathVtF10attributesL_AIvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (String, IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s6ofKind2atSo32UICollectionViewLayoutAttributesCSgSS_10Foundation9IndexPathVtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)initialLayoutAttributesForAppearingSupplementaryElementOfKind:atIndexPath:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String<\/Type>, at elementIndexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 18007 - } - ], - "key.bodylength" : 368, - "key.bodyoffset" : 18180, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> finalLayoutAttributesForDisappearingSupplementaryElement<\/decl.name>(ofKind<\/decl.var.parameter.argument_label> elementKind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> elementIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 533, - "key.line" : 605, - "key.modulename" : "ListableUI", - "key.name" : "finalLayoutAttributesForDisappearingSupplementaryElement(ofKind:at:)", - "key.namelength" : 116, - "key.nameoffset" : 18021, - "key.offset" : 18016, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)finalLayoutAttributesForDisappearingSupplementaryElementOfKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "override func finalLayoutAttributesForDisappearingSupplementaryElement(ofKind elementKind: String, at elementIndexPath: IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 615, - "key.parsed_scope.start" : 605, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let wasDeleted: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wasDeleted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 116, - "key.line" : 607, - "key.modulename" : "ListableUI", - "key.name" : "wasDeleted", - "key.namelength" : 10, - "key.nameoffset" : 18193, - "key.offset" : 18189, - "key.parsed_declaration" : "let wasDeleted = self.changesDuringCurrentUpdate.deletedSections.contains(.init(oldIndex: elementIndexPath.section))", - "key.parsed_scope.end" : 607, - "key.parsed_scope.start" : 607, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC05finalE45AttributesForDisappearingSupplementaryElement6ofKind2atSo012UICollectiondeG0CSgSS_10Foundation9IndexPathVtF10wasDeletedL_Sbvp" - }, - { - "key.annotated_decl" : "let attributes: UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> attributes<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 122, - "key.line" : 608, - "key.modulename" : "ListableUI", - "key.name" : "attributes", - "key.namelength" : 10, - "key.nameoffset" : 18318, - "key.offset" : 18314, - "key.parsed_declaration" : "let attributes = super.finalLayoutAttributesForDisappearingSupplementaryElement(ofKind: elementKind, at: elementIndexPath)", - "key.parsed_scope.end" : 608, - "key.parsed_scope.start" : 608, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes?", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCSgD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC05finalE45AttributesForDisappearingSupplementaryElement6ofKind2atSo012UICollectiondeG0CSgSS_10Foundation9IndexPathVtF10attributesL_AIvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (String, IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s6ofKind2atSo32UICollectionViewLayoutAttributesCSgSS_10Foundation9IndexPathVtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)finalLayoutAttributesForDisappearingSupplementaryElementOfKind:atIndexPath:" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 50, - "key.name" : "MARK: UICollectionViewLayout Methods: Moving Items", - "key.offset" : 18565 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath<\/Type>, withPosition position: CGPoint<\/Type>) -> IndexPath<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 18628 - } - ], - "key.bodylength" : 533, - "key.bodyoffset" : 18783, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> targetIndexPath<\/decl.name>(forInteractivelyMovingItem<\/decl.var.parameter.argument_label> previousIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 680, - "key.line" : 621, - "key.modulename" : "ListableUI", - "key.name" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)", - "key.namelength" : 126, - "key.nameoffset" : 18642, - "key.offset" : 18637, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)targetIndexPathForInteractivelyMovingItem:withPosition:" - } - ], - "key.parsed_declaration" : "override func targetIndexPath(\n forInteractivelyMovingItem previousIndexPath: IndexPath,\n withPosition position: CGPoint\n) -> IndexPath", - "key.parsed_scope.end" : 637, - "key.parsed_scope.start" : 621, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath, CGPoint) -> IndexPath", - "key.typeusr" : "$s26forInteractivelyMovingItem12withPosition10Foundation9IndexPathVAE_So7CGPointVtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)targetIndexPathForInteractivelyMovingItem:withPosition:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override func layoutAttributesForInteractivelyMovingItem(at indexPath: IndexPath<\/Type>, withTargetPosition position: CGPoint<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 19323 - } - ], - "key.bodylength" : 581, - "key.bodyoffset" : 19506, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutAttributesForInteractivelyMovingItem<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withTargetPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 756, - "key.line" : 639, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributesForInteractivelyMovingItem(at:withTargetPosition:)", - "key.namelength" : 127, - "key.nameoffset" : 19337, - "key.offset" : 19332, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionViewLayout(im)layoutAttributesForInteractivelyMovingItemAtIndexPath:withTargetPosition:" - } - ], - "key.parsed_declaration" : "override func layoutAttributesForInteractivelyMovingItem(\n at indexPath: IndexPath,\n withTargetPosition position: CGPoint\n) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 659, - "key.parsed_scope.start" : 639, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let original: UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> original<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 66, - "key.line" : 644, - "key.modulename" : "ListableUI", - "key.name" : "original", - "key.namelength" : 8, - "key.nameoffset" : 19519, - "key.offset" : 19515, - "key.parsed_declaration" : "let original = self.layout.content.layoutAttributes(at: indexPath)", - "key.parsed_scope.end" : 644, - "key.parsed_scope.start" : 644, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC42layoutAttributesForInteractivelyMovingItem2at18withTargetPositionSo012UICollectiondeG0C10Foundation9IndexPathV_So7CGPointVtF8originalL_AHvp" - }, - { - "key.annotated_decl" : "let current: UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> current<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 107, - "key.line" : 645, - "key.modulename" : "ListableUI", - "key.name" : "current", - "key.namelength" : 7, - "key.nameoffset" : 19594, - "key.offset" : 19590, - "key.parsed_declaration" : "let current = super.layoutAttributesForInteractivelyMovingItem(at: indexPath, withTargetPosition: position)", - "key.parsed_scope.end" : 645, - "key.parsed_scope.start" : 645, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC42layoutAttributesForInteractivelyMovingItem2at18withTargetPositionSo012UICollectiondeG0C10Foundation9IndexPathV_So7CGPointVtF7currentL_AHvp" - }, - { - "key.annotated_decl" : "var currentAttributes: ListContentLayoutAttributes<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> currentAttributes<\/decl.name>: ListContentLayoutAttributes<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 60, - "key.line" : 647, - "key.modulename" : "ListableUI", - "key.name" : "currentAttributes", - "key.namelength" : 17, - "key.nameoffset" : 19711, - "key.offset" : 19707, - "key.parsed_declaration" : "var currentAttributes = ListContentLayoutAttributes(current)", - "key.parsed_scope.end" : 647, - "key.parsed_scope.start" : 647, - "key.reusingastcontext" : false, - "key.typename" : "ListContentLayoutAttributes", - "key.typeusr" : "$s10ListableUI27ListContentLayoutAttributesVD", - "key.usr" : "s:10ListableUI20CollectionViewLayoutC42layoutAttributesForInteractivelyMovingItem2at18withTargetPositionSo012UICollectiondeG0C10Foundation9IndexPathV_So7CGPointVtF07currentG0L_AA011ListContenteG0Vvp" - } - ], - "key.typename" : "(CollectionViewLayout) -> (IndexPath, CGPoint) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$s2at18withTargetPositionSo32UICollectionViewLayoutAttributesC10Foundation9IndexPathV_So7CGPointVtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout(im)layoutAttributesForInteractivelyMovingItemAtIndexPath:withTargetPosition:" - } - ], - "key.typename" : "CollectionViewLayout.Type", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionViewLayout" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: Invalidation Helpers", - "key.offset" : 20099 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CollectionViewLayoutProperties : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 437, - "key.bodyoffset" : 20182, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 20171 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CollectionViewLayoutProperties<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 489, - "key.line" : 668, - "key.modulename" : "ListableUI", - "key.name" : "CollectionViewLayoutProperties", - "key.namelength" : 30, - "key.nameoffset" : 20138, - "key.offset" : 20131, - "key.parsed_declaration" : "struct CollectionViewLayoutProperties : Equatable", - "key.parsed_scope.end" : 687, - "key.parsed_scope.start" : 668, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let size: CGSize<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 670, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 20191, - "key.offset" : 20187, - "key.parsed_declaration" : "let size : CGSize", - "key.parsed_scope.end" : 670, - "key.parsed_scope.start" : 670, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesV4sizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let safeAreaInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 671, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 20213, - "key.offset" : 20209, - "key.parsed_declaration" : "let safeAreaInsets : UIEdgeInsets", - "key.parsed_scope.end" : 671, - "key.parsed_scope.start" : 671, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesV14safeAreaInsetsSo06UIEdgeI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let contentInset: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentInset<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 672, - "key.modulename" : "ListableUI", - "key.name" : "contentInset", - "key.namelength" : 12, - "key.nameoffset" : 20251, - "key.offset" : 20247, - "key.parsed_declaration" : "let contentInset : UIEdgeInsets", - "key.parsed_scope.end" : 672, - "key.parsed_scope.start" : 672, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesV12contentInsetSo12UIEdgeInsetsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 101, - "key.bodyoffset" : 20296, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 114, - "key.line" : 674, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 20284, - "key.offset" : 20284, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 679, - "key.parsed_scope.start" : 674, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(collectionView:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(CollectionViewLayoutProperties.Type) -> () -> CollectionViewLayoutProperties", - "key.typeusr" : "$s10ListableUI30CollectionViewLayoutPropertiesVycD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesVACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(collectionView: UICollectionView<\/Type>)<\/Declaration>", - "key.bodylength" : 168, - "key.bodyoffset" : 20449, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(collectionView<\/decl.var.parameter.argument_label>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 214, - "key.line" : 681, - "key.modulename" : "ListableUI", - "key.name" : "init(collectionView:)", - "key.namelength" : 39, - "key.nameoffset" : 20404, - "key.offset" : 20404, - "key.parsed_declaration" : "init(collectionView : UICollectionView)", - "key.parsed_scope.end" : 686, - "key.parsed_scope.start" : 681, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CollectionViewLayoutProperties.Type) -> (UICollectionView) -> CollectionViewLayoutProperties", - "key.typeusr" : "$s14collectionView10ListableUI010CollectionB16LayoutPropertiesVSo012UICollectionB0C_tcD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesV010collectionD0ACSo012UICollectionD0C_tcfc" - } - ], - "key.typename" : "CollectionViewLayoutProperties.Type", - "key.typeusr" : "$s10ListableUI30CollectionViewLayoutPropertiesVmD", - "key.usr" : "s:10ListableUI30CollectionViewLayoutPropertiesV" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 37, - "key.name" : "MARK: Delegate For Layout Information", - "key.offset" : 20629 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol CollectionViewLayoutDelegate : AnyObject<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20671 - } - ], - "key.bodylength" : 301, - "key.bodyoffset" : 20729, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 20718 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> CollectionViewLayoutDelegate<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 353, - "key.line" : 694, - "key.modulename" : "ListableUI", - "key.name" : "CollectionViewLayoutDelegate", - "key.namelength" : 28, - "key.nameoffset" : 20687, - "key.offset" : 20678, - "key.parsed_declaration" : "public protocol CollectionViewLayoutDelegate : AnyObject", - "key.parsed_scope.end" : 707, - "key.parsed_scope.start" : 694, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listViewLayoutUpdatedItemPositions()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listViewLayoutUpdatedItemPositions<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 41, - "key.line" : 696, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutUpdatedItemPositions()", - "key.namelength" : 36, - "key.nameoffset" : 20739, - "key.offset" : 20734, - "key.parsed_declaration" : "func listViewLayoutUpdatedItemPositions()", - "key.parsed_scope.end" : 696, - "key.parsed_scope.start" : 696, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listdE20UpdatedItemPositionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listLayoutContent(defaults: ListLayoutDefaults<\/Type>) -> ListLayoutContent<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listLayoutContent<\/decl.name>(defaults<\/decl.var.parameter.argument_label>: ListLayoutDefaults<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 87, - "key.line" : 698, - "key.modulename" : "ListableUI", - "key.name" : "listLayoutContent(defaults:)", - "key.namelength" : 61, - "key.nameoffset" : 20786, - "key.offset" : 20781, - "key.parsed_declaration" : "func listLayoutContent(\n defaults: ListLayoutDefaults\n) -> ListLayoutContent", - "key.parsed_scope.end" : 698, - "key.parsed_scope.start" : 698, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutDefaults) -> ListLayoutContent", - "key.typeusr" : "$s8defaults10ListableUI17ListLayoutContentCAB0dE8DefaultsV_tcD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listE7Content8defaultsAA04ListeH0CAA0jE8DefaultsV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listViewLayoutCurrentEnvironment() -> ListEnvironment<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listViewLayoutCurrentEnvironment<\/decl.name>() -> ListEnvironment<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 58, - "key.line" : 702, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutCurrentEnvironment()", - "key.namelength" : 34, - "key.nameoffset" : 20879, - "key.offset" : 20874, - "key.parsed_declaration" : "func listViewLayoutCurrentEnvironment() -> ListEnvironment", - "key.parsed_scope.end" : 702, - "key.parsed_scope.start" : 702, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVycD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listdE18CurrentEnvironmentAA04ListI0VyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listViewLayoutDidLayoutContents()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listViewLayoutDidLayoutContents<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.line" : 704, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutDidLayoutContents()", - "key.namelength" : 33, - "key.nameoffset" : 20943, - "key.offset" : 20938, - "key.parsed_declaration" : "func listViewLayoutDidLayoutContents()", - "key.parsed_scope.end" : 704, - "key.parsed_scope.start" : 704, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listde3DidE8ContentsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func listViewShouldEndQueueingEditsForReorder()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> listViewShouldEndQueueingEditsForReorder<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 47, - "key.line" : 706, - "key.modulename" : "ListableUI", - "key.name" : "listViewShouldEndQueueingEditsForReorder()", - "key.namelength" : 42, - "key.nameoffset" : 20987, - "key.offset" : 20982, - "key.parsed_declaration" : "func listViewShouldEndQueueingEditsForReorder()", - "key.parsed_scope.end" : 706, - "key.parsed_scope.start" : 706, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listD32ShouldEndQueueingEditsForReorderyyF" - } - ], - "key.typename" : "CollectionViewLayoutDelegate.Type", - "key.typeusr" : "$s10ListableUI28CollectionViewLayoutDelegate_pmD", - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 52, - "key.name" : "MARK: Update Information From Collection View Layout", - "key.offset" : 21040 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate struct UpdateItems : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 21097 - } - ], - "key.bodylength" : 1848, - "key.bodyoffset" : 21141, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 21130 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> UpdateItems<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1881, - "key.line" : 714, - "key.modulename" : "ListableUI", - "key.name" : "UpdateItems", - "key.namelength" : 11, - "key.nameoffset" : 21116, - "key.offset" : 21109, - "key.parsed_declaration" : "fileprivate struct UpdateItems : Equatable", - "key.parsed_scope.end" : 784, - "key.parsed_scope.start" : 714, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let insertedSections: Set<\/Type><InsertSection<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insertedSections<\/decl.name>: Set<\/ref.struct><InsertSection<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 716, - "key.modulename" : "ListableUI", - "key.name" : "insertedSections", - "key.namelength" : 16, - "key.nameoffset" : 21150, - "key.offset" : 21146, - "key.parsed_declaration" : "let insertedSections : Set", - "key.parsed_scope.end" : 716, - "key.parsed_scope.start" : 716, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13InsertSectionVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV16insertedSectionsShyAD13InsertSectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let deletedSections: Set<\/Type><DeleteSection<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> deletedSections<\/decl.name>: Set<\/ref.struct><DeleteSection<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 717, - "key.modulename" : "ListableUI", - "key.name" : "deletedSections", - "key.namelength" : 15, - "key.nameoffset" : 21196, - "key.offset" : 21192, - "key.parsed_declaration" : "let deletedSections : Set", - "key.parsed_scope.end" : 717, - "key.parsed_scope.start" : 717, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13DeleteSectionVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV15deletedSectionsShyAD13DeleteSectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let insertedItems: Set<\/Type><InsertItem<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insertedItems<\/decl.name>: Set<\/ref.struct><InsertItem<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 719, - "key.modulename" : "ListableUI", - "key.name" : "insertedItems", - "key.namelength" : 13, - "key.nameoffset" : 21242, - "key.offset" : 21238, - "key.parsed_declaration" : "let insertedItems : Set", - "key.parsed_scope.end" : 719, - "key.parsed_scope.start" : 719, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10InsertItemVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV08insertedD0ShyAD10InsertItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let deletedItems: Set<\/Type><DeleteItem<\/Type>><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> deletedItems<\/decl.name>: Set<\/ref.struct><DeleteItem<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 720, - "key.modulename" : "ListableUI", - "key.name" : "deletedItems", - "key.namelength" : 12, - "key.nameoffset" : 21282, - "key.offset" : 21278, - "key.parsed_declaration" : "let deletedItems : Set", - "key.parsed_scope.end" : 720, - "key.parsed_scope.start" : 720, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10DeleteItemVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV07deletedD0ShyAD10DeleteItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(with updateItems: [UICollectionViewUpdateItem<\/Type>])<\/Declaration>", - "key.bodylength" : 1292, - "key.bodyoffset" : 21377, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> updateItems<\/decl.var.parameter.name>: [UICollectionViewUpdateItem<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1352, - "key.line" : 722, - "key.modulename" : "ListableUI", - "key.name" : "init(with:)", - "key.namelength" : 53, - "key.nameoffset" : 21318, - "key.offset" : 21318, - "key.parsed_declaration" : "init(with updateItems : [UICollectionViewUpdateItem])", - "key.parsed_scope.end" : 763, - "key.parsed_scope.start" : 722, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var insertedSections: Set<\/Type><UpdateItems<\/Type>.InsertSection<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insertedSections<\/decl.name>: Set<\/ref.struct><UpdateItems<\/ref.struct>.InsertSection<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 43, - "key.line" : 724, - "key.modulename" : "ListableUI", - "key.name" : "insertedSections", - "key.namelength" : 16, - "key.nameoffset" : 21390, - "key.offset" : 21386, - "key.parsed_declaration" : "var insertedSections = Set()", - "key.parsed_scope.end" : 724, - "key.parsed_scope.start" : 724, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13InsertSectionVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV4withADSaySo016UICollectionViewC4ItemCG_tcfc16insertedSectionsL_ShyAD13InsertSectionVGvp" - }, - { - "key.annotated_decl" : "var deletedSections: Set<\/Type><UpdateItems<\/Type>.DeleteSection<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> deletedSections<\/decl.name>: Set<\/ref.struct><UpdateItems<\/ref.struct>.DeleteSection<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 725, - "key.modulename" : "ListableUI", - "key.name" : "deletedSections", - "key.namelength" : 15, - "key.nameoffset" : 21442, - "key.offset" : 21438, - "key.parsed_declaration" : "var deletedSections = Set()", - "key.parsed_scope.end" : 725, - "key.parsed_scope.start" : 725, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13DeleteSectionVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV4withADSaySo016UICollectionViewC4ItemCG_tcfc15deletedSectionsL_ShyAD13DeleteSectionVGvp" - }, - { - "key.annotated_decl" : "var insertedItems: Set<\/Type><UpdateItems<\/Type>.InsertItem<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insertedItems<\/decl.name>: Set<\/ref.struct><UpdateItems<\/ref.struct>.InsertItem<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 37, - "key.line" : 727, - "key.modulename" : "ListableUI", - "key.name" : "insertedItems", - "key.namelength" : 13, - "key.nameoffset" : 21494, - "key.offset" : 21490, - "key.parsed_declaration" : "var insertedItems = Set()", - "key.parsed_scope.end" : 727, - "key.parsed_scope.start" : 727, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10InsertItemVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV4withADSaySo016UICollectionViewC4ItemCG_tcfc08insertedD0L_ShyAD06InsertP0VGvp" - }, - { - "key.annotated_decl" : "var deletedItems: Set<\/Type><UpdateItems<\/Type>.DeleteItem<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> deletedItems<\/decl.name>: Set<\/ref.struct><UpdateItems<\/ref.struct>.DeleteItem<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 728, - "key.modulename" : "ListableUI", - "key.name" : "deletedItems", - "key.namelength" : 12, - "key.nameoffset" : 21540, - "key.offset" : 21536, - "key.parsed_declaration" : "var deletedItems = Set()", - "key.parsed_scope.end" : 728, - "key.parsed_scope.start" : 728, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10DeleteItemVGD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV4withADSaySo016UICollectionViewC4ItemCG_tcfc07deletedD0L_ShyAD06DeleteP0VGvp" - } - ], - "key.typename" : "(UpdateItems.Type) -> ([UICollectionViewUpdateItem]) -> UpdateItems", - "key.typeusr" : "$s4with10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLVSaySo016UICollectionViewD4ItemCG_tcD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV4withADSaySo016UICollectionViewC4ItemCG_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct UpdateItems<\/Type>.InsertSection : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 32, - "key.bodyoffset" : 22713, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 22699 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> UpdateItems<\/ref.struct>.InsertSection<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 70, - "key.line" : 765, - "key.modulename" : "ListableUI", - "key.name" : "InsertSection", - "key.namelength" : 13, - "key.nameoffset" : 22683, - "key.offset" : 22676, - "key.parsed_declaration" : "struct InsertSection : Hashable", - "key.parsed_scope.end" : 768, - "key.parsed_scope.start" : 765, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var newIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> newIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 767, - "key.modulename" : "ListableUI", - "key.name" : "newIndex", - "key.namelength" : 8, - "key.nameoffset" : 22726, - "key.offset" : 22722, - "key.parsed_declaration" : "var newIndex : Int", - "key.parsed_scope.end" : 767, - "key.parsed_scope.start" : 767, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13InsertSectionV8newIndexSivp" - } - ], - "key.typename" : "UpdateItems.InsertSection.Type", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13InsertSectionVmD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13InsertSectionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct UpdateItems<\/Type>.DeleteSection : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 32, - "key.bodyoffset" : 22789, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 22775 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> UpdateItems<\/ref.struct>.DeleteSection<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 70, - "key.line" : 770, - "key.modulename" : "ListableUI", - "key.name" : "DeleteSection", - "key.namelength" : 13, - "key.nameoffset" : 22759, - "key.offset" : 22752, - "key.parsed_declaration" : "struct DeleteSection : Hashable", - "key.parsed_scope.end" : 773, - "key.parsed_scope.start" : 770, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndex: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 772, - "key.modulename" : "ListableUI", - "key.name" : "oldIndex", - "key.namelength" : 8, - "key.nameoffset" : 22802, - "key.offset" : 22798, - "key.parsed_declaration" : "var oldIndex : Int", - "key.parsed_scope.end" : 772, - "key.parsed_scope.start" : 772, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13DeleteSectionV8oldIndexSivp" - } - ], - "key.typename" : "UpdateItems.DeleteSection.Type", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13DeleteSectionVmD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV13DeleteSectionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct UpdateItems<\/Type>.InsertItem : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 22862, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 22848 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> UpdateItems<\/ref.struct>.InsertItem<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 77, - "key.line" : 775, - "key.modulename" : "ListableUI", - "key.name" : "InsertItem", - "key.namelength" : 10, - "key.nameoffset" : 22835, - "key.offset" : 22828, - "key.parsed_declaration" : "struct InsertItem : Hashable", - "key.parsed_scope.end" : 778, - "key.parsed_scope.start" : 775, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var newIndexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> newIndexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 777, - "key.modulename" : "ListableUI", - "key.name" : "newIndexPath", - "key.namelength" : 12, - "key.nameoffset" : 22875, - "key.offset" : 22871, - "key.parsed_declaration" : "var newIndexPath : IndexPath", - "key.parsed_scope.end" : 777, - "key.parsed_scope.start" : 777, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10InsertItemV12newIndexPath10Foundation0pQ0Vvp" - } - ], - "key.typename" : "UpdateItems.InsertItem.Type", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10InsertItemVmD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10InsertItemV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct UpdateItems<\/Type>.DeleteItem : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 42, - "key.bodyoffset" : 22945, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 22931 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> UpdateItems<\/ref.struct>.DeleteItem<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 77, - "key.line" : 780, - "key.modulename" : "ListableUI", - "key.name" : "DeleteItem", - "key.namelength" : 10, - "key.nameoffset" : 22918, - "key.offset" : 22911, - "key.parsed_declaration" : "struct DeleteItem : Hashable", - "key.parsed_scope.end" : 783, - "key.parsed_scope.start" : 780, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var oldIndexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/CollectionViewLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> oldIndexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 782, - "key.modulename" : "ListableUI", - "key.name" : "oldIndexPath", - "key.namelength" : 12, - "key.nameoffset" : 22958, - "key.offset" : 22954, - "key.parsed_declaration" : "var oldIndexPath : IndexPath", - "key.parsed_scope.end" : 782, - "key.parsed_scope.start" : 782, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10DeleteItemV12oldIndexPath10Foundation0pQ0Vvp" - } - ], - "key.typename" : "UpdateItems.DeleteItem.Type", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10DeleteItemVmD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV10DeleteItemV" - } - ], - "key.typename" : "UpdateItems.Type", - "key.typeusr" : "$s10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLVmD", - "key.usr" : "s:10ListableUI11UpdateItems33_EB34EA08C49AB6823BEA7E315664A1CBLLV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 54737, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 298, - "key.bodyoffset" : 155, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 328, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 136, - "key.offset" : 126, - "key.parsed_declaration" : "extension LayoutDescription", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func flow(_ configure: (inout FlowAppearance<\/Type>) -> () = { _ in }) -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 289 - } - ], - "key.bodylength" : 60, - "key.bodyoffset" : 391, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `.flow` layout type for a list.\nSee the `FlowAppearance` documentation for a full discussion.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `.flow` layout type for a list.\nSee the `FlowAppearance` documentation for a full discussion.", - "key.doc.declaration" : "public static func flow(_ configure: (inout FlowAppearance) -> () = { _ in }) -> ListableUI.LayoutDescription", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow(_:)<\/Name>s:10ListableUI17LayoutDescriptionV4flowyACyAA14FlowAppearanceVzXEFZ<\/USR>public static func flow(_ configure: (inout FlowAppearance) -> () = { _ in }) -> ListableUI.LayoutDescription<\/Declaration>Creates a new .flow<\/codeVoice> layout type for a list. See the FlowAppearance<\/codeVoice> documentation for a full discussion.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 16, - "key.doc.name" : "flow(_:)", - "key.doc.type" : "Function", - "key.doclength" : 120, - "key.docoffset" : 165, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> flow<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> FlowAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 156, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "flow(_:)", - "key.namelength" : 73, - "key.nameoffset" : 308, - "key.offset" : 296, - "key.parsed_declaration" : "public static func flow(\n _ configure : (inout FlowAppearance) -> () = { _ in }\n) -> Self", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDescription.Type) -> ((inout FlowAppearance) -> ()) -> LayoutDescription", - "key.typeusr" : "$sy10ListableUI17LayoutDescriptionVyAA14FlowAppearanceVzXEcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV4flowyACyAA14FlowAppearanceVzXEFZ" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct FlowAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8129 - } - ], - "key.bodylength" : 3188, - "key.bodyoffset" : 8182, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows rendering a list in the style of a flow layout. Items in the list flow from one row to the next,\nwith each row containing as many items as will fit. Items can be the same sizes or different sizes.\n\nYou can control the layout both via the `FlowAppearance` parameter\npassed to `.flow` layout types, plus via the `section.layouts.flow` options on a `Section`.\n\nTo display a flow layout in your list, set its `layout` to a `.flow` type:\n```\nlist.layout = .flow { flow in\n \/\/ Customize the flow options.\n}\n```\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ │\n│ ││ │ │ │ │ │ │ │\n│ ││ Item │ │ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │ │ │\n│ │└───────────────┘ └───────────────┘ └───────────────┘ │ │\n│ │ rowSpacing │ │\n│ │┌──────────────────────┐ ┌──────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ p │└──────────────────────┘ └──────────────────────┘ │ p │\n│ a │ itemToSectionFooterSpacing │ a │\n│ d │┌───────────────────────────────────────────────────────┐│ d │\n│ d ││ ││ d │\n│ i ││ Section Footer ││ i │\n│ n ││ ││ n │\n│ g │└───────────────────────────────────────────────────────┘│ g │\n│ . │ │ . │\n│ l │ interSectionSpacing.withFooter │ r │\n│ e │ │ i │\n│ f │┌───────────────────────────────────────────────────────┐│ g │\n│ t ││ ││ h │\n│ ││ Section Header ││ t │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌──────────────────────┐ ┌─────────────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ │└──────────────────────┘ └─────────────────────────────┘ │ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.comment" : "Allows rendering a list in the style of a flow layout. Items in the list flow from one row to the next,\nwith each row containing as many items as will fit. Items can be the same sizes or different sizes.\n\nYou can control the layout both via the `FlowAppearance` parameter\npassed to `.flow` layout types, plus via the `section.layouts.flow` options on a `Section`.\n\nTo display a flow layout in your list, set its `layout` to a `.flow` type:\n```\nlist.layout = .flow { flow in\n \/\/ Customize the flow options.\n}\n```\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ │\n│ ││ │ │ │ │ │ │ │\n│ ││ Item │ │ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │ │ │\n│ │└───────────────┘ └───────────────┘ └───────────────┘ │ │\n│ │ rowSpacing │ │\n│ │┌──────────────────────┐ ┌──────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ p │└──────────────────────┘ └──────────────────────┘ │ p │\n│ a │ itemToSectionFooterSpacing │ a │\n│ d │┌───────────────────────────────────────────────────────┐│ d │\n│ d ││ ││ d │\n│ i ││ Section Footer ││ i │\n│ n ││ ││ n │\n│ g │└───────────────────────────────────────────────────────┘│ g │\n│ . │ │ . │\n│ l │ interSectionSpacing.withFooter │ r │\n│ e │ │ i │\n│ f │┌───────────────────────────────────────────────────────┐│ g │\n│ t ││ ││ h │\n│ ││ Section Header ││ t │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌──────────────────────┐ ┌─────────────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ │└──────────────────────┘ └─────────────────────────────┘ │ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "public struct FlowAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "You can control the layout both via the `FlowAppearance` parameter passed to `.flow` layout types, plus via the `section.layouts.flow` options on a `Section`." - }, - { - "Para" : "To display a flow layout in your list, set its `layout` to a `.flow` type:" - }, - { - "CodeListing" : "" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "FlowAppearance<\/Name>s:10ListableUI14FlowAppearanceV<\/USR>public struct FlowAppearance : ListLayoutAppearance<\/Declaration>Allows rendering a list in the style of a flow layout. Items in the list flow from one row to the next, with each row containing as many items as will fit. Items can be the same sizes or different sizes.<\/Para><\/Abstract>You can control the layout both via the FlowAppearance<\/codeVoice> parameter passed to .flow<\/codeVoice> layout types, plus via the section.layouts.flow<\/codeVoice> options on a Section<\/codeVoice>.<\/Para>To display a flow layout in your list, set its layout<\/codeVoice> to a .flow<\/codeVoice> type:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 97, - "key.doc.name" : "FlowAppearance", - "key.doc.type" : "Class", - "key.doclength" : 7673, - "key.docoffset" : 456, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 8160 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> FlowAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutAppearance" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3235, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "FlowAppearance", - "key.namelength" : 14, - "key.nameoffset" : 8143, - "key.offset" : 8136, - "key.parsed_declaration" : "public struct FlowAppearance : ListLayoutAppearance", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: ListLayoutAppearance", - "key.offset" : 8195 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var `default`: FlowAppearance<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8268 - } - ], - "key.bodylength" : 21, - "key.bodyoffset" : 8313, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default apperance style.", - "key.doc.column" : 23, - "key.doc.comment" : "The default apperance style.", - "key.doc.declaration" : "public static var `default`: FlowAppearance { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "default<\/Name>s:10ListableUI14FlowAppearanceV7defaultACvpZ<\/USR>public static var `default`: FlowAppearance { get }<\/Declaration>The default apperance style.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 102, - "key.doc.name" : "default", - "key.doc.type" : "Other", - "key.doclength" : 33, - "key.docoffset" : 8231, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: FlowAppearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 60, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 8286, - "key.offset" : 8275, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP7defaultxvpZ" - } - ], - "key.parsed_declaration" : "public static var `default`: FlowAppearance", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance", - "key.typeusr" : "$s10ListableUI14FlowAppearanceVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV7defaultACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8404 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The direction the flow layout will be laid out in.", - "key.doc.column" : 16, - "key.doc.comment" : "The direction the flow layout will be laid out in.", - "key.doc.declaration" : "public var direction: LayoutDirection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "direction<\/Name>s:10ListableUI14FlowAppearanceV9directionAA15LayoutDirectionOvp<\/USR>public var direction: LayoutDirection<\/Declaration>The direction the flow layout will be laid out in.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 107, - "key.doc.name" : "direction", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 8345, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 107, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 8415, - "key.offset" : 8411, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP9directionAA0D9DirectionOvp" - } - ], - "key.parsed_declaration" : "public var direction: LayoutDirection", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 107, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV9directionAA15LayoutDirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var listHeaderPosition: ListHeaderPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8522 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.column" : 16, - "key.doc.comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.declaration" : "public var listHeaderPosition: ListHeaderPosition", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "listHeaderPosition<\/Name>s:10ListableUI14FlowAppearanceV18listHeaderPositionAA04ListfG0Ovp<\/USR>public var listHeaderPosition: ListHeaderPosition<\/Declaration>How the list header should be positioned when content is scrolled.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 110, - "key.doc.name" : "listHeaderPosition", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 8447, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 8533, - "key.offset" : 8529, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP18listHeaderPositionAA0cgH0Ovp" - } - ], - "key.parsed_declaration" : "public var listHeaderPosition: ListHeaderPosition", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV18listHeaderPositionAA04ListfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var stickySectionHeaders: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8687 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If sections should have sticky headers, staying visible until the section is scrolled off screen.", - "key.doc.column" : 16, - "key.doc.comment" : "If sections should have sticky headers, staying visible until the section is scrolled off screen.", - "key.doc.declaration" : "public var stickySectionHeaders: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "stickySectionHeaders<\/Name>s:10ListableUI14FlowAppearanceV20stickySectionHeadersSbvp<\/USR>public var stickySectionHeaders: Bool<\/Declaration>If sections should have sticky headers, staying visible until the section is scrolled off screen.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 113, - "key.doc.name" : "stickySectionHeaders", - "key.doc.type" : "Other", - "key.doclength" : 102, - "key.docoffset" : 8581, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 8698, - "key.offset" : 8694, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20stickySectionHeadersSbvp" - } - ], - "key.parsed_declaration" : "public var stickySectionHeaders: Bool", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14FlowAppearanceV20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pagingBehavior: ListPagingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8790 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How paging is performed when a drag event ends.", - "key.doc.column" : 16, - "key.doc.comment" : "How paging is performed when a drag event ends.", - "key.doc.declaration" : "public var pagingBehavior: ListPagingBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "pagingBehavior<\/Name>s:10ListableUI14FlowAppearanceV14pagingBehaviorAA010ListPagingF0Ovp<\/USR>public var pagingBehavior: ListPagingBehavior<\/Declaration>How paging is performed when a drag event ends.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "pagingBehavior", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 8734, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 8801, - "key.offset" : 8797, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP14pagingBehaviorAA0c6PagingG0Ovp" - } - ], - "key.parsed_declaration" : "public var pagingBehavior : ListPagingBehavior", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV14pagingBehaviorAA010ListPagingF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8900 - } - ], - "key.bodylength" : 314, - "key.bodyoffset" : 8965, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The properties of the backing `UIScrollView`.", - "key.doc.column" : 16, - "key.doc.comment" : "The properties of the backing `UIScrollView`.", - "key.doc.declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "scrollViewProperties<\/Name>s:10ListableUI14FlowAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvp<\/USR>public var scrollViewProperties: ListLayoutScrollViewProperties { get }<\/Declaration>The properties of the backing UIScrollView<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 119, - "key.doc.name" : "scrollViewProperties", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 8846, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 373, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 8911, - "key.offset" : 8907, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20scrollViewPropertiesAA0cd6ScrollgH0Vvp" - } - ], - "key.parsed_declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func toLayoutDescription() -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9290 - } - ], - "key.bodylength" : 82, - "key.bodyoffset" : 9346, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> toLayoutDescription<\/decl.name>() -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 132, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "toLayoutDescription()", - "key.namelength" : 21, - "key.nameoffset" : 9302, - "key.offset" : 9297, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP02toD11DescriptionAA0dG0VyF" - } - ], - "key.parsed_declaration" : "public func toLayoutDescription() -> LayoutDescription", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance) -> () -> LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVycD", - "key.usr" : "s:10ListableUI14FlowAppearanceV19toLayoutDescriptionAA0fG0VyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 9442 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowUnderflowAlignment: RowUnderflowAlignment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9569 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to align the items in a row when they do not take up the full amount of available space.", - "key.doc.column" : 16, - "key.doc.comment" : "How to align the items in a row when they do not take up the full amount of available space.", - "key.doc.declaration" : "public var rowUnderflowAlignment: RowUnderflowAlignment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowUnderflowAlignment<\/Name>s:10ListableUI14FlowAppearanceV21rowUnderflowAlignmentAC03RowfG0Ovp<\/USR>public var rowUnderflowAlignment: RowUnderflowAlignment<\/Declaration>How to align the items in a row when they do not take up the full amount of available space.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 137, - "key.doc.name" : "rowUnderflowAlignment", - "key.doc.type" : "Other", - "key.doclength" : 97, - "key.docoffset" : 9468, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowUnderflowAlignment<\/decl.name>: RowUnderflowAlignment<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "rowUnderflowAlignment", - "key.namelength" : 21, - "key.nameoffset" : 9580, - "key.offset" : 9576, - "key.parsed_declaration" : "public var rowUnderflowAlignment : RowUnderflowAlignment", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.RowUnderflowAlignment", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21rowUnderflowAlignmentAC03RowfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowItemsAlignment: RowItemsAlignment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9714 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to align the items in a row when they are not all the same height.", - "key.doc.column" : 16, - "key.doc.comment" : "How to align the items in a row when they are not all the same height.", - "key.doc.declaration" : "public var rowItemsAlignment: RowItemsAlignment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowItemsAlignment<\/Name>s:10ListableUI14FlowAppearanceV17rowItemsAlignmentAC03RowfG0Ovp<\/USR>public var rowItemsAlignment: RowItemsAlignment<\/Declaration>How to align the items in a row when they are not all the same height.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 140, - "key.doc.name" : "rowItemsAlignment", - "key.doc.type" : "Other", - "key.doclength" : 75, - "key.docoffset" : 9635, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowItemsAlignment<\/decl.name>: RowItemsAlignment<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 140, - "key.modulename" : "ListableUI", - "key.name" : "rowItemsAlignment", - "key.namelength" : 17, - "key.nameoffset" : 9725, - "key.offset" : 9721, - "key.parsed_declaration" : "public var rowItemsAlignment : RowItemsAlignment", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.RowItemsAlignment", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV17RowItemsAlignmentOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17rowItemsAlignmentAC03RowfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSizing: ItemSizing<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9847 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the sizing \/ measurement of items within the flow layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Controls the sizing \/ measurement of items within the flow layout.", - "key.doc.declaration" : "public var itemSizing: ItemSizing", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "itemSizing<\/Name>s:10ListableUI14FlowAppearanceV10itemSizingAC04ItemF0Ovp<\/USR>public var itemSizing: ItemSizing<\/Declaration>Controls the sizing \/ measurement of items within the flow layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 143, - "key.doc.name" : "itemSizing", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 9772, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSizing<\/decl.name>: ItemSizing<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "itemSizing", - "key.namelength" : 10, - "key.nameoffset" : 9858, - "key.offset" : 9854, - "key.parsed_declaration" : "public var itemSizing : ItemSizing", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.ItemSizing", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemSizingOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10itemSizingAC04ItemF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounds: ListContentBounds<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9958 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the padding and maximum width of the flow layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Controls the padding and maximum width of the flow layout.", - "key.doc.declaration" : "public var bounds: ListContentBounds?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "bounds<\/Name>s:10ListableUI14FlowAppearanceV6boundsAA17ListContentBoundsVSgvp<\/USR>public var bounds: ListContentBounds?<\/Declaration>Controls the padding and maximum width of the flow layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 146, - "key.doc.name" : "bounds", - "key.doc.type" : "Other", - "key.doclength" : 63, - "key.docoffset" : 9891, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 9969, - "key.offset" : 9965, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP6boundsAA0C13ContentBoundsVSgvp" - } - ], - "key.parsed_declaration" : "public var bounds : ListContentBounds?", - "key.parsed_scope.end" : 146, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI14FlowAppearanceV6boundsAA17ListContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var spacings: Spacings<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10101 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the spacing between headers, footers, sections, and items in the flow layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Controls the spacing between headers, footers, sections, and items in the flow layout.", - "key.doc.declaration" : "public var spacings: Spacings", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "spacings<\/Name>s:10ListableUI14FlowAppearanceV8spacingsAC8SpacingsVvp<\/USR>public var spacings: Spacings<\/Declaration>Controls the spacing between headers, footers, sections, and items in the flow layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 149, - "key.doc.name" : "spacings", - "key.doc.type" : "Other", - "key.doclength" : 91, - "key.docoffset" : 10006, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> spacings<\/decl.name>: Spacings<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 149, - "key.modulename" : "ListableUI", - "key.name" : "spacings", - "key.namelength" : 8, - "key.nameoffset" : 10112, - "key.offset" : 10108, - "key.parsed_declaration" : "public var spacings : Spacings", - "key.parsed_scope.end" : 149, - "key.parsed_scope.start" : 149, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.Spacings", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV8SpacingsVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8spacingsAC8SpacingsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(direction: LayoutDirection<\/Type> = .vertical, stickyListHeader: Bool<\/Type> = false, stickySectionHeaders: Bool<\/Type>? = nil, pagingBehavior: ListPagingBehavior<\/Type> = .none, rowUnderflowAlignment: RowUnderflowAlignment<\/Type> = .leading, rowItemsAlignment: RowItemsAlignment<\/Type> = .top, itemSizing: ItemSizing<\/Type> = .natural, bounds: ListContentBounds<\/Type>? = nil, spacings: Spacings<\/Type> = .init())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10181 - } - ], - "key.bodylength" : 729, - "key.bodyoffset" : 10639, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `FlowAppearance`.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new `FlowAppearance`.", - "key.doc.declaration" : "public init(direction: LayoutDirection = .vertical, stickyListHeader: Bool = false, stickySectionHeaders: Bool? = nil, pagingBehavior: ListPagingBehavior = .none, rowUnderflowAlignment: RowUnderflowAlignment = .leading, rowItemsAlignment: RowItemsAlignment = .top, itemSizing: ItemSizing = .natural, bounds: ListContentBounds? = nil, spacings: Spacings = .init())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "init(direction:stickyListHeader:stickySectionHeaders:pagingBehavior:rowUnderflowAlignment:rowItemsAlignment:itemSizing:bounds:spacings:)<\/Name>s:10ListableUI14FlowAppearanceV9direction16stickyListHeader0F14SectionHeaders14pagingBehavior21rowUnderflowAlignment0m5ItemsO010itemSizing6bounds8spacingsAcA15LayoutDirectionO_S2bSgAA0g6PagingL0OAC03RownO0OAC0xpO0OAC04ItemR0OAA0G13ContentBoundsVSgAC8SpacingsVtcfc<\/USR>public init(direction: LayoutDirection = .vertical, stickyListHeader: Bool = false, stickySectionHeaders: Bool? = nil, pagingBehavior: ListPagingBehavior = .none, rowUnderflowAlignment: RowUnderflowAlignment = .leading, rowItemsAlignment: RowItemsAlignment = .top, itemSizing: ItemSizing = .natural, bounds: ListContentBounds? = nil, spacings: Spacings = .init())<\/Declaration>Creates a new FlowAppearance<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 152, - "key.doc.name" : "init(direction:stickyListHeader:stickySectionHeaders:pagingBehavior:rowUnderflowAlignment:rowItemsAlignment:itemSizing:bounds:spacings:)", - "key.doc.type" : "Function", - "key.doclength" : 36, - "key.docoffset" : 10141, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type> = .vertical<\/decl.var.parameter>, stickyListHeader<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, stickySectionHeaders<\/decl.var.parameter.argument_label>: Bool<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, pagingBehavior<\/decl.var.parameter.argument_label>: ListPagingBehavior<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>, rowUnderflowAlignment<\/decl.var.parameter.argument_label>: RowUnderflowAlignment<\/ref.enum><\/decl.var.parameter.type> = .leading<\/decl.var.parameter>, rowItemsAlignment<\/decl.var.parameter.argument_label>: RowItemsAlignment<\/ref.enum><\/decl.var.parameter.type> = .top<\/decl.var.parameter>, itemSizing<\/decl.var.parameter.argument_label>: ItemSizing<\/ref.enum><\/decl.var.parameter.type> = .natural<\/decl.var.parameter>, bounds<\/decl.var.parameter.argument_label>: ListContentBounds<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, spacings<\/decl.var.parameter.argument_label>: Spacings<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1181, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "init(direction:stickyListHeader:stickySectionHeaders:pagingBehavior:rowUnderflowAlignment:rowItemsAlignment:itemSizing:bounds:spacings:)", - "key.namelength" : 449, - "key.nameoffset" : 10188, - "key.offset" : 10188, - "key.parsed_declaration" : "public init(\n direction: LayoutDirection = .vertical,\n stickyListHeader: Bool = false,\n stickySectionHeaders: Bool? = nil,\n pagingBehavior : ListPagingBehavior = .none,\n rowUnderflowAlignment : RowUnderflowAlignment = .leading,\n rowItemsAlignment : RowItemsAlignment = .top,\n itemSizing : ItemSizing = .natural,\n \n bounds : ListContentBounds? = nil,\n spacings : Spacings = .init()\n)", - "key.parsed_scope.end" : 189, - "key.parsed_scope.start" : 152, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.Type) -> (LayoutDirection, Bool, Bool?, ListPagingBehavior, FlowAppearance.RowUnderflowAlignment, FlowAppearance.RowItemsAlignment, FlowAppearance.ItemSizing, ListContentBounds?, FlowAppearance.Spacings) -> FlowAppearance", - "key.typeusr" : "$s9direction16stickyListHeader0B14SectionHeaders14pagingBehavior21rowUnderflowAlignment0i5ItemsK010itemSizing6bounds8spacings10ListableUI14FlowAppearanceVAJ15LayoutDirectionO_S2bSgAJ0c6PagingH0OAL03RowjK0OAL0xlK0OAL04ItemN0OAJ0C13ContentBoundsVSgAL8SpacingsVtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV9direction16stickyListHeader0F14SectionHeaders14pagingBehavior21rowUnderflowAlignment0m5ItemsO010itemSizing6bounds8spacingsAcA15LayoutDirectionO_S2bSgAA0g6PagingL0OAC03RownO0OAC0xpO0OAC04ItemR0OAA0G13ContentBoundsVSgAC8SpacingsVtcfc" - } - ], - "key.typename" : "FlowAppearance.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV" - }, - { - "key.annotated_decl" : "public struct FlowAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.bodylength" : 20065, - "key.bodyoffset" : 11400, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows rendering a list in the style of a flow layout. Items in the list flow from one row to the next,\nwith each row containing as many items as will fit. Items can be the same sizes or different sizes.\n\nYou can control the layout both via the `FlowAppearance` parameter\npassed to `.flow` layout types, plus via the `section.layouts.flow` options on a `Section`.\n\nTo display a flow layout in your list, set its `layout` to a `.flow` type:\n```\nlist.layout = .flow { flow in\n \/\/ Customize the flow options.\n}\n```\n\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ │\n│ ││ │ │ │ │ │ │ │\n│ ││ Item │ │ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │ │ │\n│ │└───────────────┘ └───────────────┘ └───────────────┘ │ │\n│ │ rowSpacing │ │\n│ │┌──────────────────────┐ ┌──────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ p │└──────────────────────┘ └──────────────────────┘ │ p │\n│ a │ itemToSectionFooterSpacing │ a │\n│ d │┌───────────────────────────────────────────────────────┐│ d │\n│ d ││ ││ d │\n│ i ││ Section Footer ││ i │\n│ n ││ ││ n │\n│ g │└───────────────────────────────────────────────────────┘│ g │\n│ . │ │ . │\n│ l │ interSectionSpacing.withFooter │ r │\n│ e │ │ i │\n│ f │┌───────────────────────────────────────────────────────┐│ g │\n│ t ││ ││ h │\n│ ││ Section Header ││ t │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌──────────────────────┐ ┌─────────────────────────────┐ │ │\n│ ││ │ │ │ │ │\n│ ││ Item │ │ Item │ │ │\n│ ││ │ │ │ │ │\n│ │└──────────────────────┘ └─────────────────────────────┘ │ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct FlowAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "You can control the layout both via the `FlowAppearance` parameter passed to `.flow` layout types, plus via the `section.layouts.flow` options on a `Section`." - }, - { - "Para" : "To display a flow layout in your list, set its `layout` to a `.flow` type:" - }, - { - "CodeListing" : "" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "FlowAppearance<\/Name>s:10ListableUI14FlowAppearanceV<\/USR>public struct FlowAppearance : ListLayoutAppearance<\/Declaration>Allows rendering a list in the style of a flow layout. Items in the list flow from one row to the next, with each row containing as many items as will fit. Items can be the same sizes or different sizes.<\/Para><\/Abstract>You can control the layout both via the FlowAppearance<\/codeVoice> parameter passed to .flow<\/codeVoice> layout types, plus via the section.layouts.flow<\/codeVoice> options on a Section<\/codeVoice>.<\/Para>To display a flow layout in your list, set its layout<\/codeVoice> to a .flow<\/codeVoice> type:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 97, - "key.doc.name" : "FlowAppearance", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> FlowAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 20092, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "FlowAppearance", - "key.namelength" : 14, - "key.nameoffset" : 11384, - "key.offset" : 11374, - "key.parsed_declaration" : "extension FlowAppearance", - "key.parsed_scope.end" : 537, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ItemSizing : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11470 - } - ], - "key.bodylength" : 332, - "key.bodyoffset" : 11506, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how items in a row are measured and sized.", - "key.doc.column" : 17, - "key.doc.comment" : "Controls how items in a row are measured and sized.", - "key.doc.declaration" : "public enum ItemSizing : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "ItemSizing<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO<\/USR>public enum ItemSizing : Equatable<\/Declaration>Controls how items in a row are measured and sized.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 196, - "key.doc.name" : "ItemSizing", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 11410, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 11495 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ItemSizing<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 362, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "ItemSizing", - "key.namelength" : 10, - "key.nameoffset" : 11482, - "key.offset" : 11477, - "key.parsed_declaration" : "public enum ItemSizing : Equatable", - "key.parsed_scope.end" : 206, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 11602, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case natural<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The natural value from the `Item.sizing` is used with no changes.", - "key.doc.column" : 14, - "key.doc.comment" : "The natural value from the `Item.sizing` is used with no changes.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "natural<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO7naturalyA2EmF<\/USR><\/Declaration>The natural value from the Item.sizing<\/codeVoice> is used with no changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 199, - "key.doc.name" : "natural", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 11524, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> natural<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 199, - "key.modulename" : "ListableUI", - "key.name" : "natural", - "key.namelength" : 7, - "key.nameoffset" : 11607, - "key.offset" : 11607, - "key.parsed_declaration" : "case natural", - "key.parsed_scope.end" : 199, - "key.parsed_scope.start" : 199, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.ItemSizing.Type) -> FlowAppearance.ItemSizing", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV10ItemSizingOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO7naturalyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 11690, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fixed(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width of the item is fixed to this value.", - "key.doc.column" : 14, - "key.doc.comment" : "The width of the item is fixed to this value.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "fixed(_:)<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO5fixedyAE14CoreFoundation7CGFloatVcAEmF<\/USR><\/Declaration>The width of the item is fixed to this value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 202, - "key.doc.name" : "fixed(_:)", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 11632, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "fixed(_:)", - "key.namelength" : 14, - "key.nameoffset" : 11695, - "key.offset" : 11695, - "key.parsed_declaration" : "case fixed(CGFloat)", - "key.parsed_scope.end" : 202, - "key.parsed_scope.start" : 202, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.ItemSizing.Type) -> (CGFloat) -> FlowAppearance.ItemSizing", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV10ItemSizingO14CoreFoundation7CGFloatVcAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO5fixedyAE14CoreFoundation7CGFloatVcAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 11816, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case columns(Int<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width of the item is calculated based on the number of columns provided.", - "key.doc.column" : 14, - "key.doc.comment" : "The width of the item is calculated based on the number of columns provided.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "columns(_:)<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO7columnsyAESicAEmF<\/USR><\/Declaration>The width of the item is calculated based on the number of columns provided.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 205, - "key.doc.name" : "columns(_:)", - "key.doc.type" : "Other", - "key.doclength" : 81, - "key.docoffset" : 11727, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> columns<\/decl.name>(Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "columns(_:)", - "key.namelength" : 12, - "key.nameoffset" : 11821, - "key.offset" : 11821, - "key.parsed_declaration" : "case columns(Int)", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.ItemSizing.Type) -> (Int) -> FlowAppearance.ItemSizing", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV10ItemSizingOSicAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO7columnsyAESicAEmF" - } - ] - } - ], - "key.typename" : "FlowAppearance.ItemSizing.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemSizingOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum RowUnderflowAlignment : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12003 - } - ], - "key.bodylength" : 5755, - "key.bodyoffset" : 12050, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When there is left over space at the end of a row, `RowUnderflowAlignment` controls\nhow the extra space is distributed between the items.", - "key.doc.column" : 17, - "key.doc.comment" : "When there is left over space at the end of a row, `RowUnderflowAlignment` controls\nhow the extra space is distributed between the items.", - "key.doc.declaration" : "public enum RowUnderflowAlignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "RowUnderflowAlignment<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO<\/USR>public enum RowUnderflowAlignment : Equatable<\/Declaration>When there is left over space at the end of a row, RowUnderflowAlignment<\/codeVoice> controls how the extra space is distributed between the items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 210, - "key.doc.name" : "RowUnderflowAlignment", - "key.doc.type" : "Other", - "key.doclength" : 150, - "key.docoffset" : 11849, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12039 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> RowUnderflowAlignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 5796, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "RowUnderflowAlignment", - "key.namelength" : 21, - "key.nameoffset" : 12015, - "key.offset" : 12010, - "key.parsed_declaration" : "public enum RowUnderflowAlignment : Equatable", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 210, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 13236, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case leading<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items are leading-aligned, with extra space at the end of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "The items are leading-aligned, with extra space at the end of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "leading<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO7leadingyA2EmF<\/USR><\/Declaration>The items are leading-aligned, with extra space at the end of the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 223, - "key.doc.name" : "leading", - "key.doc.type" : "Other", - "key.doclength" : 1160, - "key.docoffset" : 12068, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> leading<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 223, - "key.modulename" : "ListableUI", - "key.name" : "leading", - "key.namelength" : 7, - "key.nameoffset" : 13241, - "key.offset" : 13241, - "key.parsed_declaration" : "case leading", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 223, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO7leadingyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 14483, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case centered<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items are center-aligned, with extra space distributed evenly between\nthe beginning and end of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│ ┌────────────┐ ┌────────────┐ ┌────────────┐ │\n│ │ │ │ │ │ │ │\n│ │ Item │ │ Item │ │ Item │ │\n│ │ │ │ │ │ │ │\n│ └────────────┘ └────────────┘ └────────────┘ │\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "The items are center-aligned, with extra space distributed evenly between\nthe beginning and end of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│ ┌────────────┐ ┌────────────┐ ┌────────────┐ │\n│ │ │ │ │ │ │ │\n│ │ Item │ │ Item │ │ Item │ │\n│ │ │ │ │ │ │ │\n│ └────────────┘ └────────────┘ └────────────┘ │\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "centered<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO8centeredyA2EmF<\/USR><\/Declaration>The items are center-aligned, with extra space distributed evenly between the beginning and end of the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 237, - "key.doc.name" : "centered", - "key.doc.type" : "Other", - "key.doclength" : 1209, - "key.docoffset" : 13266, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> centered<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 237, - "key.modulename" : "ListableUI", - "key.name" : "centered", - "key.namelength" : 8, - "key.nameoffset" : 14488, - "key.offset" : 14488, - "key.parsed_declaration" : "case centered", - "key.parsed_scope.end" : 237, - "key.parsed_scope.start" : 237, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO8centeredyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 15689, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case trailing<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items are trailing-aligned, with extra space at the beginning of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│ ┌────────────┐ ┌────────────┐ ┌────────────┐│\n│ │ │ │ │ │ ││\n│ │ Item │ │ Item │ │ Item ││\n│ │ │ │ │ │ ││\n│ └────────────┘ └────────────┘ └────────────┘│\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "The items are trailing-aligned, with extra space at the beginning of the row.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│ ┌────────────┐ ┌────────────┐ ┌────────────┐│\n│ │ │ │ │ │ ││\n│ │ Item │ │ Item │ │ Item ││\n│ │ │ │ │ │ ││\n│ └────────────┘ └────────────┘ └────────────┘│\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "trailing<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO8trailingyA2EmF<\/USR><\/Declaration>The items are trailing-aligned, with extra space at the beginning of the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 250, - "key.doc.name" : "trailing", - "key.doc.type" : "Other", - "key.doclength" : 1167, - "key.docoffset" : 14514, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> trailing<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 250, - "key.modulename" : "ListableUI", - "key.name" : "trailing", - "key.namelength" : 8, - "key.nameoffset" : 15694, - "key.offset" : 15694, - "key.parsed_declaration" : "case trailing", - "key.parsed_scope.end" : 250, - "key.parsed_scope.start" : 250, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO8trailingyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 58, - "key.offset" : 17182, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fill(lastRowAlignment: FillLastRowAlignment<\/Type> = .fill)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The extra space in the row is evenly distributed between the items in the row.\n\nYou can control the fill behavior of the last row via the `FillLastRowAlignment` parameter,\nto enable more visually pleasing spacing for rows that contain fewer items. The minimum of\n`itemSpacing` and the calculated spacing will be used.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐│\n││ │ │ │ │ ││\n││ Item │ │ Item │ │ Item ││\n││ │ │ │ │ ││\n│└────────────┘ └────────────┘ └────────────┘│\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "The extra space in the row is evenly distributed between the items in the row.\n\nYou can control the fill behavior of the last row via the `FillLastRowAlignment` parameter,\nto enable more visually pleasing spacing for rows that contain fewer items. The minimum of\n`itemSpacing` and the calculated spacing will be used.\n\n```\n┌────────────────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐│\n││ │ │ │ │ ││\n││ Item │ │ Item │ │ Item ││\n││ │ │ │ │ ││\n│└────────────┘ └────────────┘ └────────────┘│\n└────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "You can control the fill behavior of the last row via the `FillLastRowAlignment` parameter, to enable more visually pleasing spacing for rows that contain fewer items. The minimum of `itemSpacing` and the calculated spacing will be used." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "fill(lastRowAlignment:)<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO4fillyA2E08FillLasteG0O_tcAEmF<\/USR><\/Declaration>The extra space in the row is evenly distributed between the items in the row.<\/Para><\/Abstract>You can control the fill behavior of the last row via the FillLastRowAlignment<\/codeVoice> parameter, to enable more visually pleasing spacing for rows that contain fewer items. The minimum of itemSpacing<\/codeVoice> and the calculated spacing will be used.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 267, - "key.doc.name" : "fill(lastRowAlignment:)", - "key.doc.type" : "Other", - "key.doclength" : 1454, - "key.docoffset" : 15720, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fill<\/decl.name>(lastRowAlignment<\/decl.var.parameter.argument_label>: FillLastRowAlignment<\/ref.enum><\/decl.var.parameter.type> = .fill<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 53, - "key.line" : 267, - "key.modulename" : "ListableUI", - "key.name" : "fill(lastRowAlignment:)", - "key.namelength" : 53, - "key.nameoffset" : 17187, - "key.offset" : 17187, - "key.parsed_declaration" : "case fill(lastRowAlignment : FillLastRowAlignment = .fill)", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 267, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.Type) -> (FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment) -> FlowAppearance.RowUnderflowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOAE08FillLasteG0O_tcAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO4fillyA2E08FillLasteG0O_tcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum FlowAppearance<\/Type>.RowUnderflowAlignment<\/Type>.FillLastRowAlignment : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17328 - } - ], - "key.bodylength" : 425, - "key.bodyoffset" : 17374, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the fill behavior for the last row in a section.", - "key.doc.column" : 21, - "key.doc.comment" : "Controls the fill behavior for the last row in a section.", - "key.doc.declaration" : "public enum ListableUI.FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "FillLastRowAlignment<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O<\/USR>public enum ListableUI.FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment : Equatable<\/Declaration>Controls the fill behavior for the last row in a section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 270, - "key.doc.name" : "FillLastRowAlignment", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 17258, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 17363 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.RowUnderflowAlignment<\/ref.enum>.FillLastRowAlignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 465, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "FillLastRowAlignment", - "key.namelength" : 20, - "key.nameoffset" : 17340, - "key.offset" : 17335, - "key.parsed_declaration" : "public enum FillLastRowAlignment : Equatable", - "key.parsed_scope.end" : 279, - "key.parsed_scope.start" : 270, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 17485, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fill<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default behaviour; the row will be filled to fit its maximum allowable width.", - "key.doc.column" : 18, - "key.doc.comment" : "The default behaviour; the row will be filled to fit its maximum allowable width.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "fill<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O4fillyA2GmF<\/USR><\/Declaration>The default behaviour; the row will be filled to fit its maximum allowable width.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 272, - "key.doc.name" : "fill", - "key.doc.type" : "Other", - "key.doclength" : 86, - "key.docoffset" : 17387, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fill<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "fill", - "key.namelength" : 4, - "key.nameoffset" : 17490, - "key.offset" : 17490, - "key.parsed_declaration" : "case fill", - "key.parsed_scope.end" : 272, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0OAGmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O4fillyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 28, - "key.offset" : 17621, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case matchPreviousRowSpacing<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing of the previous row or `itemSpacing` will be used, whichever is smaller.", - "key.doc.column" : 18, - "key.doc.comment" : "The spacing of the previous row or `itemSpacing` will be used, whichever is smaller.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "matchPreviousRowSpacing<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O013matchPreviousE7SpacingyA2GmF<\/USR><\/Declaration>The spacing of the previous row or itemSpacing<\/codeVoice> will be used, whichever is smaller.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 275, - "key.doc.name" : "matchPreviousRowSpacing", - "key.doc.type" : "Other", - "key.doclength" : 89, - "key.docoffset" : 17520, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> matchPreviousRowSpacing<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 23, - "key.line" : 275, - "key.modulename" : "ListableUI", - "key.name" : "matchPreviousRowSpacing", - "key.namelength" : 23, - "key.nameoffset" : 17626, - "key.offset" : 17626, - "key.parsed_declaration" : "case matchPreviousRowSpacing", - "key.parsed_scope.end" : 275, - "key.parsed_scope.start" : 275, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0OAGmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O013matchPreviousE7SpacingyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 23, - "key.offset" : 17767, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case defaultItemSpacing<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The calculated spacing or `itemSpacing` will be used, whichever is smaller.", - "key.doc.column" : 18, - "key.doc.comment" : "The calculated spacing or `itemSpacing` will be used, whichever is smaller.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "defaultItemSpacing<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O18defaultItemSpacingyA2GmF<\/USR><\/Declaration>The calculated spacing or itemSpacing<\/codeVoice> will be used, whichever is smaller.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 278, - "key.doc.name" : "defaultItemSpacing", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 17675, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> defaultItemSpacing<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 18, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "defaultItemSpacing", - "key.namelength" : 18, - "key.nameoffset" : 17772, - "key.offset" : 17772, - "key.parsed_declaration" : "case defaultItemSpacing", - "key.parsed_scope.end" : 278, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment.Type) -> FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0OAGmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O18defaultItemSpacingyA2GmF" - } - ] - } - ], - "key.typename" : "FlowAppearance.RowUnderflowAlignment.FillLastRowAlignment.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0OmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO08FillLasteG0O" - } - ], - "key.typename" : "FlowAppearance.RowUnderflowAlignment.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum RowItemsAlignment : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17925 - } - ], - "key.bodylength" : 6213, - "key.bodyoffset" : 17968, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, controls the alignment and sizing of the smaller items.", - "key.doc.column" : 17, - "key.doc.comment" : "When items in a row are not the same height, controls the alignment and sizing of the smaller items.", - "key.doc.declaration" : "public enum RowItemsAlignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "RowItemsAlignment<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO<\/USR>public enum RowItemsAlignment : Equatable<\/Declaration>When items in a row are not the same height, controls the alignment and sizing of the smaller items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 283, - "key.doc.name" : "RowItemsAlignment", - "key.doc.type" : "Other", - "key.doclength" : 105, - "key.docoffset" : 17816, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 17957 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> RowItemsAlignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 6250, - "key.line" : 283, - "key.modulename" : "ListableUI", - "key.name" : "RowItemsAlignment", - "key.namelength" : 17, - "key.nameoffset" : 17937, - "key.offset" : 17932, - "key.parsed_declaration" : "public enum RowItemsAlignment : Equatable", - "key.parsed_scope.end" : 362, - "key.parsed_scope.start" : 283, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 19391, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case top<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, the shorter items will be aligned to the top of the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ │ │ │ │ Item │ │\n││ │ │ Item │ │ │ │\n││ Item │ │ │ └────────────┘ │\n││ │ │ │ │\n││ │ └────────────┘ │\n││ │ │\n│└────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "When items in a row are not the same height, the shorter items will be aligned to the top of the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ │ │ │ │ Item │ │\n││ │ │ Item │ │ │ │\n││ Item │ │ │ └────────────┘ │\n││ │ │ │ │\n││ │ └────────────┘ │\n││ │ │\n│└────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "top<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO3topyA2EmF<\/USR><\/Declaration>When items in a row are not the same height, the shorter items will be aligned to the top of the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 300, - "key.doc.name" : "top", - "key.doc.type" : "Other", - "key.doclength" : 1397, - "key.docoffset" : 17986, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> top<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 300, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 19396, - "key.offset" : 19396, - "key.parsed_declaration" : "case top", - "key.parsed_scope.end" : 300, - "key.parsed_scope.start" : 300, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowItemsAlignment.Type) -> FlowAppearance.RowItemsAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV17RowItemsAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO3topyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 20822, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case center<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, the shorter items will be center aligned within the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ │\n││ │ ┌────────────┐ │\n││ │ │ │ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n││ │ │ │ └────────────┘ │\n││ │ └────────────┘ │\n│└────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "When items in a row are not the same height, the shorter items will be center aligned within the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ │\n││ │ ┌────────────┐ │\n││ │ │ │ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n││ │ │ │ └────────────┘ │\n││ │ └────────────┘ │\n│└────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "center<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO6centeryA2EmF<\/USR><\/Declaration>When items in a row are not the same height, the shorter items will be center aligned within the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 317, - "key.doc.name" : "center", - "key.doc.type" : "Other", - "key.doclength" : 1397, - "key.docoffset" : 19417, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> center<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 317, - "key.modulename" : "ListableUI", - "key.name" : "center", - "key.namelength" : 6, - "key.nameoffset" : 20827, - "key.offset" : 20827, - "key.parsed_declaration" : "case center", - "key.parsed_scope.end" : 317, - "key.parsed_scope.start" : 317, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowItemsAlignment.Type) -> FlowAppearance.RowItemsAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV17RowItemsAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO6centeryA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 22256, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case bottom<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, the shorter items will be bottom aligned within the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ │\n││ │ │\n││ │ ┌────────────┐ │\n││ │ │ │ │\n││ Item │ │ │ ┌────────────┐ │\n││ │ │ Item │ │ │ │\n││ │ │ │ │ Item │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "When items in a row are not the same height, the shorter items will be bottom aligned within the row.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ │\n││ │ │\n││ │ ┌────────────┐ │\n││ │ │ │ │\n││ Item │ │ │ ┌────────────┐ │\n││ │ │ Item │ │ │ │\n││ │ │ │ │ Item │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "bottom<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO6bottomyA2EmF<\/USR><\/Declaration>When items in a row are not the same height, the shorter items will be bottom aligned within the row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 334, - "key.doc.name" : "bottom", - "key.doc.type" : "Other", - "key.doclength" : 1397, - "key.docoffset" : 20851, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> bottom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 334, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 22261, - "key.offset" : 22261, - "key.parsed_declaration" : "case bottom", - "key.parsed_scope.end" : 334, - "key.parsed_scope.start" : 334, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowItemsAlignment.Type) -> FlowAppearance.RowItemsAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV17RowItemsAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO6bottomyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 23860, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fill<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, the shorter items will be stretched to be the same\nheight as the tallest item in the row. In the below diagram, the dotted line represents the additional added space.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ │ ├ ─ ─ ─ ─ ─ ─│ │ │ │\n││ │ │ │ │─ ─ ─ ─ ─ ─ ┤ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n││ │ │ │ │ │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 14, - "key.doc.comment" : "When items in a row are not the same height, the shorter items will be stretched to be the same\nheight as the tallest item in the row. In the below diagram, the dotted line represents the additional added space.\n\n```\n┌──────────────────────────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ ┌────────────┐ │\n││ │ │ │ │ │ │\n││ │ ├ ─ ─ ─ ─ ─ ─│ │ │ │\n││ │ │ │ │─ ─ ─ ─ ─ ─ ┤ │\n││ Item │ │ Item │ │ Item │ │\n││ │ │ │ │ │ │\n││ │ │ │ │ │ │\n││ │ │ │ │ │ │\n│└────────────┘ └────────────┘ └────────────┘ │\n└──────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "fill<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO4fillyA2EmF<\/USR><\/Declaration>When items in a row are not the same height, the shorter items will be stretched to be the same height as the tallest item in the row. In the below diagram, the dotted line represents the additional added space.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 352, - "key.doc.name" : "fill", - "key.doc.type" : "Other", - "key.doclength" : 1567, - "key.docoffset" : 22285, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fill<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 352, - "key.modulename" : "ListableUI", - "key.name" : "fill", - "key.namelength" : 4, - "key.nameoffset" : 23865, - "key.offset" : 23865, - "key.parsed_declaration" : "case fill", - "key.parsed_scope.end" : 352, - "key.parsed_scope.start" : 352, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.RowItemsAlignment.Type) -> FlowAppearance.RowItemsAlignment", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV17RowItemsAlignmentOAEmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO4fillyA2EmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func adjusted(height: CGFloat<\/Type>, forMaxRowHeight maxHeight: CGFloat<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 207, - "key.bodyoffset" : 23968, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> adjusted<\/decl.name>(height<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, forMaxRowHeight<\/decl.var.parameter.argument_label> maxHeight<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 289, - "key.line" : 354, - "key.modulename" : "ListableUI", - "key.name" : "adjusted(height:forMaxRowHeight:)", - "key.namelength" : 63, - "key.nameoffset" : 23892, - "key.offset" : 23887, - "key.parsed_declaration" : "func adjusted(height : CGFloat, forMaxRowHeight maxHeight : CGFloat) -> CGFloat", - "key.parsed_scope.end" : 361, - "key.parsed_scope.start" : 354, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.RowItemsAlignment) -> (CGFloat, CGFloat) -> CGFloat", - "key.typeusr" : "$s6height15forMaxRowHeight14CoreFoundation7CGFloatVAE_AEtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO8adjusted6height06forMaxE6Height14CoreFoundation7CGFloatVAK_AKtF" - } - ], - "key.typename" : "FlowAppearance.RowItemsAlignment.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV17RowItemsAlignmentOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemLayout : Equatable<\/Type>, ItemLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24296 - } - ], - "key.bodylength" : 2057, - "key.bodyoffset" : 24356, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the layout parameters for a given `Item` when it is displayed within a `.flow` layout.", - "key.doc.column" : 19, - "key.doc.comment" : "Controls the layout parameters for a given `Item` when it is displayed within a `.flow` layout.", - "key.doc.declaration" : "public struct ItemLayout : Equatable, ItemLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "ItemLayout<\/Name>s:10ListableUI14FlowAppearanceV10ItemLayoutV<\/USR>public struct ItemLayout : Equatable, ItemLayoutsValue<\/Declaration>Controls the layout parameters for a given Item<\/codeVoice> when it is displayed within a .flow<\/codeVoice> layout.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 365, - "key.doc.name" : "ItemLayout", - "key.doc.type" : "Class", - "key.doclength" : 100, - "key.docoffset" : 24192, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 24323 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 24334 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemLayout<\/decl.name> : Equatable<\/ref.protocol>, ItemLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "ItemLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2111, - "key.line" : 365, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 24310, - "key.offset" : 24303, - "key.parsed_declaration" : "public struct ItemLayout : Equatable, ItemLayoutsValue", - "key.parsed_scope.end" : 406, - "key.parsed_scope.start" : 365, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: Width<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24436 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to calculate the width of the item within the section.", - "key.doc.column" : 20, - "key.doc.comment" : "How to calculate the width of the item within the section.", - "key.doc.declaration" : "public var width: Width", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI14FlowAppearanceV10ItemLayoutV5widthAE5WidthOvp<\/USR>public var width: Width<\/Declaration>How to calculate the width of the item within the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 368, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 63, - "key.docoffset" : 24365, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: Width<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 368, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 24447, - "key.offset" : 24443, - "key.parsed_declaration" : "public var width : Width", - "key.parsed_scope.end" : 368, - "key.parsed_scope.start" : 368, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.ItemLayout.Width", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutV5WidthOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV5widthAE5WidthOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(width: Width<\/Type> = .natural)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24478 - } - ], - "key.bodylength" : 40, - "key.bodyoffset" : 24539, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(width<\/decl.var.parameter.argument_label>: Width<\/ref.enum><\/decl.var.parameter.type> = .natural<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 95, - "key.line" : 370, - "key.modulename" : "ListableUI", - "key.name" : "init(width:)", - "key.namelength" : 52, - "key.nameoffset" : 24485, - "key.offset" : 24485, - "key.parsed_declaration" : "public init(\n width : Width = .natural\n)", - "key.parsed_scope.end" : 374, - "key.parsed_scope.start" : 370, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.ItemLayout.Type) -> (FlowAppearance.ItemLayout.Width) -> FlowAppearance.ItemLayout", - "key.typeusr" : "$s5width10ListableUI14FlowAppearanceV10ItemLayoutVAF5WidthO_tcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV5widthA2E5WidthO_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 24598 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 24637, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from ItemLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 66, - "key.line" : 376, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 24616, - "key.offset" : 24605, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 378, - "key.parsed_scope.start" : 376, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.ItemLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutVD", - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum FlowAppearance<\/Type>.ItemLayout<\/Type>.Width : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26170 - } - ], - "key.bodylength" : 206, - "key.bodyoffset" : 26201, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how to determine the width of the items within a row.\n\n```\n┌───────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ │\n││ │ │ │ │\n││ .natural │ │ .natural │ │\n││ │ │ │ │\n│└────────────┘ └────────────┘ │\n│┌────────────────────────────────┐ │\n││ .fillRow │ │\n│└────────────────────────────────┘ │\n│┌────────────┐ ┌────────────┐ │\n││ │ │ │ │\n││ .natural │ │ .natural │ │\n││ │ │ │ │\n│└────────────┘ └────────────┘ │\n└───────────────────────────────────┘\n```", - "key.doc.column" : 21, - "key.doc.comment" : "Controls how to determine the width of the items within a row.\n\n```\n┌───────────────────────────────────┐\n│┌────────────┐ ┌────────────┐ │\n││ │ │ │ │\n││ .natural │ │ .natural │ │\n││ │ │ │ │\n│└────────────┘ └────────────┘ │\n│┌────────────────────────────────┐ │\n││ .fillRow │ │\n│└────────────────────────────────┘ │\n│┌────────────┐ ┌────────────┐ │\n││ │ │ │ │\n││ .natural │ │ .natural │ │\n││ │ │ │ │\n│└────────────┘ └────────────┘ │\n└───────────────────────────────────┘\n```", - "key.doc.declaration" : "public enum ListableUI.FlowAppearance.ItemLayout.Width : Equatable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "Width<\/Name>s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO<\/USR>public enum ListableUI.FlowAppearance.ItemLayout.Width : Equatable<\/Declaration>Controls how to determine the width of the items within a row.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 399, - "key.doc.name" : "Width", - "key.doc.type" : "Other", - "key.doclength" : 1473, - "key.docoffset" : 24689, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 26190 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.ItemLayout<\/ref.struct>.Width<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 231, - "key.line" : 399, - "key.modulename" : "ListableUI", - "key.name" : "Width", - "key.namelength" : 5, - "key.nameoffset" : 26182, - "key.offset" : 26177, - "key.parsed_declaration" : "public enum Width : Equatable", - "key.parsed_scope.end" : 405, - "key.parsed_scope.start" : 399, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 26276, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case natural<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The standard with from the item will be used.", - "key.doc.column" : 18, - "key.doc.comment" : "The standard with from the item will be used.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "natural<\/Name>s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO7naturalyA2GmF<\/USR><\/Declaration>The standard with from the item will be used.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 401, - "key.doc.name" : "natural", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 26214, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> natural<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 401, - "key.modulename" : "ListableUI", - "key.name" : "natural", - "key.namelength" : 7, - "key.nameoffset" : 26281, - "key.offset" : 26281, - "key.parsed_declaration" : "case natural", - "key.parsed_scope.end" : 401, - "key.parsed_scope.start" : 401, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.ItemLayout.Width.Type) -> FlowAppearance.ItemLayout.Width", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV10ItemLayoutV5WidthOAGmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO7naturalyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 26386, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fillRow<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The full width of the section will be used by the item.", - "key.doc.column" : 18, - "key.doc.comment" : "The full width of the section will be used by the item.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "fillRow<\/Name>s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO7fillRowyA2GmF<\/USR><\/Declaration>The full width of the section will be used by the item.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 404, - "key.doc.name" : "fillRow", - "key.doc.type" : "Other", - "key.doclength" : 60, - "key.docoffset" : 26314, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fillRow<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 404, - "key.modulename" : "ListableUI", - "key.name" : "fillRow", - "key.namelength" : 7, - "key.nameoffset" : 26391, - "key.offset" : 26391, - "key.parsed_declaration" : "case fillRow", - "key.parsed_scope.end" : 404, - "key.parsed_scope.start" : 404, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.ItemLayout.Width.Type) -> FlowAppearance.ItemLayout.Width", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV10ItemLayoutV5WidthOAGmcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO7fillRowyA2GmF" - } - ] - } - ], - "key.typename" : "FlowAppearance.ItemLayout.Width.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutV5WidthOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV5WidthO" - } - ], - "key.typename" : "FlowAppearance.ItemLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HeaderFooterLayout : Equatable<\/Type>, HeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26541 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 26617, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the layout parameters for a given `HeaderFooter` when it is displayed within a `.flow` layout.", - "key.doc.column" : 19, - "key.doc.comment" : "Controls the layout parameters for a given `HeaderFooter` when it is displayed within a `.flow` layout.", - "key.doc.declaration" : "public struct HeaderFooterLayout : Equatable, HeaderFooterLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "HeaderFooterLayout<\/Name>s:10ListableUI14FlowAppearanceV18HeaderFooterLayoutV<\/USR>public struct HeaderFooterLayout : Equatable, HeaderFooterLayoutsValue<\/Declaration>Controls the layout parameters for a given HeaderFooter<\/codeVoice> when it is displayed within a .flow<\/codeVoice> layout.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 410, - "key.doc.name" : "HeaderFooterLayout", - "key.doc.type" : "Class", - "key.doclength" : 108, - "key.docoffset" : 26429, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 26576 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 26587 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterLayout<\/decl.name> : Equatable<\/ref.protocol>, HeaderFooterLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "HeaderFooterLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 187, - "key.line" : 410, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 26555, - "key.offset" : 26548, - "key.parsed_declaration" : "public struct HeaderFooterLayout : Equatable, HeaderFooterLayoutsValue", - "key.parsed_scope.end" : 417, - "key.parsed_scope.start" : 410, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26626 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 26641, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 412, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 26633, - "key.offset" : 26633, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 412, - "key.parsed_scope.start" : 412, - "key.reusingastcontext" : false, - "key.typename" : "(FlowAppearance.HeaderFooterLayout.Type) -> () -> FlowAppearance.HeaderFooterLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV18HeaderFooterLayoutVycD", - "key.usr" : "s:10ListableUI14FlowAppearanceV18HeaderFooterLayoutVAEycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26660 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 26699, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from HeaderFooterLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 62, - "key.line" : 414, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 26678, - "key.offset" : 26667, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 416, - "key.parsed_scope.start" : 414, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.HeaderFooterLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV18HeaderFooterLayoutVD", - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.typename" : "FlowAppearance.HeaderFooterLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV18HeaderFooterLayoutVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV18HeaderFooterLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SectionLayout : Equatable<\/Type>, SectionLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26852 - } - ], - "key.bodylength" : 1483, - "key.bodyoffset" : 26918, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the layout parameters for a given `Section` when it is displayed within a `.flow` layout.", - "key.doc.column" : 19, - "key.doc.comment" : "Controls the layout parameters for a given `Section` when it is displayed within a `.flow` layout.", - "key.doc.declaration" : "public struct SectionLayout : Equatable, SectionLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "SectionLayout<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV<\/USR>public struct SectionLayout : Equatable, SectionLayoutsValue<\/Declaration>Controls the layout parameters for a given Section<\/codeVoice> when it is displayed within a .flow<\/codeVoice> layout.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 420, - "key.doc.name" : "SectionLayout", - "key.doc.type" : "Class", - "key.doclength" : 103, - "key.docoffset" : 26745, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 26882 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 26893 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionLayout<\/decl.name> : Equatable<\/ref.protocol>, SectionLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "SectionLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1543, - "key.line" : 420, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 26866, - "key.offset" : 26859, - "key.parsed_declaration" : "public struct SectionLayout : Equatable, SectionLayoutsValue", - "key.parsed_scope.end" : 461, - "key.parsed_scope.start" : 420, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isHeaderSticky: Bool<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26927 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Indicates if the header for the section will be sticky.\nSetting this value explicitly overrides the list-level stickiness for headers.", - "key.doc.column" : 9, - "key.doc.declaration" : "var isHeaderSticky: Bool? { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "isHeaderSticky<\/Name>s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp<\/USR>var isHeaderSticky: Bool? { get }<\/Declaration>Indicates if the header for the section will be sticky. Setting this value explicitly overrides the list-level stickiness for headers.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "isHeaderSticky", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 422, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky", - "key.namelength" : 14, - "key.nameoffset" : 26938, - "key.offset" : 26934, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - } - ], - "key.parsed_declaration" : "public var isHeaderSticky: Bool?", - "key.parsed_scope.end" : 422, - "key.parsed_scope.start" : 422, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CustomWidth<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27033 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the custom width of the `Section`.", - "key.doc.column" : 20, - "key.doc.comment" : "Controls the custom width of the `Section`.", - "key.doc.declaration" : "public var width: CustomWidth", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV5widthAA11CustomWidthOvp<\/USR>public var width: CustomWidth<\/Declaration>Controls the custom width of the Section<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 425, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 26977, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 425, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 27044, - "key.offset" : 27040, - "key.parsed_declaration" : "public var width : CustomWidth", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 425, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV5widthAA11CustomWidthOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowUnderflowAlignment: RowUnderflowAlignment<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27161 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a custom underflow alignment for the items in the section.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a custom underflow alignment for the items in the section.", - "key.doc.declaration" : "public var rowUnderflowAlignment: RowUnderflowAlignment?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowUnderflowAlignment<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV21rowUnderflowAlignmentAC03RowhI0OSgvp<\/USR>public var rowUnderflowAlignment: RowUnderflowAlignment?<\/Declaration>Provides a custom underflow alignment for the items in the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 428, - "key.doc.name" : "rowUnderflowAlignment", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 27081, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowUnderflowAlignment<\/decl.name>: RowUnderflowAlignment<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 428, - "key.modulename" : "ListableUI", - "key.name" : "rowUnderflowAlignment", - "key.namelength" : 21, - "key.nameoffset" : 27172, - "key.offset" : 27168, - "key.parsed_declaration" : "public var rowUnderflowAlignment : RowUnderflowAlignment?", - "key.parsed_scope.end" : 428, - "key.parsed_scope.start" : 428, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.RowUnderflowAlignment?", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOSgD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV21rowUnderflowAlignmentAC03RowhI0OSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowItemsAlignment: RowItemsAlignment<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27311 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a custom item alignment for the items in the section.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a custom item alignment for the items in the section.", - "key.doc.declaration" : "public var rowItemsAlignment: RowItemsAlignment?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowItemsAlignment<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV17rowItemsAlignmentAC03RowhI0OSgvp<\/USR>public var rowItemsAlignment: RowItemsAlignment?<\/Declaration>Provides a custom item alignment for the items in the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 431, - "key.doc.name" : "rowItemsAlignment", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 27236, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowItemsAlignment<\/decl.name>: RowItemsAlignment<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 431, - "key.modulename" : "ListableUI", - "key.name" : "rowItemsAlignment", - "key.namelength" : 17, - "key.nameoffset" : 27322, - "key.offset" : 27318, - "key.parsed_declaration" : "public var rowItemsAlignment : RowItemsAlignment?", - "key.parsed_scope.end" : 431, - "key.parsed_scope.start" : 431, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.RowItemsAlignment?", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV17RowItemsAlignmentOSgD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV17rowItemsAlignmentAC03RowhI0OSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSizing: ItemSizing<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27450 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a custom item sizing for the items in the section.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a custom item sizing for the items in the section.", - "key.doc.declaration" : "public var itemSizing: ItemSizing?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "itemSizing<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV10itemSizingAC04ItemH0OSgvp<\/USR>public var itemSizing: ItemSizing?<\/Declaration>Provides a custom item sizing for the items in the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 434, - "key.doc.name" : "itemSizing", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 27378, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSizing<\/decl.name>: ItemSizing<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 434, - "key.modulename" : "ListableUI", - "key.name" : "itemSizing", - "key.namelength" : 10, - "key.nameoffset" : 27461, - "key.offset" : 27457, - "key.parsed_declaration" : "public var itemSizing : ItemSizing?", - "key.parsed_scope.end" : 434, - "key.parsed_scope.start" : 434, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.ItemSizing?", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemSizingOSgD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV10itemSizingAC04ItemH0OSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSpacing: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27576 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a custom item spacing for the items in the section.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a custom item spacing for the items in the section.", - "key.doc.declaration" : "public var itemSpacing: CGFloat?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "itemSpacing<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV11itemSpacing14CoreFoundation7CGFloatVSgvp<\/USR>public var itemSpacing: CGFloat?<\/Declaration>Provides a custom item spacing for the items in the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 437, - "key.doc.name" : "itemSpacing", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 27503, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSpacing<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 437, - "key.modulename" : "ListableUI", - "key.name" : "itemSpacing", - "key.namelength" : 11, - "key.nameoffset" : 27587, - "key.offset" : 27583, - "key.parsed_declaration" : "public var itemSpacing : CGFloat?", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 437, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV11itemSpacing14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isHeaderSticky: Bool<\/Type>? = nil, width: CustomWidth<\/Type> = .default, rowUnderflowAlignment: RowUnderflowAlignment<\/Type>? = nil, rowItemsAlignment: RowItemsAlignment<\/Type>? = nil, itemSizing: ItemSizing<\/Type>? = nil, itemSpacing: CGFloat<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 27669 - } - ], - "key.bodylength" : 317, - "key.bodyoffset" : 27987, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new section layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new section layout.", - "key.doc.declaration" : "public init(isHeaderSticky: Bool? = nil, width: CustomWidth = .default, rowUnderflowAlignment: RowUnderflowAlignment? = nil, rowItemsAlignment: RowItemsAlignment? = nil, itemSizing: ItemSizing? = nil, itemSpacing: CGFloat? = nil)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "init(isHeaderSticky:width:rowUnderflowAlignment:rowItemsAlignment:itemSizing:itemSpacing:)<\/Name>s:10ListableUI14FlowAppearanceV13SectionLayoutV14isHeaderSticky5width21rowUnderflowAlignment0k5ItemsM010itemSizing0O7SpacingAESbSg_AA11CustomWidthOAC03RowlM0OSgAC0tnM0OSgAC04ItemP0OSg14CoreFoundation7CGFloatVSgtcfc<\/USR>public init(isHeaderSticky: Bool? = nil, width: CustomWidth = .default, rowUnderflowAlignment: RowUnderflowAlignment? = nil, rowItemsAlignment: RowItemsAlignment? = nil, itemSizing: ItemSizing? = nil, itemSpacing: CGFloat? = nil)<\/Declaration>Creates a new section layout.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 440, - "key.doc.name" : "init(isHeaderSticky:width:rowUnderflowAlignment:rowItemsAlignment:itemSizing:itemSpacing:)", - "key.doc.type" : "Function", - "key.doclength" : 34, - "key.docoffset" : 27627, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isHeaderSticky<\/decl.var.parameter.argument_label>: Bool<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type> = .default<\/decl.var.parameter>, rowUnderflowAlignment<\/decl.var.parameter.argument_label>: RowUnderflowAlignment<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, rowItemsAlignment<\/decl.var.parameter.argument_label>: RowItemsAlignment<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, itemSizing<\/decl.var.parameter.argument_label>: ItemSizing<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 629, - "key.line" : 440, - "key.modulename" : "ListableUI", - "key.name" : "init(isHeaderSticky:width:rowUnderflowAlignment:rowItemsAlignment:itemSizing:itemSpacing:)", - "key.namelength" : 309, - "key.nameoffset" : 27676, - "key.offset" : 27676, - "key.parsed_declaration" : "public init(\n isHeaderSticky: Bool? = nil,\n width : CustomWidth = .default,\n rowUnderflowAlignment : RowUnderflowAlignment? = nil,\n rowItemsAlignment : RowItemsAlignment? = nil,\n itemSizing : ItemSizing? = nil,\n itemSpacing : CGFloat? = nil\n)", - "key.parsed_scope.end" : 456, - "key.parsed_scope.start" : 440, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.SectionLayout.Type) -> (Bool?, CustomWidth, FlowAppearance.RowUnderflowAlignment?, FlowAppearance.RowItemsAlignment?, FlowAppearance.ItemSizing?, CGFloat?) -> FlowAppearance.SectionLayout", - "key.typeusr" : "$s14isHeaderSticky5width21rowUnderflowAlignment0e5ItemsG010itemSizing0I7Spacing10ListableUI14FlowAppearanceV13SectionLayoutVSbSg_AG11CustomWidthOAI03RowfG0OSgAI0thG0OSgAI04ItemJ0OSg14CoreFoundation7CGFloatVSgtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV14isHeaderSticky5width21rowUnderflowAlignment0k5ItemsM010itemSizing0O7SpacingAESbSg_AA11CustomWidthOAC03RowlM0OSgAC0tnM0OSgAC04ItemP0OSg14CoreFoundation7CGFloatVSgtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 28323 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 28362, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 66, - "key.line" : 458, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 28341, - "key.offset" : 28330, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 460, - "key.parsed_scope.start" : 458, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.SectionLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV13SectionLayoutVD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - } - ], - "key.typename" : "FlowAppearance.SectionLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV13SectionLayoutVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV13SectionLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Spacings : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 28449 - } - ], - "key.bodylength" : 2974, - "key.bodyoffset" : 28489, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Layout options for the list.", - "key.doc.column" : 19, - "key.doc.comment" : "Layout options for the list.", - "key.doc.declaration" : "public struct Spacings : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "Spacings<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV<\/USR>public struct Spacings : Equatable<\/Declaration>Layout options for the list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 464, - "key.doc.name" : "Spacings", - "key.doc.type" : "Class", - "key.doclength" : 33, - "key.docoffset" : 28412, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 28474 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Spacings<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3008, - "key.line" : 464, - "key.modulename" : "ListableUI", - "key.name" : "Spacings", - "key.namelength" : 8, - "key.nameoffset" : 28463, - "key.offset" : 28456, - "key.parsed_declaration" : "public struct Spacings : Equatable", - "key.parsed_scope.end" : 536, - "key.parsed_scope.start" : 464, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var headerToFirstSectionSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 28621 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the list header and the first section.\nNot applied if there is no list header.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the list header and the first section.\nNot applied if there is no list header.", - "key.doc.declaration" : "public var headerToFirstSectionSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "headerToFirstSectionSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV27headerToFirstSectionSpacing14CoreFoundation7CGFloatVvp<\/USR>public var headerToFirstSectionSpacing: CGFloat<\/Declaration>The spacing between the list header and the first section. Not applied if there is no list header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 468, - "key.doc.name" : "headerToFirstSectionSpacing", - "key.doc.type" : "Other", - "key.doclength" : 115, - "key.docoffset" : 28498, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> headerToFirstSectionSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 468, - "key.modulename" : "ListableUI", - "key.name" : "headerToFirstSectionSpacing", - "key.namelength" : 27, - "key.nameoffset" : 28632, - "key.offset" : 28628, - "key.parsed_declaration" : "public var headerToFirstSectionSpacing : CGFloat", - "key.parsed_scope.end" : 468, - "key.parsed_scope.start" : 468, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV27headerToFirstSectionSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var interSectionSpacing: InterSectionSpacing<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 28730 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing to apply between sections.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing to apply between sections.", - "key.doc.declaration" : "public var interSectionSpacing: InterSectionSpacing", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "interSectionSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19interSectionSpacingAE05IntergH0Vvp<\/USR>public var interSectionSpacing: InterSectionSpacing<\/Declaration>The spacing to apply between sections.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 471, - "key.doc.name" : "interSectionSpacing", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 28679, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> interSectionSpacing<\/decl.name>: InterSectionSpacing<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 471, - "key.modulename" : "ListableUI", - "key.name" : "interSectionSpacing", - "key.namelength" : 19, - "key.nameoffset" : 28741, - "key.offset" : 28737, - "key.parsed_declaration" : "public var interSectionSpacing : InterSectionSpacing", - "key.parsed_scope.end" : 471, - "key.parsed_scope.start" : 471, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.Spacings.InterSectionSpacing", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19interSectionSpacingAE05IntergH0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sectionHeaderBottomSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 28930 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing to apply below a section header, before its items.\nNot applied if there is no section header.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing to apply below a section header, before its items.\nNot applied if there is no section header.", - "key.doc.declaration" : "public var sectionHeaderBottomSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "sectionHeaderBottomSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV26sectionHeaderBottomSpacing14CoreFoundation7CGFloatVvp<\/USR>public var sectionHeaderBottomSpacing: CGFloat<\/Declaration>The spacing to apply below a section header, before its items. Not applied if there is no section header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 475, - "key.doc.name" : "sectionHeaderBottomSpacing", - "key.doc.type" : "Other", - "key.doclength" : 122, - "key.docoffset" : 28800, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sectionHeaderBottomSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 475, - "key.modulename" : "ListableUI", - "key.name" : "sectionHeaderBottomSpacing", - "key.namelength" : 26, - "key.nameoffset" : 28941, - "key.offset" : 28937, - "key.parsed_declaration" : "public var sectionHeaderBottomSpacing : CGFloat", - "key.parsed_scope.end" : 475, - "key.parsed_scope.start" : 475, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV26sectionHeaderBottomSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 29073 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The horizontal spacing between individual items within a section.", - "key.doc.column" : 20, - "key.doc.comment" : "The horizontal spacing between individual items within a section.", - "key.doc.declaration" : "public var itemSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "itemSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV11itemSpacing14CoreFoundation7CGFloatVvp<\/USR>public var itemSpacing: CGFloat<\/Declaration>The horizontal spacing between individual items within a section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 478, - "key.doc.name" : "itemSpacing", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 28995, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 478, - "key.modulename" : "ListableUI", - "key.name" : "itemSpacing", - "key.namelength" : 11, - "key.nameoffset" : 29084, - "key.offset" : 29080, - "key.parsed_declaration" : "public var itemSpacing : CGFloat", - "key.parsed_scope.end" : 478, - "key.parsed_scope.start" : 478, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV11itemSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 29189 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The vertical spacing between rows in the flow layout.", - "key.doc.column" : 20, - "key.doc.comment" : "The vertical spacing between rows in the flow layout.", - "key.doc.declaration" : "public var rowSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV10rowSpacing14CoreFoundation7CGFloatVvp<\/USR>public var rowSpacing: CGFloat<\/Declaration>The vertical spacing between rows in the flow layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 481, - "key.doc.name" : "rowSpacing", - "key.doc.type" : "Other", - "key.doclength" : 58, - "key.docoffset" : 29123, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 481, - "key.modulename" : "ListableUI", - "key.name" : "rowSpacing", - "key.namelength" : 10, - "key.nameoffset" : 29200, - "key.offset" : 29196, - "key.parsed_declaration" : "public var rowSpacing : CGFloat", - "key.parsed_scope.end" : 481, - "key.parsed_scope.start" : 481, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV10rowSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var rowToSectionFooterSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 29369 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the last row in the section and the footer.\nNot applied if there is no section footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the last row in the section and the footer.\nNot applied if there is no section footer.", - "key.doc.declaration" : "public var rowToSectionFooterSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rowToSectionFooterSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV25rowToSectionFooterSpacing14CoreFoundation7CGFloatVvp<\/USR>public var rowToSectionFooterSpacing: CGFloat<\/Declaration>The spacing between the last row in the section and the footer. Not applied if there is no section footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 485, - "key.doc.name" : "rowToSectionFooterSpacing", - "key.doc.type" : "Other", - "key.doclength" : 123, - "key.docoffset" : 29238, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> rowToSectionFooterSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 485, - "key.modulename" : "ListableUI", - "key.name" : "rowToSectionFooterSpacing", - "key.namelength" : 25, - "key.nameoffset" : 29380, - "key.offset" : 29376, - "key.parsed_declaration" : "public var rowToSectionFooterSpacing : CGFloat", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 485, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV25rowToSectionFooterSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var lastSectionToFooterSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 29562 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the last section and the footer of the list.\nNot applied if there is no list footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the last section and the footer of the list.\nNot applied if there is no list footer.", - "key.doc.declaration" : "public var lastSectionToFooterSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "lastSectionToFooterSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV26lastSectionToFooterSpacing14CoreFoundation7CGFloatVvp<\/USR>public var lastSectionToFooterSpacing: CGFloat<\/Declaration>The spacing between the last section and the footer of the list. Not applied if there is no list footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 489, - "key.doc.name" : "lastSectionToFooterSpacing", - "key.doc.type" : "Other", - "key.doclength" : 121, - "key.docoffset" : 29433, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastSectionToFooterSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 489, - "key.modulename" : "ListableUI", - "key.name" : "lastSectionToFooterSpacing", - "key.namelength" : 26, - "key.nameoffset" : 29573, - "key.offset" : 29569, - "key.parsed_declaration" : "public var lastSectionToFooterSpacing : CGFloat", - "key.parsed_scope.end" : 489, - "key.parsed_scope.start" : 489, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV26lastSectionToFooterSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(headerToFirstSectionSpacing: CGFloat<\/Type> = 0.0, interSectionSpacing: InterSectionSpacing<\/Type> = .init(0.0), sectionHeaderBottomSpacing: CGFloat<\/Type> = 0.0, itemSpacing: CGFloat<\/Type> = 0.0, rowSpacing: CGFloat<\/Type> = 0.0, rowToSectionFooterSpacing: CGFloat<\/Type> = 0.0, lastSectionToFooterSpacing: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 29697 - } - ], - "key.bodylength" : 509, - "key.bodyoffset" : 30093, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `Layout` with the provided options.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new `Layout` with the provided options.", - "key.doc.declaration" : "public init(headerToFirstSectionSpacing: CGFloat = 0.0, interSectionSpacing: InterSectionSpacing = .init(0.0), sectionHeaderBottomSpacing: CGFloat = 0.0, itemSpacing: CGFloat = 0.0, rowSpacing: CGFloat = 0.0, rowToSectionFooterSpacing: CGFloat = 0.0, lastSectionToFooterSpacing: CGFloat = 0.0)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "init(headerToFirstSectionSpacing:interSectionSpacing:sectionHeaderBottomSpacing:itemSpacing:rowSpacing:rowToSectionFooterSpacing:lastSectionToFooterSpacing:)<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV27headerToFirstSectionSpacing05interiJ0019sectionHeaderBottomJ004itemJ003rowJ00pgi6FooterJ004lastigqJ0AE14CoreFoundation7CGFloatV_AE05InteriJ0VA5Otcfc<\/USR>public init(headerToFirstSectionSpacing: CGFloat = 0.0, interSectionSpacing: InterSectionSpacing = .init(0.0), sectionHeaderBottomSpacing: CGFloat = 0.0, itemSpacing: CGFloat = 0.0, rowSpacing: CGFloat = 0.0, rowToSectionFooterSpacing: CGFloat = 0.0, lastSectionToFooterSpacing: CGFloat = 0.0)<\/Declaration>Creates a new Layout<\/codeVoice> with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 492, - "key.doc.name" : "init(headerToFirstSectionSpacing:interSectionSpacing:sectionHeaderBottomSpacing:itemSpacing:rowSpacing:rowToSectionFooterSpacing:lastSectionToFooterSpacing:)", - "key.doc.type" : "Function", - "key.doclength" : 54, - "key.docoffset" : 29635, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(headerToFirstSectionSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, interSectionSpacing<\/decl.var.parameter.argument_label>: InterSectionSpacing<\/ref.struct><\/decl.var.parameter.type> = .init(0.0)<\/decl.var.parameter>, sectionHeaderBottomSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, rowSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, rowToSectionFooterSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, lastSectionToFooterSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 899, - "key.line" : 492, - "key.modulename" : "ListableUI", - "key.name" : "init(headerToFirstSectionSpacing:interSectionSpacing:sectionHeaderBottomSpacing:itemSpacing:rowSpacing:rowToSectionFooterSpacing:lastSectionToFooterSpacing:)", - "key.namelength" : 387, - "key.nameoffset" : 29704, - "key.offset" : 29704, - "key.parsed_declaration" : "public init(\n headerToFirstSectionSpacing : CGFloat = 0.0,\n interSectionSpacing : InterSectionSpacing = .init(0.0),\n sectionHeaderBottomSpacing : CGFloat = 0.0,\n itemSpacing : CGFloat = 0.0,\n rowSpacing : CGFloat = 0.0,\n rowToSectionFooterSpacing : CGFloat = 0.0,\n lastSectionToFooterSpacing : CGFloat = 0.0\n)", - "key.parsed_scope.end" : 513, - "key.parsed_scope.start" : 492, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.Spacings.Type) -> (CGFloat, FlowAppearance.Spacings.InterSectionSpacing, CGFloat, CGFloat, CGFloat, CGFloat, CGFloat) -> FlowAppearance.Spacings", - "key.typeusr" : "$s27headerToFirstSectionSpacing05interdE0019sectionHeaderBottomE004itemE003rowE00kbd6FooterE004lastdblE010ListableUI14FlowAppearanceV8SpacingsV14CoreFoundation7CGFloatV_AL05InterdE0VA5OtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV27headerToFirstSectionSpacing05interiJ0019sectionHeaderBottomJ004itemJ003rowJ00pgi6FooterJ004lastigqJ0AE14CoreFoundation7CGFloatV_AE05InteriJ0VA5Otcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct FlowAppearance<\/Type>.Spacings<\/Type>.InterSectionSpacing : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 30679 - } - ], - "key.bodylength" : 731, - "key.bodyoffset" : 30726, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the inter section spacing in a list.", - "key.doc.column" : 23, - "key.doc.comment" : "Controls the inter section spacing in a list.", - "key.doc.declaration" : "public struct ListableUI.FlowAppearance.Spacings.InterSectionSpacing : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "InterSectionSpacing<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV<\/USR>public struct ListableUI.FlowAppearance.Spacings.InterSectionSpacing : Equatable<\/Declaration>Controls the inter section spacing in a list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 516, - "key.doc.name" : "InterSectionSpacing", - "key.doc.type" : "Class", - "key.doclength" : 50, - "key.docoffset" : 30621, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 30715 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.Spacings<\/ref.struct>.InterSectionSpacing<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 772, - "key.line" : 516, - "key.modulename" : "ListableUI", - "key.name" : "InterSectionSpacing", - "key.namelength" : 19, - "key.nameoffset" : 30693, - "key.offset" : 30686, - "key.parsed_declaration" : "public struct InterSectionSpacing : Equatable", - "key.parsed_scope.end" : 535, - "key.parsed_scope.start" : 516, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var withFooter: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 30833 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing used if there is a footer in the proceeding section.", - "key.doc.column" : 24, - "key.doc.comment" : "The spacing used if there is a footer in the proceeding section.", - "key.doc.declaration" : "public var withFooter: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "withFooter<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV10withFooter14CoreFoundation7CGFloatVvp<\/USR>public var withFooter: CGFloat<\/Declaration>The spacing used if there is a footer in the proceeding section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 519, - "key.doc.name" : "withFooter", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 30752, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> withFooter<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 519, - "key.modulename" : "ListableUI", - "key.name" : "withFooter", - "key.namelength" : 10, - "key.nameoffset" : 30844, - "key.offset" : 30840, - "key.parsed_declaration" : "public var withFooter : CGFloat", - "key.parsed_scope.end" : 519, - "key.parsed_scope.start" : 519, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV10withFooter14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var noFooter: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 30972 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing used if there is no footer in the proceeding section.", - "key.doc.column" : 24, - "key.doc.comment" : "The spacing used if there is no footer in the proceeding section.", - "key.doc.declaration" : "public var noFooter: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "noFooter<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV8noFooter14CoreFoundation7CGFloatVvp<\/USR>public var noFooter: CGFloat<\/Declaration>The spacing used if there is no footer in the proceeding section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 522, - "key.doc.name" : "noFooter", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 30890, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> noFooter<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 522, - "key.modulename" : "ListableUI", - "key.name" : "noFooter", - "key.namelength" : 8, - "key.nameoffset" : 30983, - "key.offset" : 30979, - "key.parsed_declaration" : "public var noFooter : CGFloat", - "key.parsed_scope.end" : 522, - "key.parsed_scope.start" : 522, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV8noFooter14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(withFooter: CGFloat<\/Type>, noFooter: CGFloat<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 31086 - } - ], - "key.bodylength" : 99, - "key.bodyoffset" : 31139, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a new intersection spacing value.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a new intersection spacing value.", - "key.doc.declaration" : "public init(withFooter: CGFloat, noFooter: CGFloat)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "init(withFooter:noFooter:)<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV10withFooter02noJ0AG14CoreFoundation7CGFloatV_ALtcfc<\/USR>public init(withFooter: CGFloat, noFooter: CGFloat)<\/Declaration>Provides a new intersection spacing value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 525, - "key.doc.name" : "init(withFooter:noFooter:)", - "key.doc.type" : "Function", - "key.doclength" : 47, - "key.docoffset" : 31027, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(withFooter<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, noFooter<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 146, - "key.line" : 525, - "key.modulename" : "ListableUI", - "key.name" : "init(withFooter:noFooter:)", - "key.namelength" : 44, - "key.nameoffset" : 31093, - "key.offset" : 31093, - "key.parsed_declaration" : "public init(withFooter: CGFloat, noFooter: CGFloat)", - "key.parsed_scope.end" : 528, - "key.parsed_scope.start" : 525, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.Spacings.InterSectionSpacing.Type) -> (CGFloat, CGFloat) -> FlowAppearance.Spacings.InterSectionSpacing", - "key.typeusr" : "$s10withFooter02noB010ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV14CoreFoundation7CGFloatV_ALtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV10withFooter02noJ0AG14CoreFoundation7CGFloatV_ALtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ value: CGFloat<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 31324 - } - ], - "key.bodylength" : 91, - "key.bodyoffset" : 31356, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a new intersection spacing value.", - "key.doc.column" : 20, - "key.doc.comment" : "Provides a new intersection spacing value.", - "key.doc.declaration" : "public init(_ value: CGFloat)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingVyAG14CoreFoundation7CGFloatVcfc<\/USR>public init(_ value: CGFloat)<\/Declaration>Provides a new intersection spacing value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 531, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 47, - "key.docoffset" : 31265, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 117, - "key.line" : 531, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 23, - "key.nameoffset" : 31331, - "key.offset" : 31331, - "key.parsed_declaration" : "public init(_ value : CGFloat)", - "key.parsed_scope.end" : 534, - "key.parsed_scope.start" : 531, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(withFooter:noFooter:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowAppearance.Spacings.InterSectionSpacing.Type) -> (CGFloat) -> FlowAppearance.Spacings.InterSectionSpacing", - "key.typeusr" : "$sy10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV14CoreFoundation7CGFloatVcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingVyAG14CoreFoundation7CGFloatVcfc" - } - ], - "key.typename" : "FlowAppearance.Spacings.InterSectionSpacing.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV19InterSectionSpacingV" - } - ], - "key.typename" : "FlowAppearance.Spacings.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV8SpacingsVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV8SpacingsV" - } - ], - "key.typename" : "FlowAppearance.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceVmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV" - }, - { - "key.annotated_decl" : "public struct ItemLayouts<\/Declaration>", - "key.bodylength" : 540, - "key.bodyoffset" : 31492, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`ItemLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your item:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Item` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n\nmyItem.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type, like so:\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ItemLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your item:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Item` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `ItemLayouts`, to provide easier access to your layout-specific `ItemLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "ItemLayouts<\/Name>s:10ListableUI11ItemLayoutsV<\/USR>public struct ItemLayouts<\/Declaration>ItemLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your item:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Item<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to ItemLayouts<\/codeVoice>, to provide easier access to your layout-specific ItemLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "ItemLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 564, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayouts", - "key.namelength" : 11, - "key.nameoffset" : 31479, - "key.offset" : 31469, - "key.parsed_declaration" : "extension ItemLayouts", - "key.parsed_scope.end" : 554, - "key.parsed_scope.start" : 540, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func flow(_ configure: (inout FlowAppearance<\/Type>.ItemLayout<\/Type>) -> ()) -> ItemLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 31598 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 31686, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `ItemLayouts` value that allows configuring the flow values for the item.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `ItemLayouts` value that allows configuring the flow values for the item.", - "key.doc.declaration" : "public static func flow(_ configure: (inout FlowAppearance.ItemLayout) -> ()) -> ListableUI.ItemLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow(_:)<\/Name>s:10ListableUI11ItemLayoutsV4flowyACyAA14FlowAppearanceV0C6LayoutVzXEFZ<\/USR>public static func flow(_ configure: (inout FlowAppearance.ItemLayout) -> ()) -> ListableUI.ItemLayouts<\/Declaration>Creates a new ItemLayouts<\/codeVoice> value that allows configuring the flow values for the item.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 543, - "key.doc.name" : "flow(_:)", - "key.doc.type" : "Function", - "key.doclength" : 92, - "key.docoffset" : 31502, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> flow<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 145, - "key.line" : 543, - "key.modulename" : "ListableUI", - "key.name" : "flow(_:)", - "key.namelength" : 59, - "key.nameoffset" : 31617, - "key.offset" : 31605, - "key.parsed_declaration" : "public static func flow(_ configure : (inout FlowAppearance.ItemLayout) -> ()) -> Self", - "key.parsed_scope.end" : 547, - "key.parsed_scope.start" : 543, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemLayouts.Type) -> ((inout FlowAppearance.ItemLayout) -> ()) -> ItemLayouts", - "key.typeusr" : "$sy10ListableUI11ItemLayoutsVyAA14FlowAppearanceV0C6LayoutVzXEcD", - "key.usr" : "s:10ListableUI11ItemLayoutsV4flowyACyAA14FlowAppearanceV0C6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var flow: FlowAppearance<\/Type>.ItemLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 31863 - } - ], - "key.bodylength" : 122, - "key.bodyoffset" : 31908, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of an `Item`'s layout when it is presented within a `.flow` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of an `Item`'s layout when it is presented within a `.flow` style layout.", - "key.doc.declaration" : "public var flow: FlowAppearance.ItemLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow<\/Name>s:10ListableUI11ItemLayoutsV4flowAA14FlowAppearanceV0C6LayoutVvp<\/USR>public var flow: FlowAppearance.ItemLayout { get set }<\/Declaration>Allows customization of an Item<\/codeVoice>’s layout when it is presented within a .flow<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 550, - "key.doc.name" : "flow", - "key.doc.type" : "Other", - "key.doclength" : 99, - "key.docoffset" : 31760, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> flow<\/decl.name>: FlowAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 161, - "key.line" : 550, - "key.modulename" : "ListableUI", - "key.name" : "flow", - "key.namelength" : 4, - "key.nameoffset" : 31874, - "key.offset" : 31870, - "key.parsed_declaration" : "public var flow : FlowAppearance.ItemLayout", - "key.parsed_scope.end" : 553, - "key.parsed_scope.start" : 550, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.ItemLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutVD", - "key.usr" : "s:10ListableUI11ItemLayoutsV4flowAA14FlowAppearanceV0C6LayoutVvp" - } - ], - "key.typename" : "ItemLayouts.Type", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVmD", - "key.usr" : "s:10ListableUI11ItemLayoutsV" - }, - { - "key.annotated_decl" : "public struct HeaderFooterLayouts<\/Declaration>", - "key.bodylength" : 598, - "key.bodyoffset" : 32067, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`HeaderFooterLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your header:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `HeaderFooter` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n\nmyHeader.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n padding: 10\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct HeaderFooterLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your header:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `HeaderFooter` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`, to provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "HeaderFooterLayouts<\/Name>s:10ListableUI19HeaderFooterLayoutsV<\/USR>public struct HeaderFooterLayouts<\/Declaration>HeaderFooterLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your header:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the HeaderFooter<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to HeaderFooterLayouts<\/codeVoice>, to provide easier access to your layout-specific HeaderFooterLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 55, - "key.doc.name" : "HeaderFooterLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 630, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayouts", - "key.namelength" : 19, - "key.nameoffset" : 32046, - "key.offset" : 32036, - "key.parsed_declaration" : "extension HeaderFooterLayouts", - "key.parsed_scope.end" : 571, - "key.parsed_scope.start" : 557, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func flow(_ configure: (inout FlowAppearance<\/Type>.HeaderFooterLayout<\/Type>) -> ()) -> HeaderFooterLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 32192 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 32288, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `HeaderFooterLayouts` value that allows configuring the flow values for the header \/ footer.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `HeaderFooterLayouts` value that allows configuring the flow values for the header \/ footer.", - "key.doc.declaration" : "public static func flow(_ configure: (inout FlowAppearance.HeaderFooterLayout) -> ()) -> ListableUI.HeaderFooterLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow(_:)<\/Name>s:10ListableUI19HeaderFooterLayoutsV4flowyACyAA14FlowAppearanceV0cD6LayoutVzXEFZ<\/USR>public static func flow(_ configure: (inout FlowAppearance.HeaderFooterLayout) -> ()) -> ListableUI.HeaderFooterLayouts<\/Declaration>Creates a new HeaderFooterLayouts<\/codeVoice> value that allows configuring the flow values for the header \/ footer.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 560, - "key.doc.name" : "flow(_:)", - "key.doc.type" : "Function", - "key.doclength" : 111, - "key.docoffset" : 32077, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> flow<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> HeaderFooterLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 153, - "key.line" : 560, - "key.modulename" : "ListableUI", - "key.name" : "flow(_:)", - "key.namelength" : 67, - "key.nameoffset" : 32211, - "key.offset" : 32199, - "key.parsed_declaration" : "public static func flow(_ configure : (inout FlowAppearance.HeaderFooterLayout) -> ()) -> Self", - "key.parsed_scope.end" : 564, - "key.parsed_scope.start" : 560, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(HeaderFooterLayouts.Type) -> ((inout FlowAppearance.HeaderFooterLayout) -> ()) -> HeaderFooterLayouts", - "key.typeusr" : "$sy10ListableUI19HeaderFooterLayoutsVyAA14FlowAppearanceV0cD6LayoutVzXEcD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV4flowyACyAA14FlowAppearanceV0cD6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var flow: FlowAppearance<\/Type>.HeaderFooterLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 32472 - } - ], - "key.bodylength" : 138, - "key.bodyoffset" : 32525, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of a `HeaderFooter`'s layout when it is presented within a `.flow` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of a `HeaderFooter`'s layout when it is presented within a `.flow` style layout.", - "key.doc.declaration" : "public var flow: FlowAppearance.HeaderFooterLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow<\/Name>s:10ListableUI19HeaderFooterLayoutsV4flowAA14FlowAppearanceV0cD6LayoutVvp<\/USR>public var flow: FlowAppearance.HeaderFooterLayout { get set }<\/Declaration>Allows customization of a HeaderFooter<\/codeVoice>’s layout when it is presented within a .flow<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 567, - "key.doc.name" : "flow", - "key.doc.type" : "Other", - "key.doclength" : 106, - "key.docoffset" : 32362, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> flow<\/decl.name>: FlowAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 185, - "key.line" : 567, - "key.modulename" : "ListableUI", - "key.name" : "flow", - "key.namelength" : 4, - "key.nameoffset" : 32483, - "key.offset" : 32479, - "key.parsed_declaration" : "public var flow : FlowAppearance.HeaderFooterLayout", - "key.parsed_scope.end" : 570, - "key.parsed_scope.start" : 567, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.HeaderFooterLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV18HeaderFooterLayoutVD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV4flowAA14FlowAppearanceV0cD6LayoutVvp" - } - ], - "key.typename" : "HeaderFooterLayouts.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVmD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV" - }, - { - "key.annotated_decl" : "public struct SectionLayouts<\/Declaration>", - "key.bodylength" : 560, - "key.bodyoffset" : 32695, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`SectionLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your section:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Section` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n\nmySection.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type, like so:\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct SectionLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your section:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Section` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `SectionLayouts`, to provide easier access to your layout-specific `SectionLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "SectionLayouts<\/Name>s:10ListableUI14SectionLayoutsV<\/USR>public struct SectionLayouts<\/Declaration>SectionLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your section:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Section<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to SectionLayouts<\/codeVoice>, to provide easier access to your layout-specific SectionLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "SectionLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 587, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayouts", - "key.namelength" : 14, - "key.nameoffset" : 32679, - "key.offset" : 32669, - "key.parsed_declaration" : "extension SectionLayouts", - "key.parsed_scope.end" : 588, - "key.parsed_scope.start" : 574, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func flow(_ configure: (inout FlowAppearance<\/Type>.SectionLayout<\/Type>) -> ()) -> SectionLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 32807 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 32898, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `SectionLayouts` value that allows configuring the flow values for the section.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `SectionLayouts` value that allows configuring the flow values for the section.", - "key.doc.declaration" : "public static func flow(_ configure: (inout FlowAppearance.SectionLayout) -> ()) -> ListableUI.SectionLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow(_:)<\/Name>s:10ListableUI14SectionLayoutsV4flowyACyAA14FlowAppearanceV0C6LayoutVzXEFZ<\/USR>public static func flow(_ configure: (inout FlowAppearance.SectionLayout) -> ()) -> ListableUI.SectionLayouts<\/Declaration>Creates a new SectionLayouts<\/codeVoice> value that allows configuring the flow values for the section.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 577, - "key.doc.name" : "flow(_:)", - "key.doc.type" : "Function", - "key.doclength" : 98, - "key.docoffset" : 32705, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> flow<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> FlowAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> SectionLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 148, - "key.line" : 577, - "key.modulename" : "ListableUI", - "key.name" : "flow(_:)", - "key.namelength" : 62, - "key.nameoffset" : 32826, - "key.offset" : 32814, - "key.parsed_declaration" : "public static func flow(_ configure : (inout FlowAppearance.SectionLayout) -> ()) -> Self", - "key.parsed_scope.end" : 581, - "key.parsed_scope.start" : 577, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionLayouts.Type) -> ((inout FlowAppearance.SectionLayout) -> ()) -> SectionLayouts", - "key.typeusr" : "$sy10ListableUI14SectionLayoutsVyAA14FlowAppearanceV0C6LayoutVzXEcD", - "key.usr" : "s:10ListableUI14SectionLayoutsV4flowyACyAA14FlowAppearanceV0C6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var flow: FlowAppearance<\/Type>.SectionLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 33077 - } - ], - "key.bodylength" : 128, - "key.bodyoffset" : 33125, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of a `Section`'s layout when it is presented within a `.flow` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of a `Section`'s layout when it is presented within a `.flow` style layout.", - "key.doc.declaration" : "public var flow: FlowAppearance.SectionLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "flow<\/Name>s:10ListableUI14SectionLayoutsV4flowAA14FlowAppearanceV0C6LayoutVvp<\/USR>public var flow: FlowAppearance.SectionLayout { get set }<\/Declaration>Allows customization of a Section<\/codeVoice>’s layout when it is presented within a .flow<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 584, - "key.doc.name" : "flow", - "key.doc.type" : "Other", - "key.doclength" : 101, - "key.docoffset" : 32972, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> flow<\/decl.name>: FlowAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 170, - "key.line" : 584, - "key.modulename" : "ListableUI", - "key.name" : "flow", - "key.namelength" : 4, - "key.nameoffset" : 33088, - "key.offset" : 33084, - "key.parsed_declaration" : "public var flow : FlowAppearance.SectionLayout", - "key.parsed_scope.end" : 587, - "key.parsed_scope.start" : 584, - "key.related_decls" : [ - { - "key.annotated_decl" : "flow(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "FlowAppearance.SectionLayout", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV13SectionLayoutVD", - "key.usr" : "s:10ListableUI14SectionLayoutsV4flowAA14FlowAppearanceV0C6LayoutVvp" - } - ], - "key.typename" : "SectionLayouts.Type", - "key.typeusr" : "$s10ListableUI14SectionLayoutsVmD", - "key.usr" : "s:10ListableUI14SectionLayoutsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class FlowListLayout : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 33259 - } - ], - "key.bodylength" : 16286, - "key.bodyoffset" : 33300, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 33288 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> FlowListLayout<\/decl.name> : ListLayout<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 16322, - "key.line" : 591, - "key.modulename" : "ListableUI", - "key.name" : "FlowListLayout", - "key.namelength" : 14, - "key.nameoffset" : 33271, - "key.offset" : 33265, - "key.parsed_declaration" : "final class FlowListLayout : ListLayout", - "key.parsed_scope.end" : 1087, - "key.parsed_scope.start" : 591, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias FlowListLayout<\/Type>.ItemLayout = FlowAppearance<\/Type>.ItemLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> FlowListLayout<\/ref.class>.ItemLayout<\/decl.name> = FlowAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 48, - "key.line" : 593, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 33320, - "key.offset" : 33310, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP04ItemD0Qa" - } - ], - "key.parsed_declaration" : "typealias ItemLayout = FlowAppearance.ItemLayout", - "key.parsed_scope.end" : 593, - "key.parsed_scope.start" : 593, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.ItemLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemLayoutVmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC04ItemE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias FlowListLayout<\/Type>.HeaderFooterLayout = FlowAppearance<\/Type>.HeaderFooterLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> FlowListLayout<\/ref.class>.HeaderFooterLayout<\/decl.name> = FlowAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 64, - "key.line" : 594, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 33373, - "key.offset" : 33363, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP012HeaderFooterD0Qa" - } - ], - "key.parsed_declaration" : "typealias HeaderFooterLayout = FlowAppearance.HeaderFooterLayout", - "key.parsed_scope.end" : 594, - "key.parsed_scope.start" : 594, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.HeaderFooterLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV18HeaderFooterLayoutVmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC012HeaderFooterE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias FlowListLayout<\/Type>.SectionLayout = FlowAppearance<\/Type>.SectionLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> FlowListLayout<\/ref.class>.SectionLayout<\/decl.name> = FlowAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 54, - "key.line" : 595, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 33442, - "key.offset" : 33432, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP07SectionD0Qa" - } - ], - "key.parsed_declaration" : "typealias SectionLayout = FlowAppearance.SectionLayout", - "key.parsed_scope.end" : 595, - "key.parsed_scope.start" : 595, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.SectionLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV13SectionLayoutVmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC07SectionE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias FlowListLayout<\/Type>.LayoutAppearance = FlowAppearance<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> FlowListLayout<\/ref.class>.LayoutAppearance<\/decl.name> = FlowAppearance<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 43, - "key.line" : 597, - "key.modulename" : "ListableUI", - "key.name" : "LayoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 33506, - "key.offset" : 33496, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP0D10AppearanceQa" - } - ], - "key.parsed_declaration" : "typealias LayoutAppearance = FlowAppearance", - "key.parsed_scope.end" : 597, - "key.parsed_scope.start" : 597, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceVmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC0E10Appearancea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static var defaults: ListLayoutDefaults<\/Type> { get }<\/Declaration>", - "key.bodylength" : 60, - "key.bodyoffset" : 33590, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaults<\/decl.name>: ListLayoutDefaults<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 102, - "key.line" : 599, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 33560, - "key.offset" : 33549, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP8defaultsAA0cD8DefaultsVvpZ" - } - ], - "key.parsed_declaration" : "static var defaults: ListLayoutDefaults", - "key.parsed_scope.end" : 601, - "key.parsed_scope.start" : 599, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutDefaults", - "key.typeusr" : "$s10ListableUI18ListLayoutDefaultsVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC8defaultsAA0dE8DefaultsVvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layoutAppearance: FlowAppearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutAppearance<\/decl.name>: FlowAppearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 603, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 33665, - "key.offset" : 33661, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance0dF0Qzvp" - } - ], - "key.parsed_declaration" : "var layoutAppearance: FlowAppearance", - "key.parsed_scope.end" : 603, - "key.parsed_scope.start" : 603, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "FlowAppearance", - "key.typeusr" : "$s10ListableUI14FlowAppearanceVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC16layoutAppearanceAA0cG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let appearance: Appearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 605, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 33711, - "key.offset" : 33707, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP10appearanceAA10AppearanceVvp" - } - ], - "key.parsed_declaration" : "let appearance: Appearance", - "key.parsed_scope.end" : 605, - "key.parsed_scope.start" : 605, - "key.reusingastcontext" : false, - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let behavior: Behavior<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 606, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 33742, - "key.offset" : 33738, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP8behaviorAA8BehaviorVvp" - } - ], - "key.parsed_declaration" : "let behavior: Behavior", - "key.parsed_scope.end" : 606, - "key.parsed_scope.start" : 606, - "key.reusingastcontext" : false, - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let content: ListLayoutContent<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> content<\/decl.name>: ListLayoutContent<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 608, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 33774, - "key.offset" : 33770, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP7contentAA0dE7ContentCvp" - } - ], - "key.parsed_declaration" : "let content: ListLayoutContent", - "key.parsed_scope.end" : 608, - "key.parsed_scope.start" : 608, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCD", - "key.usr" : "s:10ListableUI14FlowListLayoutC7contentAA0dE7ContentCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(layoutAppearance: LayoutAppearance<\/Type>, appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: ListLayoutContent<\/Type>)<\/Declaration>", - "key.bodylength" : 155, - "key.bodyoffset" : 33966, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(layoutAppearance<\/decl.var.parameter.argument_label>: LayoutAppearance<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 312, - "key.line" : 610, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutAppearance:appearance:behavior:content:)", - "key.namelength" : 154, - "key.nameoffset" : 33810, - "key.offset" : 33810, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance10appearance8behavior7contentx0dF0Qz_AA0F0VAA8BehaviorVAA0cD7ContentCtcfc" - } - ], - "key.parsed_declaration" : "init(\n layoutAppearance : LayoutAppearance,\n appearance : Appearance,\n behavior : Behavior,\n content : ListLayoutContent\n)", - "key.parsed_scope.end" : 620, - "key.parsed_scope.start" : 610, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowListLayout.Type) -> (FlowAppearance, Appearance, Behavior, ListLayoutContent) -> FlowListLayout", - "key.typeusr" : "$s16layoutAppearance10appearance8behavior7content10ListableUI14FlowListLayoutCAE0hB0V_AE0B0VAE8BehaviorVAE0iJ7ContentCtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC16layoutAppearance10appearance8behavior7contentAcA0cG0V_AA0G0VAA8BehaviorVAA0dE7ContentCtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateLayout(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.bodylength" : 72, - "key.bodyoffset" : 34188, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateLayout<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 129, - "key.line" : 622, - "key.modulename" : "ListableUI", - "key.name" : "updateLayout(in:)", - "key.namelength" : 49, - "key.nameoffset" : 34137, - "key.offset" : 34132, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP06updateE02inyAA0deE7ContextV_tF" - } - ], - "key.parsed_declaration" : "func updateLayout(in context: ListLayoutLayoutContext)", - "key.parsed_scope.end" : 624, - "key.parsed_scope.start" : 622, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(FlowListLayout) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC06updateE02inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layout(delegate: CollectionViewLayoutDelegate<\/Type>?, in context: ListLayoutLayoutContext<\/Type>) -> ListLayoutResult<\/Type><\/Declaration>", - "key.bodylength" : 8110, - "key.bodyoffset" : 34408, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "No updates needed outside the regular `layout` method.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layout<\/decl.name>(delegate<\/decl.var.parameter.argument_label>: CollectionViewLayoutDelegate<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutResult<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 8248, - "key.line" : 626, - "key.modulename" : "ListableUI", - "key.name" : "layout(delegate:in:)", - "key.namelength" : 106, - "key.nameoffset" : 34276, - "key.offset" : 34271, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - } - ], - "key.parsed_declaration" : "func layout(\n delegate: CollectionViewLayoutDelegate?,\n in context: ListLayoutLayoutContext\n) -> ListLayoutResult", - "key.parsed_scope.end" : 873, - "key.parsed_scope.start" : 626, - "key.related_decls" : [ - { - "key.annotated_decl" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: ListContentBounds<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 633, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 34496, - "key.offset" : 34492, - "key.parsed_declaration" : "let bounds = self.resolvedBounds(in: context)", - "key.parsed_scope.end" : 633, - "key.parsed_scope.start" : 633, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF6boundsL_AA0D13ContentBoundsVvp" - }, - { - "key.annotated_decl" : "let spacings: FlowAppearance<\/Type>.Spacings<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> spacings<\/decl.name>: FlowAppearance<\/ref.struct>.Spacings<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 635, - "key.modulename" : "ListableUI", - "key.name" : "spacings", - "key.namelength" : 8, - "key.nameoffset" : 34559, - "key.offset" : 34555, - "key.parsed_declaration" : "let spacings = self.layoutAppearance.spacings", - "key.parsed_scope.end" : 635, - "key.parsed_scope.start" : 635, - "key.reusingastcontext" : false, - "key.typename" : "FlowAppearance.Spacings", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV8SpacingsVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF8spacingsL_AA0C10AppearanceV8SpacingsVvp" - }, - { - "key.annotated_decl" : "let viewWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 66, - "key.line" : 637, - "key.modulename" : "ListableUI", - "key.name" : "viewWidth", - "key.namelength" : 9, - "key.nameoffset" : 34622, - "key.offset" : 34618, - "key.parsed_declaration" : "let viewWidth = self.direction.width(for: context.viewBounds.size)", - "key.parsed_scope.end" : 637, - "key.parsed_scope.start" : 637, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF9viewWidthL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let rootWidth: CustomWidth<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> rootWidth<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 390, - "key.line" : 639, - "key.modulename" : "ListableUI", - "key.name" : "rootWidth", - "key.namelength" : 9, - "key.nameoffset" : 34706, - "key.offset" : 34702, - "key.parsed_declaration" : "let rootWidth = CustomWidth.custom(.init(\n padding: self.direction.switch(\n vertical: HorizontalPadding(leading: bounds.padding.left, trailing: bounds.padding.right),\n horizontal: HorizontalPadding(leading: bounds.padding.top, trailing: bounds.padding.bottom)\n ),\n width: bounds.width,\n alignment: .center\n))", - "key.parsed_scope.end" : 639, - "key.parsed_scope.start" : 639, - "key.reusingastcontext" : false, - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF9rootWidthL_AA06CustomO0Ovp" - }, - { - "key.annotated_decl" : "let defaultWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> defaultWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 119, - "key.line" : 648, - "key.modulename" : "ListableUI", - "key.name" : "defaultWidth", - "key.namelength" : 12, - "key.nameoffset" : 35114, - "key.offset" : 35110, - "key.parsed_declaration" : "let defaultWidth = rootWidth.position(\n with: viewWidth,\n defaultWidth: viewWidth\n).width", - "key.parsed_scope.end" : 648, - "key.parsed_scope.start" : 648, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF12defaultWidthL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "var contentBottom: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> contentBottom<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 653, - "key.modulename" : "ListableUI", - "key.name" : "contentBottom", - "key.namelength" : 13, - "key.nameoffset" : 35251, - "key.offset" : 35247, - "key.parsed_declaration" : "var contentBottom : CGFloat = 0.0", - "key.parsed_scope.end" : 653, - "key.parsed_scope.start" : 653, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF13contentBottomL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "(FlowListLayout) -> ((any CollectionViewLayoutDelegate)?, ListLayoutLayoutContext) -> ListLayoutResult", - "key.typeusr" : "$s8delegate2in10ListableUI16ListLayoutResultVAC014CollectionViewF8Delegate_pSg_AC0efF7ContextVtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func setX(for row: Row<\/Type>, isLastRow: Bool<\/Type>, sectionPosition: CustomWidth<\/Type>.Position<\/Type>, itemSpacing: CGFloat<\/Type>, lastRowItemSpacing: CGFloat<\/Type>, alignment: FlowAppearance<\/Type>.RowUnderflowAlignment<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 42623 - } - ], - "key.bodylength" : 2834, - "key.bodyoffset" : 42887, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sets the x value for each item in a row, returning the item spacing used for the row.", - "key.doc.column" : 18, - "key.doc.comment" : "Sets the x value for each item in a row, returning the item spacing used for the row.", - "key.doc.declaration" : "private func setX(for row: Row, isLastRow: Bool, sectionPosition: CustomWidth.Position, itemSpacing: CGFloat, lastRowItemSpacing: CGFloat, alignment: FlowAppearance.RowUnderflowAlignment) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "setX(for:isLastRow:sectionPosition:itemSpacing:lastRowItemSpacing:alignment:)<\/Name>s:10ListableUI14FlowListLayoutC4setX33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for9isLastRow15sectionPosition11itemSpacing04lasts4ItemW09alignment14CoreFoundation7CGFloatVAC0S0AELLV_SbAA11CustomWidthO0U0VA2nA0C10AppearanceV0S18UnderflowAlignmentOtF<\/USR>private func setX(for row: Row, isLastRow: Bool, sectionPosition: CustomWidth.Position, itemSpacing: CGFloat, lastRowItemSpacing: CGFloat, alignment: FlowAppearance.RowUnderflowAlignment) -> CGFloat<\/Declaration>Sets the x value for each item in a row, returning the item spacing used for the row.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 876, - "key.doc.name" : "setX(for:isLastRow:sectionPosition:itemSpacing:lastRowItemSpacing:alignment:)", - "key.doc.type" : "Function", - "key.doclength" : 90, - "key.docoffset" : 42529, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setX<\/decl.name>(for<\/decl.var.parameter.argument_label> row<\/decl.var.parameter.name>: Row<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, isLastRow<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, sectionPosition<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum>.Position<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, lastRowItemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, alignment<\/decl.var.parameter.argument_label>: FlowAppearance<\/ref.struct>.RowUnderflowAlignment<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3091, - "key.line" : 876, - "key.modulename" : "ListableUI", - "key.name" : "setX(for:isLastRow:sectionPosition:itemSpacing:lastRowItemSpacing:alignment:)", - "key.namelength" : 234, - "key.nameoffset" : 42636, - "key.offset" : 42631, - "key.parsed_declaration" : "private func setX(\n for row : Row,\n isLastRow : Bool,\n sectionPosition : CustomWidth.Position,\n itemSpacing : CGFloat,\n lastRowItemSpacing : CGFloat,\n alignment : FlowAppearance.RowUnderflowAlignment\n) -> CGFloat", - "key.parsed_scope.end" : 969, - "key.parsed_scope.start" : 876, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var maxX: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "1) Set up our items as if they are `.leading`.", - "key.doc.column" : 17, - "key.doc.comment" : "1) Set up our items as if they are `.leading`.", - "key.doc.declaration" : "var maxX: CGFloat", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "maxX<\/Name>s:10ListableUI14FlowListLayoutC4setX33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for9isLastRow15sectionPosition11itemSpacing04lasts4ItemW09alignment14CoreFoundation7CGFloatVAC0S0AELLV_SbAA11CustomWidthO0U0VA2nA0C10AppearanceV0S18UnderflowAlignmentOtF4maxXL_ANvp<\/USR>var maxX: CGFloat<\/Declaration>Set up our items as if they are .leading<\/codeVoice>.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 890, - "key.doc.name" : "maxX", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> maxX<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 4, - "key.line" : 890, - "key.modulename" : "ListableUI", - "key.name" : "maxX", - "key.offset" : 43065, - "key.parsed_declaration" : "var maxX", - "key.parsed_scope.end" : 890, - "key.parsed_scope.start" : 890, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4setX33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for9isLastRow15sectionPosition11itemSpacing04lasts4ItemW09alignment14CoreFoundation7CGFloatVAC0S0AELLV_SbAA11CustomWidthO0U0VA2nA0C10AppearanceV0S18UnderflowAlignmentOtF4maxXL_ANvp" - } - ], - "key.typename" : "(FlowListLayout) -> (FlowListLayout.Row, Bool, CustomWidth.Position, CGFloat, CGFloat, FlowAppearance.RowUnderflowAlignment) -> CGFloat", - "key.typeusr" : "$s3for9isLastRow15sectionPosition11itemSpacing04lastd4ItemH09alignment14CoreFoundation7CGFloatV10ListableUI14FlowListLayoutC0D033_E6A9B13B1C03E1986EDD541DF2ABB82FLLV_SbAJ11CustomWidthO0F0VA2iJ0Q10AppearanceV0D18UnderflowAlignmentOtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4setX33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for9isLastRow15sectionPosition11itemSpacing04lasts4ItemW09alignment14CoreFoundation7CGFloatVAC0S0AELLV_SbAA11CustomWidthO0U0VA2nA0C10AppearanceV0S18UnderflowAlignmentOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func setY(for row: Row<\/Type>, baseYPosition: CGFloat<\/Type>, alignment: FlowAppearance<\/Type>.RowItemsAlignment<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 45818 - } - ], - "key.bodylength" : 1001, - "key.bodyoffset" : 45964, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sets the y value for each item in a row, returning the new bottom of content.", - "key.doc.column" : 18, - "key.doc.comment" : "Sets the y value for each item in a row, returning the new bottom of content.", - "key.doc.declaration" : "private func setY(for row: Row, baseYPosition: CGFloat, alignment: FlowAppearance.RowItemsAlignment) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "setY(for:baseYPosition:alignment:)<\/Name>s:10ListableUI14FlowListLayoutC4setY33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for13baseYPosition9alignment14CoreFoundation7CGFloatVAC3RowAELLV_AkA0C10AppearanceV0W14ItemsAlignmentOtF<\/USR>private func setY(for row: Row, baseYPosition: CGFloat, alignment: FlowAppearance.RowItemsAlignment) -> CGFloat<\/Declaration>Sets the y value for each item in a row, returning the new bottom of content.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 972, - "key.doc.name" : "setY(for:baseYPosition:alignment:)", - "key.doc.type" : "Function", - "key.doclength" : 82, - "key.docoffset" : 45732, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setY<\/decl.name>(for<\/decl.var.parameter.argument_label> row<\/decl.var.parameter.name>: Row<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, baseYPosition<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, alignment<\/decl.var.parameter.argument_label>: FlowAppearance<\/ref.struct>.RowItemsAlignment<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1140, - "key.line" : 972, - "key.modulename" : "ListableUI", - "key.name" : "setY(for:baseYPosition:alignment:)", - "key.namelength" : 120, - "key.nameoffset" : 45831, - "key.offset" : 45826, - "key.parsed_declaration" : "private func setY(\n for row : Row,\n baseYPosition : CGFloat,\n alignment : FlowAppearance.RowItemsAlignment\n) -> CGFloat", - "key.parsed_scope.end" : 1006, - "key.parsed_scope.start" : 972, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let heights: [CGFloat<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> heights<\/decl.name>: [CGFloat<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 82, - "key.line" : 978, - "key.modulename" : "ListableUI", - "key.name" : "heights", - "key.namelength" : 7, - "key.nameoffset" : 45994, - "key.offset" : 45990, - "key.parsed_declaration" : "let heights = row.items.map {\n direction.height(for: $0.size)\n}", - "key.parsed_scope.end" : 978, - "key.parsed_scope.start" : 978, - "key.reusingastcontext" : false, - "key.typename" : "[CGFloat]", - "key.typeusr" : "$sSay14CoreFoundation7CGFloatVGD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4setY33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for13baseYPosition9alignment14CoreFoundation7CGFloatVAC3RowAELLV_AkA0C10AppearanceV0W14ItemsAlignmentOtF7heightsL_SayAKGvp" - }, - { - "key.annotated_decl" : "let maxHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> maxHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 51, - "key.line" : 982, - "key.modulename" : "ListableUI", - "key.name" : "maxHeight", - "key.namelength" : 9, - "key.nameoffset" : 46094, - "key.offset" : 46090, - "key.parsed_declaration" : "let maxHeight : CGFloat = heights.max(by: <) ?? 0.0", - "key.parsed_scope.end" : 982, - "key.parsed_scope.start" : 982, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4setY33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for13baseYPosition9alignment14CoreFoundation7CGFloatVAC3RowAELLV_AkA0C10AppearanceV0W14ItemsAlignmentOtF9maxHeightL_AKvp" - } - ], - "key.typename" : "(FlowListLayout) -> (FlowListLayout.Row, CGFloat, FlowAppearance.RowItemsAlignment) -> CGFloat", - "key.typeusr" : "$s3for13baseYPosition9alignment14CoreFoundation7CGFloatV10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLV_AfG0J10AppearanceV0M14ItemsAlignmentOtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4setY33_E6A9B13B1C03E1986EDD541DF2ABB82FLL3for13baseYPosition9alignment14CoreFoundation7CGFloatVAC3RowAELLV_AkA0C10AppearanceV0W14ItemsAlignmentOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func rows(with items: [ListLayoutContentItem<\/Type>], maxWidth: CGFloat<\/Type>) -> [Row<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 47136 - } - ], - "key.bodylength" : 756, - "key.bodyoffset" : 47222, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Breaks the given items into rows for the flow layout. A new row is created when an item does not\nfit into the last row (item spacing included).", - "key.doc.column" : 18, - "key.doc.comment" : "Breaks the given items into rows for the flow layout. A new row is created when an item does not\nfit into the last row (item spacing included).", - "key.doc.declaration" : "private func rows(with items: [ListLayoutContentItem], maxWidth: CGFloat) -> [Row]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "rows(with:maxWidth:)<\/Name>s:10ListableUI14FlowListLayoutC4rows33_E6A9B13B1C03E1986EDD541DF2ABB82FLL4with8maxWidthSayAC3RowAELLVGSayAA0dE11ContentItem_pG_14CoreFoundation7CGFloatVtF<\/USR>private func rows(with items: [ListLayoutContentItem], maxWidth: CGFloat) -> [Row]<\/Declaration>Breaks the given items into rows for the flow layout. A new row is created when an item does not fit into the last row (item spacing included).<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 1010, - "key.doc.name" : "rows(with:maxWidth:)", - "key.doc.type" : "Function", - "key.doclength" : 156, - "key.docoffset" : 46976, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> rows<\/decl.name>(with<\/decl.var.parameter.argument_label> items<\/decl.var.parameter.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.parameter.type><\/decl.var.parameter>, maxWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Row<\/ref.struct>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 835, - "key.line" : 1010, - "key.modulename" : "ListableUI", - "key.name" : "rows(with:maxWidth:)", - "key.namelength" : 62, - "key.nameoffset" : 47149, - "key.offset" : 47144, - "key.parsed_declaration" : "private func rows(with items : [ListLayoutContentItem], maxWidth : CGFloat) -> [Row]", - "key.parsed_scope.end" : 1038, - "key.parsed_scope.start" : 1010, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var items: [any ListLayoutContentItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: [any ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 17, - "key.line" : 1014, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 47292, - "key.offset" : 47288, - "key.parsed_declaration" : "var items = items", - "key.parsed_scope.end" : 1014, - "key.parsed_scope.start" : 1014, - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4rows33_E6A9B13B1C03E1986EDD541DF2ABB82FLL4with8maxWidthSayAC3RowAELLVGSayAA0dE11ContentItem_pG_14CoreFoundation7CGFloatVtF5itemsL0_ALvp" - }, - { - "key.annotated_decl" : "var rows: [FlowListLayout<\/Type>.Row<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> rows<\/decl.name>: [FlowListLayout<\/ref.class>.Row<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 18, - "key.line" : 1015, - "key.modulename" : "ListableUI", - "key.name" : "rows", - "key.namelength" : 4, - "key.nameoffset" : 47318, - "key.offset" : 47314, - "key.parsed_declaration" : "var rows = [Row]()", - "key.parsed_scope.end" : 1015, - "key.parsed_scope.start" : 1015, - "key.reusingastcontext" : false, - "key.typename" : "[FlowListLayout.Row]", - "key.typeusr" : "$sSay10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLVGD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4rows33_E6A9B13B1C03E1986EDD541DF2ABB82FLL4with8maxWidthSayAC3RowAELLVGSayAA0dE11ContentItem_pG_14CoreFoundation7CGFloatVtFADL_AJvp" - } - ], - "key.typename" : "(FlowListLayout) -> ([any ListLayoutContentItem], CGFloat) -> [FlowListLayout.Row]", - "key.typeusr" : "$s4with8maxWidthSay10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLVGSayAC0gH11ContentItem_pG_14CoreFoundation7CGFloatVtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC4rows33_E6A9B13B1C03E1986EDD541DF2ABB82FLL4with8maxWidthSayAC3RowAELLVGSayAA0dE11ContentItem_pG_14CoreFoundation7CGFloatVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func layout(headerFooter: ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>, width: CustomWidth<\/Type>, viewWidth: CGFloat<\/Type>, defaultWidth: CGFloat<\/Type>, contentBottom: CGFloat<\/Type>, after: (ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 48033 - } - ], - "key.bodylength" : 1126, - "key.bodyoffset" : 48312, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Lays out the given header \/ footer.", - "key.doc.column" : 18, - "key.doc.comment" : "Lays out the given header \/ footer.", - "key.doc.declaration" : "private func layout(headerFooter: ListLayoutContent.SupplementaryItemInfo, width: CustomWidth, viewWidth: CGFloat, defaultWidth: CGFloat, contentBottom: CGFloat, after: (ListLayoutContent.SupplementaryItemInfo) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)<\/Name>s:10ListableUI14FlowListLayoutC6layout33_E6A9B13B1C03E1986EDD541DF2ABB82FLL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF<\/USR>private func layout(headerFooter: ListLayoutContent.SupplementaryItemInfo, width: CustomWidth, viewWidth: CGFloat, defaultWidth: CGFloat, contentBottom: CGFloat, after: (ListLayoutContent.SupplementaryItemInfo) -> ())<\/Declaration>Lays out the given header \/ footer.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 1041, - "key.doc.name" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)", - "key.doc.type" : "Function", - "key.doclength" : 40, - "key.docoffset" : 47989, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layout<\/decl.name>(headerFooter<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, viewWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, defaultWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentBottom<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, after<\/decl.var.parameter.argument_label>: (ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1398, - "key.line" : 1041, - "key.modulename" : "ListableUI", - "key.name" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)", - "key.namelength" : 264, - "key.nameoffset" : 48046, - "key.offset" : 48041, - "key.parsed_declaration" : "private func layout(\n headerFooter : ListLayoutContent.SupplementaryItemInfo,\n width : CustomWidth,\n viewWidth : CGFloat,\n defaultWidth : CGFloat,\n contentBottom : CGFloat,\n after : (ListLayoutContent.SupplementaryItemInfo) -> ()\n)", - "key.parsed_scope.end" : 1081, - "key.parsed_scope.start" : 1041, - "key.related_decls" : [ - { - "key.annotated_decl" : "layout(delegate:in:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let position: CustomWidth<\/Type>.Position<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> position<\/decl.name>: CustomWidth<\/ref.enum>.Position<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 108, - "key.line" : 1049, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 48325, - "key.offset" : 48321, - "key.parsed_declaration" : "let position = width.position(\n with: viewWidth,\n defaultWidth: defaultWidth\n)", - "key.parsed_scope.end" : 1049, - "key.parsed_scope.start" : 1049, - "key.reusingastcontext" : false, - "key.typename" : "CustomWidth.Position", - "key.typeusr" : "$s10ListableUI11CustomWidthO8PositionVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout33_E6A9B13B1C03E1986EDD541DF2ABB82FLL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF8positionL_AQ8PositionVvp" - }, - { - "key.annotated_decl" : "let measureInfo: Sizing<\/Type>.MeasureInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> measureInfo<\/decl.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 204, - "key.line" : 1056, - "key.modulename" : "ListableUI", - "key.name" : "measureInfo", - "key.namelength" : 11, - "key.nameoffset" : 48513, - "key.offset" : 48509, - "key.parsed_declaration" : "let measureInfo = Sizing.MeasureInfo(\n sizeConstraint: self.direction.size(for: CGSize(width: position.width, height: .greatestFiniteMagnitude)),\n direction: self.direction\n)", - "key.parsed_scope.end" : 1056, - "key.parsed_scope.start" : 1056, - "key.reusingastcontext" : false, - "key.typename" : "Sizing.MeasureInfo", - "key.typeusr" : "$s10ListableUI6SizingO11MeasureInfoVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout33_E6A9B13B1C03E1986EDD541DF2ABB82FLL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF11measureInfoL_AA6SizingO11MeasureInfoVvp" - }, - { - "key.annotated_decl" : "let size: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 1063, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 48780, - "key.offset" : 48776, - "key.parsed_declaration" : "let size = headerFooter.measurer(measureInfo)", - "key.parsed_scope.end" : 1063, - "key.parsed_scope.start" : 1063, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout33_E6A9B13B1C03E1986EDD541DF2ABB82FLL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF4sizeL_So6CGSizeVvp" - } - ], - "key.typename" : "(FlowListLayout) -> (ListLayoutContent.SupplementaryItemInfo, CustomWidth, CGFloat, CGFloat, CGFloat, (ListLayoutContent.SupplementaryItemInfo) -> ()) -> ()", - "key.typeusr" : "$s12headerFooter5width9viewWidth07defaultE013contentBottom5aftery10ListableUI17ListLayoutContentC21SupplementaryItemInfoC_AG06CustomE0O14CoreFoundation7CGFloatVA2PyAKXEtcD", - "key.usr" : "s:10ListableUI14FlowListLayoutC6layout33_E6A9B13B1C03E1986EDD541DF2ABB82FLL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private struct FlowListLayout<\/Type>.Row<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 49515 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 49535, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents a row within a section within the flow layout.", - "key.doc.column" : 20, - "key.doc.comment" : "Represents a row within a section within the flow layout.", - "key.doc.declaration" : "private struct ListableUI.FlowListLayout.Row", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "Row<\/Name>s:10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLV<\/USR>private struct ListableUI.FlowListLayout.Row<\/Declaration>Represents a row within a section within the flow layout.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 1084, - "key.doc.name" : "Row", - "key.doc.type" : "Class", - "key.doclength" : 62, - "key.docoffset" : 49449, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> FlowListLayout<\/ref.class>.Row<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 62, - "key.line" : 1084, - "key.modulename" : "ListableUI", - "key.name" : "Row", - "key.namelength" : 3, - "key.nameoffset" : 49530, - "key.offset" : 49523, - "key.parsed_declaration" : "private struct Row", - "key.parsed_scope.end" : 1086, - "key.parsed_scope.start" : 1084, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let items: [ListLayoutContentItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> items<\/decl.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 1085, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 49548, - "key.offset" : 49544, - "key.parsed_declaration" : "let items : [ListLayoutContentItem]", - "key.parsed_scope.end" : 1085, - "key.parsed_scope.start" : 1085, - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLV5itemsSayAA0dE11ContentItem_pGvp" - } - ], - "key.typename" : "FlowListLayout.Row.Type", - "key.typeusr" : "$s10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLVmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC3Row33_E6A9B13B1C03E1986EDD541DF2ABB82FLLV" - } - ], - "key.typename" : "FlowListLayout.Type", - "key.typeusr" : "$s10ListableUI14FlowListLayoutCmD", - "key.usr" : "s:10ListableUI14FlowListLayoutC" - }, - { - "key.annotated_decl" : "public enum ItemSizing : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 2186, - "key.bodyoffset" : 49627, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how items in a row are measured and sized.", - "key.doc.column" : 17, - "key.doc.declaration" : "public enum ItemSizing : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "ItemSizing<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO<\/USR>public enum ItemSizing : Equatable<\/Declaration>Controls how items in a row are measured and sized.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 196, - "key.doc.name" : "ItemSizing", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ItemSizing<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2224, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "FlowAppearance.ItemSizing", - "key.namelength" : 25, - "key.nameoffset" : 49600, - "key.offset" : 49590, - "key.parsed_declaration" : "extension FlowAppearance.ItemSizing", - "key.parsed_scope.end" : 1154, - "key.parsed_scope.start" : 1090, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func size(for item: ListLayoutContent<\/Type>.ItemInfo<\/Type>, direction: LayoutDirection<\/Type>, maxWidth: CGFloat<\/Type>, itemSpacing: CGFloat<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 1904, - "key.bodyoffset" : 49907, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Calculates the size of the given item within the constraints of the `ItemSizing` value.", - "key.doc.column" : 10, - "key.doc.comment" : "Calculates the size of the given item within the constraints of the `ItemSizing` value.", - "key.doc.declaration" : "func size(for item: ListLayoutContent.ItemInfo, direction: LayoutDirection, maxWidth: CGFloat, itemSpacing: CGFloat) -> CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "size(for:direction:maxWidth:itemSpacing:)<\/Name>s:10ListableUI14FlowAppearanceV10ItemSizingO4size3for9direction8maxWidth11itemSpacingSo6CGSizeVAA17ListLayoutContentC0E4InfoC_AA0P9DirectionO14CoreFoundation7CGFloatVAUtF<\/USR>func size(for item: ListLayoutContent.ItemInfo, direction: LayoutDirection, maxWidth: CGFloat, itemSpacing: CGFloat) -> CGSize<\/Declaration>Calculates the size of the given item within the constraints of the ItemSizing<\/codeVoice> value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 1093, - "key.doc.name" : "size(for:direction:maxWidth:itemSpacing:)", - "key.doc.type" : "Function", - "key.doclength" : 92, - "key.docoffset" : 49637, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, maxWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2079, - "key.line" : 1093, - "key.modulename" : "ListableUI", - "key.name" : "size(for:direction:maxWidth:itemSpacing:)", - "key.namelength" : 153, - "key.nameoffset" : 49738, - "key.offset" : 49733, - "key.parsed_declaration" : "func size(\n for item : ListLayoutContent.ItemInfo,\n direction : LayoutDirection,\n maxWidth : CGFloat,\n itemSpacing : CGFloat\n) -> CGSize", - "key.parsed_scope.end" : 1153, - "key.parsed_scope.start" : 1093, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "func measure(in width: CGFloat<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 401, - "key.bodyoffset" : 49960, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> measure<\/decl.name>(in<\/decl.var.parameter.argument_label> width<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 446, - "key.line" : 1100, - "key.modulename" : "ListableUI", - "key.name" : "measure(in:)", - "key.namelength" : 27, - "key.nameoffset" : 49921, - "key.offset" : 49916, - "key.parsed_declaration" : "func measure(in width : CGFloat) -> CGSize", - "key.parsed_scope.end" : 1112, - "key.parsed_scope.start" : 1100, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let measureInfo: Sizing<\/Type>.MeasureInfo<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> measureInfo<\/decl.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 320, - "key.line" : 1101, - "key.modulename" : "ListableUI", - "key.name" : "measureInfo", - "key.namelength" : 11, - "key.nameoffset" : 49977, - "key.offset" : 49973, - "key.parsed_declaration" : "let measureInfo = Sizing.MeasureInfo(\n sizeConstraint: direction.size(\n for: CGSize(\n width: min(width, maxWidth),\n height: .greatestFiniteMagnitude\n )\n ),\n direction: direction\n)", - "key.parsed_scope.end" : 1101, - "key.parsed_scope.start" : 1101, - "key.reusingastcontext" : false, - "key.typename" : "Sizing.MeasureInfo", - "key.typeusr" : "$s10ListableUI6SizingO11MeasureInfoVD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO4size3for9direction8maxWidth11itemSpacingSo6CGSizeVAA17ListLayoutContentC0E4InfoC_AA0P9DirectionO14CoreFoundation7CGFloatVAUtF7measureL_2inAlU_tF0wR0L_AA0F0O07MeasureR0Vvp" - } - ], - "key.typename" : "(CGFloat) -> CGSize", - "key.typeusr" : "$s2inSo6CGSizeV14CoreFoundation7CGFloatV_tcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO4size3for9direction8maxWidth11itemSpacingSo6CGSizeVAA17ListLayoutContentC0E4InfoC_AA0P9DirectionO14CoreFoundation7CGFloatVAUtF7measureL_2inAlU_tF" - } - ], - "key.typename" : "(FlowAppearance.ItemSizing) -> (ListLayoutContent.ItemInfo, LayoutDirection, CGFloat, CGFloat) -> CGSize", - "key.typeusr" : "$s3for9direction8maxWidth11itemSpacingSo6CGSizeV10ListableUI17ListLayoutContentC8ItemInfoC_AG0K9DirectionO14CoreFoundation7CGFloatVAPtcD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO4size3for9direction8maxWidth11itemSpacingSo6CGSizeVAA17ListLayoutContentC0E4InfoC_AA0P9DirectionO14CoreFoundation7CGFloatVAUtF" - } - ], - "key.typename" : "FlowAppearance.ItemSizing.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV10ItemSizingOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV10ItemSizingO" - }, - { - "key.annotated_decl" : "@_originallyDefinedIn(module: "CoreGraphics", macOS 10.0) @_originallyDefinedIn(module: "CoreGraphics", macCatalyst 13.0) @_originallyDefinedIn(module: "CoreGraphics", iOS 2.0) @_originallyDefinedIn(module: "CoreGraphics", watchOS 1.0) @_originallyDefinedIn(module: "CoreGraphics", tvOS 9.0) @frozen struct CGFloat<\/Declaration>", - "key.bodylength" : 1940, - "key.bodyoffset" : 51836, - "key.decl_lang" : "source.lang.swift", - "key.fully_annotated_decl" : "@_originallyDefinedIn<\/syntaxtype.attribute.name>(module: "CoreGraphics", macOS 10.0)<\/syntaxtype.attribute.builtin> @_originallyDefinedIn<\/syntaxtype.attribute.name>(module: "CoreGraphics", macCatalyst 13.0)<\/syntaxtype.attribute.builtin> @_originallyDefinedIn<\/syntaxtype.attribute.name>(module: "CoreGraphics", iOS 2.0)<\/syntaxtype.attribute.builtin> @_originallyDefinedIn<\/syntaxtype.attribute.name>(module: "CoreGraphics", watchOS 1.0)<\/syntaxtype.attribute.builtin> @_originallyDefinedIn<\/syntaxtype.attribute.name>(module: "CoreGraphics", tvOS 9.0)<\/syntaxtype.attribute.builtin> @frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> CGFloat<\/decl.name><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1960, - "key.modulename" : "CoreFoundation", - "key.name" : "CGFloat", - "key.namelength" : 7, - "key.nameoffset" : 51827, - "key.offset" : 51817, - "key.parsed_declaration" : "extension CGFloat", - "key.parsed_scope.end" : 1210, - "key.parsed_scope.start" : 1157, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func sliceIntoSpacings<Element>(with items: [Element<\/Type>], using block: (SliceSpacing<\/Type>, Element<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 401, - "key.bodyoffset" : 52258, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "For fill layouts, ensures that the left over spacing to be distributed between items\nis entirely used, calling the given `block` with each spacing. The last call to the\nblock will pass a `SliceSpacing` of `.last`, to indicate the item is the last item in the row.", - "key.doc.column" : 10, - "key.doc.comment" : "For fill layouts, ensures that the left over spacing to be distributed between items\nis entirely used, calling the given `block` with each spacing. The last call to the\nblock will pass a `SliceSpacing` of `.last`, to indicate the item is the last item in the row.", - "key.doc.declaration" : "func sliceIntoSpacings(with items: [Element], using block: (SliceSpacing, Element) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "sliceIntoSpacings(with:using:)<\/Name>s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings4with5usingySayxG_yAcDE12SliceSpacingO_xtXEtlF<\/USR>func sliceIntoSpacings<Element>(with items: [Element], using block: (SliceSpacing, Element) -> ())<\/Declaration>For fill layouts, ensures that the left over spacing to be distributed between items is entirely used, calling the given block<\/codeVoice> with each spacing. The last call to the block will pass a SliceSpacing<\/codeVoice> of .last<\/codeVoice>, to indicate the item is the last item in the row.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 1162, - "key.doc.name" : "sliceIntoSpacings(with:using:)", - "key.doc.type" : "Function", - "key.doclength" : 284, - "key.docoffset" : 51846, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> sliceIntoSpacings<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>>(with<\/decl.var.parameter.argument_label> items<\/decl.var.parameter.name>: [Element<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>, using<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (SliceSpacing<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, Element<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 526, - "key.line" : 1162, - "key.modulename" : "ListableUI", - "key.name" : "sliceIntoSpacings(with:using:)", - "key.namelength" : 117, - "key.nameoffset" : 52139, - "key.offset" : 52134, - "key.parsed_declaration" : "func sliceIntoSpacings(\n with items : [Element],\n using block : (SliceSpacing, Element) -> ()\n)", - "key.parsed_scope.end" : 1179, - "key.parsed_scope.start" : 1162, - "key.related_decls" : [ - { - "key.annotated_decl" : "sliceIntoSpacings(for:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Element<\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "Element<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 1162, - "key.modulename" : "ListableUI", - "key.name" : "Element", - "key.namelength" : 7, - "key.nameoffset" : 52157, - "key.offset" : 52157, - "key.parsed_declaration" : "func sliceIntoSpacingslet spacings: [CGFloat<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> spacings<\/decl.name>: [CGFloat<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 55, - "key.line" : 1168, - "key.modulename" : "ListableUI", - "key.name" : "spacings", - "key.namelength" : 8, - "key.nameoffset" : 52316, - "key.offset" : 52312, - "key.parsed_declaration" : "let spacings = self.sliceIntoSpacings(for: items.count)", - "key.parsed_scope.end" : 1168, - "key.parsed_scope.start" : 1168, - "key.reusingastcontext" : false, - "key.typename" : "[CGFloat]", - "key.typeusr" : "$sSay14CoreFoundation7CGFloatVGD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings4with5usingySayxG_yAcDE12SliceSpacingO_xtXEtlF8spacingsL_SayACGvp" - } - ], - "key.typename" : " (CGFloat) -> ([Element], (CGFloat.SliceSpacing, Element) -> ()) -> ()", - "key.typeusr" : "$s4with5usingySayxG_y14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingO_xtXEtcluD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings4with5usingySayxG_yAcDE12SliceSpacingO_xtXEtlF" - }, - { - "key.annotated_decl" : "func sliceIntoSpacings(for count: Int<\/Type>) -> [CGFloat<\/Type>]<\/Declaration>", - "key.bodylength" : 370, - "key.bodyoffset" : 53311, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "For fill layouts, ensures that the left over spacing is entirely distributed, avoiding\nrounding of a value dropping some amount of precision.\n\nEg: If you have `10` points of spacing left to distribute between 4 items (which have\n3 gutters of spacing between them), doing a normal `round` on `10\/3` would result\nin either `3,3,3 = 9` (rounding down), or `4, 4, 4 = 12` (rounding up), which\ndoes not match the original `10`. This method progresively calculates each spacing,\nensuring the entire value is used: `3, 4, 3 = 10`.", - "key.doc.column" : 10, - "key.doc.comment" : "For fill layouts, ensures that the left over spacing is entirely distributed, avoiding\nrounding of a value dropping some amount of precision.\n\nEg: If you have `10` points of spacing left to distribute between 4 items (which have\n3 gutters of spacing between them), doing a normal `round` on `10\/3` would result\nin either `3,3,3 = 9` (rounding down), or `4, 4, 4 = 12` (rounding up), which\ndoes not match the original `10`. This method progresively calculates each spacing,\nensuring the entire value is used: `3, 4, 3 = 10`.", - "key.doc.declaration" : "func sliceIntoSpacings(for count: Int) -> [CGFloat]", - "key.doc.discussion" : [ - { - "Para" : "Eg: If you have `10` points of spacing left to distribute between 4 items (which have 3 gutters of spacing between them), doing a normal `round` on `10\/3` would result in either `3,3,3 = 9` (rounding down), or `4, 4, 4 = 12` (rounding up), which does not match the original `10`. This method progresively calculates each spacing, ensuring the entire value is used: `3, 4, 3 = 10`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "sliceIntoSpacings(for:)<\/Name>s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings3forSayACGSi_tF<\/USR>func sliceIntoSpacings(for count: Int) -> [CGFloat]<\/Declaration>For fill layouts, ensures that the left over spacing is entirely distributed, avoiding rounding of a value dropping some amount of precision.<\/Para><\/Abstract>Eg: If you have 10<\/codeVoice> points of spacing left to distribute between 4 items (which have 3 gutters of spacing between them), doing a normal round<\/codeVoice> on 10\/3<\/codeVoice> would result in either 3,3,3 = 9<\/codeVoice> (rounding down), or 4, 4, 4 = 12<\/codeVoice> (rounding up), which does not match the original 10<\/codeVoice>. This method progresively calculates each spacing, ensuring the entire value is used: 3, 4, 3 = 10<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 1189, - "key.doc.name" : "sliceIntoSpacings(for:)", - "key.doc.type" : "Function", - "key.doclength" : 583, - "key.docoffset" : 52670, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> sliceIntoSpacings<\/decl.name>(for<\/decl.var.parameter.argument_label> count<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [CGFloat<\/ref.struct>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 425, - "key.line" : 1189, - "key.modulename" : "ListableUI", - "key.name" : "sliceIntoSpacings(for:)", - "key.namelength" : 34, - "key.nameoffset" : 53262, - "key.offset" : 53257, - "key.parsed_declaration" : "func sliceIntoSpacings(for count : Int) -> [CGFloat]", - "key.parsed_scope.end" : 1204, - "key.parsed_scope.start" : 1189, - "key.related_decls" : [ - { - "key.annotated_decl" : "sliceIntoSpacings(with:using:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let range: Range<\/Type><Int<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> range<\/decl.name>: Range<\/ref.struct><Int<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 1191, - "key.modulename" : "ListableUI", - "key.name" : "range", - "key.namelength" : 5, - "key.nameoffset" : 53333, - "key.offset" : 53329, - "key.parsed_declaration" : "let range = 0..<(count - 1)", - "key.parsed_scope.end" : 1191, - "key.parsed_scope.start" : 1191, - "key.reusingastcontext" : false, - "key.typename" : "Range", - "key.typeusr" : "$sSnySiGD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings3forSayACGSi_tF5rangeL_SnySiGvp" - }, - { - "key.annotated_decl" : "var remaining: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> remaining<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 20, - "key.line" : 1193, - "key.modulename" : "ListableUI", - "key.name" : "remaining", - "key.namelength" : 9, - "key.nameoffset" : 53378, - "key.offset" : 53374, - "key.parsed_declaration" : "var remaining = self", - "key.parsed_scope.end" : 1193, - "key.parsed_scope.start" : 1193, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings3forSayACGSi_tF9remainingL_ACvp" - }, - { - "key.annotated_decl" : "var remainingCount: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> remainingCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 1194, - "key.modulename" : "ListableUI", - "key.name" : "remainingCount", - "key.namelength" : 14, - "key.nameoffset" : 53407, - "key.offset" : 53403, - "key.parsed_declaration" : "var remainingCount : Int = count - 1", - "key.parsed_scope.end" : 1194, - "key.parsed_scope.start" : 1194, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings3forSayACGSi_tF14remainingCountL_Sivp" - } - ], - "key.typename" : "(CGFloat) -> (Int) -> [CGFloat]", - "key.typeusr" : "$s3forSay14CoreFoundation7CGFloatVGSi_tcD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE17sliceIntoSpacings3forSayACGSi_tF" - }, - { - "key.annotated_decl" : "enum SliceSpacing : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 51, - "key.bodyoffset" : 53723, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 53712 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> SliceSpacing<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 83, - "key.line" : 1206, - "key.modulename" : "ListableUI", - "key.name" : "SliceSpacing", - "key.namelength" : 12, - "key.nameoffset" : 53697, - "key.offset" : 53692, - "key.parsed_declaration" : "enum SliceSpacing : Equatable", - "key.parsed_scope.end" : 1209, - "key.parsed_scope.start" : 1206, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 53732, - "key.substructure" : [ - { - "key.annotated_decl" : "case value(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> value<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 1207, - "key.modulename" : "ListableUI", - "key.name" : "value(_:)", - "key.namelength" : 14, - "key.nameoffset" : 53737, - "key.offset" : 53737, - "key.parsed_declaration" : "case value(CGFloat)", - "key.parsed_scope.end" : 1207, - "key.parsed_scope.start" : 1207, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CGFloat.SliceSpacing.Type) -> (CGFloat) -> CGFloat.SliceSpacing", - "key.typeusr" : "$sy14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingOACcAFmcD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingO5valueyAfCcAFmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 53760, - "key.substructure" : [ - { - "key.annotated_decl" : "case last<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> last<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 1208, - "key.modulename" : "ListableUI", - "key.name" : "last", - "key.namelength" : 4, - "key.nameoffset" : 53765, - "key.offset" : 53765, - "key.parsed_declaration" : "case last", - "key.parsed_scope.end" : 1208, - "key.parsed_scope.start" : 1208, - "key.reusingastcontext" : false, - "key.typename" : "(CGFloat.SliceSpacing.Type) -> CGFloat.SliceSpacing", - "key.typeusr" : "$sy14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingOAFmcD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingO4lastyA2FmF" - } - ] - } - ], - "key.typename" : "CGFloat.SliceSpacing.Type", - "key.typeusr" : "$s14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingOmD", - "key.usr" : "s:14CoreFoundation7CGFloatV10ListableUIE12SliceSpacingO" - } - ], - "key.typename" : "CGFloat.Type", - "key.typeusr" : "$s14CoreFoundation7CGFloatVmD", - "key.usr" : "s:14CoreFoundation7CGFloatV" - }, - { - "key.annotated_decl" : "public enum RowUnderflowAlignment : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 601, - "key.bodyoffset" : 53828, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When there is left over space at the end of a row, `RowUnderflowAlignment` controls\nhow the extra space is distributed between the items.", - "key.doc.column" : 17, - "key.doc.declaration" : "public enum RowUnderflowAlignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "RowUnderflowAlignment<\/Name>s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO<\/USR>public enum RowUnderflowAlignment : Equatable<\/Declaration>When there is left over space at the end of a row, RowUnderflowAlignment<\/codeVoice> controls how the extra space is distributed between the items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 210, - "key.doc.name" : "RowUnderflowAlignment", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> RowUnderflowAlignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 650, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "FlowAppearance.RowUnderflowAlignment", - "key.namelength" : 36, - "key.nameoffset" : 53790, - "key.offset" : 53780, - "key.parsed_declaration" : "extension FlowAppearance.RowUnderflowAlignment", - "key.parsed_scope.end" : 1223, - "key.parsed_scope.start" : 1213, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let allTestCases: [(value: `Self`, description: String<\/Type>)]<\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> allTestCases<\/decl.name>: [(value<\/tuple.element.argument_label>: `Self`<\/tuple.element.type><\/tuple.element>, description<\/tuple.element.argument_label>: String<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple>]<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 590, - "key.line" : 1215, - "key.modulename" : "ListableUI", - "key.name" : "allTestCases", - "key.namelength" : 12, - "key.nameoffset" : 53849, - "key.offset" : 53838, - "key.parsed_declaration" : "static let allTestCases : [(value:Self, description:String)] = [\n (.leading, \"RowUnderflowAlignment.leading\"),\n (.centered, \"RowUnderflowAlignment.centered\"),\n (.trailing, \"RowUnderflowAlignment.trailing\"),\n (.fill(lastRowAlignment: .fill), \"RowUnderflowAlignment.fill(lastRowAlignment: .fill)\"),\n (.fill(lastRowAlignment: .matchPreviousRowSpacing), \"RowUnderflowAlignment.fill(lastRowAlignment: .matchPreviousRowSpacing)\"),\n (.fill(lastRowAlignment: .defaultItemSpacing), \"RowUnderflowAlignment.fill(lastRowAlignment: .defaultItemSpacing)\"),\n]", - "key.parsed_scope.end" : 1215, - "key.parsed_scope.start" : 1215, - "key.reusingastcontext" : false, - "key.typename" : "[(value: FlowAppearance.RowUnderflowAlignment, description: String)]", - "key.typeusr" : "$sSay10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO5value_SS11descriptiontGD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO12allTestCasesSayAE5value_SS11descriptiontGvpZ" - } - ], - "key.typename" : "FlowAppearance.RowUnderflowAlignment.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV21RowUnderflowAlignmentOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV21RowUnderflowAlignmentO" - }, - { - "key.annotated_decl" : "public enum RowItemsAlignment : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 258, - "key.bodyoffset" : 54477, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When items in a row are not the same height, controls the alignment and sizing of the smaller items.", - "key.doc.column" : 17, - "key.doc.declaration" : "public enum RowItemsAlignment : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.doc.full_as_xml" : "RowItemsAlignment<\/Name>s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO<\/USR>public enum RowItemsAlignment : Equatable<\/Declaration>When items in a row are not the same height, controls the alignment and sizing of the smaller items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 283, - "key.doc.name" : "RowItemsAlignment", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> RowItemsAlignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 303, - "key.line" : 283, - "key.modulename" : "ListableUI", - "key.name" : "FlowAppearance.RowItemsAlignment", - "key.namelength" : 32, - "key.nameoffset" : 54443, - "key.offset" : 54433, - "key.parsed_declaration" : "extension FlowAppearance.RowItemsAlignment", - "key.parsed_scope.end" : 1234, - "key.parsed_scope.start" : 1226, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let allTestCases: [(value: `Self`, description: String<\/Type>)]<\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Flow\/FlowListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> allTestCases<\/decl.name>: [(value<\/tuple.element.argument_label>: `Self`<\/tuple.element.type><\/tuple.element>, description<\/tuple.element.argument_label>: String<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple>]<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 247, - "key.line" : 1228, - "key.modulename" : "ListableUI", - "key.name" : "allTestCases", - "key.namelength" : 12, - "key.nameoffset" : 54498, - "key.offset" : 54487, - "key.parsed_declaration" : "static let allTestCases : [(value:Self, description:String)] = [\n (.top, \"RowItemsAlignment.top\"),\n (.center, \"RowItemsAlignment.center\"),\n (.bottom, \"RowItemsAlignment.bottom\"),\n (.fill, \"RowItemsAlignment.fill\")\n]", - "key.parsed_scope.end" : 1228, - "key.parsed_scope.start" : 1228, - "key.reusingastcontext" : false, - "key.typename" : "[(value: FlowAppearance.RowItemsAlignment, description: String)]", - "key.typeusr" : "$sSay10ListableUI14FlowAppearanceV17RowItemsAlignmentO5value_SS11descriptiontGD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO12allTestCasesSayAE5value_SS11descriptiontGvpZ" - } - ], - "key.typename" : "FlowAppearance.RowItemsAlignment.Type", - "key.typeusr" : "$s10ListableUI14FlowAppearanceV17RowItemsAlignmentOmD", - "key.usr" : "s:10ListableUI14FlowAppearanceV17RowItemsAlignmentO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 6286, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1137 - } - ], - "key.bodylength" : 1394, - "key.bodyoffset" : 1182, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nA `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).", - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.doclength" : 1022, - "key.docoffset" : 115, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1171 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1433, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 1151, - "key.offset" : 1144, - "key.parsed_declaration" : "public struct LayoutDescription : Equatable", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let configuration: AnyLayoutDescriptionConfiguration<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> configuration<\/decl.name>: AnyLayoutDescriptionConfiguration<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "configuration", - "key.namelength" : 13, - "key.nameoffset" : 1191, - "key.offset" : 1187, - "key.parsed_declaration" : "let configuration : AnyLayoutDescriptionConfiguration", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "any AnyLayoutDescriptionConfiguration", - "key.typeusr" : "$s10ListableUI33AnyLayoutDescriptionConfiguration_pD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13configurationAA03AnycD13Configuration_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<LayoutType>(layoutType: LayoutType<\/Type>.Type, appearance configure: (inout LayoutType<\/Type>.LayoutAppearance<\/Type>) -> () = { _ in }) where LayoutType<\/Type> : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1370 - } - ], - "key.bodylength" : 172, - "key.bodyoffset" : 1535, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new layout description for the provided layout type, with the provided optional layout configuration.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new layout description for the provided layout type, with the provided optional layout configuration.", - "key.doc.declaration" : "public init(layoutType: LayoutType.Type, appearance configure: (inout LayoutType.LayoutAppearance) -> () = { _ in }) where LayoutType : ListableUI.ListLayout", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "init(layoutType:appearance:)<\/Name>s:10ListableUI17LayoutDescriptionV10layoutType10appearanceACxm_y0C10AppearanceQzzXEtcAA04ListC0Rzlufc<\/USR>public init<LayoutType>(layoutType: LayoutType.Type, appearance configure: (inout LayoutType.LayoutAppearance) -> () = { _ in }) where LayoutType : ListableUI.ListLayout<\/Declaration>Creates a new layout description for the provided layout type, with the provided optional layout configuration.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 47, - "key.doc.name" : "init(layoutType:appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 116, - "key.docoffset" : 1250, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><LayoutType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(layoutType<\/decl.var.parameter.argument_label>: LayoutType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> LayoutType<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) where<\/syntaxtype.keyword> LayoutType<\/ref.generic_type_param> : ListLayout<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 331, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutType:appearance:)", - "key.namelength" : 156, - "key.nameoffset" : 1377, - "key.offset" : 1377, - "key.parsed_declaration" : "public init(\n layoutType : LayoutType.Type,\n appearance configure : (inout LayoutType.LayoutAppearance) -> () = { _ in }\n)", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 47, - "key.related_decls" : [ - { - "key.annotated_decl" : "init<LayoutType>(layoutType: LayoutType.Type, appearance: LayoutType.LayoutAppearance) where LayoutType : ListLayout<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "LayoutType : ListLayout<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 1393 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "LayoutType<\/decl.generic_type_param.name> : ListLayout<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "LayoutType", - "key.namelength" : 10, - "key.nameoffset" : 1382, - "key.offset" : 1382, - "key.parsed_declaration" : "public initvar appearance: LayoutType<\/Type>.LayoutAppearance<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> appearance<\/decl.name>: LayoutType<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 1548, - "key.offset" : 1544, - "key.parsed_declaration" : "var appearance = LayoutType.LayoutAppearance.default", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.typename" : "LayoutType.LayoutAppearance", - "key.typeusr" : "$s16LayoutAppearanceQzD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV10layoutType10appearanceACxm_y0C10AppearanceQzzXEtcAA04ListC0RzlufcAEL_AGvp" - } - ], - "key.typename" : " (LayoutDescription.Type) -> (LayoutType.Type, (inout LayoutType.LayoutAppearance) -> ()) -> LayoutDescription", - "key.typeusr" : "$s10layoutType10appearance10ListableUI17LayoutDescriptionVxm_y0F10AppearanceQzzXEtcAC04ListF0RzluD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV10layoutType10appearanceACxm_y0C10AppearanceQzzXEtcAA04ListC0Rzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<LayoutType>(layoutType: LayoutType<\/Type>.Type, appearance: LayoutType<\/Type>.LayoutAppearance<\/Type>) where LayoutType<\/Type> : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1819 - } - ], - "key.bodylength" : 136, - "key.bodyoffset" : 1949, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new layout description for the provided layout type, with the provided appearance.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new layout description for the provided layout type, with the provided appearance.", - "key.doc.declaration" : "public init(layoutType: LayoutType.Type, appearance: LayoutType.LayoutAppearance) where LayoutType : ListableUI.ListLayout", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "init(layoutType:appearance:)<\/Name>s:10ListableUI17LayoutDescriptionV10layoutType10appearanceACxm_0C10AppearanceQztcAA04ListC0Rzlufc<\/USR>public init<LayoutType>(layoutType: LayoutType.Type, appearance: LayoutType.LayoutAppearance) where LayoutType : ListableUI.ListLayout<\/Declaration>Creates a new layout description for the provided layout type, with the provided appearance.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 58, - "key.doc.name" : "init(layoutType:appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 97, - "key.docoffset" : 1718, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><LayoutType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(layoutType<\/decl.var.parameter.argument_label>: LayoutType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: LayoutType<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> LayoutType<\/ref.generic_type_param> : ListLayout<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 260, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutType:appearance:)", - "key.namelength" : 121, - "key.nameoffset" : 1826, - "key.offset" : 1826, - "key.parsed_declaration" : "public init(\n layoutType : LayoutType.Type,\n appearance : LayoutType.LayoutAppearance\n)", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 58, - "key.related_decls" : [ - { - "key.annotated_decl" : "init<LayoutType>(layoutType: LayoutType.Type, appearance: (inout LayoutType.LayoutAppearance) -> () = { _ in }) where LayoutType : ListLayout<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "LayoutType : ListLayout<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 1842 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "LayoutType<\/decl.generic_type_param.name> : ListLayout<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "LayoutType", - "key.namelength" : 10, - "key.nameoffset" : 1831, - "key.offset" : 1831, - "key.parsed_declaration" : "public init (LayoutDescription.Type) -> (LayoutType.Type, LayoutType.LayoutAppearance) -> LayoutDescription", - "key.typeusr" : "$s10layoutType10appearance10ListableUI17LayoutDescriptionVxm_0F10AppearanceQztcAC04ListF0RzluD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV10layoutType10appearanceACxm_0C10AppearanceQztcAA04ListC0Rzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layoutAppearanceProperties: ListLayoutAppearanceProperties<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2317 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 2389, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the standard layout properties, which apply to any kind of list layout.\n\nCalling this method is relatively inexpensive – it does not create an instance\nof the backing list layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Returns the standard layout properties, which apply to any kind of list layout.\n\nCalling this method is relatively inexpensive – it does not create an instance\nof the backing list layout.", - "key.doc.declaration" : "public var layoutAppearanceProperties: ListLayoutAppearanceProperties { get }", - "key.doc.discussion" : [ - { - "Para" : "Calling this method is relatively inexpensive – it does not create an instance of the backing list layout." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "layoutAppearanceProperties<\/Name>s:10ListableUI17LayoutDescriptionV26layoutAppearancePropertiesAA04ListcfG0Vvp<\/USR>public var layoutAppearanceProperties: ListLayoutAppearanceProperties { get }<\/Declaration>Returns the standard layout properties, which apply to any kind of list layout.<\/Para><\/Abstract>Calling this method is relatively inexpensive – it does not create an instance of the backing list layout.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 72, - "key.doc.name" : "layoutAppearanceProperties", - "key.doc.type" : "Other", - "key.doclength" : 217, - "key.docoffset" : 2096, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layoutAppearanceProperties<\/decl.name>: ListLayoutAppearanceProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 122, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearanceProperties", - "key.namelength" : 26, - "key.nameoffset" : 2328, - "key.offset" : 2324, - "key.parsed_declaration" : "public var layoutAppearanceProperties : ListLayoutAppearanceProperties", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutAppearanceProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutAppearancePropertiesVD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV26layoutAppearancePropertiesAA04ListcfG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func == (lhs: `Self`, rhs: `Self`) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2456 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 2512, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 112, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 27, - "key.nameoffset" : 2475, - "key.offset" : 2463, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "public static func == (lhs : Self, rhs : Self) -> Bool", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDescription.Type) -> (LayoutDescription, LayoutDescription) -> Bool", - "key.typeusr" : "$sySb10ListableUI17LayoutDescriptionV_ACtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - }, - { - "key.annotated_decl" : "public protocol ListLayout : AnyListLayout<\/Type><\/Declaration>", - "key.bodylength" : 364, - "key.bodyoffset" : 2602, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayout<\/decl.name> : AnyListLayout<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 387, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayout", - "key.namelength" : 10, - "key.nameoffset" : 2590, - "key.offset" : 2580, - "key.parsed_declaration" : "extension ListLayout", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func describe(appearance: (inout Self<\/Type>.LayoutAppearance<\/Type>) -> () = { _ in }) -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2716 - } - ], - "key.bodylength" : 119, - "key.bodyoffset" : 2845, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new layout description for a list layout, with the provided optional layout configuration.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new layout description for a list layout, with the provided optional layout configuration.", - "key.doc.declaration" : "public static func describe(appearance: (inout Self.LayoutAppearance) -> () = { _ in }) -> LayoutDescription", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "describe(appearance:)<\/Name>s:10ListableUI10ListLayoutPAAE8describe10appearanceAA0D11DescriptionVy0D10AppearanceQzzXE_tFZ<\/USR>public static func describe(appearance: (inout Self.LayoutAppearance) -> () = { _ in }) -> LayoutDescription<\/Declaration>Creates a new layout description for a list layout, with the provided optional layout configuration.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 85, - "key.doc.name" : "describe(appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 105, - "key.docoffset" : 2607, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> describe<\/decl.name>(appearance<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> Self<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 242, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "describe(appearance:)", - "key.namelength" : 83, - "key.nameoffset" : 2735, - "key.offset" : 2723, - "key.parsed_declaration" : "public static func describe(\n appearance : (inout Self.LayoutAppearance) -> () = { _ in }\n) -> LayoutDescription", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 85, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> ((inout Self.LayoutAppearance) -> ()) -> LayoutDescription", - "key.typeusr" : "$s10appearance10ListableUI17LayoutDescriptionVy0D10AppearanceQzzXE_tcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE8describe10appearanceAA0D11DescriptionVy0D10AppearanceQzzXE_tFZ" - } - ], - "key.typename" : "ListLayout.Type", - "key.typeusr" : "$s10ListableUI10ListLayout_pmD", - "key.usr" : "s:10ListableUI10ListLayoutP" - }, - { - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 2219, - "key.bodyoffset" : 2999, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2249, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 2980, - "key.offset" : 2970, - "key.parsed_declaration" : "extension LayoutDescription", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 97, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Configuration<LayoutType> : AnyLayoutDescriptionConfiguration<\/Type>, Equatable<\/Type> where LayoutType<\/Type> : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3004 - } - ], - "key.bodylength" : 2109, - "key.bodyoffset" : 3107, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 33, - "key.offset" : 3057 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3092 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Configuration<\/decl.name><LayoutType<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyLayoutDescriptionConfiguration<\/ref.protocol>, Equatable<\/ref.protocol> where<\/syntaxtype.keyword> LayoutType<\/ref.generic_type_param> : ListLayout<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyLayoutDescriptionConfiguration" - }, - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2206, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "Configuration", - "key.namelength" : 13, - "key.nameoffset" : 3018, - "key.offset" : 3011, - "key.parsed_declaration" : "public struct Configuration : AnyLayoutDescriptionConfiguration, Equatable", - "key.parsed_scope.end" : 164, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "LayoutType : ListLayout<\/Type><\/Declaration>", - "key.column" : 33, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 3043 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "LayoutType<\/decl.generic_type_param.name> : ListLayout<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "LayoutType", - "key.namelength" : 10, - "key.nameoffset" : 3032, - "key.offset" : 3032, - "key.parsed_declaration" : "public struct Configurationpublic let layoutType: LayoutType<\/Type>.Type<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3116 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> layoutType<\/decl.name>: LayoutType<\/ref.generic_type_param>.Type<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "layoutType", - "key.namelength" : 10, - "key.nameoffset" : 3127, - "key.offset" : 3123, - "key.parsed_declaration" : "public let layoutType : LayoutType.Type", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.typename" : "LayoutType.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV10layoutTypexmvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let layoutAppearance: LayoutType<\/Type>.LayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3173 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> layoutAppearance<\/decl.name>: LayoutType<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 3184, - "key.offset" : 3180, - "key.parsed_declaration" : "public let layoutAppearance : LayoutType.LayoutAppearance", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.typename" : "LayoutType.LayoutAppearance", - "key.typeusr" : "$s16LayoutAppearanceQzD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV16layoutAppearance0cG0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func == (lhs: `Self`, rhs: `Self`) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3248 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 3302, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 150, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 25, - "key.nameoffset" : 3267, - "key.offset" : 3255, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "public static func == (lhs: Self, rhs: Self) -> Bool", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (LayoutDescription.Configuration.Type) -> (LayoutDescription.Configuration, LayoutDescription.Configuration) -> Bool", - "key.typeusr" : "$sySb10ListableUI17LayoutDescriptionV13ConfigurationVy_xG_AFtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 39, - "key.name" : "MARK: AnyLayoutDescriptionConfiguration", - "key.offset" : 3426 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func createEmptyLayout(appearance: Appearance<\/Type>, behavior: Behavior<\/Type>) -> AnyListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3483 - } - ], - "key.bodylength" : 208, - "key.bodyoffset" : 3618, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createEmptyLayout<\/decl.name>(appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyListLayout<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 337, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "createEmptyLayout(appearance:behavior:)", - "key.namelength" : 96, - "key.nameoffset" : 3495, - "key.offset" : 3490, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP011createEmptyD010appearance8behaviorAA0c4ListD0_pAA10AppearanceV_AA8BehaviorVtF" - } - ], - "key.parsed_declaration" : "public func createEmptyLayout(\n appearance : Appearance,\n behavior: Behavior\n) -> AnyListLayout", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (LayoutDescription.Configuration) -> (Appearance, Behavior) -> any AnyListLayout", - "key.typeusr" : "$s10appearance8behavior10ListableUI13AnyListLayout_pAC10AppearanceV_AC8BehaviorVtcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV011createEmptyC010appearance8behaviorAA07AnyListC0_pAA10AppearanceV_AA8BehaviorVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func createPopulatedLayout(appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: (ListLayoutDefaults<\/Type>) -> ListLayoutContent<\/Type>) -> AnyListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3845 - } - ], - "key.bodylength" : 234, - "key.bodyoffset" : 4049, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> createPopulatedLayout<\/decl.name>(appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: (ListLayoutDefaults<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyListLayout<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 432, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "createPopulatedLayout(appearance:behavior:content:)", - "key.namelength" : 165, - "key.nameoffset" : 3857, - "key.offset" : 3852, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP015createPopulatedD010appearance8behavior7contentAA0c4ListD0_pAA10AppearanceV_AA8BehaviorVAA0lD7ContentCAA0lD8DefaultsVXEtF" - } - ], - "key.parsed_declaration" : "public func createPopulatedLayout(\n appearance : Appearance,\n behavior: Behavior,\n content : (ListLayoutDefaults) -> ListLayoutContent\n) -> AnyListLayout", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 124, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (LayoutDescription.Configuration) -> (Appearance, Behavior, (ListLayoutDefaults) -> ListLayoutContent) -> any AnyListLayout", - "key.typeusr" : "$s10appearance8behavior7content10ListableUI13AnyListLayout_pAD10AppearanceV_AD8BehaviorVAD0gH7ContentCAD0gH8DefaultsVXEtcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV015createPopulatedC010appearance8behavior7contentAA07AnyListC0_pAA10AppearanceV_AA8BehaviorVAA0lC7ContentCAA0lC8DefaultsVXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func layoutAppearanceProperties() -> ListLayoutAppearanceProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4302 - } - ], - "key.bodylength" : 50, - "key.bodyoffset" : 4378, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutAppearanceProperties<\/decl.name>() -> ListLayoutAppearanceProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 120, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearanceProperties()", - "key.namelength" : 28, - "key.nameoffset" : 4314, - "key.offset" : 4309, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP26layoutAppearancePropertiesAA04ListdhI0VyF" - } - ], - "key.parsed_declaration" : "public func layoutAppearanceProperties() -> ListLayoutAppearanceProperties", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 138, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (LayoutDescription.Configuration) -> () -> ListLayoutAppearanceProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutAppearancePropertiesVycD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV26layoutAppearancePropertiesAA04ListcgH0VyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func shouldRebuild(layout anyLayout: AnyListLayout<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4447 - } - ], - "key.bodylength" : 166, - "key.bodyoffset" : 4524, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> shouldRebuild<\/decl.name>(layout<\/decl.var.parameter.argument_label> anyLayout<\/decl.var.parameter.name>: AnyListLayout<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 237, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "shouldRebuild(layout:)", - "key.namelength" : 47, - "key.nameoffset" : 4459, - "key.offset" : 4454, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP13shouldRebuild6layoutSbAA0c4ListD0_p_tF" - } - ], - "key.parsed_declaration" : "public func shouldRebuild(layout anyLayout : AnyListLayout) -> Bool", - "key.parsed_scope.end" : 148, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let layout: LayoutType<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layout<\/decl.name>: LayoutType<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 37, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 4541, - "key.offset" : 4537, - "key.parsed_declaration" : "let layout = anyLayout as! LayoutType", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.typename" : "LayoutType", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV13shouldRebuild6layoutSbAA07AnyListC0_p_tFAGL_xvp" - }, - { - "key.annotated_decl" : "let old: LayoutType<\/Type>.LayoutAppearance<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: LayoutType<\/ref.generic_type_param>.LayoutAppearance<\/ref.associatedtype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 4591, - "key.offset" : 4587, - "key.parsed_declaration" : "let old = layout.layoutAppearance", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.typename" : "LayoutType.LayoutAppearance", - "key.typeusr" : "$s16LayoutAppearanceQzD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV13shouldRebuild6layoutSbAA07AnyListC0_p_tF3oldL_0C10AppearanceQzvp" - } - ], - "key.typename" : " (LayoutDescription.Configuration) -> (any AnyListLayout) -> Bool", - "key.typeusr" : "$s6layoutSb10ListableUI13AnyListLayout_p_tcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV13shouldRebuild6layoutSbAA07AnyListC0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func isSameLayoutType(as anyOther: AnyLayoutDescriptionConfiguration<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4709 - } - ], - "key.bodylength" : 266, - "key.bodyoffset" : 4804, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isSameLayoutType<\/decl.name>(as<\/decl.var.parameter.argument_label> anyOther<\/decl.var.parameter.name>: AnyLayoutDescriptionConfiguration<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 355, - "key.line" : 150, - "key.modulename" : "ListableUI", - "key.name" : "isSameLayoutType(as:)", - "key.namelength" : 65, - "key.nameoffset" : 4721, - "key.offset" : 4716, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP06isSameD4Type2asSbAaB_p_tF" - } - ], - "key.parsed_declaration" : "public func isSameLayoutType(as anyOther : AnyLayoutDescriptionConfiguration) -> Bool", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 62, - "key.name" : "TODO: We don't need both of these checks, just the second one.", - "key.offset" : 4820 - } - ], - "key.typename" : " (LayoutDescription.Configuration) -> (any AnyLayoutDescriptionConfiguration) -> Bool", - "key.typeusr" : "$s2asSb10ListableUI33AnyLayoutDescriptionConfiguration_p_tcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV06isSameC4Type2asSbAA03AnycdE0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func isEqual(to other: AnyLayoutDescriptionConfiguration<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5089 - } - ], - "key.bodylength" : 46, - "key.bodyoffset" : 5164, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isEqual<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyLayoutDescriptionConfiguration<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 115, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "isEqual(to:)", - "key.namelength" : 53, - "key.nameoffset" : 5101, - "key.offset" : 5096, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP7isEqual2toSbAaB_p_tF" - } - ], - "key.parsed_declaration" : "public func isEqual(to other : AnyLayoutDescriptionConfiguration) -> Bool", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 161, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (LayoutDescription.Configuration) -> (any AnyLayoutDescriptionConfiguration) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI33AnyLayoutDescriptionConfiguration_p_tcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV7isEqual2toSbAA03AnycdE0_p_tF" - } - ], - "key.typename" : "LayoutDescription.Configuration.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionV13ConfigurationVy_xGmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV13ConfigurationV" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyLayoutDescriptionConfiguration<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5222 - } - ], - "key.bodylength" : 597, - "key.bodyoffset" : 5273, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyLayoutDescriptionConfiguration<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 642, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "AnyLayoutDescriptionConfiguration", - "key.namelength" : 33, - "key.nameoffset" : 5238, - "key.offset" : 5229, - "key.parsed_declaration" : "public protocol AnyLayoutDescriptionConfiguration", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 168, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func createEmptyLayout(appearance: Appearance<\/Type>, behavior: Behavior<\/Type>) -> AnyListLayout<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> createEmptyLayout<\/decl.name>(appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyListLayout<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 106, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "createEmptyLayout(appearance:behavior:)", - "key.namelength" : 84, - "key.nameoffset" : 5283, - "key.offset" : 5278, - "key.parsed_declaration" : "func createEmptyLayout(\n appearance : Appearance,\n behavior: Behavior\n) -> AnyListLayout", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 170, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Appearance, Behavior) -> any AnyListLayout", - "key.typeusr" : "$s10appearance8behavior10ListableUI13AnyListLayout_pAC10AppearanceV_AC8BehaviorVtcD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP011createEmptyD010appearance8behaviorAA0c4ListD0_pAA10AppearanceV_AA8BehaviorVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func createPopulatedLayout(appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: (ListLayoutDefaults<\/Type>) -> ListLayoutContent<\/Type>) -> AnyListLayout<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> createPopulatedLayout<\/decl.name>(appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: (ListLayoutDefaults<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyListLayout<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 171, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "createPopulatedLayout(appearance:behavior:content:)", - "key.namelength" : 149, - "key.nameoffset" : 5399, - "key.offset" : 5394, - "key.parsed_declaration" : "func createPopulatedLayout(\n appearance : Appearance,\n behavior: Behavior,\n content : (ListLayoutDefaults) -> ListLayoutContent\n) -> AnyListLayout", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 175, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (Appearance, Behavior, (ListLayoutDefaults) -> ListLayoutContent) -> any AnyListLayout", - "key.typeusr" : "$s10appearance8behavior7content10ListableUI13AnyListLayout_pAD10AppearanceV_AD8BehaviorVAD0gH7ContentCAD0gH8DefaultsVXEtcD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP015createPopulatedD010appearance8behavior7contentAA0c4ListD0_pAA10AppearanceV_AA8BehaviorVAA0lD7ContentCAA0lD8DefaultsVXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func layoutAppearanceProperties() -> ListLayoutAppearanceProperties<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layoutAppearanceProperties<\/decl.name>() -> ListLayoutAppearanceProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 67, - "key.line" : 181, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearanceProperties()", - "key.namelength" : 28, - "key.nameoffset" : 5580, - "key.offset" : 5575, - "key.parsed_declaration" : "func layoutAppearanceProperties() -> ListLayoutAppearanceProperties", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 181, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ListLayoutAppearanceProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutAppearancePropertiesVycD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP26layoutAppearancePropertiesAA04ListdhI0VyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func shouldRebuild(layout anyLayout: AnyListLayout<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> shouldRebuild<\/decl.name>(layout<\/decl.var.parameter.argument_label> anyLayout<\/decl.var.parameter.name>: AnyListLayout<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 60, - "key.line" : 183, - "key.modulename" : "ListableUI", - "key.name" : "shouldRebuild(layout:)", - "key.namelength" : 47, - "key.nameoffset" : 5657, - "key.offset" : 5652, - "key.parsed_declaration" : "func shouldRebuild(layout anyLayout : AnyListLayout) -> Bool", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 183, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyListLayout) -> Bool", - "key.typeusr" : "$s6layoutSb10ListableUI13AnyListLayout_p_tcD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP13shouldRebuild6layoutSbAA0c4ListD0_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isSameLayoutType(as other: AnyLayoutDescriptionConfiguration<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isSameLayoutType<\/decl.name>(as<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyLayoutDescriptionConfiguration<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 75, - "key.line" : 185, - "key.modulename" : "ListableUI", - "key.name" : "isSameLayoutType(as:)", - "key.namelength" : 62, - "key.nameoffset" : 5723, - "key.offset" : 5718, - "key.parsed_declaration" : "func isSameLayoutType(as other : AnyLayoutDescriptionConfiguration) -> Bool", - "key.parsed_scope.end" : 185, - "key.parsed_scope.start" : 185, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyLayoutDescriptionConfiguration) -> Bool", - "key.typeusr" : "$s2asSb10ListableUI33AnyLayoutDescriptionConfiguration_p_tcD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP06isSameD4Type2asSbAaB_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func isEqual(to other: AnyLayoutDescriptionConfiguration<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> isEqual<\/decl.name>(to<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: AnyLayoutDescriptionConfiguration<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 66, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "isEqual(to:)", - "key.namelength" : 53, - "key.nameoffset" : 5808, - "key.offset" : 5803, - "key.parsed_declaration" : "func isEqual(to other : AnyLayoutDescriptionConfiguration) -> Bool", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 187, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyLayoutDescriptionConfiguration) -> Bool", - "key.typeusr" : "$s2toSb10ListableUI33AnyLayoutDescriptionConfiguration_p_tcD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP7isEqual2toSbAaB_p_tF" - } - ], - "key.typename" : "AnyLayoutDescriptionConfiguration.Type", - "key.typeusr" : "$s10ListableUI33AnyLayoutDescriptionConfiguration_pmD", - "key.usr" : "s:10ListableUI33AnyLayoutDescriptionConfigurationP" - }, - { - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 381, - "key.bodyoffset" : 5903, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 411, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 5884, - "key.offset" : 5874, - "key.parsed_declaration" : "extension LayoutDescription", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var wantsKeyboardInsetAdjustment: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 63, - "key.bodyoffset" : 5954, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> wantsKeyboardInsetAdjustment<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 105, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "wantsKeyboardInsetAdjustment", - "key.namelength" : 28, - "key.nameoffset" : 5917, - "key.offset" : 5913, - "key.parsed_declaration" : "var wantsKeyboardInsetAdjustment : Bool", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV28wantsKeyboardInsetAdjustmentSbvp" - }, - { - "key.annotated_decl" : "func needsCollectionViewInsetUpdate(for other: LayoutDescription<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 178, - "key.bodyoffset" : 6104, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> needsCollectionViewInsetUpdate<\/decl.name>(for<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: LayoutDescription<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 255, - "key.line" : 197, - "key.modulename" : "ListableUI", - "key.name" : "needsCollectionViewInsetUpdate(for:)", - "key.namelength" : 61, - "key.nameoffset" : 6033, - "key.offset" : 6028, - "key.parsed_declaration" : "func needsCollectionViewInsetUpdate(for other : LayoutDescription) -> Bool", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 197, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDescription) -> (LayoutDescription) -> Bool", - "key.typeusr" : "$s3forSb10ListableUI17LayoutDescriptionV_tcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV30needsCollectionViewInsetUpdate3forSbAC_tF" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2590, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListContentLayoutAttributes<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 318 - } - ], - "key.bodylength" : 2227, - "key.bodyoffset" : 361, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A struct-based version of many of the properties available on `UICollectionViewLayoutAttributes`,\nallowing configuration of properties for custom layouts, appearance animations, etc.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nA struct-based version of many of the properties available on `UICollectionViewLayoutAttributes`,\nallowing configuration of properties for custom layouts, appearance animations, etc.", - "key.doc.declaration" : "public struct ListContentLayoutAttributes", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.doc.full_as_xml" : "ListContentLayoutAttributes<\/Name>s:10ListableUI27ListContentLayoutAttributesV<\/USR>public struct ListContentLayoutAttributes<\/Declaration>A struct-based version of many of the properties available on UICollectionViewLayoutAttributes<\/codeVoice>, allowing configuration of properties for custom layouts, appearance animations, etc.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 15, - "key.doc.name" : "ListContentLayoutAttributes", - "key.doc.type" : "Class", - "key.doclength" : 199, - "key.docoffset" : 119, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListContentLayoutAttributes<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2264, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "ListContentLayoutAttributes", - "key.namelength" : 27, - "key.nameoffset" : 332, - "key.offset" : 325, - "key.parsed_declaration" : "public struct ListContentLayoutAttributes", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Sizing & Position", - "key.offset" : 376 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var size: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 553 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The size of the represented item when it is laid out.\nSetting this property changes the value of the ``frame`` property.", - "key.doc.column" : 16, - "key.doc.comment" : "The size of the represented item when it is laid out.\nSetting this property changes the value of the ``frame`` property.", - "key.doc.declaration" : "public var size: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.doc.full_as_xml" : "size<\/Name>s:10ListableUI27ListContentLayoutAttributesV4sizeSo6CGSizeVvp<\/USR>public var size: CGSize<\/Declaration>The size of the represented item when it is laid out. Setting this property changes the value of the frame<\/codeVoice> property.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "size", - "key.doc.type" : "Other", - "key.doclength" : 133, - "key.docoffset" : 416, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 16, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 564, - "key.offset" : 560, - "key.parsed_declaration" : "public var size: CGSize", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV4sizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var center: CGPoint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 756 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The center of the item when it is laid out, in the coordinate space of the outer list.\nSetting this property changes the value of the ``frame`` property.", - "key.doc.column" : 16, - "key.doc.comment" : "The center of the item when it is laid out, in the coordinate space of the outer list.\nSetting this property changes the value of the ``frame`` property.", - "key.doc.declaration" : "public var center: CGPoint", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.doc.full_as_xml" : "center<\/Name>s:10ListableUI27ListContentLayoutAttributesV6centerSo7CGPointVvp<\/USR>public var center: CGPoint<\/Declaration>The center of the item when it is laid out, in the coordinate space of the outer list. Setting this property changes the value of the frame<\/codeVoice> property.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 27, - "key.doc.name" : "center", - "key.doc.type" : "Other", - "key.doclength" : 166, - "key.docoffset" : 586, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> center<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "center", - "key.namelength" : 6, - "key.nameoffset" : 767, - "key.offset" : 763, - "key.parsed_declaration" : "public var center: CGPoint", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV6centerSo7CGPointVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var frame: CGRect<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 977 - } - ], - "key.bodylength" : 524, - "key.bodyoffset" : 1003, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The frame of the item when it is laid out, in the coordinate space of the outer list.\nSetting this property changes the value of the ``size`` and ``center`` properties.", - "key.doc.column" : 16, - "key.doc.comment" : "The frame of the item when it is laid out, in the coordinate space of the outer list.\nSetting this property changes the value of the ``size`` and ``center`` properties.", - "key.doc.declaration" : "public var frame: CGRect { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.doc.full_as_xml" : "frame<\/Name>s:10ListableUI27ListContentLayoutAttributesV5frameSo6CGRectVvp<\/USR>public var frame: CGRect { get set }<\/Declaration>The frame of the item when it is laid out, in the coordinate space of the outer list. Setting this property changes the value of the size<\/codeVoice> and center<\/codeVoice> properties.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 31, - "key.doc.name" : "frame", - "key.doc.type" : "Other", - "key.doclength" : 181, - "key.docoffset" : 792, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 544, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 988, - "key.offset" : 984, - "key.parsed_declaration" : "public var frame: CGRect", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV5frameSo6CGRectVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Transforms & Layout", - "key.offset" : 1548 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var transform: CGAffineTransform<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1590 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> transform<\/decl.name>: CGAffineTransform<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "transform", - "key.namelength" : 9, - "key.nameoffset" : 1601, - "key.offset" : 1597, - "key.parsed_declaration" : "public var transform: CGAffineTransform", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGAffineTransform", - "key.typeusr" : "$sSo17CGAffineTransformVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV9transformSo17CGAffineTransformVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var transform3D: CATransform3D<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1634 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> transform3D<\/decl.name>: CATransform3D<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "transform3D", - "key.namelength" : 11, - "key.nameoffset" : 1645, - "key.offset" : 1641, - "key.parsed_declaration" : "public var transform3D: CATransform3D", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CATransform3D", - "key.typeusr" : "$sSo13CATransform3DVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV11transform3DSo13CATransform3DVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var alpha: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1677 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> alpha<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "alpha", - "key.namelength" : 5, - "key.nameoffset" : 1688, - "key.offset" : 1684, - "key.parsed_declaration" : "public var alpha: CGFloat", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV5alpha14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var zIndex: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1708 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> zIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "zIndex", - "key.namelength" : 6, - "key.nameoffset" : 1719, - "key.offset" : 1715, - "key.parsed_declaration" : "public var zIndex: Int", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV6zIndexSivp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 1750 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ attributes: UICollectionViewLayoutAttributes<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1787 - } - ], - "key.bodylength" : 289, - "key.bodyoffset" : 1853, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> attributes<\/decl.var.parameter.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 349, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 53, - "key.nameoffset" : 1794, - "key.offset" : 1794, - "key.parsed_declaration" : "public init(_ attributes : UICollectionViewLayoutAttributes)", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListContentLayoutAttributes.Type) -> (UICollectionViewLayoutAttributes) -> ListContentLayoutAttributes", - "key.typeusr" : "$sy10ListableUI27ListContentLayoutAttributesVSo016UICollectionVieweF0CcD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesVyACSo016UICollectionVieweF0Ccfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Writing Values", - "key.offset" : 2163 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func apply(to attributes: UICollectionViewLayoutAttributes<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2200 - } - ], - "key.bodylength" : 313, - "key.bodyoffset" : 2273, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListContentLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> attributes<\/decl.var.parameter.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 380, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:)", - "key.namelength" : 55, - "key.nameoffset" : 2212, - "key.offset" : 2207, - "key.parsed_declaration" : "public func apply(to attributes : UICollectionViewLayoutAttributes)", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListContentLayoutAttributes) -> (UICollectionViewLayoutAttributes) -> ()", - "key.typeusr" : "$s2toySo32UICollectionViewLayoutAttributesC_tcD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV5apply2toySo016UICollectionVieweF0C_tF" - } - ], - "key.typename" : "ListContentLayoutAttributes.Type", - "key.typeusr" : "$s10ListableUI27ListContentLayoutAttributesVmD", - "key.usr" : "s:10ListableUI27ListContentLayoutAttributesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 749, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ListHeaderPosition<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 71 - } - ], - "key.bodylength" : 644, - "key.bodyoffset" : 103, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.column" : 13, - "key.doc.comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.declaration" : "public enum ListHeaderPosition", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.doc.full_as_xml" : "ListHeaderPosition<\/Name>s:10ListableUI18ListHeaderPositionO<\/USR>public enum ListHeaderPosition<\/Declaration>How the list header should be positioned when content is scrolled.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 2, - "key.doc.name" : "ListHeaderPosition", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 0, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListHeaderPosition<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 670, - "key.line" : 2, - "key.modulename" : "ListableUI", - "key.name" : "ListHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 83, - "key.offset" : 78, - "key.parsed_declaration" : "public enum ListHeaderPosition", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 2, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 170, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case inline<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The header will scroll up and down with the content.", - "key.doc.column" : 10, - "key.doc.comment" : "The header will scroll up and down with the content.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.doc.full_as_xml" : "inline<\/Name>s:10ListableUI18ListHeaderPositionO6inlineyA2CmF<\/USR><\/Declaration>The header will scroll up and down with the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 5, - "key.doc.name" : "inline", - "key.doc.type" : "Other", - "key.doclength" : 57, - "key.docoffset" : 109, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> inline<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 5, - "key.modulename" : "ListableUI", - "key.name" : "inline", - "key.namelength" : 6, - "key.nameoffset" : 175, - "key.offset" : 175, - "key.parsed_declaration" : "case inline", - "key.parsed_scope.end" : 5, - "key.parsed_scope.start" : 5, - "key.reusingastcontext" : false, - "key.typename" : "(ListHeaderPosition.Type) -> ListHeaderPosition", - "key.typeusr" : "$sy10ListableUI18ListHeaderPositionOACmcD", - "key.usr" : "s:10ListableUI18ListHeaderPositionO6inlineyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 372, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sticky<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The header will stick to the top of the content when it's scrolled down, and bounce with content when\nit's scrolled up (identical to how sticky section headers behave).", - "key.doc.column" : 10, - "key.doc.comment" : "The header will stick to the top of the content when it's scrolled down, and bounce with content when\nit's scrolled up (identical to how sticky section headers behave).", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.doc.full_as_xml" : "sticky<\/Name>s:10ListableUI18ListHeaderPositionO6stickyyA2CmF<\/USR><\/Declaration>The header will stick to the top of the content when it’s scrolled down, and bounce with content when it’s scrolled up (identical to how sticky section headers behave).<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 9, - "key.doc.name" : "sticky", - "key.doc.type" : "Other", - "key.doclength" : 181, - "key.docoffset" : 187, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sticky<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "sticky", - "key.namelength" : 6, - "key.nameoffset" : 377, - "key.offset" : 377, - "key.parsed_declaration" : "case sticky", - "key.parsed_scope.end" : 9, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.typename" : "(ListHeaderPosition.Type) -> ListHeaderPosition", - "key.typeusr" : "$sy10ListableUI18ListHeaderPositionOACmcD", - "key.usr" : "s:10ListableUI18ListHeaderPositionO6stickyyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 736, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fixed<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The header is always positioned at the top of the visible frame, and does not bounce with the content.\n\nNote: This mode only works if the list has no container header or refresh control. If there is a container\nheader or refresh control, the behavior falls back to `sticky` so the header doesn't overlap with those.", - "key.doc.column" : 10, - "key.doc.comment" : "The header is always positioned at the top of the visible frame, and does not bounce with the content.\n\nNote: This mode only works if the list has no container header or refresh control. If there is a container\nheader or refresh control, the behavior falls back to `sticky` so the header doesn't overlap with those.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "Note: This mode only works if the list has no container header or refresh control. If there is a container header or refresh control, the behavior falls back to `sticky` so the header doesn’t overlap with those." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.doc.full_as_xml" : "fixed<\/Name>s:10ListableUI18ListHeaderPositionO5fixedyA2CmF<\/USR><\/Declaration>The header is always positioned at the top of the visible frame, and does not bounce with the content.<\/Para><\/Abstract>Note: This mode only works if the list has no container header or refresh control. If there is a container header or refresh control, the behavior falls back to sticky<\/codeVoice> so the header doesn’t overlap with those.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "fixed", - "key.doc.type" : "Other", - "key.doclength" : 343, - "key.docoffset" : 389, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListHeaderPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "fixed", - "key.namelength" : 5, - "key.nameoffset" : 741, - "key.offset" : 741, - "key.parsed_declaration" : "case fixed", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(ListHeaderPosition.Type) -> ListHeaderPosition", - "key.typeusr" : "$sy10ListableUI18ListHeaderPositionOACmcD", - "key.usr" : "s:10ListableUI18ListHeaderPositionO5fixedyA2CmF" - } - ] - } - ], - "key.typename" : "ListHeaderPosition.Type", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOmD", - "key.usr" : "s:10ListableUI18ListHeaderPositionO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4116, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@dynamicMemberLookup public struct ListProperties<\/Declaration>", - "key.bodylength" : 2620, - "key.bodyoffset" : 155, - "key.column" : 36, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ListProperties` object describes all of the given values needed to configure\nand display a list on screen. It is usually used in declarative APIs which deal in descriptions of views\n(eg, Blueprint, SwiftUI, `ListViewController`) in place of referencing and managing a view directly.\n\nFor example, in `BlueprintUILists`, you create a Listable `List` element like so:\n```\nList { list in\n list.appearance = .myAppearance\n list.layout = .myLayout\n\n list(\"first section\") { section in\n section += MyItem()\n section += MyItem()\n }\n}\n```\nIn this example, the `list` parameter to the trailing closure is a `ListProperties` object.\n\n### Other Uses\nYou may even find using `ListProperties` useful if you do have a reference to the underlying `ListView`\ninstance (eg in your own `UIViewController`).\n\nIn these cases, you can apply `ListProperties` to a `ListView` by calling one of the\navailable `func configure(with:)` methods. Having a separate method which describes and provides\nall the properties to configure your `ListView` allows for a more singular flow of data through your application,\nand eases in testability.", - "key.doc.column" : 36, - "key.doc.declaration" : "@dynamicMemberLookup public struct ListProperties", - "key.doc.discussion" : [ - { - "Para" : "For example, in `BlueprintUILists`, you create a Listable `List` element like so:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In this example, the `list` parameter to the trailing closure is a `ListProperties` object." - }, - { - "Para" : "You may even find using `ListProperties` useful if you do have a reference to the underlying `ListView` instance (eg in your own `UIViewController`)." - }, - { - "Para" : "In these cases, you can apply `ListProperties` to a `ListView` by calling one of the available `func configure(with:)` methods. Having a separate method which describes and provides all the properties to configure your `ListView` allows for a more singular flow of data through your application, and eases in testability." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "ListProperties<\/Name>s:10ListableUI14ListPropertiesV<\/USR>@dynamicMemberLookup public struct ListProperties<\/Declaration>The ListProperties<\/codeVoice> object describes all of the given values needed to configure and display a list on screen. It is usually used in declarative APIs which deal in descriptions of views (eg, Blueprint, SwiftUI, ListViewController<\/codeVoice>) in place of referencing and managing a view directly.<\/Para><\/Abstract>For example, in BlueprintUILists<\/codeVoice>, you create a Listable List<\/codeVoice> element like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In this example, the list<\/codeVoice> parameter to the trailing closure is a ListProperties<\/codeVoice> object.<\/Para>]]><\/rawHTML>Other Uses]]><\/rawHTML>You may even find using ListProperties<\/codeVoice> useful if you do have a reference to the underlying ListView<\/codeVoice> instance (eg in your own UIViewController<\/codeVoice>).<\/Para>In these cases, you can apply ListProperties<\/codeVoice> to a ListView<\/codeVoice> by calling one of the available func configure(with:)<\/codeVoice> methods. Having a separate method which describes and provides all the properties to configure your ListView<\/codeVoice> allows for a more singular flow of data through your application, and eases in testability.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 39, - "key.doc.name" : "ListProperties", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "@dynamicMemberLookup<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListProperties<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2647, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "ListProperties", - "key.namelength" : 14, - "key.nameoffset" : 139, - "key.offset" : 129, - "key.parsed_declaration" : "extension ListProperties", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static let headerFooterMeasurementCache: ReusableViewCache<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> headerFooterMeasurementCache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 61, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "headerFooterMeasurementCache", - "key.namelength" : 28, - "key.nameoffset" : 176, - "key.offset" : 165, - "key.parsed_declaration" : "static let headerFooterMeasurementCache = ReusableViewCache()", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI14ListPropertiesV28headerFooterMeasurementCacheAA012ReusableViewH0CvpZ" - }, - { - "key.annotated_decl" : "static let itemMeasurementCache: ReusableViewCache<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> itemMeasurementCache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 53, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "itemMeasurementCache", - "key.namelength" : 20, - "key.nameoffset" : 242, - "key.offset" : 231, - "key.parsed_declaration" : "static let itemMeasurementCache = ReusableViewCache()", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI14ListPropertiesV20itemMeasurementCacheAA012ReusableViewG0CvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func makeLayout(in fittingSize: CGSize<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>, itemLimit: Int<\/Type>?) -> (AnyListLayout<\/Type>, ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 596 - } - ], - "key.bodylength" : 1999, - "key.bodyoffset" : 774, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "**Note**: For testing or measuring content sizes only.\n\nUses the properties from the list properties to create a `PresentationState`\ninstance, a `ListLayout` instance, and then lays out the layout within\nthe provided `fittingSize`, returning the laid out layout.", - "key.doc.column" : 19, - "key.doc.comment" : "**Note**: For testing or measuring content sizes only.\n\nUses the properties from the list properties to create a `PresentationState`\ninstance, a `ListLayout` instance, and then lays out the layout within\nthe provided `fittingSize`, returning the laid out layout.", - "key.doc.declaration" : "internal func makeLayout(in fittingSize: CGSize, safeAreaInsets: UIEdgeInsets, itemLimit: Int?) -> (AnyListLayout, ListLayoutLayoutContext)", - "key.doc.discussion" : [ - { - "Para" : "Uses the properties from the list properties to create a `PresentationState` instance, a `ListLayout` instance, and then lays out the layout within the provided `fittingSize`, returning the laid out layout." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.doc.full_as_xml" : "makeLayout(in:safeAreaInsets:itemLimit:)<\/Name>s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF<\/USR>internal func makeLayout(in fittingSize: CGSize, safeAreaInsets: UIEdgeInsets, itemLimit: Int?) -> (AnyListLayout, ListLayoutLayoutContext)<\/Declaration>Note<\/bold>: For testing or measuring content sizes only.<\/Para><\/Abstract>Uses the properties from the list properties to create a PresentationState<\/codeVoice> instance, a ListLayout<\/codeVoice> instance, and then lays out the layout within the provided fittingSize<\/codeVoice>, returning the laid out layout.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 22, - "key.doc.name" : "makeLayout(in:safeAreaInsets:itemLimit:)", - "key.doc.type" : "Function", - "key.doclength" : 298, - "key.docoffset" : 294, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> makeLayout<\/decl.name>(in<\/decl.var.parameter.argument_label> fittingSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemLimit<\/decl.var.parameter.argument_label>: Int<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> (AnyListLayout<\/ref.protocol><\/tuple.element.type><\/tuple.element>, ListLayoutLayoutContext<\/ref.struct><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2169, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "makeLayout(in:safeAreaInsets:itemLimit:)", - "key.namelength" : 114, - "key.nameoffset" : 610, - "key.offset" : 605, - "key.parsed_declaration" : "internal func makeLayout(\n in fittingSize : CGSize,\n safeAreaInsets : UIEdgeInsets,\n itemLimit : Int?\n) -> (AnyListLayout, ListLayoutLayoutContext)", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let presentationState: PresentationState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "1) Create an instance of presentation state and the layout we can use to measure the list.", - "key.doc.column" : 13, - "key.doc.comment" : "1) Create an instance of presentation state and the layout we can use to measure the list.", - "key.doc.declaration" : "let presentationState: ListableUI.PresentationState", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.doc.full_as_xml" : "presentationState<\/Name>s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF17presentationStateL_AA012PresentationR0Cvp<\/USR>let presentationState: ListableUI.PresentationState<\/Declaration>Create an instance of presentation state and the layout we can use to measure the list.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 30, - "key.doc.name" : "presentationState", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 783, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> presentationState<\/decl.name>: PresentationState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 562, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "presentationState", - "key.namelength" : 17, - "key.nameoffset" : 899, - "key.offset" : 895, - "key.parsed_declaration" : "let presentationState = PresentationState(\n forMeasuringOrTestsWith: {\n if let limit = itemLimit {\n let zero = IndexPath(item: 0, section: 0)\n return self.content.sliceTo(indexPath: zero, plus: limit).content\n } else {\n return self.content\n }\n }(),\n environment: self.environment,\n itemMeasurementCache: Self.itemMeasurementCache,\n headerFooterMeasurementCache: Self.headerFooterMeasurementCache\n)", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState", - "key.typeusr" : "$s10ListableUI17PresentationStateCD", - "key.usr" : "s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF17presentationStateL_AA012PresentationR0Cvp" - }, - { - "key.annotated_decl" : "let layout: any AnyListLayout<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "2) Create the layout used to measure the content.", - "key.doc.column" : 13, - "key.doc.comment" : "2) Create the layout used to measure the content.", - "key.doc.declaration" : "let layout: any ListableUI.AnyListLayout", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.doc.full_as_xml" : "layout<\/Name>s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF6layoutL_AaH_pvp<\/USR>let layout: any ListableUI.AnyListLayout<\/Declaration>Create the layout used to measure the content.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "layout", - "key.doc.type" : "Other", - "key.doclength" : 54, - "key.docoffset" : 1475, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layout<\/decl.name>: any AnyListLayout<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 389, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 1550, - "key.offset" : 1546, - "key.parsed_declaration" : "let layout = self.layout.configuration.createPopulatedLayout(\n appearance: self.appearance,\n behavior: self.behavior,\n content: { _ in\n presentationState.toListLayoutContent(\n defaults: .init(itemInsertAndRemoveAnimations: .fade),\n environment: self.environment\n )\n }\n)", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.typename" : "any AnyListLayout", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pD", - "key.usr" : "s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF6layoutL_AaH_pvp" - }, - { - "key.annotated_decl" : "let layoutContext: ListLayoutLayoutContext<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "2b) Measure the content.", - "key.doc.column" : 13, - "key.doc.comment" : "2b) Measure the content.", - "key.doc.declaration" : "let layoutContext: ListableUI.ListLayoutLayoutContext", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.doc.full_as_xml" : "layoutContext<\/Name>s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF06layoutN0L_AJvp<\/USR>let layoutContext: ListableUI.ListLayoutLayoutContext<\/Declaration>2b) Measure the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 59, - "key.doc.name" : "layoutContext", - "key.doc.type" : "Other", - "key.doclength" : 29, - "key.docoffset" : 1953, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layoutContext<\/decl.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 619, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "layoutContext", - "key.namelength" : 13, - "key.nameoffset" : 2003, - "key.offset" : 1999, - "key.parsed_declaration" : "let layoutContext = ListLayoutLayoutContext(\n viewBounds: CGRect(origin: .zero, size: fittingSize),\n safeAreaInsets: safeAreaInsets,\n contentInset: .zero,\n contentOffset: .zero,\n adjustedContentInset: .listAdjustedContentInset(\n with: layout.scrollViewProperties.contentInsetAdjustmentBehavior,\n direction: layout.direction,\n safeAreaInsets: safeAreaInsets,\n contentInset: .zero\n ),\n hasRefreshControl: self.refreshControl != nil,\n environment: self.environment\n)", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutLayoutContext", - "key.typeusr" : "$s10ListableUI010ListLayoutD7ContextVD", - "key.usr" : "s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF06layoutN0L_AJvp" - } - ], - "key.typename" : "(ListProperties) -> (CGSize, UIEdgeInsets, Int?) -> (any AnyListLayout, ListLayoutLayoutContext)", - "key.typeusr" : "$s2in14safeAreaInsets9itemLimit10ListableUI13AnyListLayout_p_AD0jkK7ContextVtSo6CGSizeV_So06UIEdgeD0VSiSgtcD", - "key.usr" : "s:10ListableUI14ListPropertiesV10makeLayout2in14safeAreaInsets9itemLimitAA03AnycF0_p_AA0cfF7ContextVtSo6CGSizeV_So06UIEdgeJ0VSiSgtF" - } - ], - "key.typename" : "ListProperties.Type", - "key.typeusr" : "$s10ListableUI14ListPropertiesVmD", - "key.usr" : "s:10ListableUI14ListPropertiesV" - }, - { - "key.annotated_decl" : "@_nonSendable(_assumed) struct UIEdgeInsets : @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 1312, - "key.bodyoffset" : 2802, - "key.column" : 92, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIGeometry.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> UIEdgeInsets<\/decl.name> : @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1337, - "key.line" : 23, - "key.modulename" : "UIKit.UIGeometry", - "key.name" : "UIEdgeInsets", - "key.namelength" : 12, - "key.nameoffset" : 2788, - "key.offset" : 2778, - "key.parsed_declaration" : "extension UIEdgeInsets", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static func listAdjustedContentInset(with contentInsetAdjustmentBehaviour: ContentInsetAdjustmentBehavior<\/Type>, direction: LayoutDirection<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>, contentInset: UIEdgeInsets<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 839, - "key.bodyoffset" : 3273, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Because `ListProperties.makeLayout(...)` does not deal with an actual\n`UIScrollView`, we need to calculate `adjustedContentInset` ourselves,\nto pass to `layout.performLayout(...)`.", - "key.doc.column" : 17, - "key.doc.comment" : "Because `ListProperties.makeLayout(...)` does not deal with an actual\n`UIScrollView`, we need to calculate `adjustedContentInset` ourselves,\nto pass to `layout.performLayout(...)`.", - "key.doc.declaration" : "static func listAdjustedContentInset(with contentInsetAdjustmentBehaviour: ContentInsetAdjustmentBehavior, direction: LayoutDirection, safeAreaInsets: UIEdgeInsets, contentInset: UIEdgeInsets) -> UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.doc.full_as_xml" : "listAdjustedContentInset(with:direction:safeAreaInsets:contentInset:)<\/Name>s:So12UIEdgeInsetsV10ListableUIE24listAdjustedContentInset4with9direction08safeAreaB007contentH0AbC0gH18AdjustmentBehaviorO_AC15LayoutDirectionOA2BtFZ<\/USR>static func listAdjustedContentInset(with contentInsetAdjustmentBehaviour: ContentInsetAdjustmentBehavior, direction: LayoutDirection, safeAreaInsets: UIEdgeInsets, contentInset: UIEdgeInsets) -> UIEdgeInsets<\/Declaration>Because ListProperties.makeLayout(...)<\/codeVoice> does not deal with an actual UIScrollView<\/codeVoice>, we need to calculate adjustedContentInset<\/codeVoice> ourselves, to pass to layout.performLayout(...)<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 88, - "key.doc.name" : "listAdjustedContentInset(with:direction:safeAreaInsets:contentInset:)", - "key.doc.type" : "Function", - "key.doclength" : 201, - "key.docoffset" : 2812, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout+Layout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> listAdjustedContentInset<\/decl.name>(with<\/decl.var.parameter.argument_label> contentInsetAdjustmentBehaviour<\/decl.var.parameter.name>: ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentInset<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 1096, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "listAdjustedContentInset(with:direction:safeAreaInsets:contentInset:)", - "key.namelength" : 222, - "key.nameoffset" : 3029, - "key.offset" : 3017, - "key.parsed_declaration" : "static func listAdjustedContentInset(\n with contentInsetAdjustmentBehaviour : ContentInsetAdjustmentBehavior,\n direction : LayoutDirection,\n safeAreaInsets : UIEdgeInsets,\n contentInset : UIEdgeInsets\n) -> UIEdgeInsets", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UIEdgeInsets.Type) -> (ContentInsetAdjustmentBehavior, LayoutDirection, UIEdgeInsets, UIEdgeInsets) -> UIEdgeInsets", - "key.typeusr" : "$s4with9direction14safeAreaInsets12contentInsetSo06UIEdgeE0V10ListableUI07ContentG18AdjustmentBehaviorO_AG15LayoutDirectionOA2FtcD", - "key.usr" : "s:So12UIEdgeInsetsV10ListableUIE24listAdjustedContentInset4with9direction08safeAreaB007contentH0AbC0gH18AdjustmentBehaviorO_AC15LayoutDirectionOA2BtFZ" - } - ], - "key.typename" : "UIEdgeInsets.Type", - "key.typeusr" : "$sSo12UIEdgeInsetsVmD", - "key.usr" : "c:@S@UIEdgeInsets" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 21768, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListLayout : AnyListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 120 - } - ], - "key.bodylength" : 513, - "key.bodyoffset" : 164, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 13, - "key.offset" : 149 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayout<\/decl.name> : AnyListLayout<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 551, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayout", - "key.namelength" : 10, - "key.nameoffset" : 136, - "key.offset" : 127, - "key.parsed_declaration" : "public protocol ListLayout : AnyListLayout", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype LayoutAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> LayoutAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 52, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "LayoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 184, - "key.offset" : 169, - "key.parsed_declaration" : "associatedtype LayoutAppearance:ListLayoutAppearance", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.LayoutAppearance.Type", - "key.typeusr" : "$s16LayoutAppearanceQzmD", - "key.usr" : "s:10ListableUI10ListLayoutP0D10AppearanceQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype ItemLayout : ItemLayoutsValue<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> ItemLayout<\/decl.name> : ItemLayoutsValue<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 42, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 246, - "key.offset" : 231, - "key.parsed_declaration" : "associatedtype ItemLayout:ItemLayoutsValue", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.ItemLayout.Type", - "key.typeusr" : "$s10ItemLayoutQzmD", - "key.usr" : "s:10ListableUI10ListLayoutP04ItemD0Qa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype HeaderFooterLayout : HeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> HeaderFooterLayout<\/decl.name> : HeaderFooterLayoutsValue<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 58, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 293, - "key.offset" : 278, - "key.parsed_declaration" : "associatedtype HeaderFooterLayout:HeaderFooterLayoutsValue", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.HeaderFooterLayout.Type", - "key.typeusr" : "$s18HeaderFooterLayoutQzmD", - "key.usr" : "s:10ListableUI10ListLayoutP012HeaderFooterD0Qa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype SectionLayout : SectionLayoutsValue<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> SectionLayout<\/decl.name> : SectionLayoutsValue<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 48, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 356, - "key.offset" : 341, - "key.parsed_declaration" : "associatedtype SectionLayout:SectionLayoutsValue", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.SectionLayout.Type", - "key.typeusr" : "$s13SectionLayoutQzmD", - "key.usr" : "s:10ListableUI10ListLayoutP07SectionD0Qa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var defaults: ListLayoutDefaults<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 441, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaults<\/decl.name>: ListLayoutDefaults<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 48, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 410, - "key.offset" : 399, - "key.parsed_declaration" : "static var defaults : ListLayoutDefaults", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutDefaults", - "key.typeusr" : "$s10ListableUI18ListLayoutDefaultsVD", - "key.usr" : "s:10ListableUI10ListLayoutP8defaultsAA0cD8DefaultsVvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var layoutAppearance: LayoutAppearance<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 498, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutAppearance<\/decl.name>: LayoutAppearance<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 461, - "key.offset" : 457, - "key.parsed_declaration" : "var layoutAppearance : LayoutAppearance", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.LayoutAppearance", - "key.typeusr" : "$s16LayoutAppearanceQzD", - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance0dF0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "init(layoutAppearance: LayoutAppearance<\/Type>, appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: ListLayoutContent<\/Type>)<\/Declaration>", - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(layoutAppearance<\/decl.var.parameter.argument_label>: LayoutAppearance<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 154, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutAppearance:appearance:behavior:content:)", - "key.namelength" : 154, - "key.nameoffset" : 522, - "key.offset" : 522, - "key.parsed_declaration" : "init(\n layoutAppearance : LayoutAppearance,\n appearance : Appearance,\n behavior : Behavior,\n content : ListLayoutContent\n)", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> (Self.LayoutAppearance, Appearance, Behavior, ListLayoutContent) -> Self", - "key.typeusr" : "$s16layoutAppearance10appearance8behavior7contentx06LayoutB0Qz_10ListableUI0B0VAG8BehaviorVAG04ListF7ContentCtcD", - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance10appearance8behavior7contentx0dF0Qz_AA0F0VAA8BehaviorVAA0cD7ContentCtcfc" - } - ], - "key.typename" : "ListLayout.Type", - "key.typeusr" : "$s10ListableUI10ListLayout_pmD", - "key.usr" : "s:10ListableUI10ListLayoutP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutLayoutContext<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 681 - } - ], - "key.bodylength" : 1440, - "key.bodyoffset" : 720, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutLayoutContext<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1473, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutLayoutContext", - "key.namelength" : 23, - "key.nameoffset" : 695, - "key.offset" : 688, - "key.parsed_declaration" : "public struct ListLayoutLayoutContext", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var viewBounds: CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 730 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> viewBounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "viewBounds", - "key.namelength" : 10, - "key.nameoffset" : 741, - "key.offset" : 737, - "key.parsed_declaration" : "public var viewBounds : CGRect", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV10viewBoundsSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var safeAreaInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 765 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 776, - "key.offset" : 772, - "key.parsed_declaration" : "public var safeAreaInsets : UIEdgeInsets", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV14safeAreaInsetsSo06UIEdgeH0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentInset: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 810 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentInset<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "contentInset", - "key.namelength" : 12, - "key.nameoffset" : 821, - "key.offset" : 817, - "key.parsed_declaration" : "public var contentInset : UIEdgeInsets", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV12contentInsetSo12UIEdgeInsetsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentOffset: CGPoint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 853 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 38, - "key.modulename" : "ListableUI", - "key.name" : "contentOffset", - "key.namelength" : 13, - "key.nameoffset" : 864, - "key.offset" : 860, - "key.parsed_declaration" : "public var contentOffset : CGPoint", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 38, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV13contentOffsetSo7CGPointVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var adjustedContentInset: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 892 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> adjustedContentInset<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "adjustedContentInset", - "key.namelength" : 20, - "key.nameoffset" : 903, - "key.offset" : 899, - "key.parsed_declaration" : "public var adjustedContentInset : UIEdgeInsets", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV20adjustedContentInsetSo12UIEdgeInsetsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var hasRefreshControl: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 948 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasRefreshControl<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "hasRefreshControl", - "key.namelength" : 17, - "key.nameoffset" : 959, - "key.offset" : 955, - "key.parsed_declaration" : "public var hasRefreshControl : Bool", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV17hasRefreshControlSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var environment: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 993 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 1004, - "key.offset" : 1000, - "key.parsed_declaration" : "public var environment : ListEnvironment", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV11environmentAA0C11EnvironmentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(viewBounds: CGRect<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>, contentInset: UIEdgeInsets<\/Type>, contentOffset: CGPoint<\/Type>, adjustedContentInset: UIEdgeInsets<\/Type>, hasRefreshControl: Bool<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1043 - } - ], - "key.bodylength" : 318, - "key.bodyoffset" : 1318, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(viewBounds<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentInset<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentOffset<\/decl.var.parameter.argument_label>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, adjustedContentInset<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, hasRefreshControl<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 587, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "init(viewBounds:safeAreaInsets:contentInset:contentOffset:adjustedContentInset:hasRefreshControl:environment:)", - "key.namelength" : 266, - "key.nameoffset" : 1050, - "key.offset" : 1050, - "key.parsed_declaration" : "public init(\n viewBounds : CGRect,\n safeAreaInsets : UIEdgeInsets,\n contentInset : UIEdgeInsets,\n contentOffset : CGPoint,\n adjustedContentInset : UIEdgeInsets,\n hasRefreshControl : Bool,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 45, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(collectionView:environment:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutLayoutContext.Type) -> (CGRect, UIEdgeInsets, UIEdgeInsets, CGPoint, UIEdgeInsets, Bool, ListEnvironment) -> ListLayoutLayoutContext", - "key.typeusr" : "$s10viewBounds14safeAreaInsets12contentInset0F6Offset015adjustedContentG017hasRefreshControl11environment10ListableUI010ListLayoutR7ContextVSo6CGRectV_So06UIEdgeE0VANSo7CGPointVANSbAH0Q11EnvironmentVtcD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV10viewBounds14safeAreaInsets12contentInset0K6Offset015adjustedContentL017hasRefreshControl11environmentACSo6CGRectV_So06UIEdgeJ0VANSo7CGPointVANSbAA0C11EnvironmentVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(collectionView: UICollectionView<\/Type>, environment: ListEnvironment<\/Type>)<\/Declaration>", - "key.bodylength" : 417, - "key.bodyoffset" : 1741, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(collectionView<\/decl.var.parameter.argument_label>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, environment<\/decl.var.parameter.argument_label>: ListEnvironment<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 512, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "init(collectionView:environment:)", - "key.namelength" : 92, - "key.nameoffset" : 1647, - "key.offset" : 1647, - "key.parsed_declaration" : "init(\n collectionView : UICollectionView,\n environment : ListEnvironment\n)", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 63, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(viewBounds:safeAreaInsets:contentInset:contentOffset:adjustedContentInset:hasRefreshControl:environment:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutLayoutContext.Type) -> (UICollectionView, ListEnvironment) -> ListLayoutLayoutContext", - "key.typeusr" : "$s14collectionView11environment10ListableUI010ListLayoutG7ContextVSo012UICollectionB0C_AC0F11EnvironmentVtcD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV14collectionView11environmentACSo012UICollectionG0C_AA0C11EnvironmentVtcfc" - } - ], - "key.typename" : "ListLayoutLayoutContext.Type", - "key.typeusr" : "$s10ListableUI010ListLayoutD7ContextVmD", - "key.usr" : "s:10ListableUI010ListLayoutD7ContextV" - }, - { - "key.annotated_decl" : "public protocol ListLayout : AnyListLayout<\/Type><\/Declaration>", - "key.bodylength" : 1059, - "key.bodyoffset" : 2186, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayout<\/decl.name> : AnyListLayout<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1082, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayout", - "key.namelength" : 10, - "key.nameoffset" : 2174, - "key.offset" : 2164, - "key.parsed_declaration" : "extension ListLayout", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 79, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2191 - } - ], - "key.bodylength" : 45, - "key.bodyoffset" : 2230, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 78, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 2202, - "key.offset" : 2198, - "key.parsed_declaration" : "public var direction: LayoutDirection", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 81, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "direction<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE9directionAA0D9DirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounds: ListContentBounds<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2286 - } - ], - "key.bodylength" : 42, - "key.bodyoffset" : 2326, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 76, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 2297, - "key.offset" : 2293, - "key.parsed_declaration" : "public var bounds : ListContentBounds?", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 85, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "bounds<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE6boundsAA0C13ContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var listHeaderPosition: ListHeaderPosition<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2375 - } - ], - "key.bodylength" : 54, - "key.bodyoffset" : 2426, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 99, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 2386, - "key.offset" : 2382, - "key.parsed_declaration" : "public var listHeaderPosition: ListHeaderPosition", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 89, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "listHeaderPosition<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE18listHeaderPositionAA0cfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var stickySectionHeaders: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2491 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 2530, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 89, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 2502, - "key.offset" : 2498, - "key.parsed_declaration" : "public var stickySectionHeaders: Bool", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 93, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "stickySectionHeaders<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pagingBehavior: ListPagingBehavior<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2597 - } - ], - "key.bodylength" : 50, - "key.bodyoffset" : 2644, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 91, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 2608, - "key.offset" : 2604, - "key.parsed_declaration" : "public var pagingBehavior: ListPagingBehavior", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 97, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "pagingBehavior<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14pagingBehaviorAA0c6PagingF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2705 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 2770, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 115, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 2716, - "key.offset" : 2712, - "key.parsed_declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 101, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "scrollViewProperties<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE20scrollViewPropertiesAA0cd6ScrollfG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func resolvedBounds(in context: ListLayoutLayoutContext<\/Type>) -> ListContentBounds<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2837 - } - ], - "key.bodylength" : 319, - "key.bodyoffset" : 2924, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> resolvedBounds<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListContentBounds<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 400, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "resolvedBounds(in:)", - "key.namelength" : 52, - "key.nameoffset" : 2849, - "key.offset" : 2844, - "key.parsed_declaration" : "public func resolvedBounds(in context : ListLayoutLayoutContext) -> ListContentBounds", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 105, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let boundsContext: ListContentBounds<\/Type>.Context<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> boundsContext<\/decl.name>: ListContentBounds<\/ref.struct>.Context<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 188, - "key.line" : 107, - "key.modulename" : "ListableUI", - "key.name" : "boundsContext", - "key.namelength" : 13, - "key.nameoffset" : 2946, - "key.offset" : 2942, - "key.parsed_declaration" : "let boundsContext = ListContentBounds.Context(\n viewSize: context.viewBounds.size,\n safeAreaInsets: context.safeAreaInsets,\n direction: direction\n)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 107, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds.Context", - "key.typeusr" : "$s10ListableUI17ListContentBoundsV7ContextVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14resolvedBounds2inAA0c7ContentF0VAA0cdD7ContextV_tF06boundsI0L_AG0I0Vvp" - } - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ListContentBounds", - "key.typeusr" : "$s2in10ListableUI17ListContentBoundsVAB0d6LayoutG7ContextV_tcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14resolvedBounds2inAA0c7ContentF0VAA0cdD7ContextV_tF" - } - ], - "key.typename" : "ListLayout.Type", - "key.typeusr" : "$s10ListableUI10ListLayout_pmD", - "key.usr" : "s:10ListableUI10ListLayoutP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyListLayout : AnyObject<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3249 - } - ], - "key.bodylength" : 2231, - "key.bodyoffset" : 3292, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3281 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyListLayout<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 2268, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "AnyListLayout", - "key.namelength" : 13, - "key.nameoffset" : 3265, - "key.offset" : 3256, - "key.parsed_declaration" : "public protocol AnyListLayout : AnyObject", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Public Properties", - "key.offset" : 3307 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var appearance: Appearance<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3376, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 3351, - "key.offset" : 3347, - "key.parsed_declaration" : "var appearance : Appearance", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 124, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI13AnyListLayoutP10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var behavior: Behavior<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3412, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 3391, - "key.offset" : 3387, - "key.parsed_declaration" : "var behavior : Behavior", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 125, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI13AnyListLayoutP8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var content: ListLayoutContent<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3461, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> content<\/decl.name>: ListLayoutContent<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 127, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 3432, - "key.offset" : 3428, - "key.parsed_declaration" : "var content : ListLayoutContent", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 127, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCD", - "key.usr" : "s:10ListableUI13AnyListLayoutP7contentAA0dE7ContentCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var direction: LayoutDirection<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3510, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 3481, - "key.offset" : 3477, - "key.parsed_declaration" : "var direction : LayoutDirection", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI13AnyListLayoutP9directionAA0E9DirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var bounds: ListContentBounds<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3559, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 3530, - "key.offset" : 3526, - "key.parsed_declaration" : "var bounds : ListContentBounds?", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 131, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI13AnyListLayoutP6boundsAA0D13ContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var listHeaderPosition: ListHeaderPosition<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3616, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 3575, - "key.offset" : 3571, - "key.parsed_declaration" : "var listHeaderPosition : ListHeaderPosition", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 133, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI13AnyListLayoutP18listHeaderPositionAA0dgH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var stickySectionHeaders: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3661, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 3632, - "key.offset" : 3628, - "key.parsed_declaration" : "var stickySectionHeaders : Bool", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI13AnyListLayoutP20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var pagingBehavior: ListPagingBehavior<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3718, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 3681, - "key.offset" : 3677, - "key.parsed_declaration" : "var pagingBehavior : ListPagingBehavior", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI13AnyListLayoutP14pagingBehaviorAA0d6PagingG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3793, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 3738, - "key.offset" : 3734, - "key.parsed_declaration" : "var scrollViewProperties : ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 139, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI13AnyListLayoutP20scrollViewPropertiesAA0de6ScrollgH0Vvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Performing Layouts", - "key.offset" : 3819 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func updateLayout(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateLayout<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 55, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "updateLayout(in:)", - "key.namelength" : 50, - "key.nameoffset" : 3865, - "key.offset" : 3860, - "key.parsed_declaration" : "func updateLayout(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP06updateE02inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func layout(delegate: CollectionViewLayoutDelegate<\/Type>?, in context: ListLayoutLayoutContext<\/Type>) -> ListLayoutResult<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layout<\/decl.name>(delegate<\/decl.var.parameter.argument_label>: CollectionViewLayoutDelegate<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutResult<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 133, - "key.line" : 147, - "key.modulename" : "ListableUI", - "key.name" : "layout(delegate:in:)", - "key.namelength" : 108, - "key.nameoffset" : 3930, - "key.offset" : 3925, - "key.parsed_declaration" : "func layout(\n delegate : CollectionViewLayoutDelegate?,\n in context : ListLayoutLayoutContext\n) -> ListLayoutResult", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 147, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> ((any CollectionViewLayoutDelegate)?, ListLayoutLayoutContext) -> ListLayoutResult", - "key.typeusr" : "$s8delegate2in10ListableUI16ListLayoutResultVAC014CollectionViewF8Delegate_pSg_AC0efF7ContextVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func setZIndexes()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setZIndexes<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 18, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "setZIndexes()", - "key.namelength" : 13, - "key.nameoffset" : 4073, - "key.offset" : 4068, - "key.parsed_declaration" : "func setZIndexes()", - "key.parsed_scope.end" : 152, - "key.parsed_scope.start" : 152, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI13AnyListLayoutP11setZIndexesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func positionStickyListHeaderIfNeeded(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> positionStickyListHeaderIfNeeded<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 75, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "positionStickyListHeaderIfNeeded(in:)", - "key.namelength" : 70, - "key.nameoffset" : 4101, - "key.offset" : 4096, - "key.parsed_declaration" : "func positionStickyListHeaderIfNeeded(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 154, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP014positionStickyD14HeaderIfNeeded2inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func positionStickySectionHeadersIfNeeded(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> positionStickySectionHeadersIfNeeded<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 79, - "key.line" : 155, - "key.modulename" : "ListableUI", - "key.name" : "positionStickySectionHeadersIfNeeded(in:)", - "key.namelength" : 74, - "key.nameoffset" : 4181, - "key.offset" : 4176, - "key.parsed_declaration" : "func positionStickySectionHeadersIfNeeded(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 155, - "key.parsed_scope.start" : 155, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP36positionStickySectionHeadersIfNeeded2inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func updateOverscrollFooterPosition(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateOverscrollFooterPosition<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 73, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "updateOverscrollFooterPosition(in:)", - "key.namelength" : 68, - "key.nameoffset" : 4270, - "key.offset" : 4265, - "key.parsed_declaration" : "func updateOverscrollFooterPosition(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "updateOverscrollFooterPosition(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func adjustPositionsForLayoutUnderflow(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> adjustPositionsForLayoutUnderflow<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 76, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "adjustPositionsForLayoutUnderflow(in:)", - "key.namelength" : 71, - "key.nameoffset" : 4353, - "key.offset" : 4348, - "key.parsed_declaration" : "func adjustPositionsForLayoutUnderflow(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 159, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "adjustPositionsForLayoutUnderflow(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 28, - "key.name" : "MARK: Configuring Reordering", - "key.offset" : 4444 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func adjust(layoutAttributesForReorderingItem attributes: inout ListContentLayoutAttributes<\/Type>, originalAttributes: ListContentLayoutAttributes<\/Type>, at indexPath: IndexPath<\/Type>, withTargetPosition position: CGPoint<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> adjust<\/decl.name>(layoutAttributesForReorderingItem<\/decl.var.parameter.argument_label> attributes<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListContentLayoutAttributes<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, originalAttributes<\/decl.var.parameter.argument_label>: ListContentLayoutAttributes<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withTargetPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 244, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "adjust(layoutAttributesForReorderingItem:originalAttributes:at:withTargetPosition:)", - "key.namelength" : 239, - "key.nameoffset" : 4494, - "key.offset" : 4489, - "key.parsed_declaration" : "func adjust(\n layoutAttributesForReorderingItem attributes : inout ListContentLayoutAttributes,\n originalAttributes : ListContentLayoutAttributes,\n at indexPath: IndexPath,\n withTargetPosition position: CGPoint\n)", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 165, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (inout ListContentLayoutAttributes, ListContentLayoutAttributes, IndexPath, CGPoint) -> ()", - "key.typeusr" : "$s33layoutAttributesForReorderingItem08originalB02at18withTargetPositiony10ListableUI017ListContentLayoutB0Vz_AG10Foundation9IndexPathVSo7CGPointVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP6adjust33layoutAttributesForReorderingItem08originalH02at18withTargetPositionyAA0d7ContenteH0Vz_AJ10Foundation9IndexPathVSo7CGPointVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath<\/Type>, withPosition position: CGPoint<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the target index path for an item being interactively moved.\n\nCustom layouts can override this to provide layout-aware drop target\ndetermination. The default implementation returns `nil`, which causes\n`CollectionViewLayout` to fall back to UICollectionView's default behavior.\n\n- Parameters:\n - previousIndexPath: The current index path of the item being moved.\n - position: The current position of the item in the collection view's coordinate space.\n- Returns: The target index path if the layout can determine it, or `nil` to use default behavior.", - "key.doc.column" : 10, - "key.doc.comment" : "Returns the target index path for an item being interactively moved.\n\nCustom layouts can override this to provide layout-aware drop target\ndetermination. The default implementation returns `nil`, which causes\n`CollectionViewLayout` to fall back to UICollectionView's default behavior.\n\n- Parameters:\n - previousIndexPath: The current index path of the item being moved.\n - position: The current position of the item in the collection view's coordinate space.\n- Returns: The target index path if the layout can determine it, or `nil` to use default behavior.", - "key.doc.declaration" : "func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath, withPosition position: CGPoint) -> IndexPath?", - "key.doc.discussion" : [ - { - "Para" : "Custom layouts can override this to provide layout-aware drop target determination. The default implementation returns `nil`, which causes `CollectionViewLayout` to fall back to UICollectionView’s default behavior." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.doc.full_as_xml" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)<\/Name>s:10ListableUI13AnyListLayoutP15targetIndexPath26forInteractivelyMovingItem12withPosition10Foundation0gH0VSgAI_So7CGPointVtF<\/USR>func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath, withPosition position: CGPoint) -> IndexPath?<\/Declaration>Returns the target index path for an item being interactively moved.<\/Para><\/Abstract>previousIndexPath<\/Name>in<\/Direction>The current index path of the item being moved.<\/Para><\/Discussion><\/Parameter>position<\/Name>in<\/Direction>The current position of the item in the collection view’s coordinate space.<\/Para><\/Discussion><\/Parameter><\/Parameters>The target index path if the layout can determine it, or nil<\/codeVoice> to use default behavior.<\/Para><\/ResultDiscussion>Custom layouts can override this to provide layout-aware drop target determination. The default implementation returns nil<\/codeVoice>, which causes CollectionViewLayout<\/codeVoice> to fall back to UICollectionView’s default behavior.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 182, - "key.doc.name" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The current index path of the item being moved." - } - ], - "name" : "previousIndexPath" - }, - { - "discussion" : [ - { - "Para" : "The current position of the item in the collection view’s coordinate space." - } - ], - "name" : "position" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "The target index path if the layout can determine it, or `nil` to use default behavior." - } - ], - "key.doc.type" : "Function", - "key.doclength" : 634, - "key.docoffset" : 4739, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> targetIndexPath<\/decl.name>(forInteractivelyMovingItem<\/decl.var.parameter.argument_label> previousIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 145, - "key.line" : 182, - "key.modulename" : "ListableUI", - "key.name" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)", - "key.namelength" : 126, - "key.nameoffset" : 5382, - "key.offset" : 5377, - "key.parsed_declaration" : "func targetIndexPath(\n forInteractivelyMovingItem previousIndexPath: IndexPath,\n withPosition position: CGPoint\n) -> IndexPath?", - "key.parsed_scope.end" : 182, - "key.parsed_scope.start" : 182, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (IndexPath, CGPoint) -> IndexPath?", - "key.typeusr" : "$s26forInteractivelyMovingItem12withPosition10Foundation9IndexPathVSgAE_So7CGPointVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP15targetIndexPath26forInteractivelyMovingItem12withPosition10Foundation0gH0VSgAI_So7CGPointVtF" - } - ], - "key.typename" : "AnyListLayout.Type", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pmD", - "key.usr" : "s:10ListableUI13AnyListLayoutP" - }, - { - "key.annotated_decl" : "public protocol AnyListLayout : AnyObject<\/Declaration>", - "key.bodylength" : 558, - "key.bodyoffset" : 5552, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyListLayout<\/decl.name> : AnyObject<\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 584, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "AnyListLayout", - "key.namelength" : 13, - "key.nameoffset" : 5537, - "key.offset" : 5527, - "key.parsed_declaration" : "extension AnyListLayout", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 189, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func performLayout(with delegate: CollectionViewLayoutDelegate<\/Type>?, in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.bodylength" : 424, - "key.bodyoffset" : 5684, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> performLayout<\/decl.name>(with<\/decl.var.parameter.argument_label> delegate<\/decl.var.parameter.name>: CollectionViewLayoutDelegate<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 552, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "performLayout(with:in:)", - "key.namelength" : 120, - "key.nameoffset" : 5562, - "key.offset" : 5557, - "key.parsed_declaration" : "func performLayout(\n with delegate : CollectionViewLayoutDelegate?,\n in context : ListLayoutLayoutContext\n)", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 191, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let result: ListLayoutResult<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> result<\/decl.name>: ListLayoutResult<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 91, - "key.line" : 195, - "key.modulename" : "ListableUI", - "key.name" : "result", - "key.namelength" : 6, - "key.nameoffset" : 5697, - "key.offset" : 5693, - "key.parsed_declaration" : "let result = self.layout(\n delegate: delegate,\n in: context\n)", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 195, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutResult", - "key.typeusr" : "$s10ListableUI16ListLayoutResultVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE07performE04with2inyAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF6resultL_AA0dE6ResultVvp" - } - ], - "key.typename" : " (Self) -> ((any CollectionViewLayoutDelegate)?, ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s4with2iny10ListableUI28CollectionViewLayoutDelegate_pSg_AC04ListgG7ContextVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE07performE04with2inyAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - } - ], - "key.typename" : "AnyListLayout.Type", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pmD", - "key.usr" : "s:10ListableUI13AnyListLayoutP" - }, - { - "key.annotated_decl" : "public protocol ListLayout : AnyListLayout<\/Type><\/Declaration>", - "key.bodylength" : 5980, - "key.bodyoffset" : 6136, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayout<\/decl.name> : AnyListLayout<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 6003, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayout", - "key.namelength" : 10, - "key.nameoffset" : 6124, - "key.offset" : 6114, - "key.parsed_declaration" : "extension ListLayout", - "key.parsed_scope.end" : 388, - "key.parsed_scope.start" : 214, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func visibleContentFrame(in context: ListLayoutLayoutContext<\/Type>) -> CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6141 - } - ], - "key.bodylength" : 271, - "key.bodyoffset" : 6226, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> visibleContentFrame<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGRect<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 350, - "key.line" : 216, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentFrame(in:)", - "key.namelength" : 57, - "key.nameoffset" : 6153, - "key.offset" : 6148, - "key.parsed_declaration" : "public func visibleContentFrame(in context : ListLayoutLayoutContext) -> CGRect", - "key.parsed_scope.end" : 224, - "key.parsed_scope.start" : 216, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "visibleContentFrame(for:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> CGRect", - "key.typeusr" : "$s2inSo6CGRectV10ListableUI010ListLayoutF7ContextV_tcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE19visibleContentFrame2inSo6CGRectVAA0cdD7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func positionStickyListHeaderIfNeeded(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6504 - } - ], - "key.bodylength" : 1470, - "key.bodyoffset" : 6592, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> positionStickyListHeaderIfNeeded<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1552, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "positionStickyListHeaderIfNeeded(in:)", - "key.namelength" : 70, - "key.nameoffset" : 6516, - "key.offset" : 6511, - "key.parsed_declaration" : "public func positionStickyListHeaderIfNeeded(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 226, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "positionStickyListHeaderIfNeeded(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let visibleContentFrame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleContentFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentFrame", - "key.namelength" : 19, - "key.nameoffset" : 6671, - "key.offset" : 6667, - "key.parsed_declaration" : "let visibleContentFrame = self.visibleContentFrame(in: context)", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF19visibleContentFrameL_So6CGRectVvp" - }, - { - "key.annotated_decl" : "let bounds: ListContentBounds<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 232, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 6752, - "key.offset" : 6748, - "key.parsed_declaration" : "let bounds = self.resolvedBounds(in: context)", - "key.parsed_scope.end" : 232, - "key.parsed_scope.start" : 232, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF6boundsL_AA0C13ContentBoundsVvp" - }, - { - "key.annotated_decl" : "let topPadding: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> topPadding<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "topPadding", - "key.namelength" : 10, - "key.nameoffset" : 6815, - "key.offset" : 6811, - "key.parsed_declaration" : "let topPadding = direction.top(with: bounds.padding)", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 234, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF10topPaddingL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let header: ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> header<\/decl.name>: ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 32, - "key.line" : 236, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 6877, - "key.offset" : 6873, - "key.parsed_declaration" : "let header = self.content.header", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 236, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF6headerL_AA0cD7ContentC21SupplementaryItemInfoCvp" - }, - { - "key.annotated_decl" : "let headerOrigin: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> headerOrigin<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 68, - "key.line" : 238, - "key.modulename" : "ListableUI", - "key.name" : "headerOrigin", - "key.namelength" : 12, - "key.nameoffset" : 6919, - "key.offset" : 6915, - "key.parsed_declaration" : "let headerOrigin = self.direction.y(for: header.defaultFrame.origin)", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 238, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF12headerOriginL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let visibleContentOrigin: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleContentOrigin<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 76, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentOrigin", - "key.namelength" : 20, - "key.nameoffset" : 6996, - "key.offset" : 6992, - "key.parsed_declaration" : "let visibleContentOrigin = self.direction.y(for: visibleContentFrame.origin)", - "key.parsed_scope.end" : 239, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF20visibleContentOriginL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let shouldBeFixed: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `.fixed` position only works if:\n- There is no `containerHeader` or `refreshControl` (those behave \"inline\" so fixing it would overlap).\n- If there's no top padding (because this would adjust the fixed header position).\n", - "key.doc.column" : 13, - "key.doc.comment" : "The `.fixed` position only works if:\n- There is no `containerHeader` or `refreshControl` (those behave \"inline\" so fixing it would overlap).\n- If there's no top padding (because this would adjust the fixed header position).", - "key.doc.declaration" : "let shouldBeFixed: Bool", - "key.doc.discussion" : [ - { - "List-Bullet" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.doc.full_as_xml" : "shouldBeFixed<\/Name>s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF13shouldBeFixedL_Sbvp<\/USR>let shouldBeFixed: Bool<\/Declaration>The .fixed<\/codeVoice> position only works if:<\/Para><\/Abstract>There is no containerHeader<\/codeVoice> or refreshControl<\/codeVoice> (those behave “inline” so fixing it would overlap).<\/Para><\/Item>If there’s no top padding (because this would adjust the fixed header position).<\/Para><\/Item><\/List-Bullet><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 245, - "key.doc.name" : "shouldBeFixed", - "key.doc.type" : "Other", - "key.doclength" : 264, - "key.docoffset" : 7078, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> shouldBeFixed<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 183, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "shouldBeFixed", - "key.namelength" : 13, - "key.nameoffset" : 7354, - "key.offset" : 7350, - "key.parsed_declaration" : "let shouldBeFixed = listHeaderPosition == .fixed\n && !content.containerHeader.isPopulated\n && context.hasRefreshControl == false\n && topPadding == 0.0", - "key.parsed_scope.end" : 245, - "key.parsed_scope.start" : 245, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF13shouldBeFixedL_Sbvp" - } - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE014positionStickyC14HeaderIfNeeded2inyAA0cdD7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func positionStickySectionHeadersIfNeeded(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8073 - } - ], - "key.bodylength" : 2227, - "key.bodyoffset" : 8165, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> positionStickySectionHeadersIfNeeded<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2313, - "key.line" : 268, - "key.modulename" : "ListableUI", - "key.name" : "positionStickySectionHeadersIfNeeded(in:)", - "key.namelength" : 74, - "key.nameoffset" : 8085, - "key.offset" : 8080, - "key.parsed_declaration" : "public func positionStickySectionHeadersIfNeeded(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 268, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "positionStickySectionHeadersIfNeeded(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var visibleContentFrame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> visibleContentFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentFrame", - "key.namelength" : 19, - "key.nameoffset" : 8178, - "key.offset" : 8174, - "key.parsed_declaration" : "var visibleContentFrame = self.visibleContentFrame(in: context)", - "key.parsed_scope.end" : 270, - "key.parsed_scope.start" : 270, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE36positionStickySectionHeadersIfNeeded2inyAA0cdD7ContextV_tF19visibleContentFrameL_So6CGRectVvp" - } - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE36positionStickySectionHeadersIfNeeded2inyAA0cdD7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func setZIndexes()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10403 - } - ], - "key.bodylength" : 486, - "key.bodyoffset" : 10434, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setZIndexes<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 511, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "setZIndexes()", - "key.namelength" : 13, - "key.nameoffset" : 10415, - "key.offset" : 10410, - "key.parsed_declaration" : "public func setZIndexes()", - "key.parsed_scope.end" : 346, - "key.parsed_scope.start" : 328, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "setZIndexes()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE11setZIndexesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func adjust(layoutAttributesForReorderingItem attributes: inout ListContentLayoutAttributes<\/Type>, originalAttributes: ListContentLayoutAttributes<\/Type>, at indexPath: IndexPath<\/Type>, withTargetPosition position: CGPoint<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10931 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 11184, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> adjust<\/decl.name>(layoutAttributesForReorderingItem<\/decl.var.parameter.argument_label> attributes<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListContentLayoutAttributes<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, originalAttributes<\/decl.var.parameter.argument_label>: ListContentLayoutAttributes<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withTargetPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 303, - "key.line" : 348, - "key.modulename" : "ListableUI", - "key.name" : "adjust(layoutAttributesForReorderingItem:originalAttributes:at:withTargetPosition:)", - "key.namelength" : 239, - "key.nameoffset" : 10943, - "key.offset" : 10938, - "key.parsed_declaration" : "public func adjust(\n layoutAttributesForReorderingItem attributes : inout ListContentLayoutAttributes,\n originalAttributes : ListContentLayoutAttributes,\n at indexPath: IndexPath,\n withTargetPosition position: CGPoint\n)", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 348, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "adjust(layoutAttributesForReorderingItem: inout ListContentLayoutAttributes, originalAttributes: ListContentLayoutAttributes, at: IndexPath, withTargetPosition: CGPoint)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (inout ListContentLayoutAttributes, ListContentLayoutAttributes, IndexPath, CGPoint) -> ()", - "key.typeusr" : "$s33layoutAttributesForReorderingItem08originalB02at18withTargetPositiony10ListableUI017ListContentLayoutB0Vz_AG10Foundation9IndexPathVSo7CGPointVtcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE6adjust33layoutAttributesForReorderingItem08originalG02at18withTargetPositionyAA0c7ContentdG0Vz_AJ10Foundation9IndexPathVSo7CGPointVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath<\/Type>, withPosition position: CGPoint<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11247 - } - ], - "key.bodylength" : 169, - "key.bodyoffset" : 11401, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the target index path for an item being interactively moved.\n\nCustom layouts can override this to provide layout-aware drop target\ndetermination. The default implementation returns `nil`, which causes\n`CollectionViewLayout` to fall back to UICollectionView's default behavior.\n\n- Parameters:\n - previousIndexPath: The current index path of the item being moved.\n - position: The current position of the item in the collection view's coordinate space.\n- Returns: The target index path if the layout can determine it, or `nil` to use default behavior.", - "key.doc.column" : 10, - "key.doc.declaration" : "func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath, withPosition position: CGPoint) -> IndexPath?", - "key.doc.discussion" : [ - { - "Para" : "Custom layouts can override this to provide layout-aware drop target determination. The default implementation returns `nil`, which causes `CollectionViewLayout` to fall back to UICollectionView’s default behavior." - }, - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.doc.full_as_xml" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)<\/Name>s:10ListableUI13AnyListLayoutP15targetIndexPath26forInteractivelyMovingItem12withPosition10Foundation0gH0VSgAI_So7CGPointVtF<\/USR>func targetIndexPath(forInteractivelyMovingItem previousIndexPath: IndexPath, withPosition position: CGPoint) -> IndexPath?<\/Declaration>Returns the target index path for an item being interactively moved.<\/Para><\/Abstract>previousIndexPath<\/Name>in<\/Direction>The current index path of the item being moved.<\/Para><\/Discussion><\/Parameter>position<\/Name>in<\/Direction>The current position of the item in the collection view’s coordinate space.<\/Para><\/Discussion><\/Parameter><\/Parameters>The target index path if the layout can determine it, or nil<\/codeVoice> to use default behavior.<\/Para><\/ResultDiscussion>Custom layouts can override this to provide layout-aware drop target determination. The default implementation returns nil<\/codeVoice>, which causes CollectionViewLayout<\/codeVoice> to fall back to UICollectionView’s default behavior.<\/Para>This documentation comment was inherited from AnyListLayout<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 182, - "key.doc.name" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The current index path of the item being moved." - } - ], - "name" : "previousIndexPath" - }, - { - "discussion" : [ - { - "Para" : "The current position of the item in the collection view’s coordinate space." - } - ], - "name" : "position" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "The target index path if the layout can determine it, or `nil` to use default behavior." - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> targetIndexPath<\/decl.name>(forInteractivelyMovingItem<\/decl.var.parameter.argument_label> previousIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, withPosition<\/decl.var.parameter.argument_label> position<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 317, - "key.line" : 357, - "key.modulename" : "ListableUI", - "key.name" : "targetIndexPath(forInteractivelyMovingItem:withPosition:)", - "key.namelength" : 126, - "key.nameoffset" : 11259, - "key.offset" : 11254, - "key.parsed_declaration" : "public func targetIndexPath(\n forInteractivelyMovingItem previousIndexPath: IndexPath,\n withPosition position: CGPoint\n) -> IndexPath?", - "key.parsed_scope.end" : 364, - "key.parsed_scope.start" : 357, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "targetIndexPath(forInteractivelyMovingItem: IndexPath, withPosition: CGPoint) -> IndexPath?<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (IndexPath, CGPoint) -> IndexPath?", - "key.typeusr" : "$s26forInteractivelyMovingItem12withPosition10Foundation9IndexPathVSgAE_So7CGPointVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutP15targetIndexPath26forInteractivelyMovingItem12withPosition10Foundation0gH0VSgAI_So7CGPointVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func isHeaderSticky(list: Bool<\/Type>, section: Bool<\/Type>?, header: Bool<\/Type>?) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 11581 - } - ], - "key.bodylength" : 416, - "key.bodyoffset" : 11698, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>(list<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, section<\/decl.var.parameter.argument_label>: Bool<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: Bool<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 526, - "key.line" : 366, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky(list:section:header:)", - "key.namelength" : 87, - "key.nameoffset" : 11601, - "key.offset" : 11589, - "key.parsed_declaration" : "private static func isHeaderSticky(\n list: Bool,\n section: Bool?,\n header: Bool?\n) -> Bool", - "key.parsed_scope.end" : 387, - "key.parsed_scope.start" : 366, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let header: Bool<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "If the header itself specifies a stickiness; defer to that value.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> header<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 6, - "key.line" : 374, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.offset" : 11810, - "key.parsed_declaration" : "if let header", - "key.parsed_scope.end" : 374, - "key.parsed_scope.start" : 374, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14isHeaderSticky33_C6789DCBE3319916D53DA06A2430438DLL4list7section6headerS2b_SbSgAItFZAHL0_Sbvp" - }, - { - "key.annotated_decl" : "let section: Bool<\/Type><\/Declaration>", - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Otherwise, use the value from the section's layout value.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 7, - "key.line" : 380, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.offset" : 11967, - "key.parsed_declaration" : "if let section", - "key.parsed_scope.end" : 380, - "key.parsed_scope.start" : 380, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14isHeaderSticky33_C6789DCBE3319916D53DA06A2430438DLL4list7section6headerS2b_SbSgAItFZAGL0_Sbvp" - } - ], - "key.typename" : " (Self.Type) -> (Bool, Bool?, Bool?) -> Bool", - "key.typeusr" : "$s4list7section6headerS2b_SbSgADtcD", - "key.usr" : "s:10ListableUI10ListLayoutPAAE14isHeaderSticky33_C6789DCBE3319916D53DA06A2430438DLL4list7section6headerS2b_SbSgAItFZ" - } - ], - "key.typename" : "ListLayout.Type", - "key.typeusr" : "$s10ListableUI10ListLayout_pmD", - "key.usr" : "s:10ListableUI10ListLayoutP" - }, - { - "key.annotated_decl" : "public protocol AnyListLayout : AnyObject<\/Declaration>", - "key.bodylength" : 3640, - "key.bodyoffset" : 12144, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Finally, defer to the list's value.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyListLayout<\/decl.name> : AnyObject<\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3666, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "AnyListLayout", - "key.namelength" : 13, - "key.nameoffset" : 12129, - "key.offset" : 12119, - "key.parsed_declaration" : "extension AnyListLayout", - "key.parsed_scope.end" : 478, - "key.parsed_scope.start" : 390, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func visibleContentFrame(for collectionView: UICollectionView<\/Type>) -> CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12149 - } - ], - "key.bodylength" : 305, - "key.bodyoffset" : 12235, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> visibleContentFrame<\/decl.name>(for<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGRect<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 385, - "key.line" : 392, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentFrame(for:)", - "key.namelength" : 58, - "key.nameoffset" : 12161, - "key.offset" : 12156, - "key.parsed_declaration" : "public func visibleContentFrame(for collectionView : UICollectionView) -> CGRect", - "key.parsed_scope.end" : 400, - "key.parsed_scope.start" : 392, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (UICollectionView) -> CGRect", - "key.typeusr" : "$s3forSo6CGRectVSo16UICollectionViewC_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE19visibleContentFrame3forSo6CGRectVSo16UICollectionViewC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func updateOverscrollFooterPosition(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12551 - } - ], - "key.bodylength" : 1263, - "key.bodyoffset" : 12637, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateOverscrollFooterPosition<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1343, - "key.line" : 402, - "key.modulename" : "ListableUI", - "key.name" : "updateOverscrollFooterPosition(in:)", - "key.namelength" : 68, - "key.nameoffset" : 12563, - "key.offset" : 12558, - "key.parsed_declaration" : "public func updateOverscrollFooterPosition(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 426, - "key.parsed_scope.start" : 402, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "updateOverscrollFooterPosition(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let footer: ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "TODO: This method should be using `adjustedContentInset`,\nnot the safe area and content inset directly.", - "key.doc.column" : 13, - "key.doc.comment" : "TODO: This method should be using `adjustedContentInset`,\nnot the safe area and content inset directly.", - "key.doc.declaration" : "let footer: ListableUI.ListLayoutContent.SupplementaryItemInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.doc.full_as_xml" : "footer<\/Name>s:10ListableUI13AnyListLayoutPAAE30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF6footerL_AA0dE7ContentC21SupplementaryItemInfoCvp<\/USR>let footer: ListableUI.ListLayoutContent.SupplementaryItemInfo<\/Declaration>TODO: This method should be using adjustedContentInset<\/codeVoice>, not the safe area and content inset directly.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 407, - "key.doc.name" : "footer", - "key.doc.type" : "Other", - "key.doclength" : 120, - "key.docoffset" : 12646, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> footer<\/decl.name>: ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 407, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 12787, - "key.offset" : 12783, - "key.parsed_declaration" : "let footer = self.content.overscrollFooter", - "key.parsed_scope.end" : 407, - "key.parsed_scope.start" : 407, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF6footerL_AA0dE7ContentC21SupplementaryItemInfoCvp" - }, - { - "key.annotated_decl" : "let contentHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 72, - "key.line" : 409, - "key.modulename" : "ListableUI", - "key.name" : "contentHeight", - "key.namelength" : 13, - "key.nameoffset" : 12855, - "key.offset" : 12851, - "key.parsed_declaration" : "let contentHeight = self.direction.height(for: self.content.contentSize)", - "key.parsed_scope.end" : 409, - "key.parsed_scope.start" : 409, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF13contentHeightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let viewHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 108, - "key.line" : 410, - "key.modulename" : "ListableUI", - "key.name" : "viewHeight", - "key.namelength" : 10, - "key.nameoffset" : 12936, - "key.offset" : 12932, - "key.parsed_declaration" : "let viewHeight = self.direction.height(for: context.viewBounds.inset(by: context.adjustedContentInset).size)", - "key.parsed_scope.end" : 410, - "key.parsed_scope.start" : 410, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF10viewHeightL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE30updateOverscrollFooterPosition2inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func adjustPositionsForLayoutUnderflow(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13911 - } - ], - "key.bodylength" : 1782, - "key.bodyoffset" : 14000, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> adjustPositionsForLayoutUnderflow<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1865, - "key.line" : 428, - "key.modulename" : "ListableUI", - "key.name" : "adjustPositionsForLayoutUnderflow(in:)", - "key.namelength" : 71, - "key.nameoffset" : 13923, - "key.offset" : 13918, - "key.parsed_declaration" : "public func adjustPositionsForLayoutUnderflow(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 477, - "key.parsed_scope.start" : 428, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "adjustPositionsForLayoutUnderflow(in: ListLayoutLayoutContext)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let safeAreaInsets: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 228, - "key.line" : 432, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 14124, - "key.offset" : 14120, - "key.parsed_declaration" : "let safeAreaInsets : CGFloat = self.direction.switch(\n vertical: context.safeAreaInsets.top + context.safeAreaInsets.bottom,\n horizontal: context.safeAreaInsets.left + context.safeAreaInsets.right\n)", - "key.parsed_scope.end" : 432, - "key.parsed_scope.start" : 432, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF14safeAreaInsetsL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let contentHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 72, - "key.line" : 437, - "key.modulename" : "ListableUI", - "key.name" : "contentHeight", - "key.namelength" : 13, - "key.nameoffset" : 14362, - "key.offset" : 14358, - "key.parsed_declaration" : "let contentHeight = self.direction.height(for: self.content.contentSize)", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 437, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF13contentHeightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let viewHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 68, - "key.line" : 438, - "key.modulename" : "ListableUI", - "key.name" : "viewHeight", - "key.namelength" : 10, - "key.nameoffset" : 14443, - "key.offset" : 14439, - "key.parsed_declaration" : "let viewHeight = self.direction.height(for: context.viewBounds.size)", - "key.parsed_scope.end" : 438, - "key.parsed_scope.start" : 438, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF10viewHeightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let additionalOffset: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> additionalOffset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 171, - "key.line" : 440, - "key.modulename" : "ListableUI", - "key.name" : "additionalOffset", - "key.namelength" : 16, - "key.nameoffset" : 14529, - "key.offset" : 14525, - "key.parsed_declaration" : "let additionalOffset = self.behavior.underflow.alignment.offsetFor(\n contentHeight: contentHeight,\n viewHeight: viewHeight - safeAreaInsets\n)", - "key.parsed_scope.end" : 440, - "key.parsed_scope.start" : 440, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF16additionalOffsetL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : " (Self) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE018adjustPositionsForE9Underflow2inyAA0deE7ContextV_tF" - } - ], - "key.typename" : "AnyListLayout.Type", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pmD", - "key.usr" : "s:10ListableUI13AnyListLayoutP" - }, - { - "key.annotated_decl" : "public protocol AnyListLayout : AnyObject<\/Declaration>", - "key.bodylength" : 5716, - "key.bodyoffset" : 15813, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyListLayout<\/decl.name> : AnyObject<\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 5742, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "AnyListLayout", - "key.namelength" : 13, - "key.nameoffset" : 15798, - "key.offset" : 15788, - "key.parsed_declaration" : "extension AnyListLayout", - "key.parsed_scope.end" : 622, - "key.parsed_scope.start" : 481, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func onDidEndDraggingTargetContentOffset(for targetContentOffset: CGPoint<\/Type>, velocity: CGPoint<\/Type>, visibleContentFrame: CGRect<\/Type>) -> CGPoint<\/Type>?<\/Declaration>", - "key.bodylength" : 1120, - "key.bodyoffset" : 15990, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> onDidEndDraggingTargetContentOffset<\/decl.name>(for<\/decl.var.parameter.argument_label> targetContentOffset<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, velocity<\/decl.var.parameter.argument_label>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, visibleContentFrame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGPoint<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1293, - "key.line" : 483, - "key.modulename" : "ListableUI", - "key.name" : "onDidEndDraggingTargetContentOffset(for:velocity:visibleContentFrame:)", - "key.namelength" : 149, - "key.nameoffset" : 15823, - "key.offset" : 15818, - "key.parsed_declaration" : "func onDidEndDraggingTargetContentOffset(\n for targetContentOffset : CGPoint,\n velocity : CGPoint,\n visibleContentFrame: CGRect\n) -> CGPoint?", - "key.parsed_scope.end" : 518, - "key.parsed_scope.start" : 483, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let visibleContentSize: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleContentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 49, - "key.line" : 499, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentSize", - "key.namelength" : 18, - "key.nameoffset" : 16313, - "key.offset" : 16309, - "key.parsed_declaration" : "let visibleContentSize = visibleContentFrame.size", - "key.parsed_scope.end" : 499, - "key.parsed_scope.start" : 499, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE35onDidEndDraggingTargetContentOffset3for8velocity07visibleK5FrameSo7CGPointVSgAI_AISo6CGRectVtF0oK4SizeL_So6CGSizeVvp" - }, - { - "key.annotated_decl" : "let padding: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> padding<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 43, - "key.line" : 500, - "key.modulename" : "ListableUI", - "key.name" : "padding", - "key.namelength" : 7, - "key.nameoffset" : 16371, - "key.offset" : 16367, - "key.parsed_declaration" : "let padding = self.bounds?.padding ?? .zero", - "key.parsed_scope.end" : 500, - "key.parsed_scope.start" : 500, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE35onDidEndDraggingTargetContentOffset3for8velocity07visibleK5FrameSo7CGPointVSgAI_AISo6CGRectVtF7paddingL_So12UIEdgeInsetsVvp" - } - ], - "key.typename" : " (Self) -> (CGPoint, CGPoint, CGRect) -> CGPoint?", - "key.typeusr" : "$s3for8velocity19visibleContentFrameSo7CGPointVSgAE_AESo6CGRectVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE35onDidEndDraggingTargetContentOffset3for8velocity07visibleK5FrameSo7CGPointVSgAI_AISo6CGRectVtF" - }, - { - "key.annotated_decl" : "func itemToScrollToOnDidEndDragging(after contentOffset: CGPoint<\/Type>, velocity: CGPoint<\/Type>, visibleContentFrame: CGRect<\/Type>) -> ListLayoutContent<\/Type>.ContentItem<\/Type>?<\/Declaration>", - "key.bodylength" : 3338, - "key.bodyoffset" : 17306, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> itemToScrollToOnDidEndDragging<\/decl.name>(after<\/decl.var.parameter.argument_label> contentOffset<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, velocity<\/decl.var.parameter.argument_label>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, visibleContentFrame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class>.ContentItem<\/ref.enum>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3524, - "key.line" : 520, - "key.modulename" : "ListableUI", - "key.name" : "itemToScrollToOnDidEndDragging(after:velocity:visibleContentFrame:)", - "key.namelength" : 140, - "key.nameoffset" : 17126, - "key.offset" : 17121, - "key.parsed_declaration" : "func itemToScrollToOnDidEndDragging(\n after contentOffset : CGPoint,\n velocity : CGPoint,\n visibleContentFrame: CGRect\n) -> ListLayoutContent.ContentItem?", - "key.parsed_scope.end" : 601, - "key.parsed_scope.start" : 520, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let rect: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> rect<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 16, - "key.line" : 526, - "key.modulename" : "ListableUI", - "key.name" : "rect", - "key.namelength" : 4, - "key.nameoffset" : 17319, - "key.offset" : 17315, - "key.parsed_declaration" : "let rect: CGRect", - "key.parsed_scope.end" : 526, - "key.parsed_scope.start" : 526, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE012itemToScrollG16OnDidEndDragging5after8velocity19visibleContentFrameAA0deP0C0P4ItemOSgSo7CGPointV_ANSo6CGRectVtF4rectL_APvp" - }, - { - "key.annotated_decl" : "let scrollDirection: ScrollVelocityDirection<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "When peeking, the visible items are the only items considered for the page offest.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> scrollDirection<\/decl.name>: ScrollVelocityDirection<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 537, - "key.modulename" : "ListableUI", - "key.name" : "scrollDirection", - "key.namelength" : 15, - "key.nameoffset" : 17740, - "key.offset" : 17736, - "key.parsed_declaration" : "let scrollDirection = ScrollVelocityDirection(direction.y(for: velocity))", - "key.parsed_scope.end" : 537, - "key.parsed_scope.start" : 537, - "key.reusingastcontext" : false, - "key.typename" : "ScrollVelocityDirection", - "key.typeusr" : "$s10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE012itemToScrollG16OnDidEndDragging5after8velocity19visibleContentFrameAA0deP0C0P4ItemOSgSo7CGPointV_ANSo6CGRectVtF15scrollDirectionL_AA0h8VelocityV033_C6789DCBE3319916D53DA06A2430438DLLOvp" - }, - { - "key.annotated_decl" : "let items: [ListLayoutContent<\/Type>.ContentItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> items<\/decl.name>: [ListLayoutContent<\/ref.class>.ContentItem<\/ref.enum>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 147, - "key.line" : 539, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 17831, - "key.offset" : 17827, - "key.parsed_declaration" : "let items = self.content.content(\n in: rect,\n alwaysIncludeOverscroll: false,\n includeUnpopulated: false\n)", - "key.parsed_scope.end" : 539, - "key.parsed_scope.start" : 539, - "key.reusingastcontext" : false, - "key.typename" : "[ListLayoutContent.ContentItem]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC0E4ItemOGD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE012itemToScrollG16OnDidEndDragging5after8velocity19visibleContentFrameAA0deP0C0P4ItemOSgSo7CGPointV_ANSo6CGRectVtF5itemsL_SayAKGvp" - } - ], - "key.typename" : " (Self) -> (CGPoint, CGPoint, CGRect) -> ListLayoutContent.ContentItem?", - "key.typeusr" : "$s5after8velocity19visibleContentFrame10ListableUI010ListLayoutD0C0D4ItemOSgSo7CGPointV_AKSo6CGRectVtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE012itemToScrollG16OnDidEndDragging5after8velocity19visibleContentFrameAA0deP0C0P4ItemOSgSo7CGPointV_ANSo6CGRectVtF" - }, - { - "key.annotated_decl" : "func rectForFindingItemToScrollToOnDidEndDragging(after contentOffset: CGPoint<\/Type>, velocity: CGPoint<\/Type>) -> CGRect<\/Type><\/Declaration>", - "key.bodylength" : 738, - "key.bodyoffset" : 20789, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Using the sorted items, return the first has has a min edge outside the offset.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> rectForFindingItemToScrollToOnDidEndDragging<\/decl.name>(after<\/decl.var.parameter.argument_label> contentOffset<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, velocity<\/decl.var.parameter.argument_label>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGRect<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 873, - "key.line" : 603, - "key.modulename" : "ListableUI", - "key.name" : "rectForFindingItemToScrollToOnDidEndDragging(after:velocity:)", - "key.namelength" : 117, - "key.nameoffset" : 20660, - "key.offset" : 20655, - "key.parsed_declaration" : "func rectForFindingItemToScrollToOnDidEndDragging(\n after contentOffset : CGPoint,\n velocity : CGPoint\n) -> CGRect", - "key.parsed_scope.end" : 621, - "key.parsed_scope.start" : 603, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let height: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The height used here doesn't really matter; it just needs to be\ntall enough to make sure we end up with at least one overlapping item,\nand thus we'll assume most layouts have at least one item in 1,000pts.", - "key.doc.column" : 13, - "key.doc.comment" : "The height used here doesn't really matter; it just needs to be\ntall enough to make sure we end up with at least one overlapping item,\nand thus we'll assume most layouts have at least one item in 1,000pts.", - "key.doc.declaration" : "let height: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.doc.full_as_xml" : "height<\/Name>s:10ListableUI13AnyListLayoutPAAE026rectForFindingItemToScrollJ16OnDidEndDragging5after8velocitySo6CGRectVSo7CGPointV_AJtF6heightL_14CoreFoundation7CGFloatVvp<\/USR>let height: CGFloat<\/Declaration>The height used here doesn’t really matter; it just needs to be tall enough to make sure we end up with at least one overlapping item, and thus we’ll assume most layouts have at least one item in 1,000pts.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 612, - "key.doc.name" : "height", - "key.doc.type" : "Other", - "key.doclength" : 234, - "key.docoffset" : 20807, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> height<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 28, - "key.line" : 612, - "key.modulename" : "ListableUI", - "key.name" : "height", - "key.namelength" : 6, - "key.nameoffset" : 21062, - "key.offset" : 21058, - "key.parsed_declaration" : "let height : CGFloat = 1_000", - "key.parsed_scope.end" : 612, - "key.parsed_scope.start" : 612, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE026rectForFindingItemToScrollJ16OnDidEndDragging5after8velocitySo6CGRectVSo7CGPointV_AJtF6heightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let scrollDirection: ScrollVelocityDirection<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> scrollDirection<\/decl.name>: ScrollVelocityDirection<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 613, - "key.modulename" : "ListableUI", - "key.name" : "scrollDirection", - "key.namelength" : 15, - "key.nameoffset" : 21099, - "key.offset" : 21095, - "key.parsed_declaration" : "let scrollDirection = ScrollVelocityDirection(direction.y(for: velocity))", - "key.parsed_scope.end" : 613, - "key.parsed_scope.start" : 613, - "key.reusingastcontext" : false, - "key.typename" : "ScrollVelocityDirection", - "key.typeusr" : "$s10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE026rectForFindingItemToScrollJ16OnDidEndDragging5after8velocitySo6CGRectVSo7CGPointV_AJtF15scrollDirectionL_AA0k8VelocityU033_C6789DCBE3319916D53DA06A2430438DLLOvp" - }, - { - "key.annotated_decl" : "let offset: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> offset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 614, - "key.modulename" : "ListableUI", - "key.name" : "offset", - "key.namelength" : 6, - "key.nameoffset" : 21181, - "key.offset" : 21177, - "key.parsed_declaration" : "let offset : CGFloat = scrollDirection == .backward ? 1_000 : 0", - "key.parsed_scope.end" : 614, - "key.parsed_scope.start" : 614, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE026rectForFindingItemToScrollJ16OnDidEndDragging5after8velocitySo6CGRectVSo7CGPointV_AJtF6offsetL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : " (Self) -> (CGPoint, CGPoint) -> CGRect", - "key.typeusr" : "$s5after8velocitySo6CGRectVSo7CGPointV_AFtcD", - "key.usr" : "s:10ListableUI13AnyListLayoutPAAE026rectForFindingItemToScrollJ16OnDidEndDragging5after8velocitySo6CGRectVSo7CGPointV_AJtF" - } - ], - "key.typename" : "AnyListLayout.Type", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pmD", - "key.usr" : "s:10ListableUI13AnyListLayoutP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate enum ScrollVelocityDirection<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 21533 - } - ], - "key.bodylength" : 191, - "key.bodyoffset" : 21575, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ScrollVelocityDirection<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 222, - "key.line" : 625, - "key.modulename" : "ListableUI", - "key.name" : "ScrollVelocityDirection", - "key.namelength" : 23, - "key.nameoffset" : 21550, - "key.offset" : 21545, - "key.parsed_declaration" : "fileprivate enum ScrollVelocityDirection", - "key.parsed_scope.end" : 636, - "key.parsed_scope.start" : 625, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 21580, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case forward<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> forward<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 626, - "key.modulename" : "ListableUI", - "key.name" : "forward", - "key.namelength" : 7, - "key.nameoffset" : 21585, - "key.offset" : 21585, - "key.parsed_declaration" : "case forward", - "key.parsed_scope.end" : 626, - "key.parsed_scope.start" : 626, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollVelocityDirection.Type) -> ScrollVelocityDirection", - "key.typeusr" : "$sy10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOADmcD", - "key.usr" : "s:10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLO7forwardyA2DmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 21597, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case backward<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> backward<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 627, - "key.modulename" : "ListableUI", - "key.name" : "backward", - "key.namelength" : 8, - "key.nameoffset" : 21602, - "key.offset" : 21602, - "key.parsed_declaration" : "case backward", - "key.parsed_scope.end" : 627, - "key.parsed_scope.start" : 627, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollVelocityDirection.Type) -> ScrollVelocityDirection", - "key.typeusr" : "$sy10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOADmcD", - "key.usr" : "s:10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLO8backwardyA2DmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(_ velocity: CGFloat<\/Type>)<\/Declaration>", - "key.bodylength" : 116, - "key.bodyoffset" : 21648, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> velocity<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 145, - "key.line" : 629, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 26, - "key.nameoffset" : 21620, - "key.offset" : 21620, - "key.parsed_declaration" : "init(_ velocity : CGFloat)", - "key.parsed_scope.end" : 635, - "key.parsed_scope.start" : 629, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ScrollVelocityDirection.Type) -> (CGFloat) -> ScrollVelocityDirection", - "key.typeusr" : "$sy10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLO14CoreFoundation7CGFloatVcD", - "key.usr" : "s:10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOyAD14CoreFoundation7CGFloatVcfc" - } - ], - "key.typename" : "ScrollVelocityDirection.Type", - "key.typeusr" : "$s10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLOmD", - "key.usr" : "s:10ListableUI23ScrollVelocityDirection33_C6789DCBE3319916D53DA06A2430438DLLO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2161, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListLayoutAppearance : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 118 - } - ], - "key.bodylength" : 499, - "key.bodyoffset" : 168, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 157 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayoutAppearance<\/decl.name> : Equatable<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 543, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutAppearance", - "key.namelength" : 20, - "key.nameoffset" : 134, - "key.offset" : 125, - "key.parsed_declaration" : "public protocol ListLayoutAppearance : Equatable", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var `default`: Self<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 202, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: Self<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 35, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 184, - "key.offset" : 173, - "key.parsed_declaration" : "static var `default` : Self", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "`default`(_: (inout Self) -> ()) -> Self<\/RelatedName>" - }, - { - "key.annotated_decl" : "`default`(_: (inout Self) -> ()) -> Self<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP7defaultxvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func `default`(_ modifying: (inout Self<\/Type>) -> ()) -> Self<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `default`<\/decl.name>(_<\/decl.var.parameter.argument_label> modifying<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Self<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 63, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "default(_:)", - "key.namelength" : 43, - "key.nameoffset" : 230, - "key.offset" : 218, - "key.parsed_declaration" : "static func `default`(_ modifying : (inout Self) -> ()) -> Self", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "default<\/RelatedName>" - }, - { - "key.annotated_decl" : "`default`(_: (inout Self) -> ()) -> Self<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self.Type) -> ((inout Self) -> ()) -> Self", - "key.typeusr" : "$syxyxzXEcD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP7defaultyxyxzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var direction: LayoutDirection<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 324, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 295, - "key.offset" : 291, - "key.parsed_declaration" : "var direction : LayoutDirection", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP9directionAA0D9DirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var bounds: ListContentBounds<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 373, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 344, - "key.offset" : 340, - "key.parsed_declaration" : "var bounds : ListContentBounds?", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP6boundsAA0C13ContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var listHeaderPosition: ListHeaderPosition<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 430, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 389, - "key.offset" : 385, - "key.parsed_declaration" : "var listHeaderPosition : ListHeaderPosition", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP18listHeaderPositionAA0cgH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var stickySectionHeaders: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 475, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 446, - "key.offset" : 442, - "key.parsed_declaration" : "var stickySectionHeaders : Bool", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var pagingBehavior: ListPagingBehavior<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 528, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 491, - "key.offset" : 487, - "key.parsed_declaration" : "var pagingBehavior : ListPagingBehavior", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP14pagingBehaviorAA0c6PagingG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 603, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 548, - "key.offset" : 544, - "key.parsed_declaration" : "var scrollViewProperties : ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20scrollViewPropertiesAA0cd6ScrollgH0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func toLayoutDescription() -> LayoutDescription<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toLayoutDescription<\/decl.name>() -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 47, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "toLayoutDescription()", - "key.namelength" : 21, - "key.nameoffset" : 624, - "key.offset" : 619, - "key.parsed_declaration" : "func toLayoutDescription() -> LayoutDescription", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVycD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP02toD11DescriptionAA0dG0VyF" - } - ], - "key.typename" : "ListLayoutAppearance.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAppearance_pmD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - }, - { - "key.annotated_decl" : "public protocol ListLayoutAppearance : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 184, - "key.bodyoffset" : 703, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayoutAppearance<\/decl.name> : Equatable<\/ref.protocol><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 217, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutAppearance", - "key.namelength" : 20, - "key.nameoffset" : 681, - "key.offset" : 671, - "key.parsed_declaration" : "extension ListLayoutAppearance", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func `default`(_ modifying: (inout Self<\/Type>) -> ()) -> Self<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 713 - } - ], - "key.bodylength" : 100, - "key.bodyoffset" : 785, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `default`<\/decl.name>(_<\/decl.var.parameter.argument_label> modifying<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Self<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Self<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 166, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "default(_:)", - "key.namelength" : 43, - "key.nameoffset" : 732, - "key.offset" : 720, - "key.parsed_declaration" : "public static func `default`(_ modifying : (inout Self) -> ()) -> Self", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 35, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "default<\/RelatedName>" - }, - { - "key.annotated_decl" : "`default`(_: (inout Self) -> ()) -> Self<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var appearance: Self<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> appearance<\/decl.name>: Self<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 29, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 798, - "key.offset" : 794, - "key.parsed_declaration" : "var appearance = Self.default", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.typename" : "Self", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI20ListLayoutAppearancePAAE7defaultyxyxzXEFZ10appearanceL_xvp" - } - ], - "key.typename" : " (Self.Type) -> ((inout Self) -> ()) -> Self", - "key.typeusr" : "$syxyxzXEcD", - "key.usr" : "s:10ListableUI20ListLayoutAppearancePAAE7defaultyxyxzXEFZ" - } - ], - "key.typename" : "ListLayoutAppearance.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAppearance_pmD", - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutAppearanceProperties : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1000 - } - ], - "key.bodylength" : 1101, - "key.bodyoffset" : 1058, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents the properties from a `ListLayoutAppearance`, which\nare applicable to any kind of layout.", - "key.doc.column" : 15, - "key.doc.comment" : "Represents the properties from a `ListLayoutAppearance`, which\nare applicable to any kind of layout.", - "key.doc.declaration" : "public struct ListLayoutAppearanceProperties : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.doc.full_as_xml" : "ListLayoutAppearanceProperties<\/Name>s:10ListableUI30ListLayoutAppearancePropertiesV<\/USR>public struct ListLayoutAppearanceProperties : Equatable<\/Declaration>Represents the properties from a ListLayoutAppearance<\/codeVoice>, which are applicable to any kind of layout.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 45, - "key.doc.name" : "ListLayoutAppearanceProperties", - "key.doc.type" : "Class", - "key.doclength" : 109, - "key.docoffset" : 891, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1047 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutAppearanceProperties<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1153, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutAppearanceProperties", - "key.namelength" : 30, - "key.nameoffset" : 1014, - "key.offset" : 1007, - "key.parsed_declaration" : "public struct ListLayoutAppearanceProperties : Equatable", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1072 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 1083, - "key.offset" : 1079, - "key.parsed_declaration" : "public let direction : LayoutDirection", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV9directionAA0D9DirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let bounds: ListContentBounds<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1115 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 1126, - "key.offset" : 1122, - "key.parsed_declaration" : "public let bounds : ListContentBounds?", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV6boundsAA0C13ContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let stickySectionHeaders: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1158 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 1169, - "key.offset" : 1165, - "key.parsed_declaration" : "public let stickySectionHeaders : Bool", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let pagingBehavior: ListPagingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1201 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 1212, - "key.offset" : 1208, - "key.parsed_declaration" : "public let pagingBehavior : ListPagingBehavior", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV14pagingBehaviorAA0c6PagingH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let scrollViewProperties: ListLayoutScrollViewProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1252 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 57, - "key.line" : 51, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 1263, - "key.offset" : 1259, - "key.parsed_declaration" : "public let scrollViewProperties : ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 51, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV010scrollViewF0AA0cd6ScrollhF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(direction: LayoutDirection<\/Type>, bounds: ListContentBounds<\/Type>?, stickySectionHeaders: Bool<\/Type>, pagingBehavior: ListPagingBehavior<\/Type>, scrollViewProperties: ListLayoutScrollViewProperties<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1326 - } - ], - "key.bodylength" : 228, - "key.bodyoffset" : 1562, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, bounds<\/decl.var.parameter.argument_label>: ListContentBounds<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, stickySectionHeaders<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, pagingBehavior<\/decl.var.parameter.argument_label>: ListPagingBehavior<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, scrollViewProperties<\/decl.var.parameter.argument_label>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 458, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "init(direction:bounds:stickySectionHeaders:pagingBehavior:scrollViewProperties:)", - "key.namelength" : 227, - "key.nameoffset" : 1333, - "key.offset" : 1333, - "key.parsed_declaration" : "public init(\n direction: LayoutDirection,\n bounds : ListContentBounds?,\n stickySectionHeaders: Bool,\n pagingBehavior : ListPagingBehavior,\n scrollViewProperties : ListLayoutScrollViewProperties\n)", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 53, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutAppearanceProperties.Type) -> (LayoutDirection, ListContentBounds?, Bool, ListPagingBehavior, ListLayoutScrollViewProperties) -> ListLayoutAppearanceProperties", - "key.typeusr" : "$s9direction6bounds20stickySectionHeaders14pagingBehavior20scrollViewProperties10ListableUI020ListLayoutAppearanceJ0VAF0N9DirectionO_AF0M13ContentBoundsVSgSbAF0m6PagingG0OAF0mn6ScrolliJ0VtcD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV9direction6bounds20stickySectionHeaders14pagingBehavior010scrollViewF0AcA0D9DirectionO_AA0C13ContentBoundsVSgSbAA0c6PagingM0OAA0cd6ScrolloF0Vtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<Appearance>(_ appearance: Appearance<\/Type>) where Appearance<\/Type> : ListLayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1801 - } - ], - "key.bodylength" : 283, - "key.bodyoffset" : 1874, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><Appearance<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> appearance<\/decl.var.parameter.name>: Appearance<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Appearance<\/ref.generic_type_param> : ListLayoutAppearance<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 350, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 64, - "key.nameoffset" : 1808, - "key.offset" : 1808, - "key.parsed_declaration" : "public init(_ appearance : Appearance)", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 67, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(direction:bounds:stickySectionHeaders:pagingBehavior:scrollViewProperties:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Appearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 1824 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAppearance.swift", - "key.fully_annotated_decl" : "Appearance<\/decl.generic_type_param.name> : ListLayoutAppearance<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutAppearance" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 31, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "Appearance", - "key.namelength" : 10, - "key.nameoffset" : 1813, - "key.offset" : 1813, - "key.parsed_declaration" : "public initAppearance<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Appearance.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesVyACxcAA0cdE0Rzlufc0E0L_xmfp" - } - ], - "key.typename" : " (ListLayoutAppearanceProperties.Type) -> (Appearance) -> ListLayoutAppearanceProperties", - "key.typeusr" : "$sy10ListableUI30ListLayoutAppearancePropertiesVxcAA0cdE0RzluD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesVyACxcAA0cdE0Rzlufc" - } - ], - "key.typename" : "ListLayoutAppearanceProperties.Type", - "key.typeusr" : "$s10ListableUI30ListLayoutAppearancePropertiesVmD", - "key.usr" : "s:10ListableUI30ListLayoutAppearancePropertiesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 948, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListLayoutAttributes : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 605, - "key.bodyoffset" : 171, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 160 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListLayoutAttributes<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 647, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutAttributes", - "key.namelength" : 20, - "key.nameoffset" : 137, - "key.offset" : 130, - "key.parsed_declaration" : "struct ListLayoutAttributes : Equatable", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var contentSize: CGSize<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 185, - "key.offset" : 181, - "key.parsed_declaration" : "var contentSize : CGSize", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV11contentSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var naturalContentWidth: CGFloat<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> naturalContentWidth<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "naturalContentWidth", - "key.namelength" : 19, - "key.nameoffset" : 214, - "key.offset" : 210, - "key.parsed_declaration" : "var naturalContentWidth : CGFloat?", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV19naturalContentWidth14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var containerHeader: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> containerHeader<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "containerHeader", - "key.namelength" : 15, - "key.nameoffset" : 258, - "key.offset" : 254, - "key.parsed_declaration" : "var containerHeader : Supplementary?", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV15containerHeaderAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var header: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> header<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 299, - "key.offset" : 295, - "key.parsed_declaration" : "var header : Supplementary?", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV6headerAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var footer: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> footer<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 331, - "key.offset" : 327, - "key.parsed_declaration" : "var footer : Supplementary?", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV6footerAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var overscrollFooter: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> overscrollFooter<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 363, - "key.offset" : 359, - "key.parsed_declaration" : "var overscrollFooter : Supplementary?", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV16overscrollFooterAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var sections: [Section<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> sections<\/decl.name>: [Section<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 410, - "key.offset" : 406, - "key.parsed_declaration" : "var sections : [Section]", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ListLayoutAttributes.Section]", - "key.typeusr" : "$sSay10ListableUI20ListLayoutAttributesV7SectionVGD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV8sectionsSayAC7SectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutAttributes<\/Type>.Section : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 440 - } - ], - "key.bodylength" : 140, - "key.bodyoffset" : 475, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 464 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutAttributes<\/ref.struct>.Section<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 169, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "Section", - "key.namelength" : 7, - "key.nameoffset" : 454, - "key.offset" : 447, - "key.parsed_declaration" : "public struct Section : Equatable", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var frame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 488, - "key.offset" : 484, - "key.parsed_declaration" : "var frame : CGRect", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV7SectionV5frameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var header: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> header<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 524, - "key.offset" : 520, - "key.parsed_declaration" : "var header : Supplementary?", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV7SectionV6headerAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var footer: Supplementary<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> footer<\/decl.name>: Supplementary<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 560, - "key.offset" : 556, - "key.parsed_declaration" : "var footer : Supplementary?", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListLayoutAttributes.Supplementary?", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVSgD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV7SectionV6footerAC13SupplementaryVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var items: [Item<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: [Item<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 596, - "key.offset" : 592, - "key.parsed_declaration" : "var items : [Item]", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ListLayoutAttributes.Item]", - "key.typeusr" : "$sSay10ListableUI20ListLayoutAttributesV4ItemVGD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV7SectionV5itemsSayAC4ItemVGvp" - } - ], - "key.typename" : "ListLayoutAttributes.Section.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV7SectionVmD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV7SectionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutAttributes<\/Type>.Supplementary : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 626 - } - ], - "key.bodylength" : 32, - "key.bodyoffset" : 667, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 656 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutAttributes<\/ref.struct>.Supplementary<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 67, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "Supplementary", - "key.namelength" : 13, - "key.nameoffset" : 640, - "key.offset" : 633, - "key.parsed_declaration" : "public struct Supplementary : Equatable", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var frame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 680, - "key.offset" : 676, - "key.parsed_declaration" : "var frame : CGRect", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV13SupplementaryV5frameSo6CGRectVvp" - } - ], - "key.typename" : "ListLayoutAttributes.Supplementary.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV13SupplementaryVmD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV13SupplementaryV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutAttributes<\/Type>.Item : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 710 - } - ], - "key.bodylength" : 32, - "key.bodyoffset" : 742, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 731 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutAttributes<\/ref.struct>.Item<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 58, - "key.line" : 36, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 724, - "key.offset" : 717, - "key.parsed_declaration" : "public struct Item : Equatable", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 36, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var frame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 755, - "key.offset" : 751, - "key.parsed_declaration" : "var frame : CGRect", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV4ItemV5frameSo6CGRectVvp" - } - ], - "key.typename" : "ListLayoutAttributes.Item.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesV4ItemVmD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV4ItemV" - } - ], - "key.typename" : "ListLayoutAttributes.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesVmD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV" - }, - { - "key.annotated_decl" : "struct ListLayoutAttributes : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 134, - "key.bodyoffset" : 812, - "key.column" : 8, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListLayoutAttributes<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 167, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutAttributes", - "key.namelength" : 20, - "key.nameoffset" : 790, - "key.offset" : 780, - "key.parsed_declaration" : "extension ListLayoutAttributes", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var stringRepresentation: String<\/Type> { get }<\/Declaration>", - "key.bodylength" : 92, - "key.bodyoffset" : 852, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> stringRepresentation<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 128, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "stringRepresentation", - "key.namelength" : 20, - "key.nameoffset" : 821, - "key.offset" : 817, - "key.parsed_declaration" : "var stringRepresentation : String", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV20stringRepresentationSSvp" - }, - { - "key.annotated_decl" : "var output: String<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutAttributes.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> output<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 15, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "output", - "key.namelength" : 6, - "key.nameoffset" : 865, - "key.offset" : 861, - "key.parsed_declaration" : "var output = \"\"", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV20stringRepresentationSSvg6outputL_SSvp" - } - ], - "key.typename" : "ListLayoutAttributes.Type", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesVmD", - "key.usr" : "s:10ListableUI20ListLayoutAttributesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 19282, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ListLayoutContent<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 134 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 127 - } - ], - "key.bodylength" : 11087, - "key.bodyoffset" : 165, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListLayoutContent<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 11113, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutContent", - "key.namelength" : 17, - "key.nameoffset" : 146, - "key.offset" : 140, - "key.parsed_declaration" : "public final class ListLayoutContent", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public private(set) var contentSize: CGSize<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 284 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 277 - } - ], - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The full scrollable size of the content, provided by the layout's `ListLayoutResult` return value.", - "key.doc.column" : 29, - "key.doc.comment" : "The full scrollable size of the content, provided by the layout's `ListLayoutResult` return value.", - "key.doc.declaration" : "public private(set) var contentSize: CGSize { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.doc.full_as_xml" : "contentSize<\/Name>s:10ListableUI17ListLayoutContentC11contentSizeSo6CGSizeVvp<\/USR>public private(set) var contentSize: CGSize { get }<\/Declaration>The full scrollable size of the content, provided by the layout’s ListLayoutResult<\/codeVoice> return value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "contentSize", - "key.doc.type" : "Other", - "key.doclength" : 103, - "key.docoffset" : 170, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 301, - "key.offset" : 297, - "key.parsed_declaration" : "public private(set) var contentSize : CGSize", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11contentSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public private(set) var naturalContentWidth: CGFloat<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 438 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 431 - } - ], - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The natural width of the content, provided by the layout's `ListLayoutResult` return value.", - "key.doc.column" : 29, - "key.doc.comment" : "The natural width of the content, provided by the layout's `ListLayoutResult` return value.", - "key.doc.declaration" : "public private(set) var naturalContentWidth: CGFloat? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.doc.full_as_xml" : "naturalContentWidth<\/Name>s:10ListableUI17ListLayoutContentC07naturalE5Width14CoreFoundation7CGFloatVSgvp<\/USR>public private(set) var naturalContentWidth: CGFloat? { get }<\/Declaration>The natural width of the content, provided by the layout’s ListLayoutResult<\/codeVoice> return value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "naturalContentWidth", - "key.doc.type" : "Other", - "key.doclength" : 96, - "key.docoffset" : 331, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> naturalContentWidth<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "naturalContentWidth", - "key.namelength" : 19, - "key.nameoffset" : 455, - "key.offset" : 451, - "key.parsed_declaration" : "public private(set) var naturalContentWidth : CGFloat?", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI17ListLayoutContentC07naturalE5Width14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let containerHeader: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 495 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> containerHeader<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "containerHeader", - "key.namelength" : 15, - "key.nameoffset" : 506, - "key.offset" : 502, - "key.parsed_declaration" : "public let containerHeader : SupplementaryItemInfo", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC15containerHeaderAC21SupplementaryItemInfoCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let header: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 550 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> header<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 561, - "key.offset" : 557, - "key.parsed_declaration" : "public let header : SupplementaryItemInfo", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC6headerAC21SupplementaryItemInfoCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let footer: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 596 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> footer<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 607, - "key.offset" : 603, - "key.parsed_declaration" : "public let footer : SupplementaryItemInfo", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC6footerAC21SupplementaryItemInfoCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let overscrollFooter: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 647 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> overscrollFooter<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 658, - "key.offset" : 654, - "key.parsed_declaration" : "public let overscrollFooter : SupplementaryItemInfo", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC16overscrollFooterAC21SupplementaryItemInfoCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let sections: [SectionInfo<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 708 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> sections<\/decl.name>: [SectionInfo<\/ref.class>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 719, - "key.offset" : 715, - "key.parsed_declaration" : "public let sections : [SectionInfo]", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.typename" : "[ListLayoutContent.SectionInfo]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC11SectionInfoCGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8sectionsSayAC11SectionInfoCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var all: [ListLayoutContentItem<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 753 - } - ], - "key.bodylength" : 296, - "key.bodyoffset" : 795, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> all<\/decl.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 332, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 764, - "key.offset" : 760, - "key.parsed_declaration" : "public var all : [ListLayoutContentItem]", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC3allSayAA0cdE4Item_pGvp" - }, - { - "key.annotated_decl" : "var all: [ListLayoutContentItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> all<\/decl.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 808, - "key.offset" : 804, - "key.parsed_declaration" : "var all : [ListLayoutContentItem] = []", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.related_decls" : [ - { - "key.annotated_decl" : "all(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC3allSayAA0cdE4Item_pGvgADL_AFvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func maxValue(for keyPath: KeyPath<\/Type><ListLayoutContentItem<\/Type>, CGFloat<\/Type>>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1102 - } - ], - "key.bodylength" : 106, - "key.bodyoffset" : 1190, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> maxValue<\/decl.name>(for<\/decl.var.parameter.argument_label> keyPath<\/decl.var.parameter.name>: KeyPath<\/ref.class><ListLayoutContentItem<\/ref.protocol>, CGFloat<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 188, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "maxValue(for:)", - "key.namelength" : 63, - "key.nameoffset" : 1114, - "key.offset" : 1109, - "key.parsed_declaration" : "public func maxValue(for keyPath : KeyPath) -> CGFloat", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> (KeyPath) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVs7KeyPathCy10ListableUI21ListLayoutContentItem_pADG_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8maxValue3for14CoreFoundation7CGFloatVs7KeyPathCyAA0cdE4Item_pAHG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 324, - "key.bodyoffset" : 1319, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 337, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 1307, - "key.offset" : 1307, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 50, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(containerHeader:header:footer:overscrollFooter:sections:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.Type) -> () -> ListLayoutContent", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCycD", - "key.usr" : "s:10ListableUI17ListLayoutContentCACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(containerHeader: SupplementaryItemInfo<\/Type>?, header: SupplementaryItemInfo<\/Type>?, footer: SupplementaryItemInfo<\/Type>?, overscrollFooter: SupplementaryItemInfo<\/Type>?, sections: [SectionInfo<\/Type>])<\/Declaration>", - "key.bodylength" : 380, - "key.bodyoffset" : 1883, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(containerHeader<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, overscrollFooter<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, sections<\/decl.var.parameter.argument_label>: [SectionInfo<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 610, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "init(containerHeader:header:footer:overscrollFooter:sections:)", - "key.namelength" : 227, - "key.nameoffset" : 1654, - "key.offset" : 1654, - "key.parsed_declaration" : "init(\n containerHeader : SupplementaryItemInfo?,\n header : SupplementaryItemInfo?,\n footer : SupplementaryItemInfo?,\n overscrollFooter : SupplementaryItemInfo?,\n sections : [SectionInfo]\n)", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 63, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.Type) -> (ListLayoutContent.SupplementaryItemInfo?, ListLayoutContent.SupplementaryItemInfo?, ListLayoutContent.SupplementaryItemInfo?, ListLayoutContent.SupplementaryItemInfo?, [ListLayoutContent.SectionInfo]) -> ListLayoutContent", - "key.typeusr" : "$s15containerHeader6header6footer16overscrollFooter8sections10ListableUI17ListLayoutContentCAH21SupplementaryItemInfoCSg_A3KSayAH07SectionO0CGtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC15containerHeader6header6footer16overscrollFooter8sectionsA2C21SupplementaryItemInfoCSg_A3KSayAC07SectionO0CGtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Fetching Elements", - "key.offset" : 2284 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layoutAttributes(at indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.bodylength" : 112, - "key.bodyoffset" : 2413, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layoutAttributes<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 202, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributes(at:)", - "key.namelength" : 42, - "key.nameoffset" : 2329, - "key.offset" : 2324, - "key.parsed_declaration" : "func layoutAttributes(at indexPath : IndexPath) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 84, - "key.related_decls" : [ - { - "key.annotated_decl" : "layoutAttributes(in:alwaysIncludeOverscroll:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "layoutAttributes<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: ListLayoutContent<\/Type>.ItemInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 35, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 2426, - "key.offset" : 2422, - "key.parsed_declaration" : "let item = self.item(at: indexPath)", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.ItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC8ItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC16layoutAttributes2atSo016UICollectionViewdG0C10Foundation9IndexPathV_tF4itemL_AC8ItemInfoCvp" - } - ], - "key.typename" : "(ListLayoutContent) -> (IndexPath) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$s2atSo32UICollectionViewLayoutAttributesC10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC16layoutAttributes2atSo016UICollectionViewdG0C10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func item(at indexPath: IndexPath<\/Type>) -> ListLayoutContent<\/Type>.ItemInfo<\/Type><\/Declaration>", - "key.bodylength" : 75, - "key.bodyoffset" : 2607, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> item<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 147, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "item(at:)", - "key.namelength" : 30, - "key.nameoffset" : 2541, - "key.offset" : 2536, - "key.parsed_declaration" : "func item(at indexPath : IndexPath) -> ListLayoutContent.ItemInfo", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 91, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> (IndexPath) -> ListLayoutContent.ItemInfo", - "key.typeusr" : "$s2at10ListableUI17ListLayoutContentC8ItemInfoC10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4item2atAC8ItemInfoC10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func supplementaryLayoutAttributes(of kind: String<\/Type>, at indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type>?<\/Declaration>", - "key.bodylength" : 749, - "key.bodyoffset" : 2814, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> supplementaryLayoutAttributes<\/decl.name>(of<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 871, - "key.line" : 96, - "key.modulename" : "ListableUI", - "key.name" : "supplementaryLayoutAttributes(of:at:)", - "key.namelength" : 73, - "key.nameoffset" : 2698, - "key.offset" : 2693, - "key.parsed_declaration" : "func supplementaryLayoutAttributes(of kind : String, at indexPath : IndexPath) -> UICollectionViewLayoutAttributes?", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 96, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: ListLayoutContent<\/Type>.SectionInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: ListLayoutContent<\/ref.class>.SectionInfo<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 2827, - "key.offset" : 2823, - "key.parsed_declaration" : "let section = self.sections[indexPath.section]", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SectionInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC11SectionInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC013supplementaryD10Attributes2of2atSo016UICollectionViewdG0CSgSS_10Foundation9IndexPathVtF7sectionL_AC11SectionInfoCvp" - } - ], - "key.typename" : "(ListLayoutContent) -> (String, IndexPath) -> UICollectionViewLayoutAttributes?", - "key.typeusr" : "$s2of2atSo32UICollectionViewLayoutAttributesCSgSS_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC013supplementaryD10Attributes2of2atSo016UICollectionViewdG0CSgSS_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layoutAttributes(in rect: CGRect<\/Type>, alwaysIncludeOverscroll: Bool<\/Type>) -> [UICollectionViewLayoutAttributes<\/Type>]<\/Declaration>", - "key.bodylength" : 238, - "key.bodyoffset" : 3684, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layoutAttributes<\/decl.name>(in<\/decl.var.parameter.argument_label> rect<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, alwaysIncludeOverscroll<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [UICollectionViewLayoutAttributes<\/ref.class>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 349, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributes(in:alwaysIncludeOverscroll:)", - "key.namelength" : 65, - "key.nameoffset" : 3579, - "key.offset" : 3574, - "key.parsed_declaration" : "func layoutAttributes(in rect: CGRect, alwaysIncludeOverscroll : Bool) -> [UICollectionViewLayoutAttributes]", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 116, - "key.related_decls" : [ - { - "key.annotated_decl" : "layoutAttributes(at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "layoutAttributes<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> (CGRect, Bool) -> [UICollectionViewLayoutAttributes]", - "key.typeusr" : "$s2in23alwaysIncludeOverscrollSaySo32UICollectionViewLayoutAttributesCGSo6CGRectV_SbtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC16layoutAttributes2in23alwaysIncludeOverscrollSaySo016UICollectionViewdG0CGSo6CGRectV_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func content(in rect: CGRect<\/Type>, alwaysIncludeOverscroll: Bool<\/Type>, includeUnpopulated: Bool<\/Type>) -> [ListLayoutContent<\/Type>.ContentItem<\/Type>]<\/Declaration>", - "key.bodylength" : 4236, - "key.bodyoffset" : 4091, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> content<\/decl.name>(in<\/decl.var.parameter.argument_label> rect<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, alwaysIncludeOverscroll<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, includeUnpopulated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [ListLayoutContent<\/ref.class>.ContentItem<\/ref.enum>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4395, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "content(in:alwaysIncludeOverscroll:includeUnpopulated:)", - "key.namelength" : 112, - "key.nameoffset" : 3938, - "key.offset" : 3933, - "key.parsed_declaration" : "func content(\n in rect: CGRect,\n alwaysIncludeOverscroll : Bool,\n includeUnpopulated: Bool\n) -> [ListLayoutContent.ContentItem]", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var attributes: [ListLayoutContent<\/Type>.ContentItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Supplementary items are technically attached to index paths. Eg, list headers\nand footers are attached to (0,0), and section headers and footers are attached to\n(sectionIndex, 0). Because of this, we can't return any list headers or footers\nunless there's at least one section – the collection view will not have anything to\nattach them to, and will then crash.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> attributes<\/decl.name>: [ListLayoutContent<\/ref.class>.ContentItem<\/ref.enum>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 50, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "attributes", - "key.namelength" : 10, - "key.nameoffset" : 4593, - "key.offset" : 4589, - "key.parsed_declaration" : "var attributes = [ListLayoutContent.ContentItem]()", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "[ListLayoutContent.ContentItem]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC0E4ItemOGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC7content2in23alwaysIncludeOverscroll18includeUnpopulatedSayAC0E4ItemOGSo6CGRectV_S2btF10attributesL_AJvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "func include(_ supplementary: ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 76, - "key.bodyoffset" : 4738, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> include<\/decl.name>(_<\/decl.var.parameter.argument_label> supplementary<\/decl.var.parameter.name>: ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 158, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "include(_:)", - "key.namelength" : 66, - "key.nameoffset" : 4662, - "key.offset" : 4657, - "key.parsed_declaration" : "func include(_ supplementary : ListLayoutContent.SupplementaryItemInfo) -> Bool", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.SupplementaryItemInfo) -> Bool", - "key.typeusr" : "$sySb10ListableUI17ListLayoutContentC21SupplementaryItemInfoCcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC7content2in23alwaysIncludeOverscroll18includeUnpopulatedSayAC0E4ItemOGSo6CGRectV_S2btF0K0L_ySbAC013SupplementaryM4InfoCF" - } - ], - "key.typename" : "(ListLayoutContent) -> (CGRect, Bool, Bool) -> [ListLayoutContent.ContentItem]", - "key.typeusr" : "$s2in23alwaysIncludeOverscroll18includeUnpopulatedSay10ListableUI17ListLayoutContentC0K4ItemOGSo6CGRectV_S2btcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC7content2in23alwaysIncludeOverscroll18includeUnpopulatedSayAC0E4ItemOGSo6CGRectV_S2btF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Performing Layouts", - "key.offset" : 8348 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func apply(result: ListLayoutResult<\/Type>)<\/Declaration>", - "key.bodylength" : 113, - "key.bodyoffset" : 8428, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(result<\/decl.var.parameter.argument_label>: ListLayoutResult<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 153, - "key.line" : 246, - "key.modulename" : "ListableUI", - "key.name" : "apply(result:)", - "key.namelength" : 32, - "key.nameoffset" : 8394, - "key.offset" : 8389, - "key.parsed_declaration" : "func apply(result : ListLayoutResult)", - "key.parsed_scope.end" : 249, - "key.parsed_scope.start" : 246, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> (ListLayoutResult) -> ()", - "key.typeusr" : "$s6resulty10ListableUI16ListLayoutResultV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC5apply6resultyAA0cD6ResultV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setSectionContentsFrames()<\/Declaration>", - "key.bodylength" : 81, - "key.bodyoffset" : 8585, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setSectionContentsFrames<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 115, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "setSectionContentsFrames()", - "key.namelength" : 26, - "key.nameoffset" : 8557, - "key.offset" : 8552, - "key.parsed_declaration" : "func setSectionContentsFrames()", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 251, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17ListLayoutContentC24setSectionContentsFramesyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func move(from: [IndexPath<\/Type>], to: [IndexPath<\/Type>])<\/Declaration>", - "key.bodylength" : 1054, - "key.bodyoffset" : 8730, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> move<\/decl.name>(from<\/decl.var.parameter.argument_label>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: [IndexPath<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1108, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "move(from:to:)", - "key.namelength" : 42, - "key.nameoffset" : 8682, - "key.offset" : 8677, - "key.parsed_declaration" : "func move(from : [IndexPath], to : [IndexPath])", - "key.parsed_scope.end" : 289, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "struct Move<\/Declaration>", - "key.bodylength" : 105, - "key.bodyoffset" : 8931, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Move<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 119, - "key.line" : 265, - "key.modulename" : "ListableUI", - "key.name" : "Move", - "key.namelength" : 4, - "key.nameoffset" : 8925, - "key.offset" : 8918, - "key.parsed_declaration" : "struct Move", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 265, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let from: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> from<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 266, - "key.modulename" : "ListableUI", - "key.name" : "from", - "key.namelength" : 4, - "key.nameoffset" : 8948, - "key.offset" : 8944, - "key.parsed_declaration" : "let from : IndexPath", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 266, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_VAeIvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let to: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> to<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 267, - "key.modulename" : "ListableUI", - "key.name" : "to", - "key.namelength" : 2, - "key.nameoffset" : 8981, - "key.offset" : 8977, - "key.parsed_declaration" : "let to : IndexPath", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 267, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_VAfIvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let item: ItemInfo<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: ItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 268, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 9012, - "key.offset" : 9008, - "key.parsed_declaration" : "let item : ItemInfo", - "key.parsed_scope.end" : 268, - "key.parsed_scope.start" : 268, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.ItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC8ItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_V4itemAC8ItemInfoCvp" - } - ], - "key.typename" : "Move.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_VmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_V" - }, - { - "key.annotated_decl" : "let moves: [Move<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> moves<\/decl.name>: [Move<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 117, - "key.line" : 271, - "key.modulename" : "ListableUI", - "key.name" : "moves", - "key.namelength" : 5, - "key.nameoffset" : 9059, - "key.offset" : 9055, - "key.parsed_declaration" : "let moves = zip(from, to).map { from, to in\n Move(from: from, to: to, item: self.item(at: from))\n}", - "key.parsed_scope.end" : 271, - "key.parsed_scope.start" : 271, - "key.reusingastcontext" : false, - "key.typename" : "[Move]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF4MoveL_VGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF5movesL_SayAcdeFyAJ_AJtF4MoveL_VGvp" - } - ], - "key.typename" : "(ListLayoutContent) -> ([IndexPath], [IndexPath]) -> ()", - "key.typeusr" : "$s4from2toySay10Foundation9IndexPathVG_AFtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC4move4from2toySay10Foundation9IndexPathVG_AJtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func reindexIndexPaths()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 9795 - } - ], - "key.bodylength" : 248, - "key.bodyoffset" : 9833, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "2) In the opposite order, now add back the items in their new orders. This is done\nin the opposite order so index paths remain stable.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> reindexIndexPaths<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 279, - "key.line" : 291, - "key.modulename" : "ListableUI", - "key.name" : "reindexIndexPaths()", - "key.namelength" : 19, - "key.nameoffset" : 9808, - "key.offset" : 9803, - "key.parsed_declaration" : "private func reindexIndexPaths()", - "key.parsed_scope.end" : 298, - "key.parsed_scope.start" : 291, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17ListLayoutContentC17reindexIndexPaths33_0AABF38DDED9446349CBDF7E2938DA75LLyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 17, - "key.name" : "MARK: Layout Data", - "key.offset" : 10102 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layoutAttributes: ListLayoutAttributes<\/Type> { get }<\/Declaration>", - "key.bodylength" : 1069, - "key.bodyoffset" : 10181, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutAttributes<\/decl.name>: ListLayoutAttributes<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 1115, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributes", - "key.namelength" : 16, - "key.nameoffset" : 10140, - "key.offset" : 10136, - "key.parsed_declaration" : "var layoutAttributes : ListLayoutAttributes", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 304, - "key.related_decls" : [ - { - "key.annotated_decl" : "layoutAttributes(at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "layoutAttributes(in:alwaysIncludeOverscroll:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutAttributes", - "key.typeusr" : "$s10ListableUI20ListLayoutAttributesVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC16layoutAttributesAA0cdG0Vvp" - } - ], - "key.typename" : "ListLayoutContent.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 41, - "key.name" : "TODO: Consider `AnyListLayoutContentItem`", - "key.offset" : 11259 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListLayoutContentItem : AnyObject<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11301 - } - ], - "key.bodylength" : 184, - "key.bodyoffset" : 11352, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 11341 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListLayoutContentItem<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 229, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutContentItem", - "key.namelength" : 21, - "key.nameoffset" : 11317, - "key.offset" : 11308, - "key.parsed_declaration" : "public protocol ListLayoutContentItem : AnyObject", - "key.parsed_scope.end" : 337, - "key.parsed_scope.start" : 328, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var measuredSize: CGSize<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 11384, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> measuredSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 330, - "key.modulename" : "ListableUI", - "key.name" : "measuredSize", - "key.namelength" : 12, - "key.nameoffset" : 11361, - "key.offset" : 11357, - "key.parsed_declaration" : "var measuredSize : CGSize", - "key.parsed_scope.end" : 330, - "key.parsed_scope.start" : 330, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP12measuredSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var size: CGSize<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 11423, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 11408, - "key.offset" : 11404, - "key.parsed_declaration" : "var size : CGSize", - "key.parsed_scope.end" : 332, - "key.parsed_scope.start" : 332, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP4sizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var x: CGFloat<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 11455, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> x<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 333, - "key.modulename" : "ListableUI", - "key.name" : "x", - "key.namelength" : 1, - "key.nameoffset" : 11442, - "key.offset" : 11438, - "key.parsed_declaration" : "var x : CGFloat", - "key.parsed_scope.end" : 333, - "key.parsed_scope.start" : 333, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1x14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var y: CGFloat<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 11487, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> y<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 334, - "key.modulename" : "ListableUI", - "key.name" : "y", - "key.namelength" : 1, - "key.nameoffset" : 11474, - "key.offset" : 11470, - "key.parsed_declaration" : "var y : CGFloat", - "key.parsed_scope.end" : 334, - "key.parsed_scope.start" : 334, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1y14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var zIndex: Int<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 9, - "key.bodyoffset" : 11525, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> zIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 336, - "key.modulename" : "ListableUI", - "key.name" : "zIndex", - "key.namelength" : 6, - "key.nameoffset" : 11511, - "key.offset" : 11507, - "key.parsed_declaration" : "var zIndex : Int", - "key.parsed_scope.end" : 336, - "key.parsed_scope.start" : 336, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP6zIndexSivp" - } - ], - "key.typename" : "ListLayoutContentItem.Type", - "key.typeusr" : "$s10ListableUI21ListLayoutContentItem_pmD", - "key.usr" : "s:10ListableUI21ListLayoutContentItemP" - }, - { - "key.annotated_decl" : "public final class ListLayoutContent<\/Declaration>", - "key.bodylength" : 7306, - "key.bodyoffset" : 11569, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListLayoutContent<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 7336, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutContent", - "key.namelength" : 17, - "key.nameoffset" : 11550, - "key.offset" : 11540, - "key.parsed_declaration" : "extension ListLayoutContent", - "key.parsed_scope.end" : 578, - "key.parsed_scope.start" : 340, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class SectionInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 11581 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11574 - } - ], - "key.bodylength" : 1855, - "key.bodyoffset" : 11610, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SectionInfo<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1879, - "key.line" : 342, - "key.modulename" : "ListableUI", - "key.name" : "SectionInfo", - "key.namelength" : 11, - "key.nameoffset" : 11593, - "key.offset" : 11587, - "key.parsed_declaration" : "public final class SectionInfo", - "key.parsed_scope.end" : 409, - "key.parsed_scope.start" : 342, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let state: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> state<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 11623, - "key.offset" : 11619, - "key.parsed_declaration" : "let state : PresentationState.SectionState", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC5stateAA17PresentationStateC0fJ0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let header: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11679 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> header<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 346, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 11690, - "key.offset" : 11686, - "key.parsed_declaration" : "public let header : SupplementaryItemInfo", - "key.parsed_scope.end" : 346, - "key.parsed_scope.start" : 346, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC6headerAC017SupplementaryItemG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let footer: SupplementaryItemInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11729 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> footer<\/decl.name>: SupplementaryItemInfo<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 347, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 11740, - "key.offset" : 11736, - "key.parsed_declaration" : "public let footer : SupplementaryItemInfo", - "key.parsed_scope.end" : 347, - "key.parsed_scope.start" : 347, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC6footerAC017SupplementaryItemG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public internal(set) var items: [ItemInfo<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.internal", - "key.length" : 13, - "key.offset" : 11803 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11796 - } - ], - "key.column" : 34, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> internal<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> items<\/decl.name>: [ItemInfo<\/ref.class>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 349, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 11821, - "key.offset" : 11817, - "key.parsed_declaration" : "public internal(set) var items : [ItemInfo]", - "key.parsed_scope.end" : 349, - "key.parsed_scope.start" : 349, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[ListLayoutContent.ItemInfo]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC8ItemInfoCGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC5itemsSayAC04ItemG0CGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: SectionLayouts<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11857 - } - ], - "key.bodylength" : 46, - "key.bodyoffset" : 11894, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: SectionLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 77, - "key.line" : 351, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 11868, - "key.offset" : 11864, - "key.parsed_declaration" : "public var layouts : SectionLayouts", - "key.parsed_scope.end" : 353, - "key.parsed_scope.start" : 351, - "key.reusingastcontext" : false, - "key.typename" : "SectionLayouts", - "key.typeusr" : "$s10ListableUI14SectionLayoutsVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC7layoutsAA0F7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isHeaderSticky: Bool<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11959 - } - ], - "key.bodylength" : 72, - "key.bodyoffset" : 11994, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 101, - "key.line" : 355, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky", - "key.namelength" : 14, - "key.nameoffset" : 11970, - "key.offset" : 11966, - "key.parsed_declaration" : "public var isHeaderSticky : Bool?", - "key.parsed_scope.end" : 357, - "key.parsed_scope.start" : 355, - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC14isHeaderStickySbSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var all: [ListLayoutContentItem<\/Type>] { get }<\/Declaration>", - "key.bodylength" : 335, - "key.bodyoffset" : 12120, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> all<\/decl.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 371, - "key.line" : 359, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 12089, - "key.offset" : 12085, - "key.parsed_declaration" : "var all : [ListLayoutContentItem]", - "key.parsed_scope.end" : 373, - "key.parsed_scope.start" : 359, - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC3allSayAA0cdE4Item_pGvp" - }, - { - "key.annotated_decl" : "var all: [ListLayoutContentItem<\/Type>]<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> all<\/decl.name>: [ListLayoutContentItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 360, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 12137, - "key.offset" : 12133, - "key.parsed_declaration" : "var all : [ListLayoutContentItem] = []", - "key.parsed_scope.end" : 360, - "key.parsed_scope.start" : 360, - "key.related_decls" : [ - { - "key.annotated_decl" : "all(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "[any ListLayoutContentItem]", - "key.typeusr" : "$sSay10ListableUI21ListLayoutContentItem_pGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC3allSayAA0cdE4Item_pGvgAFL_AHvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var contentsFrame: CGRect<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 12474 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> contentsFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 375, - "key.modulename" : "ListableUI", - "key.name" : "contentsFrame", - "key.namelength" : 13, - "key.nameoffset" : 12491, - "key.offset" : 12487, - "key.parsed_declaration" : "private(set) var contentsFrame : CGRect", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 375, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC13contentsFrameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(state: PresentationState<\/Type>.SectionState<\/Type>, header: SupplementaryItemInfo<\/Type>?, footer: SupplementaryItemInfo<\/Type>?, items: [ItemInfo<\/Type>])<\/Declaration>", - "key.bodylength" : 267, - "key.bodyoffset" : 12729, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(state<\/decl.var.parameter.argument_label>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: SupplementaryItemInfo<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>, items<\/decl.var.parameter.argument_label>: [ItemInfo<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 458, - "key.line" : 377, - "key.modulename" : "ListableUI", - "key.name" : "init(state:header:footer:items:)", - "key.namelength" : 188, - "key.nameoffset" : 12539, - "key.offset" : 12539, - "key.parsed_declaration" : "init(\n state : PresentationState.SectionState,\n header : SupplementaryItemInfo?,\n footer : SupplementaryItemInfo?,\n items : [ItemInfo]\n)", - "key.parsed_scope.end" : 391, - "key.parsed_scope.start" : 377, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.SectionInfo.Type) -> (PresentationState.SectionState, ListLayoutContent.SupplementaryItemInfo?, ListLayoutContent.SupplementaryItemInfo?, [ListLayoutContent.ItemInfo]) -> ListLayoutContent.SectionInfo", - "key.typeusr" : "$s5state6header6footer5items10ListableUI17ListLayoutContentC11SectionInfoCAE17PresentationStateC0jM0C_AG017SupplementaryItemK0CSgAPSayAG0oK0CGtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC5state6header6footer5itemsAeA17PresentationStateC0fM0C_AC017SupplementaryItemG0CSgAPSayAC0oG0CGtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func setContentsFrame()<\/Declaration>", - "key.bodylength" : 419, - "key.bodyoffset" : 13040, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setContentsFrame<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 445, - "key.line" : 393, - "key.modulename" : "ListableUI", - "key.name" : "setContentsFrame()", - "key.namelength" : 18, - "key.nameoffset" : 13020, - "key.offset" : 13015, - "key.parsed_declaration" : "func setContentsFrame()", - "key.parsed_scope.end" : 408, - "key.parsed_scope.start" : 393, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var allFrames: [CGRect<\/Type>]<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> allFrames<\/decl.name>: [CGRect<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 29, - "key.line" : 395, - "key.modulename" : "ListableUI", - "key.name" : "allFrames", - "key.namelength" : 9, - "key.nameoffset" : 13070, - "key.offset" : 13066, - "key.parsed_declaration" : "var allFrames : [CGRect] = []", - "key.parsed_scope.end" : 395, - "key.parsed_scope.start" : 395, - "key.reusingastcontext" : false, - "key.typename" : "[CGRect]", - "key.typeusr" : "$sSaySo6CGRectVGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC16setContentsFrameyyF9allFramesL_SaySo6CGRectVGvp" - } - ], - "key.typename" : "(ListLayoutContent.SectionInfo) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC16setContentsFrameyyF" - } - ], - "key.typename" : "ListLayoutContent.SectionInfo.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC11SectionInfoCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class SupplementaryItemInfo : ListLayoutContentItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 13479 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13472 - } - ], - "key.bodylength" : 2310, - "key.bodyoffset" : 13542, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 21, - "key.offset" : 13515 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SupplementaryItemInfo<\/decl.name> : ListLayoutContentItem<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutContentItem" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 2368, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "SupplementaryItemInfo", - "key.namelength" : 21, - "key.nameoffset" : 13491, - "key.offset" : 13485, - "key.parsed_declaration" : "public final class SupplementaryItemInfo : ListLayoutContentItem", - "key.parsed_scope.end" : 487, - "key.parsed_scope.start" : 411, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func empty(_ kind: SupplementaryKind<\/Type>) -> SupplementaryItemInfo<\/Type><\/Declaration>", - "key.bodylength" : 175, - "key.bodyoffset" : 13631, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> empty<\/decl.name>(_<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> SupplementaryItemInfo<\/ref.class><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 256, - "key.line" : 413, - "key.modulename" : "ListableUI", - "key.name" : "empty(_:)", - "key.namelength" : 33, - "key.nameoffset" : 13563, - "key.offset" : 13551, - "key.parsed_declaration" : "static func empty(_ kind : SupplementaryKind) -> SupplementaryItemInfo", - "key.parsed_scope.end" : 420, - "key.parsed_scope.start" : 413, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.SupplementaryItemInfo.Type) -> (SupplementaryKind) -> ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$sy10ListableUI17ListLayoutContentC21SupplementaryItemInfoCAA0F4KindOcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC5emptyyAeA0F4KindOFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let state: AnyPresentationHeaderFooterState<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> state<\/decl.name>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 422, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 13829, - "key.offset" : 13825, - "key.parsed_declaration" : "let state : AnyPresentationHeaderFooterState?", - "key.parsed_scope.end" : 422, - "key.parsed_scope.start" : 422, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pSgD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC5stateAA32AnyPresentationHeaderFooterState_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let kind: SupplementaryKind<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 424, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 13892, - "key.offset" : 13888, - "key.parsed_declaration" : "let kind : SupplementaryKind", - "key.parsed_scope.end" : 424, - "key.parsed_scope.start" : 424, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC4kindAA0F4KindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let measurer: (Sizing<\/Type>.MeasureInfo<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13925 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> measurer<\/decl.name>: (Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 425, - "key.modulename" : "ListableUI", - "key.name" : "measurer", - "key.namelength" : 8, - "key.nameoffset" : 13936, - "key.offset" : 13932, - "key.parsed_declaration" : "public let measurer : (Sizing.MeasureInfo) -> CGSize", - "key.parsed_scope.end" : 425, - "key.parsed_scope.start" : 425, - "key.reusingastcontext" : false, - "key.typename" : "(Sizing.MeasureInfo) -> CGSize", - "key.typeusr" : "$sySo6CGSizeV10ListableUI6SizingO11MeasureInfoVcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC8measurerySo6CGSizeVAA6SizingO07MeasureH0Vcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let isPopulated: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14003 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> isPopulated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 427, - "key.modulename" : "ListableUI", - "key.name" : "isPopulated", - "key.namelength" : 11, - "key.nameoffset" : 14014, - "key.offset" : 14010, - "key.parsed_declaration" : "public let isPopulated : Bool", - "key.parsed_scope.end" : 427, - "key.parsed_scope.start" : 427, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC11isPopulatedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var measuredSize: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14066 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> measuredSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 429, - "key.modulename" : "ListableUI", - "key.name" : "measuredSize", - "key.namelength" : 12, - "key.nameoffset" : 14077, - "key.offset" : 14073, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP12measuredSizeSo6CGSizeVvp" - } - ], - "key.parsed_declaration" : "public var measuredSize : CGSize = .zero", - "key.parsed_scope.end" : 429, - "key.parsed_scope.start" : 429, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC12measuredSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var size: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14124 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 431, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 14135, - "key.offset" : 14131, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP4sizeSo6CGSizeVvp" - } - ], - "key.parsed_declaration" : "public var size : CGSize = .zero", - "key.parsed_scope.end" : 431, - "key.parsed_scope.start" : 431, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC4sizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var x: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14174 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> x<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 433, - "key.modulename" : "ListableUI", - "key.name" : "x", - "key.namelength" : 1, - "key.nameoffset" : 14185, - "key.offset" : 14181, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1x14CoreFoundation7CGFloatVvp" - } - ], - "key.parsed_declaration" : "public var x : CGFloat = .zero", - "key.parsed_scope.end" : 433, - "key.parsed_scope.start" : 433, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC1x14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var pinnedX: CGFloat<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pinnedX<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 434, - "key.modulename" : "ListableUI", - "key.name" : "pinnedX", - "key.namelength" : 7, - "key.nameoffset" : 14217, - "key.offset" : 14213, - "key.parsed_declaration" : "var pinnedX : CGFloat? = nil", - "key.parsed_scope.end" : 434, - "key.parsed_scope.start" : 434, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC7pinnedX14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var y: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14259 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> y<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 436, - "key.modulename" : "ListableUI", - "key.name" : "y", - "key.namelength" : 1, - "key.nameoffset" : 14270, - "key.offset" : 14266, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1y14CoreFoundation7CGFloatVvp" - } - ], - "key.parsed_declaration" : "public var y : CGFloat = .zero", - "key.parsed_scope.end" : 436, - "key.parsed_scope.start" : 436, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC1y14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var pinnedY: CGFloat<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> pinnedY<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 437, - "key.modulename" : "ListableUI", - "key.name" : "pinnedY", - "key.namelength" : 7, - "key.nameoffset" : 14302, - "key.offset" : 14298, - "key.parsed_declaration" : "var pinnedY : CGFloat? = nil", - "key.parsed_scope.end" : 437, - "key.parsed_scope.start" : 437, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC7pinnedY14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var zIndex: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14344 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> zIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 439, - "key.modulename" : "ListableUI", - "key.name" : "zIndex", - "key.namelength" : 6, - "key.nameoffset" : 14355, - "key.offset" : 14351, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP6zIndexSivp" - } - ], - "key.parsed_declaration" : "public var zIndex : Int = 0", - "key.parsed_scope.end" : 439, - "key.parsed_scope.start" : 439, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC6zIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: HeaderFooterLayouts<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14389 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 14431, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: HeaderFooterLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 97, - "key.line" : 441, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 14400, - "key.offset" : 14396, - "key.parsed_declaration" : "public var layouts : HeaderFooterLayouts", - "key.parsed_scope.end" : 443, - "key.parsed_scope.start" : 441, - "key.reusingastcontext" : false, - "key.typename" : "HeaderFooterLayouts", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC7layoutsAA19HeaderFooterLayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var containsFirstResponder: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14511 - } - ], - "key.bodylength" : 65, - "key.bodyoffset" : 14553, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> containsFirstResponder<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 101, - "key.line" : 445, - "key.modulename" : "ListableUI", - "key.name" : "containsFirstResponder", - "key.namelength" : 22, - "key.nameoffset" : 14522, - "key.offset" : 14518, - "key.parsed_declaration" : "public var containsFirstResponder : Bool", - "key.parsed_scope.end" : 447, - "key.parsed_scope.start" : 445, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC22containsFirstResponderSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var defaultFrame: CGRect<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14637 - } - ], - "key.bodylength" : 130, - "key.bodyoffset" : 14671, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 158, - "key.line" : 449, - "key.modulename" : "ListableUI", - "key.name" : "defaultFrame", - "key.namelength" : 12, - "key.nameoffset" : 14648, - "key.offset" : 14644, - "key.parsed_declaration" : "public var defaultFrame : CGRect", - "key.parsed_scope.end" : 454, - "key.parsed_scope.start" : 449, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC12defaultFrameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var visibleFrame: CGRect<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14820 - } - ], - "key.bodylength" : 220, - "key.bodyoffset" : 14854, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> visibleFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 248, - "key.line" : 456, - "key.modulename" : "ListableUI", - "key.name" : "visibleFrame", - "key.namelength" : 12, - "key.nameoffset" : 14831, - "key.offset" : 14827, - "key.parsed_declaration" : "public var visibleFrame : CGRect", - "key.parsed_scope.end" : 464, - "key.parsed_scope.start" : 456, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC12visibleFrameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(state: AnyPresentationHeaderFooterState<\/Type>?, kind: SupplementaryKind<\/Type>, isPopulated: Bool<\/Type>, measurer: @escaping (Sizing<\/Type>.MeasureInfo<\/Type>) -> CGSize<\/Type>)<\/Declaration>", - "key.bodylength" : 149, - "key.bodyoffset" : 15298, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(state<\/decl.var.parameter.argument_label>: AnyPresentationHeaderFooterState<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, kind<\/decl.var.parameter.argument_label>: SupplementaryKind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, isPopulated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, measurer<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 355, - "key.line" : 466, - "key.modulename" : "ListableUI", - "key.name" : "init(state:kind:isPopulated:measurer:)", - "key.namelength" : 203, - "key.nameoffset" : 15093, - "key.offset" : 15093, - "key.parsed_declaration" : "init(\n state : AnyPresentationHeaderFooterState?,\n kind : SupplementaryKind,\n isPopulated: Bool,\n measurer : @escaping (Sizing.MeasureInfo) -> CGSize\n)", - "key.parsed_scope.end" : 476, - "key.parsed_scope.start" : 466, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.SupplementaryItemInfo.Type) -> ((any AnyPresentationHeaderFooterState)?, SupplementaryKind, Bool, @escaping (Sizing.MeasureInfo) -> CGSize) -> ListLayoutContent.SupplementaryItemInfo", - "key.typeusr" : "$s5state4kind11isPopulated8measurer10ListableUI17ListLayoutContentC21SupplementaryItemInfoCAE32AnyPresentationHeaderFooterState_pSg_AE0K4KindOSbSo6CGSizeVAE6SizingO07MeasureM0VctcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC5state4kind11isPopulated8measurerAeA32AnyPresentationHeaderFooterState_pSg_AA0F4KindOSbSo6CGSizeVAA6SizingO07MeasureH0Vctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layoutAttributes(with indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.bodylength" : 285, - "key.bodyoffset" : 15561, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layoutAttributes<\/decl.name>(with<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 381, - "key.line" : 478, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributes(with:)", - "key.namelength" : 44, - "key.nameoffset" : 15471, - "key.offset" : 15466, - "key.parsed_declaration" : "func layoutAttributes(with indexPath : IndexPath) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 486, - "key.parsed_scope.start" : 478, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let attributes: UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> attributes<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 114, - "key.line" : 480, - "key.modulename" : "ListableUI", - "key.name" : "attributes", - "key.namelength" : 10, - "key.nameoffset" : 15578, - "key.offset" : 15574, - "key.parsed_declaration" : "let attributes = UICollectionViewLayoutAttributes(forSupplementaryViewOfKind: self.kind.rawValue, with: indexPath)", - "key.parsed_scope.end" : 480, - "key.parsed_scope.start" : 480, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC16layoutAttributes4withSo016UICollectionViewdJ0C10Foundation9IndexPathV_tF10attributesL_AIvp" - } - ], - "key.typename" : "(ListLayoutContent.SupplementaryItemInfo) -> (IndexPath) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$s4withSo32UICollectionViewLayoutAttributesC10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC16layoutAttributes4withSo016UICollectionViewdJ0C10Foundation9IndexPathV_tF" - } - ], - "key.typename" : "ListLayoutContent.SupplementaryItemInfo.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC21SupplementaryItemInfoCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC21SupplementaryItemInfoC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ItemInfo : ListLayoutContentItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 15871 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 15864 - } - ], - "key.bodylength" : 1808, - "key.bodyoffset" : 15921, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 21, - "key.offset" : 15894 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemInfo<\/decl.name> : ListLayoutContentItem<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutContentItem" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1853, - "key.line" : 490, - "key.modulename" : "ListableUI", - "key.name" : "ItemInfo", - "key.namelength" : 8, - "key.nameoffset" : 15883, - "key.offset" : 15877, - "key.parsed_declaration" : "public final class ItemInfo : ListLayoutContentItem", - "key.parsed_scope.end" : 547, - "key.parsed_scope.start" : 490, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let state: AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> state<\/decl.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 492, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 15934, - "key.offset" : 15930, - "key.parsed_declaration" : "let state : AnyPresentationItemState", - "key.parsed_scope.end" : 492, - "key.parsed_scope.start" : 492, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC5stateAA015AnyPresentationF5State_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 494, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 15988, - "key.offset" : 15984, - "key.parsed_declaration" : "var indexPath : IndexPath", - "key.parsed_scope.end" : 494, - "key.parsed_scope.start" : 494, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC9indexPath10Foundation05IndexI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insertAndRemoveAnimations<\/decl.name>: ItemInsertAndRemoveAnimations<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 61, - "key.line" : 496, - "key.modulename" : "ListableUI", - "key.name" : "insertAndRemoveAnimations", - "key.namelength" : 25, - "key.nameoffset" : 16039, - "key.offset" : 16035, - "key.parsed_declaration" : "let insertAndRemoveAnimations : ItemInsertAndRemoveAnimations", - "key.parsed_scope.end" : 496, - "key.parsed_scope.start" : 496, - "key.reusingastcontext" : false, - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC25insertAndRemoveAnimationsAA0f6InsertijK0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let measurer: (Sizing<\/Type>.MeasureInfo<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16105 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> measurer<\/decl.name>: (Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 497, - "key.modulename" : "ListableUI", - "key.name" : "measurer", - "key.namelength" : 8, - "key.nameoffset" : 16116, - "key.offset" : 16112, - "key.parsed_declaration" : "public let measurer : (Sizing.MeasureInfo) -> CGSize", - "key.parsed_scope.end" : 497, - "key.parsed_scope.start" : 497, - "key.reusingastcontext" : false, - "key.typename" : "(Sizing.MeasureInfo) -> CGSize", - "key.typeusr" : "$sySo6CGSizeV10ListableUI6SizingO11MeasureInfoVcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC8measurerySo6CGSizeVAA6SizingO07MeasureG0Vcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var position: ItemPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16175 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> position<\/decl.name>: ItemPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 499, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 16186, - "key.offset" : 16182, - "key.parsed_declaration" : "public var position : ItemPosition = .single", - "key.parsed_scope.end" : 499, - "key.parsed_scope.start" : 499, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemPosition", - "key.typeusr" : "$s10ListableUI12ItemPositionOD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC8positionAA0F8PositionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var measuredSize: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16245 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> measuredSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 501, - "key.modulename" : "ListableUI", - "key.name" : "measuredSize", - "key.namelength" : 12, - "key.nameoffset" : 16256, - "key.offset" : 16252, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP12measuredSizeSo6CGSizeVvp" - } - ], - "key.parsed_declaration" : "public var measuredSize : CGSize = .zero", - "key.parsed_scope.end" : 501, - "key.parsed_scope.start" : 501, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC12measuredSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var size: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16303 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 503, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 16314, - "key.offset" : 16310, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP4sizeSo6CGSizeVvp" - } - ], - "key.parsed_declaration" : "public var size : CGSize = .zero", - "key.parsed_scope.end" : 503, - "key.parsed_scope.start" : 503, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC4sizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var x: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16361 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> x<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 505, - "key.modulename" : "ListableUI", - "key.name" : "x", - "key.namelength" : 1, - "key.nameoffset" : 16372, - "key.offset" : 16368, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1x14CoreFoundation7CGFloatVvp" - } - ], - "key.parsed_declaration" : "public var x : CGFloat = .zero", - "key.parsed_scope.end" : 505, - "key.parsed_scope.start" : 505, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC1x14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var y: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16400 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> y<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 506, - "key.modulename" : "ListableUI", - "key.name" : "y", - "key.namelength" : 1, - "key.nameoffset" : 16411, - "key.offset" : 16407, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP1y14CoreFoundation7CGFloatVvp" - } - ], - "key.parsed_declaration" : "public var y : CGFloat = .zero", - "key.parsed_scope.end" : 506, - "key.parsed_scope.start" : 506, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC1y14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var zIndex: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16448 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> zIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 508, - "key.modulename" : "ListableUI", - "key.name" : "zIndex", - "key.namelength" : 6, - "key.nameoffset" : 16459, - "key.offset" : 16455, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI21ListLayoutContentItemP6zIndexSivp" - } - ], - "key.parsed_declaration" : "public var zIndex : Int = 0", - "key.parsed_scope.end" : 508, - "key.parsed_scope.start" : 508, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC6zIndexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: ItemLayouts<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16493 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 16527, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: ItemLayouts<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 77, - "key.line" : 510, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 16504, - "key.offset" : 16500, - "key.parsed_declaration" : "public var layouts : ItemLayouts", - "key.parsed_scope.end" : 512, - "key.parsed_scope.start" : 510, - "key.reusingastcontext" : false, - "key.typename" : "ItemLayouts", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC7layoutsAA0F7LayoutsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isReorderable: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16666 - } - ], - "key.bodylength" : 59, - "key.bodyoffset" : 16698, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether this item can be reordered (has reordering configuration).", - "key.doc.column" : 20, - "key.doc.comment" : "Whether this item can be reordered (has reordering configuration).", - "key.doc.declaration" : "public var isReorderable: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.doc.full_as_xml" : "isReorderable<\/Name>s:10ListableUI17ListLayoutContentC8ItemInfoC13isReorderableSbvp<\/USR>public var isReorderable: Bool { get }<\/Declaration>Whether this item can be reordered (has reordering configuration).<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 515, - "key.doc.name" : "isReorderable", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 16587, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isReorderable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 85, - "key.line" : 515, - "key.modulename" : "ListableUI", - "key.name" : "isReorderable", - "key.namelength" : 13, - "key.nameoffset" : 16677, - "key.offset" : 16673, - "key.parsed_declaration" : "public var isReorderable: Bool", - "key.parsed_scope.end" : 517, - "key.parsed_scope.start" : 515, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC13isReorderableSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var frame: CGRect<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16776 - } - ], - "key.bodylength" : 130, - "key.bodyoffset" : 16803, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 151, - "key.line" : 519, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 16787, - "key.offset" : 16783, - "key.parsed_declaration" : "public var frame : CGRect", - "key.parsed_scope.end" : 524, - "key.parsed_scope.start" : 519, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC5frameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(state: AnyPresentationItemState<\/Type>, indexPath: IndexPath<\/Type>, insertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>, measurer: @escaping (Sizing<\/Type>.MeasureInfo<\/Type>) -> CGSize<\/Type>)<\/Declaration>", - "key.bodylength" : 187, - "key.bodyoffset" : 17185, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(state<\/decl.var.parameter.argument_label>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, indexPath<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, insertAndRemoveAnimations<\/decl.var.parameter.argument_label>: ItemInsertAndRemoveAnimations<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, measurer<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 421, - "key.line" : 526, - "key.modulename" : "ListableUI", - "key.name" : "init(state:indexPath:insertAndRemoveAnimations:measurer:)", - "key.namelength" : 231, - "key.nameoffset" : 16952, - "key.offset" : 16952, - "key.parsed_declaration" : "init(\n state : AnyPresentationItemState,\n indexPath : IndexPath,\n insertAndRemoveAnimations : ItemInsertAndRemoveAnimations,\n measurer : @escaping (Sizing.MeasureInfo) -> CGSize\n)", - "key.parsed_scope.end" : 536, - "key.parsed_scope.start" : 526, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.ItemInfo.Type) -> (any AnyPresentationItemState, IndexPath, ItemInsertAndRemoveAnimations, @escaping (Sizing.MeasureInfo) -> CGSize) -> ListLayoutContent.ItemInfo", - "key.typeusr" : "$s5state9indexPath25insertAndRemoveAnimations8measurer10ListableUI17ListLayoutContentC8ItemInfoCAE015AnyPresentationN5State_p_10Foundation05IndexC0VAE0n6InsertefG0VSo6CGSizeVAE6SizingO07MeasureO0VctcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC5state9indexPath25insertAndRemoveAnimations8measurerAeA015AnyPresentationF5State_p_10Foundation05IndexJ0VAA0f6InsertlmN0VSo6CGSizeVAA6SizingO07MeasureG0Vctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layoutAttributes(with indexPath: IndexPath<\/Type>) -> UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.bodylength" : 237, - "key.bodyoffset" : 17486, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layoutAttributes<\/decl.name>(with<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewLayoutAttributes<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 333, - "key.line" : 538, - "key.modulename" : "ListableUI", - "key.name" : "layoutAttributes(with:)", - "key.namelength" : 44, - "key.nameoffset" : 17396, - "key.offset" : 17391, - "key.parsed_declaration" : "func layoutAttributes(with indexPath : IndexPath) -> UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 546, - "key.parsed_scope.start" : 538, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let attributes: UICollectionViewLayoutAttributes<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> attributes<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 540, - "key.modulename" : "ListableUI", - "key.name" : "attributes", - "key.namelength" : 10, - "key.nameoffset" : 17503, - "key.offset" : 17499, - "key.parsed_declaration" : "let attributes = UICollectionViewLayoutAttributes(forCellWith: indexPath)", - "key.parsed_scope.end" : 540, - "key.parsed_scope.start" : 540, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC16layoutAttributes4withSo016UICollectionViewdI0C10Foundation9IndexPathV_tF10attributesL_AIvp" - } - ], - "key.typename" : "(ListLayoutContent.ItemInfo) -> (IndexPath) -> UICollectionViewLayoutAttributes", - "key.typeusr" : "$s4withSo32UICollectionViewLayoutAttributesC10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC16layoutAttributes4withSo016UICollectionViewdI0C10Foundation9IndexPathV_tF" - } - ], - "key.typename" : "ListLayoutContent.ItemInfo.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC8ItemInfoCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC8ItemInfoC" - }, - { - "key.annotated_decl" : "enum ContentItem<\/Declaration>", - "key.bodylength" : 1115, - "key.bodyoffset" : 17758, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> ContentItem<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1134, - "key.line" : 549, - "key.modulename" : "ListableUI", - "key.name" : "ContentItem", - "key.namelength" : 11, - "key.nameoffset" : 17745, - "key.offset" : 17740, - "key.parsed_declaration" : "enum ContentItem", - "key.parsed_scope.end" : 577, - "key.parsed_scope.start" : 549, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 71, - "key.offset" : 17776, - "key.substructure" : [ - { - "key.annotated_decl" : "case item(ListLayoutContent<\/Type>.ItemInfo<\/Type>, UICollectionViewLayoutAttributes<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> item<\/decl.name>(ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 66, - "key.line" : 551, - "key.modulename" : "ListableUI", - "key.name" : "item(_:_:)", - "key.namelength" : 66, - "key.nameoffset" : 17781, - "key.offset" : 17781, - "key.parsed_declaration" : "case item(ListLayoutContent.ItemInfo, UICollectionViewLayoutAttributes)", - "key.parsed_scope.end" : 551, - "key.parsed_scope.start" : 551, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.ContentItem.Type) -> (ListLayoutContent.ItemInfo, UICollectionViewLayoutAttributes) -> ListLayoutContent.ContentItem", - "key.typeusr" : "$sy10ListableUI17ListLayoutContentC0E4ItemOAC0F4InfoC_So016UICollectionViewD10AttributesCtcAEmcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO4itemyAeC0F4InfoC_So016UICollectionViewD10AttributesCtcAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 93, - "key.offset" : 17865, - "key.substructure" : [ - { - "key.annotated_decl" : "case supplementary(ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>, UICollectionViewLayoutAttributes<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> supplementary<\/decl.name>(ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 88, - "key.line" : 553, - "key.modulename" : "ListableUI", - "key.name" : "supplementary(_:_:)", - "key.namelength" : 88, - "key.nameoffset" : 17870, - "key.offset" : 17870, - "key.parsed_declaration" : "case supplementary(ListLayoutContent.SupplementaryItemInfo, UICollectionViewLayoutAttributes)", - "key.parsed_scope.end" : 553, - "key.parsed_scope.start" : 553, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.ContentItem.Type) -> (ListLayoutContent.SupplementaryItemInfo, UICollectionViewLayoutAttributes) -> ListLayoutContent.ContentItem", - "key.typeusr" : "$sy10ListableUI17ListLayoutContentC0E4ItemOAC013SupplementaryF4InfoC_So016UICollectionViewD10AttributesCtcAEmcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO13supplementaryyAeC013SupplementaryF4InfoC_So016UICollectionViewD10AttributesCtcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var collectionViewLayoutAttributes: UICollectionViewLayoutAttributes<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17976 - } - ], - "key.bodylength" : 180, - "key.bodyoffset" : 18054, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> collectionViewLayoutAttributes<\/decl.name>: UICollectionViewLayoutAttributes<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 252, - "key.line" : 555, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewLayoutAttributes", - "key.namelength" : 30, - "key.nameoffset" : 17987, - "key.offset" : 17983, - "key.parsed_declaration" : "public var collectionViewLayoutAttributes : UICollectionViewLayoutAttributes", - "key.parsed_scope.end" : 560, - "key.parsed_scope.start" : 555, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionViewLayoutAttributes", - "key.typeusr" : "$sSo32UICollectionViewLayoutAttributesCD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO014collectionViewD10AttributesSo012UICollectionhdI0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var indexPath: IndexPath<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18253 - } - ], - "key.bodylength" : 67, - "key.bodyoffset" : 18287, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 95, - "key.line" : 562, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 18264, - "key.offset" : 18260, - "key.parsed_declaration" : "public var indexPath : IndexPath", - "key.parsed_scope.end" : 564, - "key.parsed_scope.start" : 562, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO9indexPath10Foundation05IndexH0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var defaultFrame: CGRect<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18373 - } - ], - "key.bodylength" : 193, - "key.bodyoffset" : 18407, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 221, - "key.line" : 566, - "key.modulename" : "ListableUI", - "key.name" : "defaultFrame", - "key.namelength" : 12, - "key.nameoffset" : 18384, - "key.offset" : 18380, - "key.parsed_declaration" : "public var defaultFrame : CGRect", - "key.parsed_scope.end" : 571, - "key.parsed_scope.start" : 566, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO12defaultFrameSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func percentageVisible(inside container: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 95, - "key.bodyoffset" : 18772, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the percentage from `0.0` to `1.0` that this item overlaps `container`.", - "key.doc.column" : 14, - "key.doc.comment" : "Returns the percentage from `0.0` to `1.0` that this item overlaps `container`.", - "key.doc.declaration" : "func percentageVisible(inside container: CGRect) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.doc.full_as_xml" : "percentageVisible(inside:)<\/Name>s:10ListableUI17ListLayoutContentC0E4ItemO17percentageVisible6inside14CoreFoundation7CGFloatVSo6CGRectV_tF<\/USR>func percentageVisible(inside container: CGRect) -> CGFloat<\/Declaration>Returns the percentage from 0.0<\/codeVoice> to 1.0<\/codeVoice> that this item overlaps container<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 574, - "key.doc.name" : "percentageVisible(inside:)", - "key.doc.type" : "Function", - "key.doclength" : 84, - "key.docoffset" : 18619, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> percentageVisible<\/decl.name>(inside<\/decl.var.parameter.argument_label> container<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 157, - "key.line" : 574, - "key.modulename" : "ListableUI", - "key.name" : "percentageVisible(inside:)", - "key.namelength" : 43, - "key.nameoffset" : 18716, - "key.offset" : 18711, - "key.parsed_declaration" : "func percentageVisible(inside container: CGRect) -> CGFloat", - "key.parsed_scope.end" : 576, - "key.parsed_scope.start" : 574, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.ContentItem) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s6inside14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO17percentageVisible6inside14CoreFoundation7CGFloatVSo6CGRectV_tF" - } - ], - "key.typename" : "ListLayoutContent.ContentItem.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC0E4ItemOmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC0E4ItemO" - } - ], - "key.typename" : "ListLayoutContent.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC" - }, - { - "key.annotated_decl" : "struct CGRect<\/Declaration>", - "key.bodylength" : 383, - "key.bodyoffset" : 18897, - "key.column" : 8, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/CoreFoundation.framework\/Headers\/CFCGTypes.h", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CGRect<\/decl.name><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 402, - "key.line" : 76, - "key.modulename" : "CoreFoundation.CFCGTypes", - "key.name" : "CGRect", - "key.namelength" : 6, - "key.nameoffset" : 18889, - "key.offset" : 18879, - "key.parsed_declaration" : "extension CGRect", - "key.parsed_scope.end" : 600, - "key.parsed_scope.start" : 581, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static func unioned(from rects: [CGRect<\/Type>]) -> CGRect<\/Type><\/Declaration>", - "key.bodylength" : 322, - "key.bodyoffset" : 18956, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> unioned<\/decl.name>(from<\/decl.var.parameter.argument_label> rects<\/decl.var.parameter.name>: [CGRect<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> CGRect<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 377, - "key.line" : 582, - "key.modulename" : "ListableUI", - "key.name" : "unioned(from:)", - "key.namelength" : 30, - "key.nameoffset" : 18914, - "key.offset" : 18902, - "key.parsed_declaration" : "static func unioned(from rects : [CGRect]) -> CGRect", - "key.parsed_scope.end" : 599, - "key.parsed_scope.start" : 582, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let rects: [CGRect<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> rects<\/decl.name>: [CGRect<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 68, - "key.line" : 584, - "key.modulename" : "ListableUI", - "key.name" : "rects", - "key.namelength" : 5, - "key.nameoffset" : 18978, - "key.offset" : 18974, - "key.parsed_declaration" : "let rects = rects.filter {\n $0.isEmpty == false\n}", - "key.parsed_scope.end" : 584, - "key.parsed_scope.start" : 584, - "key.reusingastcontext" : false, - "key.typename" : "[CGRect]", - "key.typeusr" : "$sSaySo6CGRectVGD", - "key.usr" : "s:So6CGRectV10ListableUIE7unioned4fromABSayABG_tFZ5rectsL0_AFvp" - }, - { - "key.annotated_decl" : "var frame: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 17, - "key.line" : 592, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 19145, - "key.offset" : 19141, - "key.parsed_declaration" : "var frame = first", - "key.parsed_scope.end" : 592, - "key.parsed_scope.start" : 592, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:So6CGRectV10ListableUIE7unioned4fromABSayABG_tFZ5frameL_ABvp" - } - ], - "key.typename" : "(CGRect.Type) -> ([CGRect]) -> CGRect", - "key.typeusr" : "$s4fromSo6CGRectVSayACG_tcD", - "key.usr" : "s:So6CGRectV10ListableUIE7unioned4fromABSayABG_tFZ" - } - ], - "key.typename" : "CGRect.Type", - "key.typeusr" : "$sSo6CGRectVmD", - "key.usr" : "c:@S@CGRect" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutDefaults.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 401, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutDefaults<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 116 - } - ], - "key.bodylength" : 249, - "key.bodyoffset" : 150, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutDefaults.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutDefaults<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 277, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutDefaults", - "key.namelength" : 18, - "key.nameoffset" : 130, - "key.offset" : 123, - "key.parsed_declaration" : "public struct ListLayoutDefaults", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemInsertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 155 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutDefaults.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemInsertAndRemoveAnimations<\/decl.name>: ItemInsertAndRemoveAnimations<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "itemInsertAndRemoveAnimations", - "key.namelength" : 29, - "key.nameoffset" : 166, - "key.offset" : 162, - "key.parsed_declaration" : "public var itemInsertAndRemoveAnimations : ItemInsertAndRemoveAnimations", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemInsertAndRemoveAnimations", - "key.typeusr" : "$s10ListableUI29ItemInsertAndRemoveAnimationsVD", - "key.usr" : "s:10ListableUI18ListLayoutDefaultsV29itemInsertAndRemoveAnimationsAA04ItemghiJ0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(itemInsertAndRemoveAnimations: ItemInsertAndRemoveAnimations<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 237 - } - ], - "key.bodylength" : 80, - "key.bodyoffset" : 317, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutDefaults.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(itemInsertAndRemoveAnimations<\/decl.var.parameter.argument_label>: ItemInsertAndRemoveAnimations<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 154, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "init(itemInsertAndRemoveAnimations:)", - "key.namelength" : 67, - "key.nameoffset" : 244, - "key.offset" : 244, - "key.parsed_declaration" : "public init(itemInsertAndRemoveAnimations : ItemInsertAndRemoveAnimations)", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutDefaults.Type) -> (ItemInsertAndRemoveAnimations) -> ListLayoutDefaults", - "key.typeusr" : "$s29itemInsertAndRemoveAnimations10ListableUI18ListLayoutDefaultsVAB04ItembcdE0V_tcD", - "key.usr" : "s:10ListableUI18ListLayoutDefaultsV29itemInsertAndRemoveAnimationsAcA04ItemghiJ0V_tcfc" - } - ], - "key.typename" : "ListLayoutDefaults.Type", - "key.typeusr" : "$s10ListableUI18ListLayoutDefaultsVmD", - "key.usr" : "s:10ListableUI18ListLayoutDefaultsV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 884, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutResult : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 233 - } - ], - "key.bodylength" : 605, - "key.bodyoffset" : 277, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the values which should be calculated and returned from `ListLayout.layout(delegate:in:)`.", - "key.doc.column" : 15, - "key.doc.comment" : "Describes the values which should be calculated and returned from `ListLayout.layout(delegate:in:)`.", - "key.doc.declaration" : "public struct ListLayoutResult : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.doc.full_as_xml" : "ListLayoutResult<\/Name>s:10ListableUI16ListLayoutResultV<\/USR>public struct ListLayoutResult : Equatable<\/Declaration>Describes the values which should be calculated and returned from ListLayout.layout(delegate:in:)<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "ListLayoutResult", - "key.doc.type" : "Class", - "key.doclength" : 105, - "key.docoffset" : 128, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 266 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutResult<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 643, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutResult", - "key.namelength" : 16, - "key.nameoffset" : 247, - "key.offset" : 240, - "key.parsed_declaration" : "public struct ListLayoutResult : Equatable", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentSize: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 359 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The size of the content as it has been laid out by your layout.", - "key.doc.column" : 16, - "key.doc.comment" : "The size of the content as it has been laid out by your layout.", - "key.doc.declaration" : "public var contentSize: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.doc.full_as_xml" : "contentSize<\/Name>s:10ListableUI16ListLayoutResultV11contentSizeSo6CGSizeVvp<\/USR>public var contentSize: CGSize<\/Declaration>The size of the content as it has been laid out by your layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 16, - "key.doc.name" : "contentSize", - "key.doc.type" : "Other", - "key.doclength" : 68, - "key.docoffset" : 287, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 370, - "key.offset" : 366, - "key.parsed_declaration" : "public var contentSize : CGSize", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI16ListLayoutResultV11contentSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var naturalContentWidth: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 643 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If available, the natural width of any measured content.\nFor lists that lay out horizontally, this should be the natural height.\n\nIf your list does not have a natural content width, provide `nil` for this value.", - "key.doc.column" : 16, - "key.doc.comment" : "If available, the natural width of any measured content.\nFor lists that lay out horizontally, this should be the natural height.\n\nIf your list does not have a natural content width, provide `nil` for this value.", - "key.doc.declaration" : "public var naturalContentWidth: CGFloat?", - "key.doc.discussion" : [ - { - "Para" : "If your list does not have a natural content width, provide `nil` for this value." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.doc.full_as_xml" : "naturalContentWidth<\/Name>s:10ListableUI16ListLayoutResultV19naturalContentWidth14CoreFoundation7CGFloatVSgvp<\/USR>public var naturalContentWidth: CGFloat?<\/Declaration>If available, the natural width of any measured content. For lists that lay out horizontally, this should be the natural height.<\/Para><\/Abstract>If your list does not have a natural content width, provide nil<\/codeVoice> for this value.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 22, - "key.doc.name" : "naturalContentWidth", - "key.doc.type" : "Other", - "key.doclength" : 239, - "key.docoffset" : 400, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> naturalContentWidth<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "naturalContentWidth", - "key.namelength" : 19, - "key.nameoffset" : 654, - "key.offset" : 650, - "key.parsed_declaration" : "public var naturalContentWidth : CGFloat?", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI16ListLayoutResultV19naturalContentWidth14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(contentSize: CGSize<\/Type>, naturalContentWidth: CGFloat<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 694 - } - ], - "key.bodylength" : 99, - "key.bodyoffset" : 781, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutResult.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(contentSize<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, naturalContentWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 180, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "init(contentSize:naturalContentWidth:)", - "key.namelength" : 78, - "key.nameoffset" : 701, - "key.offset" : 701, - "key.parsed_declaration" : "public init(\n contentSize: CGSize,\n naturalContentWidth: CGFloat?\n)", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutResult.Type) -> (CGSize, CGFloat?) -> ListLayoutResult", - "key.typeusr" : "$s11contentSize19naturalContentWidth10ListableUI16ListLayoutResultVSo6CGSizeV_14CoreFoundation7CGFloatVSgtcD", - "key.usr" : "s:10ListableUI16ListLayoutResultV11contentSize19naturalContentWidthACSo6CGSizeV_14CoreFoundation7CGFloatVSgtcfc" - } - ], - "key.typename" : "ListLayoutResult.Type", - "key.typeusr" : "$s10ListableUI16ListLayoutResultVmD", - "key.usr" : "s:10ListableUI16ListLayoutResultV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4776, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListLayoutScrollViewProperties : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 122 - } - ], - "key.bodylength" : 3341, - "key.bodyoffset" : 180, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 169 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListLayoutScrollViewProperties<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3393, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutScrollViewProperties", - "key.namelength" : 30, - "key.nameoffset" : 136, - "key.offset" : 129, - "key.parsed_declaration" : "public struct ListLayoutScrollViewProperties : Equatable", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pageScrollingBehavior: PageScrollingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 185 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pageScrollingBehavior<\/decl.name>: PageScrollingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "pageScrollingBehavior", - "key.namelength" : 21, - "key.nameoffset" : 196, - "key.offset" : 192, - "key.parsed_declaration" : "public var pageScrollingBehavior : PageScrollingBehavior", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "PageScrollingBehavior", - "key.typeusr" : "$s10ListableUI21PageScrollingBehaviorOD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV21pageScrollingBehaviorAA04PageiJ0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 251 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentInsetAdjustmentBehavior<\/decl.name>: ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 67, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "contentInsetAdjustmentBehavior", - "key.namelength" : 30, - "key.nameoffset" : 262, - "key.offset" : 258, - "key.parsed_declaration" : "public var contentInsetAdjustmentBehavior : ContentInsetAdjustmentBehavior", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ContentInsetAdjustmentBehavior", - "key.typeusr" : "$s10ListableUI30ContentInsetAdjustmentBehaviorOD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV30contentInsetAdjustmentBehaviorAA07ContentijK0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var allowsBounceVertical: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 335 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> allowsBounceVertical<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "allowsBounceVertical", - "key.namelength" : 20, - "key.nameoffset" : 346, - "key.offset" : 342, - "key.parsed_declaration" : "public var allowsBounceVertical : Bool", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV20allowsBounceVerticalSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var allowsBounceHorizontal: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 378 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> allowsBounceHorizontal<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "allowsBounceHorizontal", - "key.namelength" : 22, - "key.nameoffset" : 389, - "key.offset" : 385, - "key.parsed_declaration" : "public var allowsBounceHorizontal : Bool", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV22allowsBounceHorizontalSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var allowsHorizontalScrollIndicator: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 428 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> allowsHorizontalScrollIndicator<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "allowsHorizontalScrollIndicator", - "key.namelength" : 31, - "key.nameoffset" : 439, - "key.offset" : 435, - "key.parsed_declaration" : "public var allowsHorizontalScrollIndicator : Bool", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV016allowsHorizontalE9IndicatorSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var allowsVerticalScrollIndicator: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 482 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> allowsVerticalScrollIndicator<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "allowsVerticalScrollIndicator", - "key.namelength" : 29, - "key.nameoffset" : 493, - "key.offset" : 489, - "key.parsed_declaration" : "public var allowsVerticalScrollIndicator : Bool", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV014allowsVerticalE9IndicatorSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(pageScrollingBehavior: PageScrollingBehavior<\/Type>, contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior<\/Type>, allowsBounceVertical: Bool<\/Type>, allowsBounceHorizontal: Bool<\/Type>, allowsVerticalScrollIndicator: Bool<\/Type>, allowsHorizontalScrollIndicator: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 539 - } - ], - "key.bodylength" : 423, - "key.bodyoffset" : 854, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(pageScrollingBehavior<\/decl.var.parameter.argument_label>: PageScrollingBehavior<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, contentInsetAdjustmentBehavior<\/decl.var.parameter.argument_label>: ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, allowsBounceVertical<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, allowsBounceHorizontal<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, allowsVerticalScrollIndicator<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, allowsHorizontalScrollIndicator<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 732, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "init(pageScrollingBehavior:contentInsetAdjustmentBehavior:allowsBounceVertical:allowsBounceHorizontal:allowsVerticalScrollIndicator:allowsHorizontalScrollIndicator:)", - "key.namelength" : 306, - "key.nameoffset" : 546, - "key.offset" : 546, - "key.parsed_declaration" : "public init(\n pageScrollingBehavior: PageScrollingBehavior,\n contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior,\n allowsBounceVertical : Bool,\n allowsBounceHorizontal : Bool,\n allowsVerticalScrollIndicator : Bool,\n allowsHorizontalScrollIndicator : Bool\n)", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutScrollViewProperties.Type) -> (PageScrollingBehavior, ContentInsetAdjustmentBehavior, Bool, Bool, Bool, Bool) -> ListLayoutScrollViewProperties", - "key.typeusr" : "$s21pageScrollingBehavior022contentInsetAdjustmentC020allowsBounceVertical0gH10Horizontal0gI15ScrollIndicator0gjkL010ListableUI010ListLayoutK14ViewPropertiesVAG04PagebC0O_AG07ContentefC0OS4btcD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV21pageScrollingBehavior022contentInsetAdjustmentJ020allowsBounceVertical0nO10Horizontal0npE9Indicator0nqeR0AcA04PageiJ0O_AA07ContentlmJ0OS4btcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func apply(to view: UIScrollView<\/Type>, behavior: Behavior<\/Type>, direction: LayoutDirection<\/Type>, showsScrollIndicators: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 2073, - "key.bodyoffset" : 1446, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, showsScrollIndicators<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2228, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:behavior:direction:showsScrollIndicators:)", - "key.namelength" : 147, - "key.nameoffset" : 1297, - "key.offset" : 1292, - "key.parsed_declaration" : "func apply(\n to view : UIScrollView,\n behavior : Behavior,\n direction : LayoutDirection,\n showsScrollIndicators : Bool\n)", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let isNativePagingEnabled: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "**Note**: Properties are only set if they are different (hence all the `if` statements below)\nbecause some UIScrollView properties, even when set to the same value, can affect or stop scrolling if it\nis in progress. Hard to tell which across iOS versions, so just always be defensive.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isNativePagingEnabled<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 106, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "isNativePagingEnabled", - "key.namelength" : 21, - "key.nameoffset" : 1922, - "key.offset" : 1918, - "key.parsed_declaration" : "let isNativePagingEnabled = self.pageScrollingBehavior == .full || behavior.pageScrollingBehavior == .full", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF21isNativePagingEnabledL_Sbvp" - }, - { - "key.annotated_decl" : "let alwaysBounceVertical: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> alwaysBounceVertical<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 113, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "alwaysBounceVertical", - "key.namelength" : 20, - "key.nameoffset" : 2406, - "key.offset" : 2402, - "key.parsed_declaration" : "let alwaysBounceVertical = self.allowsBounceVertical && behavior.underflow.alwaysBounce && direction == .vertical", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF20alwaysBounceVerticalL_Sbvp" - }, - { - "key.annotated_decl" : "let alwaysBounceHorizontal: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> alwaysBounceHorizontal<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 119, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "alwaysBounceHorizontal", - "key.namelength" : 22, - "key.nameoffset" : 2528, - "key.offset" : 2524, - "key.parsed_declaration" : "let alwaysBounceHorizontal = self.allowsBounceHorizontal && behavior.underflow.alwaysBounce && direction == .horizontal", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF22alwaysBounceHorizontalL_Sbvp" - }, - { - "key.annotated_decl" : "let showsVerticalScrollIndicator: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> showsVerticalScrollIndicator<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 94, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "showsVerticalScrollIndicator", - "key.namelength" : 28, - "key.nameoffset" : 2959, - "key.offset" : 2955, - "key.parsed_declaration" : "let showsVerticalScrollIndicator = self.allowsVerticalScrollIndicator && showsScrollIndicators", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF0l8VerticalE9IndicatorL_Sbvp" - }, - { - "key.annotated_decl" : "let showsHorizontalScrollIndicator: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> showsHorizontalScrollIndicator<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 98, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "showsHorizontalScrollIndicator", - "key.namelength" : 30, - "key.nameoffset" : 3062, - "key.offset" : 3058, - "key.parsed_declaration" : "let showsHorizontalScrollIndicator = self.allowsHorizontalScrollIndicator && showsScrollIndicators", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF0l10HorizontalE9IndicatorL_Sbvp" - } - ], - "key.typename" : "(ListLayoutScrollViewProperties) -> (UIScrollView, Behavior, LayoutDirection, Bool) -> ()", - "key.typeusr" : "$s2to8behavior9direction21showsScrollIndicatorsySo12UIScrollViewC_10ListableUI8BehaviorVAG15LayoutDirectionOSbtcD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV5apply2to8behavior9direction05showsE10IndicatorsySo08UIScrollF0C_AA8BehaviorVAA0D9DirectionOSbtF" - } - ], - "key.typename" : "ListLayoutScrollViewProperties.Type", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVmD", - "key.usr" : "s:10ListableUI30ListLayoutScrollViewPropertiesV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ContentInsetAdjustmentBehavior : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3671 - } - ], - "key.bodylength" : 583, - "key.bodyoffset" : 3727, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Constants indicating how safe area insets are added to the adjusted content inset.\nMirrors `UIScrollView.ContentInsetAdjustmentBehavior`.", - "key.doc.column" : 13, - "key.doc.comment" : "Constants indicating how safe area insets are added to the adjusted content inset.\nMirrors `UIScrollView.ContentInsetAdjustmentBehavior`.", - "key.doc.declaration" : "public enum ContentInsetAdjustmentBehavior : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "ContentInsetAdjustmentBehavior<\/Name>s:10ListableUI30ContentInsetAdjustmentBehaviorO<\/USR>public enum ContentInsetAdjustmentBehavior : Equatable<\/Declaration>Constants indicating how safe area insets are added to the adjusted content inset. Mirrors UIScrollView.ContentInsetAdjustmentBehavior<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 92, - "key.doc.name" : "ContentInsetAdjustmentBehavior", - "key.doc.type" : "Other", - "key.doclength" : 146, - "key.docoffset" : 3525, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3716 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ContentInsetAdjustmentBehavior<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 633, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "ContentInsetAdjustmentBehavior", - "key.namelength" : 30, - "key.nameoffset" : 3683, - "key.offset" : 3678, - "key.parsed_declaration" : "public enum ContentInsetAdjustmentBehavior : Equatable", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 3803, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case automatic<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies the inset from a UIKit navigation bar or tab bar.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies the inset from a UIKit navigation bar or tab bar.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "automatic<\/Name>s:10ListableUI30ContentInsetAdjustmentBehaviorO9automaticyA2CmF<\/USR><\/Declaration>Applies the inset from a UIKit navigation bar or tab bar.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 95, - "key.doc.name" : "automatic", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 3737, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> automatic<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "automatic", - "key.namelength" : 9, - "key.nameoffset" : 3808, - "key.offset" : 3808, - "key.parsed_declaration" : "case automatic", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.typename" : "(ContentInsetAdjustmentBehavior.Type) -> ContentInsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI30ContentInsetAdjustmentBehaviorOACmcD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO9automaticyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 3888, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case scrollableAxes<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies the safe area inset for the scrollable axes.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies the safe area inset for the scrollable axes.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "scrollableAxes<\/Name>s:10ListableUI30ContentInsetAdjustmentBehaviorO14scrollableAxesyA2CmF<\/USR><\/Declaration>Applies the safe area inset for the scrollable axes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 98, - "key.doc.name" : "scrollableAxes", - "key.doc.type" : "Other", - "key.doclength" : 57, - "key.docoffset" : 3827, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrollableAxes<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "scrollableAxes", - "key.namelength" : 14, - "key.nameoffset" : 3893, - "key.offset" : 3893, - "key.parsed_declaration" : "case scrollableAxes", - "key.parsed_scope.end" : 98, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.typename" : "(ContentInsetAdjustmentBehavior.Type) -> ContentInsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI30ContentInsetAdjustmentBehaviorOACmcD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO14scrollableAxesyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 3953, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case never<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies no safe area inset.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies no safe area inset.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "never<\/Name>s:10ListableUI30ContentInsetAdjustmentBehaviorO5neveryA2CmF<\/USR><\/Declaration>Applies no safe area inset.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 101, - "key.doc.name" : "never", - "key.doc.type" : "Other", - "key.doclength" : 32, - "key.docoffset" : 3917, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> never<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "never", - "key.namelength" : 5, - "key.nameoffset" : 3958, - "key.offset" : 3958, - "key.parsed_declaration" : "case never", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.typename" : "(ContentInsetAdjustmentBehavior.Type) -> ContentInsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI30ContentInsetAdjustmentBehaviorOACmcD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO5neveryA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 4011, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case always<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies all safe area insets.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies all safe area insets.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "always<\/Name>s:10ListableUI30ContentInsetAdjustmentBehaviorO6alwaysyA2CmF<\/USR><\/Declaration>Applies all safe area insets.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 104, - "key.doc.name" : "always", - "key.doc.type" : "Other", - "key.doclength" : 34, - "key.docoffset" : 3973, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> always<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "always", - "key.namelength" : 6, - "key.nameoffset" : 4016, - "key.offset" : 4016, - "key.parsed_declaration" : "case always", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.typename" : "(ContentInsetAdjustmentBehavior.Type) -> ContentInsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI30ContentInsetAdjustmentBehaviorOACmcD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO6alwaysyA2CmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var toUIScrollViewValue: UIScrollView<\/Type>.ContentInsetAdjustmentBehavior<\/Type> { get }<\/Declaration>", - "key.bodylength" : 205, - "key.bodyoffset" : 4103, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toUIScrollViewValue<\/decl.name>: UIScrollView<\/ref.class>.ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 277, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "toUIScrollViewValue", - "key.namelength" : 19, - "key.nameoffset" : 4036, - "key.offset" : 4032, - "key.parsed_declaration" : "var toUIScrollViewValue : UIScrollView.ContentInsetAdjustmentBehavior", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 106, - "key.reusingastcontext" : false, - "key.typename" : "UIScrollView.ContentInsetAdjustmentBehavior", - "key.typeusr" : "$sSo42UIScrollViewContentInsetAdjustmentBehaviorVD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO19toUIScrollViewValueSo0hicdeF0Vvp" - } - ], - "key.typename" : "ContentInsetAdjustmentBehavior.Type", - "key.typeusr" : "$s10ListableUI30ContentInsetAdjustmentBehaviorOmD", - "key.usr" : "s:10ListableUI30ContentInsetAdjustmentBehaviorO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum PageScrollingBehavior<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4355 - } - ], - "key.bodylength" : 384, - "key.bodyoffset" : 4390, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The paging style of the scroll view.", - "key.doc.column" : 13, - "key.doc.comment" : "The paging style of the scroll view.", - "key.doc.declaration" : "public enum PageScrollingBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "PageScrollingBehavior<\/Name>s:10ListableUI21PageScrollingBehaviorO<\/USR>public enum PageScrollingBehavior<\/Declaration>The paging style of the scroll view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 118, - "key.doc.name" : "PageScrollingBehavior", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 4314, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> PageScrollingBehavior<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 413, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "PageScrollingBehavior", - "key.namelength" : 21, - "key.nameoffset" : 4367, - "key.offset" : 4362, - "key.parsed_declaration" : "public enum PageScrollingBehavior", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 4461, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This behavior does not use any paging functionality.", - "key.doc.column" : 10, - "key.doc.comment" : "This behavior does not use any paging functionality.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI21PageScrollingBehaviorO4noneyA2CmF<\/USR><\/Declaration>This behavior does not use any paging functionality.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 121, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 57, - "key.docoffset" : 4400, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 4466, - "key.offset" : 4466, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "(PageScrollingBehavior.Type) -> PageScrollingBehavior", - "key.typeusr" : "$sy10ListableUI21PageScrollingBehaviorOACmcD", - "key.usr" : "s:10ListableUI21PageScrollingBehaviorO4noneyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 4602, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case full<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies native `UIScrollView` paging, where each page is the full size of the\nscroll view's primary axis.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies native `UIScrollView` paging, where each page is the full size of the\nscroll view's primary axis.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "full<\/Name>s:10ListableUI21PageScrollingBehaviorO4fullyA2CmF<\/USR><\/Declaration>Applies native UIScrollView<\/codeVoice> paging, where each page is the full size of the scroll view’s primary axis.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 125, - "key.doc.name" : "full", - "key.doc.type" : "Other", - "key.doclength" : 118, - "key.docoffset" : 4480, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> full<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "full", - "key.namelength" : 4, - "key.nameoffset" : 4607, - "key.offset" : 4607, - "key.parsed_declaration" : "case full", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.typename" : "(PageScrollingBehavior.Type) -> PageScrollingBehavior", - "key.typeusr" : "$sy10ListableUI21PageScrollingBehaviorOACmcD", - "key.usr" : "s:10ListableUI21PageScrollingBehaviorO4fullyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 4764, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case peek<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies custom paging, where pages aren't the full width of the scroll view's\nbounds, allowing items to peek in from the edge.", - "key.doc.column" : 10, - "key.doc.comment" : "Applies custom paging, where pages aren't the full width of the scroll view's\nbounds, allowing items to peek in from the edge.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.doc.full_as_xml" : "peek<\/Name>s:10ListableUI21PageScrollingBehaviorO4peekyA2CmF<\/USR><\/Declaration>Applies custom paging, where pages aren’t the full width of the scroll view’s bounds, allowing items to peek in from the edge.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 129, - "key.doc.name" : "peek", - "key.doc.type" : "Other", - "key.doclength" : 139, - "key.docoffset" : 4621, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutScrollViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> peek<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "peek", - "key.namelength" : 4, - "key.nameoffset" : 4769, - "key.offset" : 4769, - "key.parsed_declaration" : "case peek", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.reusingastcontext" : false, - "key.typename" : "(PageScrollingBehavior.Type) -> PageScrollingBehavior", - "key.typeusr" : "$sy10ListableUI21PageScrollingBehaviorOACmcD", - "key.usr" : "s:10ListableUI21PageScrollingBehaviorO4peekyA2CmF" - } - ] - } - ], - "key.typename" : "PageScrollingBehavior.Type", - "key.typeusr" : "$s10ListableUI21PageScrollingBehaviorOmD", - "key.usr" : "s:10ListableUI21PageScrollingBehaviorO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 896, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ListPagingBehavior : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 299 - } - ], - "key.bodylength" : 551, - "key.bodyoffset" : 343, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how to align \/ adjust the `contentOffset` of the list when\nthe user finishes a drag action, allowing you to align the end of the\nscroll event to the first visible item if desired.", - "key.doc.column" : 13, - "key.doc.comment" : "Controls how to align \/ adjust the `contentOffset` of the list when\nthe user finishes a drag action, allowing you to align the end of the\nscroll event to the first visible item if desired.", - "key.doc.declaration" : "public enum ListPagingBehavior : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.doc.full_as_xml" : "ListPagingBehavior<\/Name>s:10ListableUI18ListPagingBehaviorO<\/USR>public enum ListPagingBehavior : Equatable<\/Declaration>Controls how to align \/ adjust the contentOffset<\/codeVoice> of the list when the user finishes a drag action, allowing you to align the end of the scroll event to the first visible item if desired.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 12, - "key.doc.name" : "ListPagingBehavior", - "key.doc.type" : "Other", - "key.doclength" : 201, - "key.docoffset" : 98, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 332 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListPagingBehavior<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 589, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListPagingBehavior", - "key.namelength" : 18, - "key.nameoffset" : 311, - "key.offset" : 306, - "key.parsed_declaration" : "public enum ListPagingBehavior : Equatable", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 485, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the user stops scrolling, no paging adjusts will be made, the\nscroll event will stop where it regularly would.", - "key.doc.column" : 10, - "key.doc.comment" : "When the user stops scrolling, no paging adjusts will be made, the\nscroll event will stop where it regularly would.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI18ListPagingBehaviorO4noneyA2CmF<\/USR><\/Declaration>When the user stops scrolling, no paging adjusts will be made, the scroll event will stop where it regularly would.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 16, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 128, - "key.docoffset" : 353, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 490, - "key.offset" : 490, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(ListPagingBehavior.Type) -> ListPagingBehavior", - "key.typeusr" : "$sy10ListableUI18ListPagingBehaviorOACmcD", - "key.usr" : "s:10ListableUI18ListPagingBehaviorO4noneyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 25, - "key.offset" : 654, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case firstVisibleItemEdge<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the user stops scrolling, the final offset of the scroll event\nwill be adjusted so that the first visible item is fully visible.", - "key.doc.column" : 10, - "key.doc.comment" : "When the user stops scrolling, the final offset of the scroll event\nwill be adjusted so that the first visible item is fully visible.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.doc.full_as_xml" : "firstVisibleItemEdge<\/Name>s:10ListableUI18ListPagingBehaviorO20firstVisibleItemEdgeyA2CmF<\/USR><\/Declaration>When the user stops scrolling, the final offset of the scroll event will be adjusted so that the first visible item is fully visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "firstVisibleItemEdge", - "key.doc.type" : "Other", - "key.doclength" : 146, - "key.docoffset" : 504, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> firstVisibleItemEdge<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 20, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "firstVisibleItemEdge", - "key.namelength" : 20, - "key.nameoffset" : 659, - "key.offset" : 659, - "key.parsed_declaration" : "case firstVisibleItemEdge", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "(ListPagingBehavior.Type) -> ListPagingBehavior", - "key.typeusr" : "$sy10ListableUI18ListPagingBehaviorOACmcD", - "key.usr" : "s:10ListableUI18ListPagingBehaviorO20firstVisibleItemEdgeyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 29, - "key.offset" : 864, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case firstVisibleItemCentered<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When the user stops scrolling, the final offset of the scroll event\nwill be adjusted so that the first visible item is centered within the\nvisible bounds.", - "key.doc.column" : 10, - "key.doc.comment" : "When the user stops scrolling, the final offset of the scroll event\nwill be adjusted so that the first visible item is centered within the\nvisible bounds.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.doc.full_as_xml" : "firstVisibleItemCentered<\/Name>s:10ListableUI18ListPagingBehaviorO24firstVisibleItemCenteredyA2CmF<\/USR><\/Declaration>When the user stops scrolling, the final offset of the scroll event will be adjusted so that the first visible item is centered within the visible bounds.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 25, - "key.doc.name" : "firstVisibleItemCentered", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 685, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListPagingBehavior.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> firstVisibleItemCentered<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 24, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "firstVisibleItemCentered", - "key.namelength" : 24, - "key.nameoffset" : 869, - "key.offset" : 869, - "key.parsed_declaration" : "case firstVisibleItemCentered", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "(ListPagingBehavior.Type) -> ListPagingBehavior", - "key.typeusr" : "$sy10ListableUI18ListPagingBehaviorOACmcD", - "key.usr" : "s:10ListableUI18ListPagingBehaviorO24firstVisibleItemCenteredyA2CmF" - } - ] - } - ], - "key.typename" : "ListPagingBehavior.Type", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOmD", - "key.usr" : "s:10ListableUI18ListPagingBehaviorO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 12748, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 107 - } - ], - "key.bodylength" : 155, - "key.bodyoffset" : 143, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 185, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 124, - "key.offset" : 114, - "key.parsed_declaration" : "public extension LayoutDescription", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func paged(_ configure: (inout PagedAppearance<\/Type>) -> () = { _ in }) -> LayoutDescription<\/Type><\/Declaration>", - "key.bodylength" : 61, - "key.bodyoffset" : 235, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> paged<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> PagedAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 149, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "paged(_:)", - "key.namelength" : 61, - "key.nameoffset" : 160, - "key.offset" : 148, - "key.parsed_declaration" : "static func paged(_ configure : (inout PagedAppearance) -> () = { _ in }) -> Self", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDescription.Type) -> ((inout PagedAppearance) -> ()) -> LayoutDescription", - "key.typeusr" : "$sy10ListableUI17LayoutDescriptionVyAA15PagedAppearanceVzXEcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV5pagedyACyAA15PagedAppearanceVzXEFZ" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct PagedAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2155 - } - ], - "key.bodylength" : 3482, - "key.bodyoffset" : 2209, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the available appearance configuration options for a paged list layout.\nPaged list layouts lay out the headers, footers, and items in a list in a paged layout,\nsimilar to how UIPageViewController works.\n\nYou can control the direction via the `direction` property, and you can control\nthe inset on each page via the `itemInsets` property. You may also optionally show\nthe scroll indicators with the `showsScrollIndicators` property.\n\nNote\n----\nDo not edit this ASCII diagram directly.\nEdit the `PagedAppearance.monopic` file in this directory using Monodraw.\n```\n┌─────────────────────────────────┐\n│ itemInsets.top │\n│ ┌─────────────────────────┐ i │\n│ i │ │ t │\n│ t │ │ e │\n│ e │ │ m │\n│ m │ │ I │\n│ I │ │ n │\n│ n │ │ s │\n│ s │ │ e │\n│ e │ │ t │\n│ t │ │ s │\n│ s │ │ . │\n│ . │ │ r │\n│ l │ │ i │\n│ e │ │ g │\n│ f │ │ h │\n│ t │ │ t │\n│ └─────────────────────────┘ │\n│ itemInsets.bottom │\n└─────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.comment" : "Describes the available appearance configuration options for a paged list layout.\nPaged list layouts lay out the headers, footers, and items in a list in a paged layout,\nsimilar to how UIPageViewController works.\n\nYou can control the direction via the `direction` property, and you can control\nthe inset on each page via the `itemInsets` property. You may also optionally show\nthe scroll indicators with the `showsScrollIndicators` property.\n\nNote\n----\nDo not edit this ASCII diagram directly.\nEdit the `PagedAppearance.monopic` file in this directory using Monodraw.\n```\n┌─────────────────────────────────┐\n│ itemInsets.top │\n│ ┌─────────────────────────┐ i │\n│ i │ │ t │\n│ t │ │ e │\n│ e │ │ m │\n│ m │ │ I │\n│ I │ │ n │\n│ n │ │ s │\n│ s │ │ e │\n│ e │ │ t │\n│ t │ │ s │\n│ s │ │ . │\n│ . │ │ r │\n│ l │ │ i │\n│ e │ │ g │\n│ f │ │ h │\n│ t │ │ t │\n│ └─────────────────────────┘ │\n│ itemInsets.bottom │\n└─────────────────────────────────┘\n```", - "key.doc.declaration" : "public struct PagedAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "You can control the direction via the `direction` property, and you can control the inset on each page via the `itemInsets` property. You may also optionally show the scroll indicators with the `showsScrollIndicators` property." - }, - { - "Para" : "Do not edit this ASCII diagram directly. Edit the `PagedAppearance.monopic` file in this directory using Monodraw." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "PagedAppearance<\/Name>s:10ListableUI15PagedAppearanceV<\/USR>public struct PagedAppearance : ListLayoutAppearance<\/Declaration>Describes the available appearance configuration options for a paged list layout. Paged list layouts lay out the headers, footers, and items in a list in a paged layout, similar to how UIPageViewController works.<\/Para><\/Abstract>You can control the direction via the direction<\/codeVoice> property, and you can control the inset on each page via the itemInsets<\/codeVoice> property. You may also optionally show the scroll indicators with the showsScrollIndicators<\/codeVoice> property.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not edit this ASCII diagram directly. Edit the PagedAppearance.monopic<\/codeVoice> file in this directory using Monodraw.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "PagedAppearance", - "key.doc.type" : "Class", - "key.doclength" : 1854, - "key.docoffset" : 301, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 2187 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> PagedAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutAppearance" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3530, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "PagedAppearance", - "key.namelength" : 15, - "key.nameoffset" : 2169, - "key.offset" : 2162, - "key.parsed_declaration" : "public struct PagedAppearance : ListLayoutAppearance", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: ListLayoutAppearance", - "key.offset" : 2217 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var `default`: PagedAppearance<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2253 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 2299, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: PagedAppearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 65, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 2271, - "key.offset" : 2260, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP7defaultxvpZ" - } - ], - "key.parsed_declaration" : "public static var `default`: PagedAppearance", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.typename" : "PagedAppearance", - "key.typeusr" : "$s10ListableUI15PagedAppearanceVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV7defaultACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2416 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The direction the paging layout should occur in. Defaults to `vertical`.", - "key.doc.column" : 16, - "key.doc.comment" : "The direction the paging layout should occur in. Defaults to `vertical`.", - "key.doc.declaration" : "public var direction: LayoutDirection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "direction<\/Name>s:10ListableUI15PagedAppearanceV9directionAA15LayoutDirectionOvp<\/USR>public var direction: LayoutDirection<\/Declaration>The direction the paging layout should occur in. Defaults to vertical<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "direction", - "key.doc.type" : "Other", - "key.doclength" : 77, - "key.docoffset" : 2335, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 2427, - "key.offset" : 2423, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP9directionAA0D9DirectionOvp" - } - ], - "key.parsed_declaration" : "public var direction: LayoutDirection", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV9directionAA15LayoutDirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let listHeaderPosition: ListHeaderPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2459 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 2470, - "key.offset" : 2466, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP18listHeaderPositionAA0cgH0Ovp" - } - ], - "key.parsed_declaration" : "public let listHeaderPosition: ListHeaderPosition = .inline", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV18listHeaderPositionAA04ListfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let stickySectionHeaders: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2524 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 2535, - "key.offset" : 2531, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20stickySectionHeadersSbvp" - } - ], - "key.parsed_declaration" : "public let stickySectionHeaders: Bool = false", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15PagedAppearanceV20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pagingBehavior: ListPagingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2579 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 2590, - "key.offset" : 2586, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP14pagingBehaviorAA0c6PagingG0Ovp" - } - ], - "key.parsed_declaration" : "public var pagingBehavior: ListPagingBehavior = .none", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV14pagingBehaviorAA010ListPagingF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2642 - } - ], - "key.bodylength" : 707, - "key.bodyoffset" : 2707, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 766, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 2653, - "key.offset" : 2649, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20scrollViewPropertiesAA0cd6ScrollgH0Vvp" - } - ], - "key.parsed_declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvp" - }, - { - "key.annotated_decl" : "let pageScrollingBehavior: PageScrollingBehavior<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> pageScrollingBehavior<\/decl.name>: PageScrollingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 306, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "pageScrollingBehavior", - "key.namelength" : 21, - "key.nameoffset" : 2729, - "key.offset" : 2725, - "key.parsed_declaration" : "let pageScrollingBehavior: PageScrollingBehavior = switch pagingSize {\n\/\/ When there is no peek, meaning pages span the width of the collection view,\n\/\/ use the system's native paging behavior.\ncase .inset(let peek): peek.isEmpty ? .full : .peek\ncase .fixed: .full\n}", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.typename" : "PageScrollingBehavior", - "key.typeusr" : "$s10ListableUI21PageScrollingBehaviorOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvg21pageScrollingBehaviorL_AA04PagelM0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounds: ListContentBounds<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3425 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 3436, - "key.offset" : 3432, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP6boundsAA0C13ContentBoundsVSgvp" - } - ], - "key.parsed_declaration" : "public var bounds: ListContentBounds?", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI15PagedAppearanceV6boundsAA17ListContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var peek: Peek<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3526 - } - ], - "key.bodylength" : 204, - "key.bodyoffset" : 3549, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is a proxy to the internal `pagingSize`.", - "key.doc.column" : 16, - "key.doc.comment" : "This is a proxy to the internal `pagingSize`.", - "key.doc.declaration" : "public var peek: Peek { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "peek<\/Name>s:10ListableUI15PagedAppearanceV4peekAC4PeekVvp<\/USR>public var peek: Peek { get set }<\/Declaration>This is a proxy to the internal pagingSize<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 93, - "key.doc.name" : "peek", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 3472, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> peek<\/decl.name>: Peek<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 221, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "peek", - "key.namelength" : 4, - "key.nameoffset" : 3537, - "key.offset" : 3533, - "key.parsed_declaration" : "public var peek: Peek", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "PagedAppearance.Peek", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV4PeekVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4peekAC4PeekVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func toLayoutDescription() -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3764 - } - ], - "key.bodylength" : 83, - "key.bodyoffset" : 3820, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> toLayoutDescription<\/decl.name>() -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 133, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "toLayoutDescription()", - "key.namelength" : 21, - "key.nameoffset" : 3776, - "key.offset" : 3771, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP02toD11DescriptionAA0dG0VyF" - } - ], - "key.parsed_declaration" : "public func toLayoutDescription() -> LayoutDescription", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance) -> () -> LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVycD", - "key.usr" : "s:10ListableUI15PagedAppearanceV19toLayoutDescriptionAA0fG0VyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 3917 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var showsScrollIndicators: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4017 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If scroll indicators should be visible along the scrollable axis.", - "key.doc.column" : 16, - "key.doc.comment" : "If scroll indicators should be visible along the scrollable axis.", - "key.doc.declaration" : "public var showsScrollIndicators: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "showsScrollIndicators<\/Name>s:10ListableUI15PagedAppearanceV21showsScrollIndicatorsSbvp<\/USR>public var showsScrollIndicators: Bool<\/Declaration>If scroll indicators should be visible along the scrollable axis.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 111, - "key.doc.name" : "showsScrollIndicators", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 3943, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> showsScrollIndicators<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "showsScrollIndicators", - "key.namelength" : 21, - "key.nameoffset" : 4028, - "key.offset" : 4024, - "key.parsed_declaration" : "public var showsScrollIndicators : Bool", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15PagedAppearanceV21showsScrollIndicatorsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal var pagingSize: PagingSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 4115 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Internal property for test harness only.", - "key.doc.column" : 18, - "key.doc.comment" : "Internal property for test harness only.", - "key.doc.declaration" : "internal var pagingSize: PagingSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "pagingSize<\/Name>s:10ListableUI15PagedAppearanceV10pagingSizeAC06PagingF0Ovp<\/USR>internal var pagingSize: PagingSize<\/Declaration>Internal property for test harness only.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 114, - "key.doc.name" : "pagingSize", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 4066, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pagingSize<\/decl.name>: PagingSize<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "pagingSize", - "key.namelength" : 10, - "key.nameoffset" : 4128, - "key.offset" : 4124, - "key.parsed_declaration" : "internal var pagingSize : PagingSize", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PagedAppearance.PagingSize", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV10PagingSizeOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV10pagingSizeAC06PagingF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(direction: LayoutDirection<\/Type> = .vertical, showsScrollIndicators: Bool<\/Type> = false, bounds: ListContentBounds<\/Type>? = nil, peek: Peek<\/Type> = .none)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4161 - } - ], - "key.bodylength" : 201, - "key.bodyoffset" : 4344, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type> = .vertical<\/decl.var.parameter>, showsScrollIndicators<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, bounds<\/decl.var.parameter.argument_label>: ListContentBounds<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, peek<\/decl.var.parameter.argument_label>: Peek<\/ref.struct><\/decl.var.parameter.type> = .none<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 378, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "init(direction:showsScrollIndicators:bounds:peek:)", - "key.namelength" : 174, - "key.nameoffset" : 4168, - "key.offset" : 4168, - "key.parsed_declaration" : "public init(\n direction: LayoutDirection = .vertical,\n showsScrollIndicators : Bool = false,\n bounds: ListContentBounds? = nil,\n peek: Peek = .none\n)", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.Type) -> (LayoutDirection, Bool, ListContentBounds?, PagedAppearance.Peek) -> PagedAppearance", - "key.typeusr" : "$s9direction21showsScrollIndicators6bounds4peek10ListableUI15PagedAppearanceVAE15LayoutDirectionO_SbAE17ListContentBoundsVSgAG4PeekVtcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV9direction21showsScrollIndicators6bounds4peekAcA15LayoutDirectionO_SbAA17ListContentBoundsVSgAC4PeekVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum PagedAppearance<\/Type>.PagingSize : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 1104, - "key.bodyoffset" : 4585, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 4574 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> PagedAppearance<\/ref.struct>.PagingSize<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1134, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "PagingSize", - "key.namelength" : 10, - "key.nameoffset" : 4561, - "key.offset" : 4556, - "key.parsed_declaration" : "enum PagingSize : Equatable", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 4691, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case inset(Peek<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This will inset the layout's primary dimension using the associated `Peek`.", - "key.doc.column" : 14, - "key.doc.comment" : "This will inset the layout's primary dimension using the associated `Peek`.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "inset(_:)<\/Name>s:10ListableUI15PagedAppearanceV10PagingSizeO5insetyAeC4PeekVcAEmF<\/USR><\/Declaration>This will inset the layout’s primary dimension using the associated Peek<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 133, - "key.doc.name" : "inset(_:)", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 4603, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> inset<\/decl.name>(Peek<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "inset(_:)", - "key.namelength" : 11, - "key.nameoffset" : 4696, - "key.offset" : 4696, - "key.parsed_declaration" : "case inset(Peek)", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.PagingSize.Type) -> (PagedAppearance.Peek) -> PagedAppearance.PagingSize", - "key.typeusr" : "$sy10ListableUI15PagedAppearanceV10PagingSizeOAC4PeekVcAEmcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV10PagingSizeO5insetyAeC4PeekVcAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 4725, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case fixed(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "fixed(_:)", - "key.namelength" : 14, - "key.nameoffset" : 4730, - "key.offset" : 4730, - "key.parsed_declaration" : "case fixed(CGFloat)", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.PagingSize.Type) -> (CGFloat) -> PagedAppearance.PagingSize", - "key.typeusr" : "$sy10ListableUI15PagedAppearanceV10PagingSizeO14CoreFoundation7CGFloatVcAEmcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV10PagingSizeO5fixedyAE14CoreFoundation7CGFloatVcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func size(for viewSize: CGSize<\/Type>, isFirstItem: Bool<\/Type>, direction: LayoutDirection<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 829, - "key.bodyoffset" : 4854, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> viewSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, isFirstItem<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 922, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "size(for:isFirstItem:direction:)", - "key.namelength" : 75, - "key.nameoffset" : 4767, - "key.offset" : 4762, - "key.parsed_declaration" : "func size(for viewSize : CGSize, isFirstItem: Bool, direction : LayoutDirection) -> CGSize", - "key.parsed_scope.end" : 158, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.PagingSize) -> (CGSize, Bool, LayoutDirection) -> CGSize", - "key.typeusr" : "$s3for11isFirstItem9directionSo6CGSizeVAE_Sb10ListableUI15LayoutDirectionOtcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV10PagingSizeO4size3for11isFirstItem9directionSo6CGSizeVAK_SbAA15LayoutDirectionOtF" - } - ], - "key.typename" : "PagedAppearance.PagingSize.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV10PagingSizeOmD", - "key.usr" : "s:10ListableUI15PagedAppearanceV10PagingSizeO" - } - ], - "key.typename" : "PagedAppearance.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceVmD", - "key.usr" : "s:10ListableUI15PagedAppearanceV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct PagedAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5694 - } - ], - "key.bodylength" : 2854, - "key.bodyoffset" : 5728, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the available appearance configuration options for a paged list layout.\nPaged list layouts lay out the headers, footers, and items in a list in a paged layout,\nsimilar to how UIPageViewController works.\n\nYou can control the direction via the `direction` property, and you can control\nthe inset on each page via the `itemInsets` property. You may also optionally show\nthe scroll indicators with the `showsScrollIndicators` property.\n\nNote\n----\nDo not edit this ASCII diagram directly.\nEdit the `PagedAppearance.monopic` file in this directory using Monodraw.\n```\n┌─────────────────────────────────┐\n│ itemInsets.top │\n│ ┌─────────────────────────┐ i │\n│ i │ │ t │\n│ t │ │ e │\n│ e │ │ m │\n│ m │ │ I │\n│ I │ │ n │\n│ n │ │ s │\n│ s │ │ e │\n│ e │ │ t │\n│ t │ │ s │\n│ s │ │ . │\n│ . │ │ r │\n│ l │ │ i │\n│ e │ │ g │\n│ f │ │ h │\n│ t │ │ t │\n│ └─────────────────────────┘ │\n│ itemInsets.bottom │\n└─────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct PagedAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "You can control the direction via the `direction` property, and you can control the inset on each page via the `itemInsets` property. You may also optionally show the scroll indicators with the `showsScrollIndicators` property." - }, - { - "Para" : "Do not edit this ASCII diagram directly. Edit the `PagedAppearance.monopic` file in this directory using Monodraw." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "PagedAppearance<\/Name>s:10ListableUI15PagedAppearanceV<\/USR>public struct PagedAppearance : ListLayoutAppearance<\/Declaration>Describes the available appearance configuration options for a paged list layout. Paged list layouts lay out the headers, footers, and items in a list in a paged layout, similar to how UIPageViewController works.<\/Para><\/Abstract>You can control the direction via the direction<\/codeVoice> property, and you can control the inset on each page via the itemInsets<\/codeVoice> property. You may also optionally show the scroll indicators with the showsScrollIndicators<\/codeVoice> property.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Do not edit this ASCII diagram directly. Edit the PagedAppearance.monopic<\/codeVoice> file in this directory using Monodraw.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "PagedAppearance", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> PagedAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2882, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "PagedAppearance", - "key.namelength" : 15, - "key.nameoffset" : 5711, - "key.offset" : 5701, - "key.parsed_declaration" : "public extension PagedAppearance", - "key.parsed_scope.end" : 222, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "struct Peek : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 2666, - "key.bodyoffset" : 5914, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This data model is used to apply an inset to each page, allowing items residing on the\nedge of the collection view to \"peek\" into view.", - "key.doc.column" : 12, - "key.doc.comment" : "This data model is used to apply an inset to each page, allowing items residing on the\nedge of the collection view to \"peek\" into view.", - "key.doc.declaration" : "struct Peek : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "Peek<\/Name>s:10ListableUI15PagedAppearanceV4PeekV<\/USR>struct Peek : Equatable<\/Declaration>This data model is used to apply an inset to each page, allowing items residing on the edge of the collection view to “peek” into view.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 166, - "key.doc.name" : "Peek", - "key.doc.type" : "Class", - "key.doclength" : 148, - "key.docoffset" : 5738, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5903 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Peek<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2691, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "Peek", - "key.namelength" : 4, - "key.nameoffset" : 5897, - "key.offset" : 5890, - "key.parsed_declaration" : "struct Peek: Equatable", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let value: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The main leading and trailing peek value.", - "key.doc.column" : 13, - "key.doc.comment" : "The main leading and trailing peek value.", - "key.doc.declaration" : "let value: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "value<\/Name>s:10ListableUI15PagedAppearanceV4PeekV5value14CoreFoundation7CGFloatVvp<\/USR>let value: CGFloat<\/Declaration>The main leading and trailing peek value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 169, - "key.doc.name" : "value", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 5932, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> value<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 169, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 5990, - "key.offset" : 5986, - "key.parsed_declaration" : "let value: CGFloat", - "key.parsed_scope.end" : 169, - "key.parsed_scope.start" : 169, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV5value14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let firstItemConfiguration: FirstItemConfiguration<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Configures the first item's peek, which can be unique from the other peek values.", - "key.doc.column" : 13, - "key.doc.comment" : "Configures the first item's peek, which can be unique from the other peek values.", - "key.doc.declaration" : "let firstItemConfiguration: FirstItemConfiguration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "firstItemConfiguration<\/Name>s:10ListableUI15PagedAppearanceV4PeekV22firstItemConfigurationAE05FirstgH0Ovp<\/USR>let firstItemConfiguration: FirstItemConfiguration<\/Declaration>Configures the first item’s peek, which can be unique from the other peek values.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 172, - "key.doc.name" : "firstItemConfiguration", - "key.doc.type" : "Other", - "key.doclength" : 86, - "key.docoffset" : 6022, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> firstItemConfiguration<\/decl.name>: FirstItemConfiguration<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "firstItemConfiguration", - "key.namelength" : 22, - "key.nameoffset" : 6120, - "key.offset" : 6116, - "key.parsed_declaration" : "let firstItemConfiguration: FirstItemConfiguration", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "PagedAppearance.Peek.FirstItemConfiguration", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationOD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV22firstItemConfigurationAE05FirstgH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var firstItemLeadingValue: CGFloat<\/Type> { get }<\/Declaration>", - "key.bodylength" : 162, - "key.bodyoffset" : 6278, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The leading peek value before the first item.", - "key.doc.column" : 13, - "key.doc.comment" : "The leading peek value before the first item.", - "key.doc.declaration" : "var firstItemLeadingValue: CGFloat { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "firstItemLeadingValue<\/Name>s:10ListableUI15PagedAppearanceV4PeekV21firstItemLeadingValue14CoreFoundation7CGFloatVvp<\/USR>var firstItemLeadingValue: CGFloat { get }<\/Declaration>The leading peek value before the first item.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 175, - "key.doc.name" : "firstItemLeadingValue", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 6184, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> firstItemLeadingValue<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 199, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "firstItemLeadingValue", - "key.namelength" : 21, - "key.nameoffset" : 6246, - "key.offset" : 6242, - "key.parsed_declaration" : "var firstItemLeadingValue: CGFloat", - "key.parsed_scope.end" : 180, - "key.parsed_scope.start" : 175, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV21firstItemLeadingValue14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum PagedAppearance<\/Type>.Peek<\/Type>.FirstItemConfiguration : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6545 - } - ], - "key.bodylength" : 785, - "key.bodyoffset" : 6592, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Houses the various configuration options for the first item's peek value.", - "key.doc.column" : 21, - "key.doc.comment" : "Houses the various configuration options for the first item's peek value.", - "key.doc.declaration" : "public enum ListableUI.PagedAppearance.Peek.FirstItemConfiguration : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "FirstItemConfiguration<\/Name>s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO<\/USR>public enum ListableUI.PagedAppearance.Peek.FirstItemConfiguration : Equatable<\/Declaration>Houses the various configuration options for the first item’s peek value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 183, - "key.doc.name" : "FirstItemConfiguration", - "key.doc.type" : "Other", - "key.doclength" : 78, - "key.docoffset" : 6459, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 6581 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> PagedAppearance<\/ref.struct>.Peek<\/ref.struct>.FirstItemConfiguration<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 826, - "key.line" : 183, - "key.modulename" : "ListableUI", - "key.name" : "FirstItemConfiguration", - "key.namelength" : 22, - "key.nameoffset" : 6557, - "key.offset" : 6552, - "key.parsed_declaration" : "public enum FirstItemConfiguration: Equatable", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 183, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 6804, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case uniform<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The first item's leading peek is equal to the `Peek.value`. This will keep the first\nitem centered within the layout and will keep page sizes consistent.", - "key.doc.column" : 18, - "key.doc.comment" : "The first item's leading peek is equal to the `Peek.value`. This will keep the first\nitem centered within the layout and will keep page sizes consistent.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "uniform<\/Name>s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO7uniformyA2GmF<\/USR><\/Declaration>The first item’s leading peek is equal to the Peek.value<\/codeVoice>. This will keep the first item centered within the layout and will keep page sizes consistent.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 187, - "key.doc.name" : "uniform", - "key.doc.type" : "Other", - "key.doclength" : 174, - "key.docoffset" : 6618, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> uniform<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "uniform", - "key.namelength" : 7, - "key.nameoffset" : 6809, - "key.offset" : 6809, - "key.parsed_declaration" : "case uniform", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 187, - "key.reusingastcontext" : false, - "key.typename" : "(PagedAppearance.Peek.FirstItemConfiguration.Type) -> PagedAppearance.Peek.FirstItemConfiguration", - "key.typeusr" : "$sy10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationOAGmcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO7uniformyA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 27, - "key.offset" : 7341, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case customLeading(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The first item's leading peek is equal to the associated value. This will offset the\nfirst item, giving it a larger page size than the rest of the items.\n\nNote: this value should be smaller than `Peek.value`. If a first item leading peek that\nis larger than the rest of the peeks becomes a business requirement, add a new\n`ListPagingBehavior` case to support trailing\/bottom alignment on the first item.", - "key.doc.column" : 18, - "key.doc.comment" : "The first item's leading peek is equal to the associated value. This will offset the\nfirst item, giving it a larger page size than the rest of the items.\n\nNote: this value should be smaller than `Peek.value`. If a first item leading peek that\nis larger than the rest of the peeks becomes a business requirement, add a new\n`ListPagingBehavior` case to support trailing\/bottom alignment on the first item.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "Note: this value should be smaller than `Peek.value`. If a first item leading peek that is larger than the rest of the peeks becomes a business requirement, add a new `ListPagingBehavior` case to support trailing\/bottom alignment on the first item." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "customLeading(_:)<\/Name>s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO13customLeadingyAG14CoreFoundation7CGFloatVcAGmF<\/USR><\/Declaration>The first item’s leading peek is equal to the associated value. This will offset the first item, giving it a larger page size than the rest of the items.<\/Para><\/Abstract>Note: this value should be smaller than Peek.value<\/codeVoice>. If a first item leading peek that is larger than the rest of the peeks becomes a business requirement, add a new ListPagingBehavior<\/codeVoice> case to support trailing\/bottom alignment on the first item.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 195, - "key.doc.name" : "customLeading(_:)", - "key.doc.type" : "Other", - "key.doclength" : 487, - "key.docoffset" : 6842, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> customLeading<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 22, - "key.line" : 195, - "key.modulename" : "ListableUI", - "key.name" : "customLeading(_:)", - "key.namelength" : 22, - "key.nameoffset" : 7346, - "key.offset" : 7346, - "key.parsed_declaration" : "case customLeading(CGFloat)", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 195, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.Peek.FirstItemConfiguration.Type) -> (CGFloat) -> PagedAppearance.Peek.FirstItemConfiguration", - "key.typeusr" : "$sy10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO14CoreFoundation7CGFloatVcAGmcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO13customLeadingyAG14CoreFoundation7CGFloatVcAGmF" - } - ] - } - ], - "key.typename" : "PagedAppearance.Peek.FirstItemConfiguration.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationOmD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV22FirstItemConfigurationO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func totalValue(_ isFirstItem: Bool<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.bodylength" : 75, - "key.bodyoffset" : 7588, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This returns the combined leading and trailing peek, accounting for a custom leading value\nwhen `isFirstItem` is true.", - "key.doc.column" : 14, - "key.doc.comment" : "This returns the combined leading and trailing peek, accounting for a custom leading value\nwhen `isFirstItem` is true.", - "key.doc.declaration" : "func totalValue(_ isFirstItem: Bool) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "totalValue(_:)<\/Name>s:10ListableUI15PagedAppearanceV4PeekV10totalValuey14CoreFoundation7CGFloatVSbF<\/USR>func totalValue(_ isFirstItem: Bool) -> CGFloat<\/Declaration>This returns the combined leading and trailing peek, accounting for a custom leading value when isFirstItem<\/codeVoice> is true.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 200, - "key.doc.name" : "totalValue(_:)", - "key.doc.type" : "Function", - "key.doclength" : 135, - "key.docoffset" : 7396, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> totalValue<\/decl.name>(_<\/decl.var.parameter.argument_label> isFirstItem<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 200, - "key.modulename" : "ListableUI", - "key.name" : "totalValue(_:)", - "key.namelength" : 31, - "key.nameoffset" : 7544, - "key.offset" : 7539, - "key.parsed_declaration" : "func totalValue(_ isFirstItem: Bool) -> CGFloat", - "key.parsed_scope.end" : 202, - "key.parsed_scope.start" : 200, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.Peek) -> (Bool) -> CGFloat", - "key.typeusr" : "$sy14CoreFoundation7CGFloatVSbcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV10totalValuey14CoreFoundation7CGFloatVSbF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isEmpty: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7738 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 7764, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is `true` if there are no peek values.", - "key.doc.column" : 20, - "key.doc.comment" : "This is `true` if there are no peek values.", - "key.doc.declaration" : "public var isEmpty: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "isEmpty<\/Name>s:10ListableUI15PagedAppearanceV4PeekV7isEmptySbvp<\/USR>public var isEmpty: Bool { get }<\/Declaration>This is true<\/codeVoice> if there are no peek values.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 205, - "key.doc.name" : "isEmpty", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 7682, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 82, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "isEmpty", - "key.namelength" : 7, - "key.nameoffset" : 7749, - "key.offset" : 7745, - "key.parsed_declaration" : "public var isEmpty: Bool", - "key.parsed_scope.end" : 207, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV7isEmptySbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(value: CGFloat<\/Type> = 0, firstItemConfiguration: FirstItemConfiguration<\/Type> = .uniform)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8265 - } - ], - "key.bodylength" : 105, - "key.bodyoffset" : 8357, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `Peek` with the specified peek value and first item configuration. By default,\nthis initializer creates an empty `Peek`, so that items consume the layout's full width.\n- Parameters:\n - value: The peek value applied to the leading and trailing side of items.\n - firstItemConfiguration: The custom peek configuration for the layout's first item.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new `Peek` with the specified peek value and first item configuration. By default,\nthis initializer creates an empty `Peek`, so that items consume the layout's full width.\n- Parameters:\n - value: The peek value applied to the leading and trailing side of items.\n - firstItemConfiguration: The custom peek configuration for the layout's first item.", - "key.doc.declaration" : "public init(value: CGFloat = 0, firstItemConfiguration: FirstItemConfiguration = .uniform)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "init(value:firstItemConfiguration:)<\/Name>s:10ListableUI15PagedAppearanceV4PeekV5value22firstItemConfigurationAE14CoreFoundation7CGFloatV_AE05FirsthI0Otcfc<\/USR>public init(value: CGFloat = 0, firstItemConfiguration: FirstItemConfiguration = .uniform)<\/Declaration>Creates a new Peek<\/codeVoice> with the specified peek value and first item configuration. By default, this initializer creates an empty Peek<\/codeVoice>, so that items consume the layout’s full width.<\/Para><\/Abstract>value<\/Name>in<\/Direction>The peek value applied to the leading and trailing side of items.<\/Para><\/Discussion><\/Parameter>firstItemConfiguration<\/Name>in<\/Direction>The custom peek configuration for the layout’s first item.<\/Para><\/Discussion><\/Parameter><\/Parameters><\/CommentParts><\/Function>", - "key.doc.line" : 214, - "key.doc.name" : "init(value:firstItemConfiguration:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The peek value applied to the leading and trailing side of items." - } - ], - "name" : "value" - }, - { - "discussion" : [ - { - "Para" : "The custom peek configuration for the layout’s first item." - } - ], - "name" : "firstItemConfiguration" - } - ], - "key.doc.type" : "Function", - "key.doclength" : 412, - "key.docoffset" : 7845, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(value<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0<\/decl.var.parameter>, firstItemConfiguration<\/decl.var.parameter.argument_label>: FirstItemConfiguration<\/ref.enum><\/decl.var.parameter.type> = .uniform<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 191, - "key.line" : 214, - "key.modulename" : "ListableUI", - "key.name" : "init(value:firstItemConfiguration:)", - "key.namelength" : 83, - "key.nameoffset" : 8272, - "key.offset" : 8272, - "key.parsed_declaration" : "public init(value: CGFloat = 0, firstItemConfiguration: FirstItemConfiguration = .uniform)", - "key.parsed_scope.end" : 217, - "key.parsed_scope.start" : 214, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedAppearance.Peek.Type) -> (CGFloat, PagedAppearance.Peek.FirstItemConfiguration) -> PagedAppearance.Peek", - "key.typeusr" : "$s5value22firstItemConfiguration10ListableUI15PagedAppearanceV4PeekV14CoreFoundation7CGFloatV_AG05FirstcD0OtcD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV5value22firstItemConfigurationAE14CoreFoundation7CGFloatV_AE05FirsthI0Otcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var none: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8535 - } - ], - "key.bodylength" : 9, - "key.bodyoffset" : 8565, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This represents no peeking functionality.", - "key.doc.column" : 27, - "key.doc.comment" : "This represents no peeking functionality.", - "key.doc.declaration" : "public static var none: `Self` { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI15PagedAppearanceV4PeekV4noneAEvpZ<\/USR>public static var none: `Self` { get }<\/Declaration>This represents no peeking functionality.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 220, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 8481, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> none<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 33, - "key.line" : 220, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 8553, - "key.offset" : 8542, - "key.parsed_declaration" : "public static var none: Self", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 220, - "key.reusingastcontext" : false, - "key.typename" : "PagedAppearance.Peek", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV4PeekVD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV4noneAEvpZ" - } - ], - "key.typename" : "PagedAppearance.Peek.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceV4PeekVmD", - "key.usr" : "s:10ListableUI15PagedAppearanceV4PeekV" - } - ], - "key.typename" : "PagedAppearance.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceVmD", - "key.usr" : "s:10ListableUI15PagedAppearanceV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class PagedListLayout : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 8586 - } - ], - "key.bodylength" : 4118, - "key.bodyoffset" : 8628, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 8616 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> PagedListLayout<\/decl.name> : ListLayout<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4155, - "key.line" : 225, - "key.modulename" : "ListableUI", - "key.name" : "PagedListLayout", - "key.namelength" : 15, - "key.nameoffset" : 8598, - "key.offset" : 8592, - "key.parsed_declaration" : "final class PagedListLayout : ListLayout", - "key.parsed_scope.end" : 362, - "key.parsed_scope.start" : 225, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias PagedListLayout<\/Type>.ItemLayout = EmptyItemLayoutsValue<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> PagedListLayout<\/ref.class>.ItemLayout<\/decl.name> = EmptyItemLayoutsValue<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 44, - "key.line" : 227, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 8643, - "key.offset" : 8633, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP04ItemD0Qa" - } - ], - "key.parsed_declaration" : "typealias ItemLayout = EmptyItemLayoutsValue", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 227, - "key.reusingastcontext" : false, - "key.typename" : "EmptyItemLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI21EmptyItemLayoutsValueVmD", - "key.usr" : "s:10ListableUI15PagedListLayoutC04ItemE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias PagedListLayout<\/Type>.HeaderFooterLayout = EmptyHeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> PagedListLayout<\/ref.class>.HeaderFooterLayout<\/decl.name> = EmptyHeaderFooterLayoutsValue<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 60, - "key.line" : 228, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 8692, - "key.offset" : 8682, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP012HeaderFooterD0Qa" - } - ], - "key.parsed_declaration" : "typealias HeaderFooterLayout = EmptyHeaderFooterLayoutsValue", - "key.parsed_scope.end" : 228, - "key.parsed_scope.start" : 228, - "key.reusingastcontext" : false, - "key.typename" : "EmptyHeaderFooterLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI29EmptyHeaderFooterLayoutsValueVmD", - "key.usr" : "s:10ListableUI15PagedListLayoutC012HeaderFooterE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias PagedListLayout<\/Type>.SectionLayout = EmptySectionLayoutsValue<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> PagedListLayout<\/ref.class>.SectionLayout<\/decl.name> = EmptySectionLayoutsValue<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 50, - "key.line" : 229, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 8757, - "key.offset" : 8747, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP07SectionD0Qa" - } - ], - "key.parsed_declaration" : "typealias SectionLayout = EmptySectionLayoutsValue", - "key.parsed_scope.end" : 229, - "key.parsed_scope.start" : 229, - "key.reusingastcontext" : false, - "key.typename" : "EmptySectionLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI24EmptySectionLayoutsValueVmD", - "key.usr" : "s:10ListableUI15PagedListLayoutC07SectionE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias PagedListLayout<\/Type>.LayoutAppearance = PagedAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8807 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> PagedListLayout<\/ref.class>.LayoutAppearance<\/decl.name> = PagedAppearance<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 44, - "key.line" : 231, - "key.modulename" : "ListableUI", - "key.name" : "LayoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 8824, - "key.offset" : 8814, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP0D10AppearanceQa" - } - ], - "key.parsed_declaration" : "public typealias LayoutAppearance = PagedAppearance", - "key.parsed_scope.end" : 231, - "key.parsed_scope.start" : 231, - "key.reusingastcontext" : false, - "key.typename" : "PagedAppearance.Type", - "key.typeusr" : "$s10ListableUI15PagedAppearanceVmD", - "key.usr" : "s:10ListableUI15PagedListLayoutC0E10Appearancea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static var defaults: ListLayoutDefaults<\/Type> { get }<\/Declaration>", - "key.bodylength" : 62, - "key.bodyoffset" : 8909, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaults<\/decl.name>: ListLayoutDefaults<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 104, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 8879, - "key.offset" : 8868, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP8defaultsAA0cD8DefaultsVvpZ" - } - ], - "key.parsed_declaration" : "static var defaults: ListLayoutDefaults", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 233, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutDefaults", - "key.typeusr" : "$s10ListableUI18ListLayoutDefaultsVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC8defaultsAA0dE8DefaultsVvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layoutAppearance: PagedAppearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutAppearance<\/decl.name>: PagedAppearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 237, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 8986, - "key.offset" : 8982, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance0dF0Qzvp" - } - ], - "key.parsed_declaration" : "var layoutAppearance: PagedAppearance", - "key.parsed_scope.end" : 237, - "key.parsed_scope.start" : 237, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PagedAppearance", - "key.typeusr" : "$s10ListableUI15PagedAppearanceVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC16layoutAppearanceAA0cG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let appearance: Appearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 239, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 9033, - "key.offset" : 9029, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP10appearanceAA10AppearanceVvp" - } - ], - "key.parsed_declaration" : "let appearance: Appearance", - "key.parsed_scope.end" : 239, - "key.parsed_scope.start" : 239, - "key.reusingastcontext" : false, - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let behavior: Behavior<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 240, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 9064, - "key.offset" : 9060, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP8behaviorAA8BehaviorVvp" - } - ], - "key.parsed_declaration" : "let behavior: Behavior", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 240, - "key.reusingastcontext" : false, - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let content: ListLayoutContent<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> content<\/decl.name>: ListLayoutContent<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 9091, - "key.offset" : 9087, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP7contentAA0dE7ContentCvp" - } - ], - "key.parsed_declaration" : "let content: ListLayoutContent", - "key.parsed_scope.end" : 241, - "key.parsed_scope.start" : 241, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCD", - "key.usr" : "s:10ListableUI15PagedListLayoutC7contentAA0dE7ContentCvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 9137 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(layoutAppearance: PagedAppearance<\/Type>, appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: ListLayoutContent<\/Type>)<\/Declaration>", - "key.bodylength" : 172, - "key.bodyoffset" : 9325, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(layoutAppearance<\/decl.var.parameter.argument_label>: PagedAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 324, - "key.line" : 247, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutAppearance:appearance:behavior:content:)", - "key.namelength" : 149, - "key.nameoffset" : 9174, - "key.offset" : 9174, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance10appearance8behavior7contentx0dF0Qz_AA0F0VAA8BehaviorVAA0cD7ContentCtcfc" - } - ], - "key.parsed_declaration" : "init(\n layoutAppearance: PagedAppearance,\n appearance: Appearance,\n behavior: Behavior,\n content: ListLayoutContent\n)", - "key.parsed_scope.end" : 258, - "key.parsed_scope.start" : 247, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedListLayout.Type) -> (PagedAppearance, Appearance, Behavior, ListLayoutContent) -> PagedListLayout", - "key.typeusr" : "$s16layoutAppearance10appearance8behavior7content10ListableUI15PagedListLayoutCAE0hB0V_AE0B0VAE8BehaviorVAE0iJ7ContentCtcD", - "key.usr" : "s:10ListableUI15PagedListLayoutC16layoutAppearance10appearance8behavior7contentAcA0cG0V_AA0G0VAA8BehaviorVAA0dE7ContentCtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Performing Layouts", - "key.offset" : 9518 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateLayout(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.bodylength" : 32, - "key.bodyoffset" : 9620, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateLayout<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 94, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "updateLayout(in:)", - "key.namelength" : 50, - "key.nameoffset" : 9564, - "key.offset" : 9559, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP06updateE02inyAA0deE7ContextV_tF" - } - ], - "key.parsed_declaration" : "func updateLayout(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 267, - "key.parsed_scope.start" : 264, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(PagedListLayout) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI15PagedListLayoutC06updateE02inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layout(delegate: CollectionViewLayoutDelegate<\/Type>?, in context: ListLayoutLayoutContext<\/Type>) -> ListLayoutResult<\/Type><\/Declaration>", - "key.bodylength" : 2942, - "key.bodyoffset" : 9802, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layout<\/decl.name>(delegate<\/decl.var.parameter.argument_label>: CollectionViewLayoutDelegate<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutResult<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3082, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "layout(delegate:in:)", - "key.namelength" : 108, - "key.nameoffset" : 9668, - "key.offset" : 9663, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - } - ], - "key.parsed_declaration" : "func layout(\n delegate : CollectionViewLayoutDelegate?,\n in context : ListLayoutLayoutContext\n) -> ListLayoutResult", - "key.parsed_scope.end" : 361, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: ListContentBounds<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 274, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 9815, - "key.offset" : 9811, - "key.parsed_declaration" : "let bounds = self.resolvedBounds(in: context)", - "key.parsed_scope.end" : 274, - "key.parsed_scope.start" : 274, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF6boundsL_AA0D13ContentBoundsVvp" - }, - { - "key.annotated_decl" : "let viewSize: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The size of the containing view.", - "key.doc.column" : 13, - "key.doc.comment" : "The size of the containing view.", - "key.doc.declaration" : "let viewSize: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "viewSize<\/Name>s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF8viewSizeL_So6CGSizeVvp<\/USR>let viewSize: CGSize<\/Declaration>The size of the containing view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 278, - "key.doc.name" : "viewSize", - "key.doc.type" : "Other", - "key.doclength" : 37, - "key.docoffset" : 9874, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "viewSize", - "key.namelength" : 8, - "key.nameoffset" : 9932, - "key.offset" : 9928, - "key.parsed_declaration" : "let viewSize = context.viewBounds.size", - "key.parsed_scope.end" : 278, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF8viewSizeL_So6CGSizeVvp" - }, - { - "key.annotated_decl" : "let itemWidth: CustomWidth<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemWidth<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 264, - "key.line" : 280, - "key.modulename" : "ListableUI", - "key.name" : "itemWidth", - "key.namelength" : 9, - "key.nameoffset" : 9988, - "key.offset" : 9984, - "key.parsed_declaration" : "let itemWidth = CustomWidth.custom(.init(\n padding: HorizontalPadding(\n leading: bounds.padding.left,\n trailing: bounds.padding.right\n ),\n width: bounds.width,\n alignment: .center\n))", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 280, - "key.reusingastcontext" : false, - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF9itemWidthL_AA06CustomO0Ovp" - }, - { - "key.annotated_decl" : "var lastMaxY: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Apply the leading peek to the first item's position.", - "key.doc.column" : 13, - "key.doc.comment" : "Apply the leading peek to the first item's position.", - "key.doc.declaration" : "var lastMaxY: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "lastMaxY<\/Name>s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF8lastMaxYL_14CoreFoundation7CGFloatVvp<\/USR>var lastMaxY: CGFloat<\/Declaration>Apply the leading peek to the first item’s position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 292, - "key.doc.name" : "lastMaxY", - "key.doc.type" : "Other", - "key.doclength" : 57, - "key.docoffset" : 10275, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lastMaxY<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 68, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "lastMaxY", - "key.namelength" : 8, - "key.nameoffset" : 10353, - "key.offset" : 10349, - "key.parsed_declaration" : "var lastMaxY : CGFloat = layoutAppearance.peek.firstItemLeadingValue", - "key.parsed_scope.end" : 292, - "key.parsed_scope.start" : 292, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF8lastMaxYL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let pageSize: CGSize<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The size of each page to use during the layout.\nTests override this, but it's typically either the size of the view, with\noptional peeking insets applied.", - "key.doc.column" : 17, - "key.doc.comment" : "The size of each page to use during the layout.\nTests override this, but it's typically either the size of the view, with\noptional peeking insets applied.", - "key.doc.declaration" : "let pageSize: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.doc.full_as_xml" : "pageSize<\/Name>s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtFySi_SbAA0dE11ContentItem_ptXEfU_8pageSizeL_So6CGSizeVvp<\/USR>let pageSize: CGSize<\/Declaration>The size of each page to use during the layout. Tests override this, but it’s typically either the size of the view, with optional peeking insets applied.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 300, - "key.doc.name" : "pageSize", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Paged\/PagedListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> pageSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 8, - "key.line" : 300, - "key.modulename" : "ListableUI", - "key.name" : "pageSize", - "key.offset" : 10729, - "key.parsed_declaration" : "let pageSize", - "key.parsed_scope.end" : 300, - "key.parsed_scope.start" : 300, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtFySi_SbAA0dE11ContentItem_ptXEfU_8pageSizeL_So6CGSizeVvp" - } - ], - "key.typename" : "(PagedListLayout) -> ((any CollectionViewLayoutDelegate)?, ListLayoutLayoutContext) -> ListLayoutResult", - "key.typeusr" : "$s8delegate2in10ListableUI16ListLayoutResultVAC014CollectionViewF8Delegate_pSg_AC0efF7ContextVtcD", - "key.usr" : "s:10ListableUI15PagedListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - } - ], - "key.typename" : "PagedListLayout.Type", - "key.typeusr" : "$s10ListableUI15PagedListLayoutCmD", - "key.usr" : "s:10ListableUI15PagedListLayoutC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1029, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SupplementaryKind : String<\/Type>, CaseIterable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 114 - } - ], - "key.bodylength" : 859, - "key.bodyoffset" : 168, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 146 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 12, - "key.offset" : 154 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SupplementaryKind<\/decl.name> : String<\/ref.struct>, CaseIterable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "String" - }, - { - "key.name" : "CaseIterable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 907, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "SupplementaryKind", - "key.namelength" : 17, - "key.nameoffset" : 126, - "key.offset" : 121, - "key.parsed_declaration" : "public enum SupplementaryKind : String, CaseIterable", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 57, - "key.offset" : 173, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listContainerHeader = "Listable.ListContainerHeader"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 30, - "key.offset" : 200 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listContainerHeader<\/decl.name> = "Listable.ListContainerHeader"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 52, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "listContainerHeader", - "key.namelength" : 19, - "key.nameoffset" : 178, - "key.offset" : 178, - "key.parsed_declaration" : "case listContainerHeader = \"Listable.ListContainerHeader\"", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO19listContainerHeaderyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 39, - "key.offset" : 235, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listHeader = "Listable.ListHeader"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 21, - "key.offset" : 253 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listHeader<\/decl.name> = "Listable.ListHeader"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 34, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "listHeader", - "key.namelength" : 10, - "key.nameoffset" : 240, - "key.offset" : 240, - "key.parsed_declaration" : "case listHeader = \"Listable.ListHeader\"", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO10listHeaderyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 39, - "key.offset" : 279, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case listFooter = "Listable.ListFooter"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 21, - "key.offset" : 297 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> listFooter<\/decl.name> = "Listable.ListFooter"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 34, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "listFooter", - "key.namelength" : 10, - "key.nameoffset" : 284, - "key.offset" : 284, - "key.parsed_declaration" : "case listFooter = \"Listable.ListFooter\"", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO10listFooteryA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 45, - "key.offset" : 328, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sectionHeader = "Listable.SectionHeader"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 24, - "key.offset" : 349 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sectionHeader<\/decl.name> = "Listable.SectionHeader"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 40, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "sectionHeader", - "key.namelength" : 13, - "key.nameoffset" : 333, - "key.offset" : 333, - "key.parsed_declaration" : "case sectionHeader = \"Listable.SectionHeader\"", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO13sectionHeaderyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 45, - "key.offset" : 378, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case sectionFooter = "Listable.SectionFooter"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 24, - "key.offset" : 399 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> sectionFooter<\/decl.name> = "Listable.SectionFooter"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 40, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "sectionFooter", - "key.namelength" : 13, - "key.nameoffset" : 383, - "key.offset" : 383, - "key.parsed_declaration" : "case sectionFooter = \"Listable.SectionFooter\"", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO13sectionFooteryA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 51, - "key.offset" : 433, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case overscrollFooter = "Listable.OverscrollFooter"<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.init_expr", - "key.length" : 27, - "key.offset" : 457 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> overscrollFooter<\/decl.name> = "Listable.OverscrollFooter"<\/syntaxtype.string><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 46, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "overscrollFooter", - "key.namelength" : 16, - "key.nameoffset" : 438, - "key.offset" : 438, - "key.parsed_declaration" : "case overscrollFooter = \"Listable.OverscrollFooter\"", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "(SupplementaryKind.Type) -> SupplementaryKind", - "key.typeusr" : "$sy10ListableUI17SupplementaryKindOACmcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO16overscrollFooteryA2CmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func indexPath(in section: Int<\/Type>) -> IndexPath<\/Type><\/Declaration>", - "key.bodylength" : 480, - "key.bodyoffset" : 545, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/SupplementaryKind.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> indexPath<\/decl.name>(in<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 532, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "indexPath(in:)", - "key.namelength" : 27, - "key.nameoffset" : 499, - "key.offset" : 494, - "key.parsed_declaration" : "func indexPath(in section : Int) -> IndexPath", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SupplementaryKind) -> (Int) -> IndexPath", - "key.typeusr" : "$s2in10Foundation9IndexPathVSi_tcD", - "key.usr" : "s:10ListableUI17SupplementaryKindO9indexPath2in10Foundation05IndexF0VSi_tF" - } - ], - "key.typename" : "SupplementaryKind.Type", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOmD", - "key.usr" : "s:10ListableUI17SupplementaryKindO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 38798, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public struct LayoutDescription : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 162, - "key.bodyoffset" : 156, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `LayoutDescription`, well, describes the type of and properties of a layout to apply to a list view.\n\nYou use a `LayoutDescription` by passing a closure to its initializer, which you use to\ncustomize the `layoutAppearance` of the provided list type.\n\nFor example, to use a standard list layout, and customize the layout, your code would look something like this:\n\n```\nlistView.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```\n\nOr a layout for your own custom layout type would look somewhat like this:\n\n```\nMyCustomLayout.describe {\n $0.myLayoutOption = true\n $0.anotherLayoutOption = .polkadots\n}\n```\n\nNote\n----\nUnder the hood, Listable is smart, and will only re-create the underlying\nlayout object when needed (when the layout type or layout appearance changes).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LayoutDescription : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You use a `LayoutDescription` by passing a closure to its initializer, which you use to customize the `layoutAppearance` of the provided list type." - }, - { - "Para" : "For example, to use a standard list layout, and customize the layout, your code would look something like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Or a layout for your own custom layout type would look somewhat like this:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.doc.full_as_xml" : "LayoutDescription<\/Name>s:10ListableUI17LayoutDescriptionV<\/USR>public struct LayoutDescription : Equatable<\/Declaration>A LayoutDescription<\/codeVoice>, well, describes the type of and properties of a layout to apply to a list view.<\/Para><\/Abstract>You use a LayoutDescription<\/codeVoice> by passing a closure to its initializer, which you use to customize the layoutAppearance<\/codeVoice> of the provided list type.<\/Para>For example, to use a standard list layout, and customize the layout, your code would look something like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Or a layout for your own custom layout type would look somewhat like this:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>Under the hood, Listable is smart, and will only re-create the underlying layout object when needed (when the layout type or layout appearance changes).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "LayoutDescription", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/LayoutDescription.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LayoutDescription<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 192, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDescription", - "key.namelength" : 17, - "key.nameoffset" : 137, - "key.offset" : 127, - "key.parsed_declaration" : "extension LayoutDescription", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func table(_ configure: (inout TableAppearance<\/Type>) -> () = { _ in }) -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 161 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 255, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> table<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> TableAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 149, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "table(_:)", - "key.namelength" : 61, - "key.nameoffset" : 180, - "key.offset" : 168, - "key.parsed_declaration" : "public static func table(_ configure : (inout TableAppearance) -> () = { _ in }) -> Self", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDescription.Type) -> ((inout TableAppearance) -> ()) -> LayoutDescription", - "key.typeusr" : "$sy10ListableUI17LayoutDescriptionVyAA15TableAppearanceVzXEcD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV5tableyACyAA15TableAppearanceVzXEFZ" - } - ], - "key.typename" : "LayoutDescription.Type", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVmD", - "key.usr" : "s:10ListableUI17LayoutDescriptionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct TableAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9735 - } - ], - "key.bodylength" : 3038, - "key.bodyoffset" : 9789, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`TableAppearance` defines the appearance and layout attribute for list layouts within a Listable list.\n\nThe below diagram shows where each of the properties on the `TableAppearance.Layout` values are\napplied when laying out the list.\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemToSectionFooterSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ p ││ Section Footer ││ p │\n│ a ││ ││ a │\n│ d │└───────────────────────────────────────────────────────┘│ d │\n│ d │ │ d │\n│ i │ interSectionSpacingWithFooter │ i │\n│ n │ │ n │\n│ g │┌───────────────────────────────────────────────────────┐│ g │\n│ . ││ ││ . │\n│ l ││ Section Header ││ r │\n│ e ││ ││ i │\n│ f │└───────────────────────────────────────────────────────┘│ g │\n│ t │ sectionHeaderBottomSpacing │ h │\n│ │┌───────────────────────────────────────────────────────┐│ t │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ interSectionSpacingWithNoFooter │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\n`TableAppearance` defines the appearance and layout attribute for list layouts within a Listable list.\n\nThe below diagram shows where each of the properties on the `TableAppearance.Layout` values are\napplied when laying out the list.\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemToSectionFooterSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ p ││ Section Footer ││ p │\n│ a ││ ││ a │\n│ d │└───────────────────────────────────────────────────────┘│ d │\n│ d │ │ d │\n│ i │ interSectionSpacingWithFooter │ i │\n│ n │ │ n │\n│ g │┌───────────────────────────────────────────────────────┐│ g │\n│ . ││ ││ . │\n│ l ││ Section Header ││ r │\n│ e ││ ││ i │\n│ f │└───────────────────────────────────────────────────────┘│ g │\n│ t │ sectionHeaderBottomSpacing │ h │\n│ │┌───────────────────────────────────────────────────────┐│ t │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ interSectionSpacingWithNoFooter │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.declaration" : "public struct TableAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "The below diagram shows where each of the properties on the `TableAppearance.Layout` values are applied when laying out the list." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "TableAppearance<\/Name>s:10ListableUI15TableAppearanceV<\/USR>public struct TableAppearance : ListLayoutAppearance<\/Declaration>TableAppearance<\/codeVoice> defines the appearance and layout attribute for list layouts within a Listable list.<\/Para><\/Abstract>The below diagram shows where each of the properties on the TableAppearance.Layout<\/codeVoice> values are applied when laying out the list.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 101, - "key.doc.name" : "TableAppearance", - "key.doc.type" : "Class", - "key.doclength" : 9413, - "key.docoffset" : 322, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 20, - "key.offset" : 9767 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> TableAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayoutAppearance" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3086, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "TableAppearance", - "key.namelength" : 15, - "key.nameoffset" : 9749, - "key.offset" : 9742, - "key.parsed_declaration" : "public struct TableAppearance : ListLayoutAppearance", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: ListLayoutAppearance", - "key.offset" : 9797 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var `default`: TableAppearance<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9833 - } - ], - "key.bodylength" : 32, - "key.bodyoffset" : 9879, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: TableAppearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 72, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 9851, - "key.offset" : 9840, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP7defaultxvpZ" - } - ], - "key.parsed_declaration" : "public static var `default`: TableAppearance", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance", - "key.typeusr" : "$s10ListableUI15TableAppearanceVD", - "key.usr" : "s:10ListableUI15TableAppearanceV7defaultACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9993 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the layout should flow, either horizontally or vertically.", - "key.doc.column" : 16, - "key.doc.comment" : "How the layout should flow, either horizontally or vertically.", - "key.doc.declaration" : "public var direction: LayoutDirection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "direction<\/Name>s:10ListableUI15TableAppearanceV9directionAA15LayoutDirectionOvp<\/USR>public var direction: LayoutDirection<\/Declaration>How the layout should flow, either horizontally or vertically.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 110, - "key.doc.name" : "direction", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 9922, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 10004, - "key.offset" : 10000, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP9directionAA0D9DirectionOvp" - } - ], - "key.parsed_declaration" : "public var direction: LayoutDirection", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI15TableAppearanceV9directionAA15LayoutDirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var listHeaderPosition: ListHeaderPosition<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10111 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.column" : 16, - "key.doc.comment" : "How the list header should be positioned when content is scrolled.", - "key.doc.declaration" : "public var listHeaderPosition: ListHeaderPosition", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "listHeaderPosition<\/Name>s:10ListableUI15TableAppearanceV18listHeaderPositionAA04ListfG0Ovp<\/USR>public var listHeaderPosition: ListHeaderPosition<\/Declaration>How the list header should be positioned when content is scrolled.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 113, - "key.doc.name" : "listHeaderPosition", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 10036, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listHeaderPosition<\/decl.name>: ListHeaderPosition<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "listHeaderPosition", - "key.namelength" : 18, - "key.nameoffset" : 10122, - "key.offset" : 10118, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP18listHeaderPositionAA0cgH0Ovp" - } - ], - "key.parsed_declaration" : "public var listHeaderPosition: ListHeaderPosition", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListHeaderPosition", - "key.typeusr" : "$s10ListableUI18ListHeaderPositionOD", - "key.usr" : "s:10ListableUI15TableAppearanceV18listHeaderPositionAA04ListfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var stickySectionHeaders: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10235 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If sticky section headers should be leveraged in the layout.", - "key.doc.column" : 16, - "key.doc.comment" : "If sticky section headers should be leveraged in the layout.", - "key.doc.declaration" : "public var stickySectionHeaders: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "stickySectionHeaders<\/Name>s:10ListableUI15TableAppearanceV20stickySectionHeadersSbvp<\/USR>public var stickySectionHeaders: Bool<\/Declaration>If sticky section headers should be leveraged in the layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "stickySectionHeaders", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 10166, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> stickySectionHeaders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "stickySectionHeaders", - "key.namelength" : 20, - "key.nameoffset" : 10246, - "key.offset" : 10242, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20stickySectionHeadersSbvp" - } - ], - "key.parsed_declaration" : "public var stickySectionHeaders : Bool", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15TableAppearanceV20stickySectionHeadersSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var pagingBehavior: ListPagingBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10339 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How paging is performed when a drag event ends.", - "key.doc.column" : 16, - "key.doc.comment" : "How paging is performed when a drag event ends.", - "key.doc.declaration" : "public var pagingBehavior: ListPagingBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "pagingBehavior<\/Name>s:10ListableUI15TableAppearanceV14pagingBehaviorAA010ListPagingF0Ovp<\/USR>public var pagingBehavior: ListPagingBehavior<\/Declaration>How paging is performed when a drag event ends.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 119, - "key.doc.name" : "pagingBehavior", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 10283, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> pagingBehavior<\/decl.name>: ListPagingBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "pagingBehavior", - "key.namelength" : 14, - "key.nameoffset" : 10350, - "key.offset" : 10346, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP14pagingBehaviorAA0c6PagingG0Ovp" - } - ], - "key.parsed_declaration" : "public var pagingBehavior : ListPagingBehavior", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListPagingBehavior", - "key.typeusr" : "$s10ListableUI18ListPagingBehaviorOD", - "key.usr" : "s:10ListableUI15TableAppearanceV14pagingBehaviorAA010ListPagingF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollViewProperties: ListLayoutScrollViewProperties<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10463 - } - ], - "key.bodylength" : 370, - "key.bodyoffset" : 10528, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The properties applied to the scroll view backing the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The properties applied to the scroll view backing the list.", - "key.doc.declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "scrollViewProperties<\/Name>s:10ListableUI15TableAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvp<\/USR>public var scrollViewProperties: ListLayoutScrollViewProperties { get }<\/Declaration>The properties applied to the scroll view backing the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 122, - "key.doc.name" : "scrollViewProperties", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 10395, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollViewProperties<\/decl.name>: ListLayoutScrollViewProperties<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 429, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewProperties", - "key.namelength" : 20, - "key.nameoffset" : 10474, - "key.offset" : 10470, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP20scrollViewPropertiesAA0cd6ScrollgH0Vvp" - } - ], - "key.parsed_declaration" : "public var scrollViewProperties: ListLayoutScrollViewProperties", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutScrollViewProperties", - "key.typeusr" : "$s10ListableUI30ListLayoutScrollViewPropertiesVD", - "key.usr" : "s:10ListableUI15TableAppearanceV20scrollViewPropertiesAA016ListLayoutScrollfG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func toLayoutDescription() -> LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10909 - } - ], - "key.bodylength" : 83, - "key.bodyoffset" : 10965, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> toLayoutDescription<\/decl.name>() -> LayoutDescription<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 133, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "toLayoutDescription()", - "key.namelength" : 21, - "key.nameoffset" : 10921, - "key.offset" : 10916, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP02toD11DescriptionAA0dG0VyF" - } - ], - "key.parsed_declaration" : "public func toLayoutDescription() -> LayoutDescription", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance) -> () -> LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVycD", - "key.usr" : "s:10ListableUI15TableAppearanceV19toLayoutDescriptionAA0fG0VyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Properties", - "key.offset" : 11062 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemPositionGroupingHeight: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11339 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When providing the `ItemPosition` for items in a list, specifies the max spacing\nfor items to be considered in the same group. For example, if this value is 1, and\nitems are spaced 2pts apart, the items will be in a new group.", - "key.doc.column" : 16, - "key.doc.comment" : "When providing the `ItemPosition` for items in a list, specifies the max spacing\nfor items to be considered in the same group. For example, if this value is 1, and\nitems are spaced 2pts apart, the items will be in a new group.", - "key.doc.declaration" : "public var itemPositionGroupingHeight: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "itemPositionGroupingHeight<\/Name>s:10ListableUI15TableAppearanceV26itemPositionGroupingHeight14CoreFoundation7CGFloatVvp<\/USR>public var itemPositionGroupingHeight: CGFloat<\/Declaration>When providing the ItemPosition<\/codeVoice> for items in a list, specifies the max spacing for items to be considered in the same group. For example, if this value is 1, and items are spaced 2pts apart, the items will be in a new group.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 142, - "key.doc.name" : "itemPositionGroupingHeight", - "key.doc.type" : "Other", - "key.doclength" : 247, - "key.docoffset" : 11088, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemPositionGroupingHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "itemPositionGroupingHeight", - "key.namelength" : 26, - "key.nameoffset" : 11350, - "key.offset" : 11346, - "key.parsed_declaration" : "public var itemPositionGroupingHeight : CGFloat", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV26itemPositionGroupingHeight14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11457 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to adjust the safe area insets of the list view.", - "key.doc.column" : 16, - "key.doc.comment" : "How to adjust the safe area insets of the list view.", - "key.doc.declaration" : "public var contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "contentInsetAdjustmentBehavior<\/Name>s:10ListableUI15TableAppearanceV30contentInsetAdjustmentBehaviorAA07ContentfgH0Ovp<\/USR>public var contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior<\/Declaration>How to adjust the safe area insets of the list view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 145, - "key.doc.name" : "contentInsetAdjustmentBehavior", - "key.doc.type" : "Other", - "key.doclength" : 57, - "key.docoffset" : 11396, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentInsetAdjustmentBehavior<\/decl.name>: ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 67, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "contentInsetAdjustmentBehavior", - "key.namelength" : 30, - "key.nameoffset" : 11468, - "key.offset" : 11464, - "key.parsed_declaration" : "public var contentInsetAdjustmentBehavior : ContentInsetAdjustmentBehavior", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ContentInsetAdjustmentBehavior", - "key.typeusr" : "$s10ListableUI30ContentInsetAdjustmentBehaviorOD", - "key.usr" : "s:10ListableUI15TableAppearanceV30contentInsetAdjustmentBehaviorAA07ContentfgH0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounceOnUnderflow: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11541 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounceOnUnderflow<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 147, - "key.modulename" : "ListableUI", - "key.name" : "bounceOnUnderflow", - "key.namelength" : 17, - "key.nameoffset" : 11552, - "key.offset" : 11548, - "key.parsed_declaration" : "public var bounceOnUnderflow : Bool", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 147, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15TableAppearanceV17bounceOnUnderflowSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounds: ListContentBounds<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11670 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The bounds of the content of the list, which can be optionally constrained.", - "key.doc.column" : 16, - "key.doc.comment" : "The bounds of the content of the list, which can be optionally constrained.", - "key.doc.declaration" : "public var bounds: ListContentBounds?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "bounds<\/Name>s:10ListableUI15TableAppearanceV6boundsAA17ListContentBoundsVSgvp<\/USR>public var bounds: ListContentBounds?<\/Declaration>The bounds of the content of the list, which can be optionally constrained.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 150, - "key.doc.name" : "bounds", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 11586, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 150, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 11681, - "key.offset" : 11677, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI20ListLayoutAppearanceP6boundsAA0C13ContentBoundsVSgvp" - } - ], - "key.parsed_declaration" : "public var bounds : ListContentBounds?", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListContentBounds?", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVSgD", - "key.usr" : "s:10ListableUI15TableAppearanceV6boundsAA17ListContentBoundsVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layout: Layout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11769 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Layout attributes for content in the list.", - "key.doc.column" : 16, - "key.doc.comment" : "Layout attributes for content in the list.", - "key.doc.declaration" : "public var layout: Layout", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "layout<\/Name>s:10ListableUI15TableAppearanceV6layoutAC6LayoutVvp<\/USR>public var layout: Layout<\/Declaration>Layout attributes for content in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 153, - "key.doc.name" : "layout", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 11718, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layout<\/decl.name>: Layout<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 11780, - "key.offset" : 11776, - "key.parsed_declaration" : "public var layout : Layout", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "TableAppearance.Layout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV6LayoutVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6layoutAC6LayoutVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 11808 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(direction: LayoutDirection<\/Type> = .vertical, listHeaderPosition: ListHeaderPosition<\/Type> = .inline, stickySectionHeaders: Bool<\/Type> = true, pagingBehavior: ListPagingBehavior<\/Type> = .none, itemPositionGroupingHeight: CGFloat<\/Type> = 0.0, contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior<\/Type> = .scrollableAxes, bounceOnUnderflow: Bool<\/Type> = true, bounds: ListContentBounds<\/Type>? = nil, layout: Layout<\/Type> = .init())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11890 - } - ], - "key.bodylength" : 450, - "key.bodyoffset" : 12375, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `TableAppearance` object.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new `TableAppearance` object.", - "key.doc.declaration" : "public init(direction: LayoutDirection = .vertical, listHeaderPosition: ListHeaderPosition = .inline, stickySectionHeaders: Bool = true, pagingBehavior: ListPagingBehavior = .none, itemPositionGroupingHeight: CGFloat = 0.0, contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior = .scrollableAxes, bounceOnUnderflow: Bool = true, bounds: ListContentBounds? = nil, layout: Layout = .init())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "init(direction:listHeaderPosition:stickySectionHeaders:pagingBehavior:itemPositionGroupingHeight:contentInsetAdjustmentBehavior:bounceOnUnderflow:bounds:layout:)<\/Name>s:10ListableUI15TableAppearanceV9direction18listHeaderPosition20stickySectionHeaders14pagingBehavior04itemH14GroupingHeight022contentInsetAdjustmentM017bounceOnUnderflow6bounds6layoutAcA15LayoutDirectionO_AA04ListgH0OSbAA010ListPagingM0O14CoreFoundation7CGFloatVAA07ContentrsM0OSbAA17ListContentBoundsVSgAC0Y0Vtcfc<\/USR>public init(direction: LayoutDirection = .vertical, listHeaderPosition: ListHeaderPosition = .inline, stickySectionHeaders: Bool = true, pagingBehavior: ListPagingBehavior = .none, itemPositionGroupingHeight: CGFloat = 0.0, contentInsetAdjustmentBehavior: ContentInsetAdjustmentBehavior = .scrollableAxes, bounceOnUnderflow: Bool = true, bounds: ListContentBounds? = nil, layout: Layout = .init())<\/Declaration>Creates a new TableAppearance<\/codeVoice> object.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 158, - "key.doc.name" : "init(direction:listHeaderPosition:stickySectionHeaders:pagingBehavior:itemPositionGroupingHeight:contentInsetAdjustmentBehavior:bounceOnUnderflow:bounds:layout:)", - "key.doc.type" : "Function", - "key.doclength" : 44, - "key.docoffset" : 11842, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type> = .vertical<\/decl.var.parameter>, listHeaderPosition<\/decl.var.parameter.argument_label>: ListHeaderPosition<\/ref.enum><\/decl.var.parameter.type> = .inline<\/decl.var.parameter>, stickySectionHeaders<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, pagingBehavior<\/decl.var.parameter.argument_label>: ListPagingBehavior<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>, itemPositionGroupingHeight<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, contentInsetAdjustmentBehavior<\/decl.var.parameter.argument_label>: ContentInsetAdjustmentBehavior<\/ref.enum><\/decl.var.parameter.type> = .scrollableAxes<\/decl.var.parameter>, bounceOnUnderflow<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = true<\/decl.var.parameter>, bounds<\/decl.var.parameter.argument_label>: ListContentBounds<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, layout<\/decl.var.parameter.argument_label>: Layout<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 929, - "key.line" : 158, - "key.modulename" : "ListableUI", - "key.name" : "init(direction:listHeaderPosition:stickySectionHeaders:pagingBehavior:itemPositionGroupingHeight:contentInsetAdjustmentBehavior:bounceOnUnderflow:bounds:layout:)", - "key.namelength" : 476, - "key.nameoffset" : 11897, - "key.offset" : 11897, - "key.parsed_declaration" : "public init(\n direction : LayoutDirection = .vertical,\n listHeaderPosition: ListHeaderPosition = .inline,\n stickySectionHeaders : Bool = true,\n pagingBehavior : ListPagingBehavior = .none,\n itemPositionGroupingHeight : CGFloat = 0.0,\n contentInsetAdjustmentBehavior : ContentInsetAdjustmentBehavior = .scrollableAxes,\n bounceOnUnderflow : Bool = true,\n bounds : ListContentBounds? = nil,\n layout : Layout = .init()\n)", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 158, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.Type) -> (LayoutDirection, ListHeaderPosition, Bool, ListPagingBehavior, CGFloat, ContentInsetAdjustmentBehavior, Bool, ListContentBounds?, TableAppearance.Layout) -> TableAppearance", - "key.typeusr" : "$s9direction18listHeaderPosition20stickySectionHeaders14pagingBehavior04itemD14GroupingHeight022contentInsetAdjustmentI017bounceOnUnderflow6bounds6layout10ListableUI15TableAppearanceVAJ15LayoutDirectionO_AJ04ListcD0OSbAJ010ListPagingI0O14CoreFoundation7CGFloatVAJ07ContentnoI0OSbAJ17ListContentBoundsVSgAL0Y0VtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV9direction18listHeaderPosition20stickySectionHeaders14pagingBehavior04itemH14GroupingHeight022contentInsetAdjustmentM017bounceOnUnderflow6bounds6layoutAcA15LayoutDirectionO_AA04ListgH0OSbAA010ListPagingM0O14CoreFoundation7CGFloatVAA07ContentrsM0OSbAA17ListContentBoundsVSgAC0Y0Vtcfc" - } - ], - "key.typename" : "TableAppearance.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV" - }, - { - "key.annotated_decl" : "public struct TableAppearance : ListLayoutAppearance<\/Type><\/Declaration>", - "key.bodylength" : 5991, - "key.bodyoffset" : 12858, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`TableAppearance` defines the appearance and layout attribute for list layouts within a Listable list.\n\nThe below diagram shows where each of the properties on the `TableAppearance.Layout` values are\napplied when laying out the list.\n```\n┌─────────────────────────────────────────────────────────────────┐\n│ padding.top │\n│ ┌─────────────────────────────────────────────────────────┐ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ headerToFirstSectionSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemToSectionFooterSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ p ││ Section Footer ││ p │\n│ a ││ ││ a │\n│ d │└───────────────────────────────────────────────────────┘│ d │\n│ d │ │ d │\n│ i │ interSectionSpacingWithFooter │ i │\n│ n │ │ n │\n│ g │┌───────────────────────────────────────────────────────┐│ g │\n│ . ││ ││ . │\n│ l ││ Section Header ││ r │\n│ e ││ ││ i │\n│ f │└───────────────────────────────────────────────────────┘│ g │\n│ t │ sectionHeaderBottomSpacing │ h │\n│ │┌───────────────────────────────────────────────────────┐│ t │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ interSectionSpacingWithNoFooter │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ Section Header ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ sectionHeaderBottomSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ itemSpacing │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ Item ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ │ │ │\n│ │ lastSectionToFooterSpacing │ │\n│ │ │ │\n│ │┌───────────────────────────────────────────────────────┐│ │\n│ ││ ││ │\n│ ││ List Footer ││ │\n│ ││ ││ │\n│ │└───────────────────────────────────────────────────────┘│ │\n│ └─────────────────────────────────────────────────────────┘ │\n│ padding.bottom │\n└─────────────────────────────────────────────────────────────────┘\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct TableAppearance : ListLayoutAppearance", - "key.doc.discussion" : [ - { - "Para" : "The below diagram shows where each of the properties on the `TableAppearance.Layout` values are applied when laying out the list." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "TableAppearance<\/Name>s:10ListableUI15TableAppearanceV<\/USR>public struct TableAppearance : ListLayoutAppearance<\/Declaration>TableAppearance<\/codeVoice> defines the appearance and layout attribute for list layouts within a Listable list.<\/Para><\/Abstract>The below diagram shows where each of the properties on the TableAppearance.Layout<\/codeVoice> values are applied when laying out the list.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 101, - "key.doc.name" : "TableAppearance", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> TableAppearance<\/decl.name> : ListLayoutAppearance<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 6019, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "TableAppearance", - "key.namelength" : 15, - "key.nameoffset" : 12841, - "key.offset" : 12831, - "key.parsed_declaration" : "extension TableAppearance", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 182, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemLayout : Equatable<\/Type>, ItemLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12863 - } - ], - "key.bodylength" : 601, - "key.bodyoffset" : 12923, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12890 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 12901 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemLayout<\/decl.name> : Equatable<\/ref.protocol>, ItemLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "ItemLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 655, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 12877, - "key.offset" : 12870, - "key.parsed_declaration" : "public struct ItemLayout : Equatable, ItemLayoutsValue", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSpacing: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12932 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSpacing<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "itemSpacing", - "key.namelength" : 11, - "key.nameoffset" : 12943, - "key.offset" : 12939, - "key.parsed_declaration" : "public var itemSpacing : CGFloat?", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI15TableAppearanceV10ItemLayoutV11itemSpacing14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemToSectionFooterSpacing: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12974 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemToSectionFooterSpacing<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "itemToSectionFooterSpacing", - "key.namelength" : 26, - "key.nameoffset" : 12985, - "key.offset" : 12981, - "key.parsed_declaration" : "public var itemToSectionFooterSpacing : CGFloat?", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 187, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI15TableAppearanceV10ItemLayoutV26itemToSectionFooterSpacing14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CustomWidth<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13040 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 189, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 13051, - "key.offset" : 13047, - "key.parsed_declaration" : "public var width : CustomWidth", - "key.parsed_scope.end" : 189, - "key.parsed_scope.start" : 189, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI15TableAppearanceV10ItemLayoutV5widthAA11CustomWidthOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(itemSpacing: CGFloat<\/Type>? = nil, itemToSectionFooterSpacing: CGFloat<\/Type>? = nil, width: CustomWidth<\/Type> = .default)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13092 - } - ], - "key.bodylength" : 169, - "key.bodyoffset" : 13258, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, itemToSectionFooterSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type> = .default<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 329, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "init(itemSpacing:itemToSectionFooterSpacing:width:)", - "key.namelength" : 157, - "key.nameoffset" : 13099, - "key.offset" : 13099, - "key.parsed_declaration" : "public init(\n itemSpacing : CGFloat? = nil,\n itemToSectionFooterSpacing : CGFloat? = nil,\n width : CustomWidth = .default\n)", - "key.parsed_scope.end" : 200, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.ItemLayout.Type) -> (CGFloat?, CGFloat?, CustomWidth) -> TableAppearance.ItemLayout", - "key.typeusr" : "$s11itemSpacing0a15ToSectionFooterB05width10ListableUI15TableAppearanceV10ItemLayoutV14CoreFoundation7CGFloatVSg_AlD11CustomWidthOtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV10ItemLayoutV11itemSpacing0g15ToSectionFooterH05widthAE14CoreFoundation7CGFloatVSg_AlA11CustomWidthOtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13446 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 13485, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from ItemLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 66, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 13464, - "key.offset" : 13453, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 202, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.ItemLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV10ItemLayoutVD", - "key.usr" : "s:10ListableUI16ItemLayoutsValueP07defaultE0xvpZ" - } - ], - "key.typename" : "TableAppearance.ItemLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV10ItemLayoutVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV10ItemLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HeaderFooterLayout : Equatable<\/Type>, HeaderFooterLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13540 - } - ], - "key.bodylength" : 261, - "key.bodyoffset" : 13616, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 13575 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 13586 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterLayout<\/decl.name> : Equatable<\/ref.protocol>, HeaderFooterLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "HeaderFooterLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 331, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 13554, - "key.offset" : 13547, - "key.parsed_declaration" : "public struct HeaderFooterLayout : Equatable, HeaderFooterLayoutsValue", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CustomWidth<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13625 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 13636, - "key.offset" : 13632, - "key.parsed_declaration" : "public var width : CustomWidth", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 210, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI15TableAppearanceV18HeaderFooterLayoutV5widthAA11CustomWidthOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(width: CustomWidth<\/Type> = .default)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13677 - } - ], - "key.bodylength" : 40, - "key.bodyoffset" : 13744, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type> = .default<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 101, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "init(width:)", - "key.namelength" : 58, - "key.nameoffset" : 13684, - "key.offset" : 13684, - "key.parsed_declaration" : "public init(\n width : CustomWidth = .default\n)", - "key.parsed_scope.end" : 216, - "key.parsed_scope.start" : 212, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.HeaderFooterLayout.Type) -> (CustomWidth) -> TableAppearance.HeaderFooterLayout", - "key.typeusr" : "$s5width10ListableUI15TableAppearanceV18HeaderFooterLayoutVAB11CustomWidthO_tcD", - "key.usr" : "s:10ListableUI15TableAppearanceV18HeaderFooterLayoutV5widthAeA11CustomWidthO_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13803 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 13842, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from HeaderFooterLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 62, - "key.line" : 218, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 13821, - "key.offset" : 13810, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 218, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.HeaderFooterLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV18HeaderFooterLayoutVD", - "key.usr" : "s:10ListableUI24HeaderFooterLayoutsValueP07defaultF0xvpZ" - } - ], - "key.typename" : "TableAppearance.HeaderFooterLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV18HeaderFooterLayoutVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV18HeaderFooterLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SectionLayout : Equatable<\/Type>, SectionLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13888 - } - ], - "key.bodylength" : 1971, - "key.bodyoffset" : 13954, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 13918 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 13929 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionLayout<\/decl.name> : Equatable<\/ref.protocol>, SectionLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - }, - { - "key.name" : "SectionLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2031, - "key.line" : 223, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 13902, - "key.offset" : 13895, - "key.parsed_declaration" : "public struct SectionLayout : Equatable, SectionLayoutsValue", - "key.parsed_scope.end" : 285, - "key.parsed_scope.start" : 223, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isHeaderSticky: Bool<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14022 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Indicates if the header for the section will be sticky.\nSetting this value explicitly overrides the list-level stickiness for headers.", - "key.doc.column" : 9, - "key.doc.declaration" : "var isHeaderSticky: Bool? { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "isHeaderSticky<\/Name>s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp<\/USR>var isHeaderSticky: Bool? { get }<\/Declaration>Indicates if the header for the section will be sticky. Setting this value explicitly overrides the list-level stickiness for headers.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "isHeaderSticky", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky", - "key.namelength" : 14, - "key.nameoffset" : 14033, - "key.offset" : 14029, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - } - ], - "key.parsed_declaration" : "public var isHeaderSticky : Bool?", - "key.parsed_scope.end" : 226, - "key.parsed_scope.start" : 226, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CustomWidth<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14157 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "In a horizontal layout, this powers the height of the section.", - "key.doc.column" : 20, - "key.doc.comment" : "In a horizontal layout, this powers the height of the section.", - "key.doc.declaration" : "public var width: CustomWidth", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI15TableAppearanceV13SectionLayoutV5widthAA11CustomWidthOvp<\/USR>public var width: CustomWidth<\/Declaration>In a horizontal layout, this powers the height of the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 230, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 14082, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 14168, - "key.offset" : 14164, - "key.parsed_declaration" : "public var width : CustomWidth", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV5widthAA11CustomWidthOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var customInterSectionSpacing: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14261 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Overrides the calculated spacing after this section", - "key.doc.column" : 20, - "key.doc.comment" : "Overrides the calculated spacing after this section", - "key.doc.declaration" : "public var customInterSectionSpacing: CGFloat?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "customInterSectionSpacing<\/Name>s:10ListableUI15TableAppearanceV13SectionLayoutV011customInterE7Spacing14CoreFoundation7CGFloatVSgvp<\/USR>public var customInterSectionSpacing: CGFloat?<\/Declaration>Overrides the calculated spacing after this section<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 233, - "key.doc.name" : "customInterSectionSpacing", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 14197, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> customInterSectionSpacing<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "customInterSectionSpacing", - "key.namelength" : 25, - "key.nameoffset" : 14272, - "key.offset" : 14268, - "key.parsed_declaration" : "public var customInterSectionSpacing : CGFloat?", - "key.parsed_scope.end" : 233, - "key.parsed_scope.start" : 233, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV011customInterE7Spacing14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var columns: Columns<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14326 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> columns<\/decl.name>: Columns<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 235, - "key.modulename" : "ListableUI", - "key.name" : "columns", - "key.namelength" : 7, - "key.nameoffset" : 14337, - "key.offset" : 14333, - "key.parsed_declaration" : "public var columns : Columns", - "key.parsed_scope.end" : 235, - "key.parsed_scope.start" : 235, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "TableAppearance.SectionLayout.Columns", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsVD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7columnsAE7ColumnsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isHeaderSticky: Bool<\/Type>? = nil, width: CustomWidth<\/Type> = .default, customInterSectionSpacing: CGFloat<\/Type>? = nil, columns: Columns<\/Type> = .one)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14372 - } - ], - "key.bodylength" : 208, - "key.bodyoffset" : 14574, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isHeaderSticky<\/decl.var.parameter.argument_label>: Bool<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type> = .default<\/decl.var.parameter>, customInterSectionSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, columns<\/decl.var.parameter.argument_label>: Columns<\/ref.struct><\/decl.var.parameter.type> = .one<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 404, - "key.line" : 237, - "key.modulename" : "ListableUI", - "key.name" : "init(isHeaderSticky:width:customInterSectionSpacing:columns:)", - "key.namelength" : 193, - "key.nameoffset" : 14379, - "key.offset" : 14379, - "key.parsed_declaration" : "public init(\n isHeaderSticky: Bool? = nil,\n width : CustomWidth = .default,\n customInterSectionSpacing : CGFloat? = nil,\n columns : Columns = .one\n)", - "key.parsed_scope.end" : 248, - "key.parsed_scope.start" : 237, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.SectionLayout.Type) -> (Bool?, CustomWidth, CGFloat?, TableAppearance.SectionLayout.Columns) -> TableAppearance.SectionLayout", - "key.typeusr" : "$s14isHeaderSticky5width25customInterSectionSpacing7columns10ListableUI15TableAppearanceV0G6LayoutVSbSg_AE11CustomWidthO14CoreFoundation7CGFloatVSgAI7ColumnsVtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV14isHeaderSticky5width011customInterE7Spacing7columnsAESbSg_AA11CustomWidthO14CoreFoundation7CGFloatVSgAE7ColumnsVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14801 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 14840, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 66, - "key.line" : 250, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 14819, - "key.offset" : 14808, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue : Self", - "key.parsed_scope.end" : 252, - "key.parsed_scope.start" : 250, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.SectionLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutVD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct TableAppearance<\/Type>.SectionLayout<\/Type>.Columns : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14892 - } - ], - "key.bodylength" : 984, - "key.bodyoffset" : 14935, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 14916 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> TableAppearance<\/ref.struct>.SectionLayout<\/ref.struct>.Columns<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1021, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "Columns", - "key.namelength" : 7, - "key.nameoffset" : 14906, - "key.offset" : 14899, - "key.parsed_declaration" : "public struct Columns : Equatable", - "key.parsed_scope.end" : 284, - "key.parsed_scope.start" : 254, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var count: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14948 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 256, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 14959, - "key.offset" : 14955, - "key.parsed_declaration" : "public var count : Int", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 256, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV5countSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var spacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 14983 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> spacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "spacing", - "key.namelength" : 7, - "key.nameoffset" : 14994, - "key.offset" : 14990, - "key.parsed_declaration" : "public var spacing : CGFloat", - "key.parsed_scope.end" : 257, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV7spacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var one: Columns<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 15037 - } - ], - "key.bodylength" : 68, - "key.bodyoffset" : 15070, - "key.column" : 31, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> one<\/decl.name>: Columns<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 95, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "one", - "key.namelength" : 3, - "key.nameoffset" : 15055, - "key.offset" : 15044, - "key.parsed_declaration" : "public static var one : Columns", - "key.parsed_scope.end" : 261, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.SectionLayout.Columns", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsVD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV3oneAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(count: Int<\/Type> = 1, spacing: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 15165 - } - ], - "key.bodylength" : 284, - "key.bodyoffset" : 15232, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(count<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type> = 1<\/decl.var.parameter>, spacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 345, - "key.line" : 263, - "key.modulename" : "ListableUI", - "key.name" : "init(count:spacing:)", - "key.namelength" : 46, - "key.nameoffset" : 15172, - "key.offset" : 15172, - "key.parsed_declaration" : "public init(count : Int = 1, spacing : CGFloat = 0.0)", - "key.parsed_scope.end" : 270, - "key.parsed_scope.start" : 263, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.SectionLayout.Columns.Type) -> (Int, CGFloat) -> TableAppearance.SectionLayout.Columns", - "key.typeusr" : "$s5count7spacing10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsVSi_14CoreFoundation7CGFloatVtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV5count7spacingAGSi_14CoreFoundation7CGFloatVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func group<Value>(values: [Value<\/Type>]) -> [[Value<\/Type>]]<\/Declaration>", - "key.bodylength" : 304, - "key.bodyoffset" : 15605, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> group<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(values<\/decl.var.parameter.argument_label>: [Value<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> [[Value<\/ref.generic_type_param>]]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 367, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "group(values:)", - "key.namelength" : 30, - "key.nameoffset" : 15548, - "key.offset" : 15543, - "key.parsed_declaration" : "func group(values : [Value]) -> [[Value]]", - "key.parsed_scope.end" : 283, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 15554, - "key.offset" : 15554, - "key.parsed_declaration" : "func groupvar values: [Value<\/Type>]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> values<\/decl.name>: [Value<\/ref.generic_type_param>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 19, - "key.line" : 274, - "key.modulename" : "ListableUI", - "key.name" : "values", - "key.namelength" : 6, - "key.nameoffset" : 15626, - "key.offset" : 15622, - "key.parsed_declaration" : "var values = values", - "key.parsed_scope.end" : 274, - "key.parsed_scope.start" : 274, - "key.reusingastcontext" : false, - "key.typename" : "[Value]", - "key.typeusr" : "$sSayxGD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV5group6valuesSaySayxGGAJ_tlFAIL0_AJvp" - }, - { - "key.annotated_decl" : "var grouped: [[Value<\/Type>]]<\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> grouped<\/decl.name>: [[Value<\/ref.generic_type_param>]]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 28, - "key.line" : 276, - "key.modulename" : "ListableUI", - "key.name" : "grouped", - "key.namelength" : 7, - "key.nameoffset" : 15679, - "key.offset" : 15675, - "key.parsed_declaration" : "var grouped : [[Value]] = []", - "key.parsed_scope.end" : 276, - "key.parsed_scope.start" : 276, - "key.reusingastcontext" : false, - "key.typename" : "[[Value]]", - "key.typeusr" : "$sSaySayxGGD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV5group6valuesSaySayxGGAJ_tlF7groupedL_AKvp" - } - ], - "key.typename" : " (TableAppearance.SectionLayout.Columns) -> ([Value]) -> [[Value]]", - "key.typeusr" : "$s6valuesSaySayxGGAB_tcluD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV5group6valuesSaySayxGGAJ_tlF" - } - ], - "key.typename" : "TableAppearance.SectionLayout.Columns.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV7ColumnsV" - } - ], - "key.typename" : "TableAppearance.SectionLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV13SectionLayoutV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Layout : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 15977 - } - ], - "key.bodylength" : 2832, - "key.bodyoffset" : 16015, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Layout options for the list.", - "key.doc.column" : 19, - "key.doc.comment" : "Layout options for the list.", - "key.doc.declaration" : "public struct Layout : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "Layout<\/Name>s:10ListableUI15TableAppearanceV6LayoutV<\/USR>public struct Layout : Equatable<\/Declaration>Layout options for the list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 288, - "key.doc.name" : "Layout", - "key.doc.type" : "Class", - "key.doclength" : 33, - "key.docoffset" : 15940, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 16000 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Layout<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2864, - "key.line" : 288, - "key.modulename" : "ListableUI", - "key.name" : "Layout", - "key.namelength" : 6, - "key.nameoffset" : 15991, - "key.offset" : 15984, - "key.parsed_declaration" : "public struct Layout : Equatable", - "key.parsed_scope.end" : 354, - "key.parsed_scope.start" : 288, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var headerToFirstSectionSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16147 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the list header and the first section.\nNot applied if there is no list header.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the list header and the first section.\nNot applied if there is no list header.", - "key.doc.declaration" : "public var headerToFirstSectionSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "headerToFirstSectionSpacing<\/Name>s:10ListableUI15TableAppearanceV6LayoutV27headerToFirstSectionSpacing14CoreFoundation7CGFloatVvp<\/USR>public var headerToFirstSectionSpacing: CGFloat<\/Declaration>The spacing between the list header and the first section. Not applied if there is no list header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 292, - "key.doc.name" : "headerToFirstSectionSpacing", - "key.doc.type" : "Other", - "key.doclength" : 115, - "key.docoffset" : 16024, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> headerToFirstSectionSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "headerToFirstSectionSpacing", - "key.namelength" : 27, - "key.nameoffset" : 16158, - "key.offset" : 16154, - "key.parsed_declaration" : "public var headerToFirstSectionSpacing : CGFloat", - "key.parsed_scope.end" : 292, - "key.parsed_scope.start" : 292, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV27headerToFirstSectionSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var interSectionSpacingWithNoFooter: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16295 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing to apply between sections, if the previous section has no footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing to apply between sections, if the previous section has no footer.", - "key.doc.declaration" : "public var interSectionSpacingWithNoFooter: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "interSectionSpacingWithNoFooter<\/Name>s:10ListableUI15TableAppearanceV6LayoutV31interSectionSpacingWithNoFooter14CoreFoundation7CGFloatVvp<\/USR>public var interSectionSpacingWithNoFooter: CGFloat<\/Declaration>The spacing to apply between sections, if the previous section has no footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 295, - "key.doc.name" : "interSectionSpacingWithNoFooter", - "key.doc.type" : "Other", - "key.doclength" : 82, - "key.docoffset" : 16205, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> interSectionSpacingWithNoFooter<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 295, - "key.modulename" : "ListableUI", - "key.name" : "interSectionSpacingWithNoFooter", - "key.namelength" : 31, - "key.nameoffset" : 16306, - "key.offset" : 16302, - "key.parsed_declaration" : "public var interSectionSpacingWithNoFooter : CGFloat", - "key.parsed_scope.end" : 295, - "key.parsed_scope.start" : 295, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV31interSectionSpacingWithNoFooter14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var interSectionSpacingWithFooter: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16445 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing to apply between sections, if the previous section has a footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing to apply between sections, if the previous section has a footer.", - "key.doc.declaration" : "public var interSectionSpacingWithFooter: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "interSectionSpacingWithFooter<\/Name>s:10ListableUI15TableAppearanceV6LayoutV29interSectionSpacingWithFooter14CoreFoundation7CGFloatVvp<\/USR>public var interSectionSpacingWithFooter: CGFloat<\/Declaration>The spacing to apply between sections, if the previous section has a footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 297, - "key.doc.name" : "interSectionSpacingWithFooter", - "key.doc.type" : "Other", - "key.doclength" : 81, - "key.docoffset" : 16356, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> interSectionSpacingWithFooter<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 297, - "key.modulename" : "ListableUI", - "key.name" : "interSectionSpacingWithFooter", - "key.namelength" : 29, - "key.nameoffset" : 16456, - "key.offset" : 16452, - "key.parsed_declaration" : "public var interSectionSpacingWithFooter : CGFloat", - "key.parsed_scope.end" : 297, - "key.parsed_scope.start" : 297, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV29interSectionSpacingWithFooter14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sectionHeaderBottomSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16643 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing to apply below a section header, before its items.\nNot applied if there is no section header.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing to apply below a section header, before its items.\nNot applied if there is no section header.", - "key.doc.declaration" : "public var sectionHeaderBottomSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "sectionHeaderBottomSpacing<\/Name>s:10ListableUI15TableAppearanceV6LayoutV26sectionHeaderBottomSpacing14CoreFoundation7CGFloatVvp<\/USR>public var sectionHeaderBottomSpacing: CGFloat<\/Declaration>The spacing to apply below a section header, before its items. Not applied if there is no section header.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 301, - "key.doc.name" : "sectionHeaderBottomSpacing", - "key.doc.type" : "Other", - "key.doclength" : 122, - "key.docoffset" : 16513, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sectionHeaderBottomSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 301, - "key.modulename" : "ListableUI", - "key.name" : "sectionHeaderBottomSpacing", - "key.namelength" : 26, - "key.nameoffset" : 16654, - "key.offset" : 16650, - "key.parsed_declaration" : "public var sectionHeaderBottomSpacing : CGFloat", - "key.parsed_scope.end" : 301, - "key.parsed_scope.start" : 301, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV26sectionHeaderBottomSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16776 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between individual items within a section in a list.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between individual items within a section in a list.", - "key.doc.declaration" : "public var itemSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "itemSpacing<\/Name>s:10ListableUI15TableAppearanceV6LayoutV11itemSpacing14CoreFoundation7CGFloatVvp<\/USR>public var itemSpacing: CGFloat<\/Declaration>The spacing between individual items within a section in a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 303, - "key.doc.name" : "itemSpacing", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 16699, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 303, - "key.modulename" : "ListableUI", - "key.name" : "itemSpacing", - "key.namelength" : 11, - "key.nameoffset" : 16787, - "key.offset" : 16783, - "key.parsed_declaration" : "public var itemSpacing : CGFloat", - "key.parsed_scope.end" : 303, - "key.parsed_scope.start" : 303, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV11itemSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var itemToSectionFooterSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16949 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the last item in the section and the footer.\nNot applied if there is no section footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the last item in the section and the footer.\nNot applied if there is no section footer.", - "key.doc.declaration" : "public var itemToSectionFooterSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "itemToSectionFooterSpacing<\/Name>s:10ListableUI15TableAppearanceV6LayoutV26itemToSectionFooterSpacing14CoreFoundation7CGFloatVvp<\/USR>public var itemToSectionFooterSpacing: CGFloat<\/Declaration>The spacing between the last item in the section and the footer. Not applied if there is no section footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 306, - "key.doc.name" : "itemToSectionFooterSpacing", - "key.doc.type" : "Other", - "key.doclength" : 124, - "key.docoffset" : 16817, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> itemToSectionFooterSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 306, - "key.modulename" : "ListableUI", - "key.name" : "itemToSectionFooterSpacing", - "key.namelength" : 26, - "key.nameoffset" : 16960, - "key.offset" : 16956, - "key.parsed_declaration" : "public var itemToSectionFooterSpacing : CGFloat", - "key.parsed_scope.end" : 306, - "key.parsed_scope.start" : 306, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV26itemToSectionFooterSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var lastSectionToFooterSpacing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17143 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The spacing between the last section and the footer of the list.\nNot applied if there is no list footer.", - "key.doc.column" : 20, - "key.doc.comment" : "The spacing between the last section and the footer of the list.\nNot applied if there is no list footer.", - "key.doc.declaration" : "public var lastSectionToFooterSpacing: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "lastSectionToFooterSpacing<\/Name>s:10ListableUI15TableAppearanceV6LayoutV26lastSectionToFooterSpacing14CoreFoundation7CGFloatVvp<\/USR>public var lastSectionToFooterSpacing: CGFloat<\/Declaration>The spacing between the last section and the footer of the list. Not applied if there is no list footer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 310, - "key.doc.name" : "lastSectionToFooterSpacing", - "key.doc.type" : "Other", - "key.doclength" : 121, - "key.docoffset" : 17014, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastSectionToFooterSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 310, - "key.modulename" : "ListableUI", - "key.name" : "lastSectionToFooterSpacing", - "key.namelength" : 26, - "key.nameoffset" : 17154, - "key.offset" : 17150, - "key.parsed_declaration" : "public var lastSectionToFooterSpacing : CGFloat", - "key.parsed_scope.end" : 310, - "key.parsed_scope.start" : 310, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV26lastSectionToFooterSpacing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(headerToFirstSectionSpacing: CGFloat<\/Type> = 0.0, interSectionSpacingWithNoFooter: CGFloat<\/Type> = 0.0, interSectionSpacingWithFooter: CGFloat<\/Type> = 0.0, sectionHeaderBottomSpacing: CGFloat<\/Type> = 0.0, itemSpacing: CGFloat<\/Type> = 0.0, itemToSectionFooterSpacing: CGFloat<\/Type> = 0.0, lastSectionToFooterSpacing: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17278 - } - ], - "key.bodylength" : 547, - "key.bodyoffset" : 17695, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `Layout` with the provided options.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new `Layout` with the provided options.", - "key.doc.declaration" : "public init(headerToFirstSectionSpacing: CGFloat = 0.0, interSectionSpacingWithNoFooter: CGFloat = 0.0, interSectionSpacingWithFooter: CGFloat = 0.0, sectionHeaderBottomSpacing: CGFloat = 0.0, itemSpacing: CGFloat = 0.0, itemToSectionFooterSpacing: CGFloat = 0.0, lastSectionToFooterSpacing: CGFloat = 0.0)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "init(headerToFirstSectionSpacing:interSectionSpacingWithNoFooter:interSectionSpacingWithFooter:sectionHeaderBottomSpacing:itemSpacing:itemToSectionFooterSpacing:lastSectionToFooterSpacing:)<\/Name>s:10ListableUI15TableAppearanceV6LayoutV27headerToFirstSectionSpacing05interiJ12WithNoFooter0kijlN0019sectionHeaderBottomJ004itemJ00rginJ004lastignJ0AE14CoreFoundation7CGFloatV_A6Otcfc<\/USR>public init(headerToFirstSectionSpacing: CGFloat = 0.0, interSectionSpacingWithNoFooter: CGFloat = 0.0, interSectionSpacingWithFooter: CGFloat = 0.0, sectionHeaderBottomSpacing: CGFloat = 0.0, itemSpacing: CGFloat = 0.0, itemToSectionFooterSpacing: CGFloat = 0.0, lastSectionToFooterSpacing: CGFloat = 0.0)<\/Declaration>Creates a new Layout<\/codeVoice> with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 313, - "key.doc.name" : "init(headerToFirstSectionSpacing:interSectionSpacingWithNoFooter:interSectionSpacingWithFooter:sectionHeaderBottomSpacing:itemSpacing:itemToSectionFooterSpacing:lastSectionToFooterSpacing:)", - "key.doc.type" : "Function", - "key.doclength" : 54, - "key.docoffset" : 17216, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(headerToFirstSectionSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, interSectionSpacingWithNoFooter<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, interSectionSpacingWithFooter<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, sectionHeaderBottomSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, itemSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, itemToSectionFooterSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, lastSectionToFooterSpacing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 958, - "key.line" : 313, - "key.modulename" : "ListableUI", - "key.name" : "init(headerToFirstSectionSpacing:interSectionSpacingWithNoFooter:interSectionSpacingWithFooter:sectionHeaderBottomSpacing:itemSpacing:itemToSectionFooterSpacing:lastSectionToFooterSpacing:)", - "key.namelength" : 400, - "key.nameoffset" : 17285, - "key.offset" : 17285, - "key.parsed_declaration" : "public init(\n headerToFirstSectionSpacing : CGFloat = 0.0,\n interSectionSpacingWithNoFooter : CGFloat = 0.0,\n interSectionSpacingWithFooter : CGFloat = 0.0,\n sectionHeaderBottomSpacing : CGFloat = 0.0,\n itemSpacing : CGFloat = 0.0,\n itemToSectionFooterSpacing : CGFloat = 0.0,\n lastSectionToFooterSpacing : CGFloat = 0.0\n)", - "key.parsed_scope.end" : 333, - "key.parsed_scope.start" : 313, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableAppearance.Layout.Type) -> (CGFloat, CGFloat, CGFloat, CGFloat, CGFloat, CGFloat, CGFloat) -> TableAppearance.Layout", - "key.typeusr" : "$s27headerToFirstSectionSpacing05interdE12WithNoFooter0fdegI0019sectionHeaderBottomE004itemE00mbdiE004lastdbiE010ListableUI15TableAppearanceV6LayoutV14CoreFoundation7CGFloatV_A6OtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV27headerToFirstSectionSpacing05interiJ12WithNoFooter0kijlN0019sectionHeaderBottomJ004itemJ00rginJ004lastignJ0AE14CoreFoundation7CGFloatV_A6Otcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func set(with block: (inout Layout<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 18309 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18302 - } - ], - "key.bodylength" : 92, - "key.bodyoffset" : 18371, - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Easily mutate the `Layout` in place.", - "key.doc.column" : 30, - "key.doc.comment" : "Easily mutate the `Layout` in place.", - "key.doc.declaration" : "public mutating func set(with block: (inout Layout) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "set(with:)<\/Name>s:10ListableUI15TableAppearanceV6LayoutV3set4withyyAEzXE_tF<\/USR>public mutating func set(with block: (inout Layout) -> ())<\/Declaration>Easily mutate the Layout<\/codeVoice> in place.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 336, - "key.doc.name" : "set(with:)", - "key.doc.type" : "Function", - "key.doclength" : 41, - "key.docoffset" : 18253, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name>(with<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Layout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 146, - "key.line" : 336, - "key.modulename" : "ListableUI", - "key.name" : "set(with:)", - "key.namelength" : 38, - "key.nameoffset" : 18323, - "key.offset" : 18318, - "key.parsed_declaration" : "public mutating func set(with block : (inout Layout) -> ())", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 336, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var edited: TableAppearance<\/Type>.Layout<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> edited<\/decl.name>: TableAppearance<\/ref.struct>.Layout<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 17, - "key.line" : 338, - "key.modulename" : "ListableUI", - "key.name" : "edited", - "key.namelength" : 6, - "key.nameoffset" : 18388, - "key.offset" : 18384, - "key.parsed_declaration" : "var edited = self", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 338, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.Layout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV6LayoutVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV3set4withyyAEzXE_tF6editedL_AEvp" - } - ], - "key.typename" : "(inout TableAppearance.Layout) -> ((inout TableAppearance.Layout) -> ()) -> ()", - "key.typeusr" : "$s4withyy10ListableUI15TableAppearanceV6LayoutVzXE_tcD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV3set4withyyAEzXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal static func width(with width: CGFloat<\/Type>, padding: HorizontalPadding<\/Type>, constraint: WidthConstraint<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 18523 - } - ], - "key.bodylength" : 144, - "key.bodyoffset" : 18697, - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a width for layout.", - "key.doc.column" : 30, - "key.doc.comment" : "Provides a width for layout.", - "key.doc.declaration" : "internal static func width(with width: CGFloat, padding: HorizontalPadding, constraint: WidthConstraint) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "width(with:padding:constraint:)<\/Name>s:10ListableUI15TableAppearanceV6LayoutV5width4with7padding10constraint14CoreFoundation7CGFloatVAL_AA17HorizontalPaddingVAA15WidthConstraintOtFZ<\/USR>internal static func width(with width: CGFloat, padding: HorizontalPadding, constraint: WidthConstraint) -> CGFloat<\/Declaration>Provides a width for layout.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 344, - "key.doc.name" : "width(with:padding:constraint:)", - "key.doc.type" : "Function", - "key.doclength" : 33, - "key.docoffset" : 18482, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> width<\/decl.name>(with<\/decl.var.parameter.argument_label> width<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, padding<\/decl.var.parameter.argument_label>: HorizontalPadding<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, constraint<\/decl.var.parameter.argument_label>: WidthConstraint<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 310, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "width(with:padding:constraint:)", - "key.namelength" : 132, - "key.nameoffset" : 18544, - "key.offset" : 18532, - "key.parsed_declaration" : "internal static func width(\n with width : CGFloat,\n padding : HorizontalPadding,\n constraint : WidthConstraint\n) -> CGFloat", - "key.parsed_scope.end" : 353, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let paddedWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> paddedWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 60, - "key.line" : 350, - "key.modulename" : "ListableUI", - "key.name" : "paddedWidth", - "key.namelength" : 11, - "key.nameoffset" : 18714, - "key.offset" : 18710, - "key.parsed_declaration" : "let paddedWidth = width - padding.leading - padding.trailing", - "key.parsed_scope.end" : 350, - "key.parsed_scope.start" : 350, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV5width4with7padding10constraint14CoreFoundation7CGFloatVAL_AA17HorizontalPaddingVAA15WidthConstraintOtFZ06paddedO0L_ALvp" - } - ], - "key.typename" : "(TableAppearance.Layout.Type) -> (CGFloat, HorizontalPadding, WidthConstraint) -> CGFloat", - "key.typeusr" : "$s4with7padding10constraint14CoreFoundation7CGFloatVAF_10ListableUI17HorizontalPaddingVAG15WidthConstraintOtcD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV5width4with7padding10constraint14CoreFoundation7CGFloatVAL_AA17HorizontalPaddingVAA15WidthConstraintOtFZ" - } - ], - "key.typename" : "TableAppearance.Layout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV6LayoutVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV6LayoutV" - } - ], - "key.typename" : "TableAppearance.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceVmD", - "key.usr" : "s:10ListableUI15TableAppearanceV" - }, - { - "key.annotated_decl" : "public struct ItemLayouts<\/Declaration>", - "key.bodylength" : 549, - "key.bodyoffset" : 18876, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`ItemLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your item:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Item` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyItem.layouts.table = .init(\n width: .fill\n)\n\nmyItem.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `ItemLayouts`,\nto provide easier access to your layout-specific `ItemLayoutsValue` type, like so:\n\n```\nextension ItemLayoutsValue {\n public var table : TableAppearance.Item.Layout {\n get { self[TableAppearance.Item.Layout.self] }\n set { self[TableAppearance.Item.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ItemLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your item:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Item` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `ItemLayouts`, to provide easier access to your layout-specific `ItemLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.doc.full_as_xml" : "ItemLayouts<\/Name>s:10ListableUI11ItemLayoutsV<\/USR>public struct ItemLayouts<\/Declaration>ItemLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual items within a list. Eg, customize the layout for an item when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your item:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Item<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to ItemLayouts<\/codeVoice>, to provide easier access to your layout-specific ItemLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "ItemLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/ItemLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 573, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayouts", - "key.namelength" : 11, - "key.nameoffset" : 18863, - "key.offset" : 18853, - "key.parsed_declaration" : "extension ItemLayouts", - "key.parsed_scope.end" : 372, - "key.parsed_scope.start" : 358, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func table(_ configure: (inout TableAppearance<\/Type>.ItemLayout<\/Type>) -> ()) -> ItemLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 18983 - } - ], - "key.bodylength" : 64, - "key.bodyoffset" : 19073, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `ItemLayouts` value that allows configuring the table values for the item.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `ItemLayouts` value that allows configuring the table values for the item.", - "key.doc.declaration" : "public static func table(_ configure: (inout TableAppearance.ItemLayout) -> ()) -> ListableUI.ItemLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table(_:)<\/Name>s:10ListableUI11ItemLayoutsV5tableyACyAA15TableAppearanceV0C6LayoutVzXEFZ<\/USR>public static func table(_ configure: (inout TableAppearance.ItemLayout) -> ()) -> ListableUI.ItemLayouts<\/Declaration>Creates a new ItemLayouts<\/codeVoice> value that allows configuring the table values for the item.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 361, - "key.doc.name" : "table(_:)", - "key.doc.type" : "Function", - "key.doclength" : 93, - "key.docoffset" : 18886, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> table<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> TableAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> ItemLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 148, - "key.line" : 361, - "key.modulename" : "ListableUI", - "key.name" : "table(_:)", - "key.namelength" : 61, - "key.nameoffset" : 19002, - "key.offset" : 18990, - "key.parsed_declaration" : "public static func table(_ configure : (inout TableAppearance.ItemLayout) -> ()) -> Self", - "key.parsed_scope.end" : 365, - "key.parsed_scope.start" : 361, - "key.related_decls" : [ - { - "key.annotated_decl" : "table<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemLayouts.Type) -> ((inout TableAppearance.ItemLayout) -> ()) -> ItemLayouts", - "key.typeusr" : "$sy10ListableUI11ItemLayoutsVyAA15TableAppearanceV0C6LayoutVzXEcD", - "key.usr" : "s:10ListableUI11ItemLayoutsV5tableyACyAA15TableAppearanceV0C6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var table: TableAppearance<\/Type>.ItemLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19252 - } - ], - "key.bodylength" : 124, - "key.bodyoffset" : 19299, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of an `Item`'s layout when it is presented within a `.table` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of an `Item`'s layout when it is presented within a `.table` style layout.", - "key.doc.declaration" : "public var table: TableAppearance.ItemLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table<\/Name>s:10ListableUI11ItemLayoutsV5tableAA15TableAppearanceV0C6LayoutVvp<\/USR>public var table: TableAppearance.ItemLayout { get set }<\/Declaration>Allows customization of an Item<\/codeVoice>’s layout when it is presented within a .table<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 368, - "key.doc.name" : "table", - "key.doc.type" : "Other", - "key.doclength" : 100, - "key.docoffset" : 19148, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> table<\/decl.name>: TableAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 165, - "key.line" : 368, - "key.modulename" : "ListableUI", - "key.name" : "table", - "key.namelength" : 5, - "key.nameoffset" : 19263, - "key.offset" : 19259, - "key.parsed_declaration" : "public var table : TableAppearance.ItemLayout", - "key.parsed_scope.end" : 371, - "key.parsed_scope.start" : 368, - "key.related_decls" : [ - { - "key.annotated_decl" : "table(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "TableAppearance.ItemLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV10ItemLayoutVD", - "key.usr" : "s:10ListableUI11ItemLayoutsV5tableAA15TableAppearanceV0C6LayoutVvp" - } - ], - "key.typename" : "ItemLayouts.Type", - "key.typeusr" : "$s10ListableUI11ItemLayoutsVmD", - "key.usr" : "s:10ListableUI11ItemLayoutsV" - }, - { - "key.annotated_decl" : "public struct HeaderFooterLayouts<\/Declaration>", - "key.bodylength" : 604, - "key.bodyoffset" : 19460, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`HeaderFooterLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your header:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `HeaderFooter` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmyHeader.layouts.table = .init(\n width: .fill\n)\n\nmyHeader.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n padding: 10\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`,\nto provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:\n\n```\nextension HeaderFooterLayouts {\n public var table : TableAppearance.HeaderFooter.Layout {\n get { self[TableAppearance.HeaderFooter.Layout.self] }\n set { self[TableAppearance.HeaderFooter.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct HeaderFooterLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your header:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `HeaderFooter` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `HeaderFooterLayouts`, to provide easier access to your layout-specific `HeaderFooterLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.doc.full_as_xml" : "HeaderFooterLayouts<\/Name>s:10ListableUI19HeaderFooterLayoutsV<\/USR>public struct HeaderFooterLayouts<\/Declaration>HeaderFooterLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual headers and footers within a list. Eg, customize the layout for a header when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your header:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the HeaderFooter<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to HeaderFooterLayouts<\/codeVoice>, to provide easier access to your layout-specific HeaderFooterLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 55, - "key.doc.name" : "HeaderFooterLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/HeaderFooter\/HeaderFooterLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HeaderFooterLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 636, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayouts", - "key.namelength" : 19, - "key.nameoffset" : 19439, - "key.offset" : 19429, - "key.parsed_declaration" : "extension HeaderFooterLayouts", - "key.parsed_scope.end" : 389, - "key.parsed_scope.start" : 375, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func table(_ configure: (inout TableAppearance<\/Type>.HeaderFooterLayout<\/Type>) -> ()) -> HeaderFooterLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19583 - } - ], - "key.bodylength" : 64, - "key.bodyoffset" : 19681, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `HeaderFooterLayouts` value that allows configuring the header footer values for the item.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `HeaderFooterLayouts` value that allows configuring the header footer values for the item.", - "key.doc.declaration" : "public static func table(_ configure: (inout TableAppearance.HeaderFooterLayout) -> ()) -> ListableUI.HeaderFooterLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table(_:)<\/Name>s:10ListableUI19HeaderFooterLayoutsV5tableyACyAA15TableAppearanceV0cD6LayoutVzXEFZ<\/USR>public static func table(_ configure: (inout TableAppearance.HeaderFooterLayout) -> ()) -> ListableUI.HeaderFooterLayouts<\/Declaration>Creates a new HeaderFooterLayouts<\/codeVoice> value that allows configuring the header footer values for the item.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 378, - "key.doc.name" : "table(_:)", - "key.doc.type" : "Function", - "key.doclength" : 109, - "key.docoffset" : 19470, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> table<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> TableAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> HeaderFooterLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 156, - "key.line" : 378, - "key.modulename" : "ListableUI", - "key.name" : "table(_:)", - "key.namelength" : 69, - "key.nameoffset" : 19602, - "key.offset" : 19590, - "key.parsed_declaration" : "public static func table(_ configure : (inout TableAppearance.HeaderFooterLayout) -> ()) -> Self", - "key.parsed_scope.end" : 382, - "key.parsed_scope.start" : 378, - "key.related_decls" : [ - { - "key.annotated_decl" : "table<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(HeaderFooterLayouts.Type) -> ((inout TableAppearance.HeaderFooterLayout) -> ()) -> HeaderFooterLayouts", - "key.typeusr" : "$sy10ListableUI19HeaderFooterLayoutsVyAA15TableAppearanceV0cD6LayoutVzXEcD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV5tableyACyAA15TableAppearanceV0cD6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var table: TableAppearance<\/Type>.HeaderFooterLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 19867 - } - ], - "key.bodylength" : 140, - "key.bodyoffset" : 19922, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of a `HeaderFooter`'s layout when it is presented within a `.table` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of a `HeaderFooter`'s layout when it is presented within a `.table` style layout.", - "key.doc.declaration" : "public var table: TableAppearance.HeaderFooterLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table<\/Name>s:10ListableUI19HeaderFooterLayoutsV5tableAA15TableAppearanceV0cD6LayoutVvp<\/USR>public var table: TableAppearance.HeaderFooterLayout { get set }<\/Declaration>Allows customization of a HeaderFooter<\/codeVoice>’s layout when it is presented within a .table<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 385, - "key.doc.name" : "table", - "key.doc.type" : "Other", - "key.doclength" : 107, - "key.docoffset" : 19756, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> table<\/decl.name>: TableAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 189, - "key.line" : 385, - "key.modulename" : "ListableUI", - "key.name" : "table", - "key.namelength" : 5, - "key.nameoffset" : 19878, - "key.offset" : 19874, - "key.parsed_declaration" : "public var table : TableAppearance.HeaderFooterLayout", - "key.parsed_scope.end" : 388, - "key.parsed_scope.start" : 385, - "key.related_decls" : [ - { - "key.annotated_decl" : "table(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "TableAppearance.HeaderFooterLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV18HeaderFooterLayoutVD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV5tableAA15TableAppearanceV0cD6LayoutVvp" - } - ], - "key.typename" : "HeaderFooterLayouts.Type", - "key.typeusr" : "$s10ListableUI19HeaderFooterLayoutsVmD", - "key.usr" : "s:10ListableUI19HeaderFooterLayoutsV" - }, - { - "key.annotated_decl" : "public struct SectionLayouts<\/Declaration>", - "key.bodylength" : 569, - "key.bodyoffset" : 20094, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`SectionLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your section:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Section` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n\nmySection.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type, like so:\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct SectionLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your section:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Section` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `SectionLayouts`, to provide easier access to your layout-specific `SectionLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "SectionLayouts<\/Name>s:10ListableUI14SectionLayoutsV<\/USR>public struct SectionLayouts<\/Declaration>SectionLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your section:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Section<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to SectionLayouts<\/codeVoice>, to provide easier access to your layout-specific SectionLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "SectionLayouts", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 596, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayouts", - "key.namelength" : 14, - "key.nameoffset" : 20078, - "key.offset" : 20068, - "key.parsed_declaration" : "extension SectionLayouts", - "key.parsed_scope.end" : 406, - "key.parsed_scope.start" : 392, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func table(_ configure: (inout TableAppearance<\/Type>.SectionLayout<\/Type>) -> ()) -> SectionLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20207 - } - ], - "key.bodylength" : 64, - "key.bodyoffset" : 20300, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `SectionLayouts` value that allows configuring the table values for the section.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a new `SectionLayouts` value that allows configuring the table values for the section.", - "key.doc.declaration" : "public static func table(_ configure: (inout TableAppearance.SectionLayout) -> ()) -> ListableUI.SectionLayouts", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table(_:)<\/Name>s:10ListableUI14SectionLayoutsV5tableyACyAA15TableAppearanceV0C6LayoutVzXEFZ<\/USR>public static func table(_ configure: (inout TableAppearance.SectionLayout) -> ()) -> ListableUI.SectionLayouts<\/Declaration>Creates a new SectionLayouts<\/codeVoice> value that allows configuring the table values for the section.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 395, - "key.doc.name" : "table(_:)", - "key.doc.type" : "Function", - "key.doclength" : 99, - "key.docoffset" : 20104, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> table<\/decl.name>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> TableAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> SectionLayouts<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 151, - "key.line" : 395, - "key.modulename" : "ListableUI", - "key.name" : "table(_:)", - "key.namelength" : 64, - "key.nameoffset" : 20226, - "key.offset" : 20214, - "key.parsed_declaration" : "public static func table(_ configure : (inout TableAppearance.SectionLayout) -> ()) -> Self", - "key.parsed_scope.end" : 399, - "key.parsed_scope.start" : 395, - "key.related_decls" : [ - { - "key.annotated_decl" : "table<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionLayouts.Type) -> ((inout TableAppearance.SectionLayout) -> ()) -> SectionLayouts", - "key.typeusr" : "$sy10ListableUI14SectionLayoutsVyAA15TableAppearanceV0C6LayoutVzXEcD", - "key.usr" : "s:10ListableUI14SectionLayoutsV5tableyACyAA15TableAppearanceV0C6LayoutVzXEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var table: TableAppearance<\/Type>.SectionLayout<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 20481 - } - ], - "key.bodylength" : 130, - "key.bodyoffset" : 20531, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows customization of a `Section`'s layout when it is presented within a `.table` style layout.", - "key.doc.column" : 16, - "key.doc.comment" : "Allows customization of a `Section`'s layout when it is presented within a `.table` style layout.", - "key.doc.declaration" : "public var table: TableAppearance.SectionLayout { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.doc.full_as_xml" : "table<\/Name>s:10ListableUI14SectionLayoutsV5tableAA15TableAppearanceV0C6LayoutVvp<\/USR>public var table: TableAppearance.SectionLayout { get set }<\/Declaration>Allows customization of a Section<\/codeVoice>’s layout when it is presented within a .table<\/codeVoice> style layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 402, - "key.doc.name" : "table", - "key.doc.type" : "Other", - "key.doclength" : 102, - "key.docoffset" : 20375, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> table<\/decl.name>: TableAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 174, - "key.line" : 402, - "key.modulename" : "ListableUI", - "key.name" : "table", - "key.namelength" : 5, - "key.nameoffset" : 20492, - "key.offset" : 20488, - "key.parsed_declaration" : "public var table : TableAppearance.SectionLayout", - "key.parsed_scope.end" : 405, - "key.parsed_scope.start" : 402, - "key.related_decls" : [ - { - "key.annotated_decl" : "table(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "TableAppearance.SectionLayout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutVD", - "key.usr" : "s:10ListableUI14SectionLayoutsV5tableAA15TableAppearanceV0C6LayoutVvp" - } - ], - "key.typename" : "SectionLayouts.Type", - "key.typeusr" : "$s10ListableUI14SectionLayoutsVmD", - "key.usr" : "s:10ListableUI14SectionLayoutsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class TableListLayout : ListLayout<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 20667 - } - ], - "key.bodylength" : 15485, - "key.bodyoffset" : 20709, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 10, - "key.offset" : 20697 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> TableListLayout<\/decl.name> : ListLayout<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListLayout" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 15522, - "key.line" : 409, - "key.modulename" : "ListableUI", - "key.name" : "TableListLayout", - "key.namelength" : 15, - "key.nameoffset" : 20679, - "key.offset" : 20673, - "key.parsed_declaration" : "final class TableListLayout : ListLayout", - "key.parsed_scope.end" : 845, - "key.parsed_scope.start" : 409, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias TableListLayout<\/Type>.ItemLayout = TableAppearance<\/Type>.ItemLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> TableListLayout<\/ref.class>.ItemLayout<\/decl.name> = TableAppearance<\/ref.struct>.ItemLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 49, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "ItemLayout", - "key.namelength" : 10, - "key.nameoffset" : 20724, - "key.offset" : 20714, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP04ItemD0Qa" - } - ], - "key.parsed_declaration" : "typealias ItemLayout = TableAppearance.ItemLayout", - "key.parsed_scope.end" : 411, - "key.parsed_scope.start" : 411, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.ItemLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV10ItemLayoutVmD", - "key.usr" : "s:10ListableUI15TableListLayoutC04ItemE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias TableListLayout<\/Type>.HeaderFooterLayout = TableAppearance<\/Type>.HeaderFooterLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> TableListLayout<\/ref.class>.HeaderFooterLayout<\/decl.name> = TableAppearance<\/ref.struct>.HeaderFooterLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 65, - "key.line" : 412, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooterLayout", - "key.namelength" : 18, - "key.nameoffset" : 20778, - "key.offset" : 20768, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP012HeaderFooterD0Qa" - } - ], - "key.parsed_declaration" : "typealias HeaderFooterLayout = TableAppearance.HeaderFooterLayout", - "key.parsed_scope.end" : 412, - "key.parsed_scope.start" : 412, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.HeaderFooterLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV18HeaderFooterLayoutVmD", - "key.usr" : "s:10ListableUI15TableListLayoutC012HeaderFooterE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias TableListLayout<\/Type>.SectionLayout = TableAppearance<\/Type>.SectionLayout<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> TableListLayout<\/ref.class>.SectionLayout<\/decl.name> = TableAppearance<\/ref.struct>.SectionLayout<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 55, - "key.line" : 413, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayout", - "key.namelength" : 13, - "key.nameoffset" : 20848, - "key.offset" : 20838, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP07SectionD0Qa" - } - ], - "key.parsed_declaration" : "typealias SectionLayout = TableAppearance.SectionLayout", - "key.parsed_scope.end" : 413, - "key.parsed_scope.start" : 413, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.SectionLayout.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceV13SectionLayoutVmD", - "key.usr" : "s:10ListableUI15TableListLayoutC07SectionE0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias TableListLayout<\/Type>.LayoutAppearance = TableAppearance<\/Type><\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> TableListLayout<\/ref.class>.LayoutAppearance<\/decl.name> = TableAppearance<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 44, - "key.line" : 415, - "key.modulename" : "ListableUI", - "key.name" : "LayoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 20913, - "key.offset" : 20903, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP0D10AppearanceQa" - } - ], - "key.parsed_declaration" : "typealias LayoutAppearance = TableAppearance", - "key.parsed_scope.end" : 415, - "key.parsed_scope.start" : 415, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.Type", - "key.typeusr" : "$s10ListableUI15TableAppearanceVmD", - "key.usr" : "s:10ListableUI15TableListLayoutC0E10Appearancea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static var defaults: ListLayoutDefaults<\/Type> { get }<\/Declaration>", - "key.bodylength" : 57, - "key.bodyoffset" : 20998, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaults<\/decl.name>: ListLayoutDefaults<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 99, - "key.line" : 417, - "key.modulename" : "ListableUI", - "key.name" : "defaults", - "key.namelength" : 8, - "key.nameoffset" : 20968, - "key.offset" : 20957, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP8defaultsAA0cD8DefaultsVvpZ" - } - ], - "key.parsed_declaration" : "static var defaults: ListLayoutDefaults", - "key.parsed_scope.end" : 419, - "key.parsed_scope.start" : 417, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutDefaults", - "key.typeusr" : "$s10ListableUI18ListLayoutDefaultsVD", - "key.usr" : "s:10ListableUI15TableListLayoutC8defaultsAA0dE8DefaultsVvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layoutAppearance: TableAppearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layoutAppearance<\/decl.name>: TableAppearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 421, - "key.modulename" : "ListableUI", - "key.name" : "layoutAppearance", - "key.namelength" : 16, - "key.nameoffset" : 21070, - "key.offset" : 21066, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance0dF0Qzvp" - } - ], - "key.parsed_declaration" : "var layoutAppearance: TableAppearance", - "key.parsed_scope.end" : 421, - "key.parsed_scope.start" : 421, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "TableAppearance", - "key.typeusr" : "$s10ListableUI15TableAppearanceVD", - "key.usr" : "s:10ListableUI15TableListLayoutC16layoutAppearanceAA0cG0Vvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Public Properties", - "key.offset" : 21123 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let appearance: Appearance<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 427, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 21167, - "key.offset" : 21163, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP10appearanceAA10AppearanceVvp" - } - ], - "key.parsed_declaration" : "let appearance : Appearance", - "key.parsed_scope.end" : 427, - "key.parsed_scope.start" : 427, - "key.reusingastcontext" : false, - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI15TableListLayoutC10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let behavior: Behavior<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 428, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 21199, - "key.offset" : 21195, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP8behaviorAA8BehaviorVvp" - } - ], - "key.parsed_declaration" : "let behavior : Behavior", - "key.parsed_scope.end" : 428, - "key.parsed_scope.start" : 428, - "key.reusingastcontext" : false, - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI15TableListLayoutC8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let content: ListLayoutContent<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> content<\/decl.name>: ListLayoutContent<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 430, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 21232, - "key.offset" : 21228, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP7contentAA0dE7ContentCvp" - } - ], - "key.parsed_declaration" : "let content : ListLayoutContent", - "key.parsed_scope.end" : 430, - "key.parsed_scope.start" : 430, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutContent", - "key.typeusr" : "$s10ListableUI17ListLayoutContentCD", - "key.usr" : "s:10ListableUI15TableListLayoutC7contentAA0dE7ContentCvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 21283 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(layoutAppearance: LayoutAppearance<\/Type>, appearance: Appearance<\/Type>, behavior: Behavior<\/Type>, content: ListLayoutContent<\/Type>)<\/Declaration>", - "key.bodylength" : 164, - "key.bodyoffset" : 21476, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(layoutAppearance<\/decl.var.parameter.argument_label>: LayoutAppearance<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 321, - "key.line" : 436, - "key.modulename" : "ListableUI", - "key.name" : "init(layoutAppearance:appearance:behavior:content:)", - "key.namelength" : 154, - "key.nameoffset" : 21320, - "key.offset" : 21320, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI10ListLayoutP16layoutAppearance10appearance8behavior7contentx0dF0Qz_AA0F0VAA8BehaviorVAA0cD7ContentCtcfc" - } - ], - "key.parsed_declaration" : "init(\n layoutAppearance : LayoutAppearance,\n appearance : Appearance,\n behavior : Behavior,\n content : ListLayoutContent\n)", - "key.parsed_scope.end" : 447, - "key.parsed_scope.start" : 436, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableListLayout.Type) -> (TableAppearance, Appearance, Behavior, ListLayoutContent) -> TableListLayout", - "key.typeusr" : "$s16layoutAppearance10appearance8behavior7content10ListableUI15TableListLayoutCAE0hB0V_AE0B0VAE8BehaviorVAE0iJ7ContentCtcD", - "key.usr" : "s:10ListableUI15TableListLayoutC16layoutAppearance10appearance8behavior7contentAcA0cG0V_AA0G0VAA8BehaviorVAA0dE7ContentCtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Performing Layouts", - "key.offset" : 21661 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateLayout(in context: ListLayoutLayoutContext<\/Type>)<\/Declaration>", - "key.bodylength" : 14, - "key.bodyoffset" : 21763, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateLayout<\/decl.name>(in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 76, - "key.line" : 453, - "key.modulename" : "ListableUI", - "key.name" : "updateLayout(in:)", - "key.namelength" : 50, - "key.nameoffset" : 21707, - "key.offset" : 21702, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP06updateE02inyAA0deE7ContextV_tF" - } - ], - "key.parsed_declaration" : "func updateLayout(in context : ListLayoutLayoutContext)", - "key.parsed_scope.end" : 456, - "key.parsed_scope.start" : 453, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableListLayout) -> (ListLayoutLayoutContext) -> ()", - "key.typeusr" : "$s2iny10ListableUI010ListLayoutE7ContextV_tcD", - "key.usr" : "s:10ListableUI15TableListLayoutC06updateE02inyAA0deE7ContextV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func layout(headerFooter: ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>, width: CustomWidth<\/Type>, viewWidth: CGFloat<\/Type>, defaultWidth: CGFloat<\/Type>, contentBottom: CGFloat<\/Type>, after: (ListLayoutContent<\/Type>.SupplementaryItemInfo<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 21788 - } - ], - "key.bodylength" : 1272, - "key.bodyoffset" : 22067, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layout<\/decl.name>(headerFooter<\/decl.var.parameter.argument_label>: ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CustomWidth<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, viewWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, defaultWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentBottom<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, after<\/decl.var.parameter.argument_label>: (ListLayoutContent<\/ref.class>.SupplementaryItemInfo<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1544, - "key.line" : 458, - "key.modulename" : "ListableUI", - "key.name" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)", - "key.namelength" : 264, - "key.nameoffset" : 21801, - "key.offset" : 21796, - "key.parsed_declaration" : "private func layout(\n headerFooter : ListLayoutContent.SupplementaryItemInfo,\n width : CustomWidth,\n viewWidth : CGFloat,\n defaultWidth : CGFloat,\n contentBottom : CGFloat,\n after : (ListLayoutContent.SupplementaryItemInfo) -> ()\n)", - "key.parsed_scope.end" : 505, - "key.parsed_scope.start" : 458, - "key.related_decls" : [ - { - "key.annotated_decl" : "layout(delegate:in:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let position: CustomWidth<\/Type>.Position<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> position<\/decl.name>: CustomWidth<\/ref.enum>.Position<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 108, - "key.line" : 466, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 22088, - "key.offset" : 22084, - "key.parsed_declaration" : "let position = width.position(\n with: viewWidth,\n defaultWidth: defaultWidth\n)", - "key.parsed_scope.end" : 466, - "key.parsed_scope.start" : 466, - "key.reusingastcontext" : false, - "key.typename" : "CustomWidth.Position", - "key.typeusr" : "$s10ListableUI11CustomWidthO8PositionVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout33_E71D3D96C42690D19F7CD02522C562C9LL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF8positionL_AQ8PositionVvp" - }, - { - "key.annotated_decl" : "let measureInfo: Sizing<\/Type>.MeasureInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> measureInfo<\/decl.name>: Sizing<\/ref.enum>.MeasureInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 292, - "key.line" : 473, - "key.modulename" : "ListableUI", - "key.name" : "measureInfo", - "key.namelength" : 11, - "key.nameoffset" : 22276, - "key.offset" : 22272, - "key.parsed_declaration" : "let measureInfo = Sizing.MeasureInfo(\n sizeConstraint: self.direction.size(\n for: CGSize(\n width: position.width,\n height: .greatestFiniteMagnitude\n )\n ),\n direction: self.direction\n)", - "key.parsed_scope.end" : 473, - "key.parsed_scope.start" : 473, - "key.reusingastcontext" : false, - "key.typename" : "Sizing.MeasureInfo", - "key.typeusr" : "$s10ListableUI6SizingO11MeasureInfoVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout33_E71D3D96C42690D19F7CD02522C562C9LL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF11measureInfoL_AA6SizingO11MeasureInfoVvp" - }, - { - "key.annotated_decl" : "let size: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 485, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 22631, - "key.offset" : 22627, - "key.parsed_declaration" : "let size = headerFooter.measurer(measureInfo)", - "key.parsed_scope.end" : 485, - "key.parsed_scope.start" : 485, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout33_E71D3D96C42690D19F7CD02522C562C9LL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF4sizeL_So6CGSizeVvp" - } - ], - "key.typename" : "(TableListLayout) -> (ListLayoutContent.SupplementaryItemInfo, CustomWidth, CGFloat, CGFloat, CGFloat, (ListLayoutContent.SupplementaryItemInfo) -> ()) -> ()", - "key.typeusr" : "$s12headerFooter5width9viewWidth07defaultE013contentBottom5aftery10ListableUI17ListLayoutContentC21SupplementaryItemInfoC_AG06CustomE0O14CoreFoundation7CGFloatVA2PyAKXEtcD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout33_E71D3D96C42690D19F7CD02522C562C9LL12headerFooter5width9viewWidth07defaultT013contentBottom5afteryAA0dE7ContentC21SupplementaryItemInfoC_AA06CustomT0O14CoreFoundation7CGFloatVA2TyAOXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func layout(delegate: CollectionViewLayoutDelegate<\/Type>?, in context: ListLayoutLayoutContext<\/Type>) -> ListLayoutResult<\/Type><\/Declaration>", - "key.bodylength" : 12523, - "key.bodyoffset" : 23489, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> layout<\/decl.name>(delegate<\/decl.var.parameter.argument_label>: CollectionViewLayoutDelegate<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, in<\/decl.var.parameter.argument_label> context<\/decl.var.parameter.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutResult<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 12663, - "key.line" : 507, - "key.modulename" : "ListableUI", - "key.name" : "layout(delegate:in:)", - "key.namelength" : 108, - "key.nameoffset" : 23355, - "key.offset" : 23350, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI13AnyListLayoutP6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - } - ], - "key.parsed_declaration" : "func layout(\n delegate : CollectionViewLayoutDelegate?,\n in context : ListLayoutLayoutContext\n) -> ListLayoutResult", - "key.parsed_scope.end" : 837, - "key.parsed_scope.start" : 507, - "key.related_decls" : [ - { - "key.annotated_decl" : "layout(headerFooter:width:viewWidth:defaultWidth:contentBottom:after:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let bounds: ListContentBounds<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> bounds<\/decl.name>: ListContentBounds<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 512, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 23502, - "key.offset" : 23498, - "key.parsed_declaration" : "let bounds = self.resolvedBounds(in: context)", - "key.parsed_scope.end" : 512, - "key.parsed_scope.start" : 512, - "key.reusingastcontext" : false, - "key.typename" : "ListContentBounds", - "key.typeusr" : "$s10ListableUI17ListContentBoundsVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF6boundsL_AA0D13ContentBoundsVvp" - }, - { - "key.annotated_decl" : "let layout: TableAppearance<\/Type>.Layout<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layout<\/decl.name>: TableAppearance<\/ref.struct>.Layout<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 41, - "key.line" : 514, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 23565, - "key.offset" : 23561, - "key.parsed_declaration" : "let layout = self.layoutAppearance.layout", - "key.parsed_scope.end" : 514, - "key.parsed_scope.start" : 514, - "key.reusingastcontext" : false, - "key.typename" : "TableAppearance.Layout", - "key.typeusr" : "$s10ListableUI15TableAppearanceV6LayoutVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtFADL_AA0C10AppearanceV0E0Vvp" - }, - { - "key.annotated_decl" : "let viewWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 66, - "key.line" : 516, - "key.modulename" : "ListableUI", - "key.name" : "viewWidth", - "key.namelength" : 9, - "key.nameoffset" : 23624, - "key.offset" : 23620, - "key.parsed_declaration" : "let viewWidth = self.direction.width(for: context.viewBounds.size)", - "key.parsed_scope.end" : 516, - "key.parsed_scope.start" : 516, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF9viewWidthL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let rootWidth: CustomWidth<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> rootWidth<\/decl.name>: CustomWidth<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 390, - "key.line" : 518, - "key.modulename" : "ListableUI", - "key.name" : "rootWidth", - "key.namelength" : 9, - "key.nameoffset" : 23708, - "key.offset" : 23704, - "key.parsed_declaration" : "let rootWidth = CustomWidth.custom(.init(\n padding: self.direction.switch(\n vertical: HorizontalPadding(leading: bounds.padding.left, trailing: bounds.padding.right),\n horizontal: HorizontalPadding(leading: bounds.padding.top, trailing: bounds.padding.bottom)\n ),\n width: bounds.width,\n alignment: .center\n))", - "key.parsed_scope.end" : 518, - "key.parsed_scope.start" : 518, - "key.reusingastcontext" : false, - "key.typename" : "CustomWidth", - "key.typeusr" : "$s10ListableUI11CustomWidthOD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF9rootWidthL_AA06CustomO0Ovp" - }, - { - "key.annotated_decl" : "let defaultWidth: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> defaultWidth<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 119, - "key.line" : 527, - "key.modulename" : "ListableUI", - "key.name" : "defaultWidth", - "key.namelength" : 12, - "key.nameoffset" : 24108, - "key.offset" : 24104, - "key.parsed_declaration" : "let defaultWidth = rootWidth.position(\n with: viewWidth,\n defaultWidth: viewWidth\n).width", - "key.parsed_scope.end" : 527, - "key.parsed_scope.start" : 527, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF12defaultWidthL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "var contentBottom: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Item positions are set and sent to the delegate first,\nin case the position affects the height calculation later in the layout pass.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> contentBottom<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 548, - "key.modulename" : "ListableUI", - "key.name" : "contentBottom", - "key.namelength" : 13, - "key.nameoffset" : 24641, - "key.offset" : 24637, - "key.parsed_declaration" : "var contentBottom : CGFloat = 0.0", - "key.parsed_scope.end" : 548, - "key.parsed_scope.start" : 548, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF13contentBottomL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "(TableListLayout) -> ((any CollectionViewLayoutDelegate)?, ListLayoutLayoutContext) -> ListLayoutResult", - "key.typeusr" : "$s8delegate2in10ListableUI16ListLayoutResultVAC014CollectionViewF8Delegate_pSg_AC0efF7ContextVtcD", - "key.usr" : "s:10ListableUI15TableListLayoutC6layout8delegate2inAA0dE6ResultVAA014CollectionViewE8Delegate_pSg_AA0deE7ContextVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func setItemPositions()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 36023 - } - ], - "key.bodylength" : 132, - "key.bodyoffset" : 36060, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setItemPositions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 162, - "key.line" : 839, - "key.modulename" : "ListableUI", - "key.name" : "setItemPositions()", - "key.namelength" : 18, - "key.nameoffset" : 36036, - "key.offset" : 36031, - "key.parsed_declaration" : "private func setItemPositions()", - "key.parsed_scope.end" : 844, - "key.parsed_scope.start" : 839, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(TableListLayout) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI15TableListLayoutC16setItemPositions33_E71D3D96C42690D19F7CD02522C562C9LLyyF" - } - ], - "key.typename" : "TableListLayout.Type", - "key.typeusr" : "$s10ListableUI15TableListLayoutCmD", - "key.usr" : "s:10ListableUI15TableListLayoutC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "public final class SectionInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 36198 - } - ], - "key.bodylength" : 2157, - "key.bodyoffset" : 36251, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/ListLayout\/ListLayoutContent.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SectionInfo<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2199, - "key.line" : 342, - "key.modulename" : "ListableUI", - "key.name" : "ListLayoutContent.SectionInfo", - "key.namelength" : 29, - "key.nameoffset" : 36220, - "key.offset" : 36210, - "key.parsed_declaration" : "fileprivate extension ListLayoutContent.SectionInfo", - "key.parsed_scope.end" : 911, - "key.parsed_scope.start" : 848, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "func setItemPositions(with appearance: TableAppearance<\/Type>)<\/Declaration>", - "key.bodylength" : 1195, - "key.bodyoffset" : 36318, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> setItemPositions<\/decl.name>(with<\/decl.var.parameter.argument_label> appearance<\/decl.var.parameter.name>: TableAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1258, - "key.line" : 850, - "key.modulename" : "ListableUI", - "key.name" : "setItemPositions(with:)", - "key.namelength" : 51, - "key.nameoffset" : 36261, - "key.offset" : 36256, - "key.parsed_declaration" : "func setItemPositions(with appearance : TableAppearance)", - "key.parsed_scope.end" : 883, - "key.parsed_scope.start" : 850, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListLayoutContent.SectionInfo) -> (TableAppearance) -> ()", - "key.typeusr" : "$s4withy10ListableUI15TableAppearanceV_tcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC16setItemPositions33_E71D3D96C42690D19F7CD02522C562C9LL4withyAA15TableAppearanceV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private static func grouped(items: [ListLayoutContent<\/Type>.ItemInfo<\/Type>], groupingHeight: CGFloat<\/Type>, appearance: TableAppearance<\/Type>) -> [[ListLayoutContent<\/Type>.ItemInfo<\/Type>]]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 37524 - } - ], - "key.bodylength" : 721, - "key.bodyoffset" : 37685, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> grouped<\/decl.name>(items<\/decl.var.parameter.argument_label>: [ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class>]<\/decl.var.parameter.type><\/decl.var.parameter>, groupingHeight<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: TableAppearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [[ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class>]]<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 875, - "key.line" : 885, - "key.modulename" : "ListableUI", - "key.name" : "grouped(items:groupingHeight:appearance:)", - "key.namelength" : 101, - "key.nameoffset" : 37544, - "key.offset" : 37532, - "key.parsed_declaration" : "private static func grouped(items : [ListLayoutContent.ItemInfo], groupingHeight : CGFloat, appearance : TableAppearance) -> [[ListLayoutContent.ItemInfo]]", - "key.parsed_scope.end" : 910, - "key.parsed_scope.start" : 885, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var all: [[ListLayoutContent<\/Type>.ItemInfo<\/Type>]]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> all<\/decl.name>: [[ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class>]]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 887, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 37698, - "key.offset" : 37694, - "key.parsed_declaration" : "var all = [[ListLayoutContent.ItemInfo]]()", - "key.parsed_scope.end" : 887, - "key.parsed_scope.start" : 887, - "key.related_decls" : [ - { - "key.annotated_decl" : "all(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "[[ListLayoutContent.ItemInfo]]", - "key.typeusr" : "$sSaySay10ListableUI17ListLayoutContentC8ItemInfoCGGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC7grouped33_E71D3D96C42690D19F7CD02522C562C9LL5items14groupingHeight10appearanceSaySayAC04ItemG0CGGAM_14CoreFoundation7CGFloatVAA15TableAppearanceVtFZ3allL_ANvp" - }, - { - "key.annotated_decl" : "var current: [ListLayoutContent<\/Type>.ItemInfo<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> current<\/decl.name>: [ListLayoutContent<\/ref.class>.ItemInfo<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 44, - "key.line" : 888, - "key.modulename" : "ListableUI", - "key.name" : "current", - "key.namelength" : 7, - "key.nameoffset" : 37749, - "key.offset" : 37745, - "key.parsed_declaration" : "var current = [ListLayoutContent.ItemInfo]()", - "key.parsed_scope.end" : 888, - "key.parsed_scope.start" : 888, - "key.reusingastcontext" : false, - "key.typename" : "[ListLayoutContent.ItemInfo]", - "key.typeusr" : "$sSay10ListableUI17ListLayoutContentC8ItemInfoCGD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC7grouped33_E71D3D96C42690D19F7CD02522C562C9LL5items14groupingHeight10appearanceSaySayAC04ItemG0CGGAM_14CoreFoundation7CGFloatVAA15TableAppearanceVtFZ7currentL_AMvp" - }, - { - "key.annotated_decl" : "var lastSpacing: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lastSpacing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 890, - "key.modulename" : "ListableUI", - "key.name" : "lastSpacing", - "key.namelength" : 11, - "key.nameoffset" : 37811, - "key.offset" : 37807, - "key.parsed_declaration" : "var lastSpacing : CGFloat = 0.0", - "key.parsed_scope.end" : 890, - "key.parsed_scope.start" : 890, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC7grouped33_E71D3D96C42690D19F7CD02522C562C9LL5items14groupingHeight10appearanceSaySayAC04ItemG0CGGAM_14CoreFoundation7CGFloatVAA15TableAppearanceVtFZ11lastSpacingL_AQvp" - } - ], - "key.typename" : "(ListLayoutContent.SectionInfo.Type) -> ([ListLayoutContent.ItemInfo], CGFloat, TableAppearance) -> [[ListLayoutContent.ItemInfo]]", - "key.typeusr" : "$s5items14groupingHeight10appearanceSaySay10ListableUI17ListLayoutContentC8ItemInfoCGGAI_14CoreFoundation7CGFloatVAD15TableAppearanceVtcD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC7grouped33_E71D3D96C42690D19F7CD02522C562C9LL5items14groupingHeight10appearanceSaySayAC04ItemG0CGGAM_14CoreFoundation7CGFloatVAA15TableAppearanceVtFZ" - } - ], - "key.typename" : "ListLayoutContent.SectionInfo.Type", - "key.typeusr" : "$s10ListableUI17ListLayoutContentC11SectionInfoCmD", - "key.usr" : "s:10ListableUI17ListLayoutContentC11SectionInfoC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@frozen @_eagerMove struct Array<Element> : _DestructorSafeContainer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 38412 - } - ], - "key.bodylength" : 250, - "key.bodyoffset" : 38441, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An ordered, random-access collection.\n\nArrays are one of the most commonly used data types in an app. You use\narrays to organize your app's data. Specifically, you use the `Array` type\nto hold elements of a single type, the array's `Element` type. An array\ncan store any kind of elements---from integers to strings to classes.\n\nSwift makes it easy to create arrays in your code using an array literal:\nsimply surround a comma-separated list of values with square brackets.\nWithout any other information, Swift creates an array that includes the\nspecified values, automatically inferring the array's `Element` type. For\nexample:\n\n \/\/ An array of 'Int' elements\n let oddNumbers = [1, 3, 5, 7, 9, 11, 13, 15]\n\n \/\/ An array of 'String' elements\n let streets = [\"Albemarle\", \"Brandywine\", \"Chesapeake\"]\n\nYou can create an empty array by specifying the `Element` type of your\narray in the declaration. For example:\n\n \/\/ Shortened forms are preferred\n var emptyDoubles: [Double] = []\n\n \/\/ The full type name is also allowed\n var emptyFloats: Array = Array()\n\nIf you need an array that is preinitialized with a fixed number of default\nvalues, use the `Array(repeating:count:)` initializer.\n\n var digitCounts = Array(repeating: 0, count: 10)\n print(digitCounts)\n \/\/ Prints \"[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\"\n\nAccessing Array Values\n======================\n\nWhen you need to perform an operation on all of an array's elements, use a\n`for`-`in` loop to iterate through the array's contents.\n\n for street in streets {\n print(\"I don't live on \\(street).\")\n }\n \/\/ Prints \"I don't live on Albemarle.\"\n \/\/ Prints \"I don't live on Brandywine.\"\n \/\/ Prints \"I don't live on Chesapeake.\"\n\nUse the `isEmpty` property to check quickly whether an array has any\nelements, or use the `count` property to find the number of elements in\nthe array.\n\n if oddNumbers.isEmpty {\n print(\"I don't know any odd numbers.\")\n } else {\n print(\"I know \\(oddNumbers.count) odd numbers.\")\n }\n \/\/ Prints \"I know 8 odd numbers.\"\n\nUse the `first` and `last` properties for safe access to the value of the\narray's first and last elements. If the array is empty, these properties\nare `nil`.\n\n if let firstElement = oddNumbers.first, let lastElement = oddNumbers.last {\n print(firstElement, lastElement, separator: \", \")\n }\n \/\/ Prints \"1, 15\"\n\n print(emptyDoubles.first, emptyDoubles.last, separator: \", \")\n \/\/ Prints \"nil, nil\"\n\nYou can access individual array elements through a subscript. The first\nelement of a nonempty array is always at index zero. You can subscript an\narray with any integer from zero up to, but not including, the count of\nthe array. Using a negative number or an index equal to or greater than\n`count` triggers a runtime error. For example:\n\n print(oddNumbers[0], oddNumbers[3], separator: \", \")\n \/\/ Prints \"1, 7\"\n\n print(emptyDoubles[0])\n \/\/ Triggers runtime error: Index out of range\n\nAdding and Removing Elements\n============================\n\nSuppose you need to store a list of the names of students that are signed\nup for a class you're teaching. During the registration period, you need\nto add and remove names as students add and drop the class.\n\n var students = [\"Ben\", \"Ivy\", \"Jordell\"]\n\nTo add single elements to the end of an array, use the `append(_:)` method.\nAdd multiple elements at the same time by passing another array or a\nsequence of any kind to the `append(contentsOf:)` method.\n\n students.append(\"Maxime\")\n students.append(contentsOf: [\"Shakia\", \"William\"])\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Maxime\", \"Shakia\", \"William\"]\n\nYou can add new elements in the middle of an array by using the\n`insert(_:at:)` method for single elements and by using\n`insert(contentsOf:at:)` to insert multiple elements from another\ncollection or array literal. The elements at that index and later indices\nare shifted back to make room.\n\n students.insert(\"Liam\", at: 3)\n \/\/ [\"Ben\", \"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\nTo remove elements from an array, use the `remove(at:)`,\n`removeSubrange(_:)`, and `removeLast()` methods.\n\n \/\/ Ben's family is moving to another state\n students.remove(at: 0)\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\", \"William\"]\n\n \/\/ William is signing up for a different class\n students.removeLast()\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Maxime\", \"Shakia\"]\n\nYou can replace an existing element with a new value by assigning the new\nvalue to the subscript.\n\n if let i = students.firstIndex(of: \"Maxime\") {\n students[i] = \"Max\"\n }\n \/\/ [\"Ivy\", \"Jordell\", \"Liam\", \"Max\", \"Shakia\"]\n\nGrowing the Size of an Array\n----------------------------\n\nEvery array reserves a specific amount of memory to hold its contents. When\nyou add elements to an array and that array begins to exceed its reserved\ncapacity, the array allocates a larger region of memory and copies its\nelements into the new storage. The new storage is a multiple of the old\nstorage's size. This exponential growth strategy means that appending an\nelement happens in constant time, averaging the performance of many append\noperations. Append operations that trigger reallocation have a performance\ncost, but they occur less and less often as the array grows larger.\n\nIf you know approximately how many elements you will need to store, use the\n`reserveCapacity(_:)` method before appending to the array to avoid\nintermediate reallocations. Use the `capacity` and `count` properties to\ndetermine how many more elements the array can store without allocating\nlarger storage.\n\nFor arrays of most `Element` types, this storage is a contiguous block of\nmemory. For arrays with an `Element` type that is a class or `@objc`\nprotocol type, this storage can be a contiguous block of memory or an\ninstance of `NSArray`. Because any arbitrary subclass of `NSArray` can\nbecome an `Array`, there are no guarantees about representation or\nefficiency in this case.\n\nModifying Copies of Arrays\n==========================\n\nEach array has an independent value that includes the values of all of its\nelements. For simple types such as integers and other structures, this\nmeans that when you change a value in one array, the value of that element\ndoes not change in any copies of the array. For example:\n\n var numbers = [1, 2, 3, 4, 5]\n var numbersCopy = numbers\n numbers[0] = 100\n print(numbers)\n \/\/ Prints \"[100, 2, 3, 4, 5]\"\n print(numbersCopy)\n \/\/ Prints \"[1, 2, 3, 4, 5]\"\n\nIf the elements in an array are instances of a class, the semantics are the\nsame, though they might appear different at first. In this case, the\nvalues stored in the array are references to objects that live outside the\narray. If you change a reference to an object in one array, only that\narray has a reference to the new object. However, if two arrays contain\nreferences to the same object, you can observe changes to that object's\nproperties from both arrays. For example:\n\n \/\/ An integer type with reference semantics\n class IntegerReference {\n var value = 10\n }\n var firstIntegers = [IntegerReference(), IntegerReference()]\n var secondIntegers = firstIntegers\n\n \/\/ Modifications to an instance are visible from either array\n firstIntegers[0].value = 100\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\n \/\/ Replacements, additions, and removals are still visible\n \/\/ only in the modified array\n firstIntegers[0] = IntegerReference()\n print(firstIntegers[0].value)\n \/\/ Prints \"10\"\n print(secondIntegers[0].value)\n \/\/ Prints \"100\"\n\nArrays, like all variable-size collections in the standard library, use\ncopy-on-write optimization. Multiple copies of an array share the same\nstorage until you modify one of the copies. When that happens, the array\nbeing modified replaces its storage with a uniquely owned copy of itself,\nwhich is then modified in place. Optimizations are sometimes applied that\ncan reduce the amount of copying.\n\nThis means that if an array is sharing storage with other copies, the first\nmutating operation on that array incurs the cost of copying the array. An\narray that is the sole owner of its storage can perform mutating\noperations in place.\n\nIn the example below, a `numbers` array is created along with two copies\nthat share the same storage. When the original `numbers` array is\nmodified, it makes a unique copy of its storage before making the\nmodification. Further modifications to `numbers` are made in place, while\nthe two copies continue to share the original storage.\n\n var numbers = [1, 2, 3, 4, 5]\n var firstCopy = numbers\n var secondCopy = numbers\n\n \/\/ The storage for 'numbers' is copied here\n numbers[0] = 100\n numbers[1] = 200\n numbers[2] = 300\n \/\/ 'numbers' is [100, 200, 300, 4, 5]\n \/\/ 'firstCopy' and 'secondCopy' are [1, 2, 3, 4, 5]\n\nBridging Between Array and NSArray\n==================================\n\nWhen you need to access APIs that require data in an `NSArray` instance\ninstead of `Array`, use the type-cast operator (`as`) to bridge your\ninstance. For bridging to be possible, the `Element` type of your array\nmust be a class, an `@objc` protocol (a protocol imported from Objective-C\nor marked with the `@objc` attribute), or a type that bridges to a\nFoundation type.\n\nThe following example shows how you can bridge an `Array` instance to\n`NSArray` to use the `write(to:atomically:)` method. In this example, the\n`colors` array can be bridged to `NSArray` because the `colors` array's\n`String` elements bridge to `NSString`. The compiler prevents bridging the\n`moreColors` array, on the other hand, because its `Element` type is\n`Optional`, which does *not* bridge to a Foundation type.\n\n let colors = [\"periwinkle\", \"rose\", \"moss\"]\n let moreColors: [String?] = [\"ochre\", \"pine\"]\n\n let url = URL(fileURLWithPath: \"names.plist\")\n (colors as NSArray).write(to: url, atomically: true)\n \/\/ true\n\n (moreColors as NSArray).write(to: url, atomically: true)\n \/\/ error: cannot convert value of type '[String?]' to type 'NSArray'\n\nBridging from `Array` to `NSArray` takes O(1) time and O(1) space if the\narray's elements are already instances of a class or an `@objc` protocol;\notherwise, it takes O(*n*) time and space.\n\nWhen the destination array's element type is a class or an `@objc`\nprotocol, bridging from `NSArray` to `Array` first calls the `copy(with:)`\n(`- copyWithZone:` in Objective-C) method on the array to get an immutable\ncopy and then performs additional Swift bookkeeping work that takes O(1)\ntime. For instances of `NSArray` that are already immutable, `copy(with:)`\nusually returns the same array in O(1) time; otherwise, the copying\nperformance is unspecified. If `copy(with:)` returns the same array, the\ninstances of `NSArray` and `Array` share storage using the same\ncopy-on-write optimization that is used when two instances of `Array`\nshare storage.\n\nWhen the destination array's element type is a nonclass type that bridges\nto a Foundation type, bridging from `NSArray` to `Array` performs a\nbridging copy of the elements to contiguous storage in O(*n*) time. For\nexample, bridging from `NSArray` to `Array` performs such a copy. No\nfurther bridging is required when accessing elements of the `Array`\ninstance.\n\n- Note: The `ContiguousArray` and `ArraySlice` types are not bridged;\n instances of those types always have a contiguous block of memory as\n their storage.", - "key.doc.declaration" : "@frozen struct Array : _DestructorSafeContainer", - "key.doc.discussion" : [ - { - "Para" : "Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the `Array` type to hold elements of a single type, the array’s `Element` type. An array can store any kind of elements—from integers to strings to classes." - }, - { - "Para" : "Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s `Element` type. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can create an empty array by specifying the `Element` type of your array in the declaration. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If you need an array that is preinitialized with a fixed number of default values, use the `Array(repeating:count:)` initializer." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to perform an operation on all of an array’s elements, use a `for`-`in` loop to iterate through the array’s contents." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `isEmpty` property to check quickly whether an array has any elements, or use the `count` property to find the number of elements in the array." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Use the `first` and `last` properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are `nil`." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than `count` triggers a runtime error. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To add single elements to the end of an array, use the `append(_:)` method. Add multiple elements at the same time by passing another array or a sequence of any kind to the `append(contentsOf:)` method." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can add new elements in the middle of an array by using the `insert(_:at:)` method for single elements and by using `insert(contentsOf:at:)` to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room." - }, - { - "CodeListing" : "" - }, - { - "Para" : "To remove elements from an array, use the `remove(at:)`, `removeSubrange(_:)`, and `removeLast()` methods." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can replace an existing element with a new value by assigning the new value to the subscript." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger." - }, - { - "Para" : "If you know approximately how many elements you will need to store, use the `reserveCapacity(_:)` method before appending to the array to avoid intermediate reallocations. Use the `capacity` and `count` properties to determine how many more elements the array can store without allocating larger storage." - }, - { - "Para" : "For arrays of most `Element` types, this storage is a contiguous block of memory. For arrays with an `Element` type that is a class or `@objc` protocol type, this storage can be a contiguous block of memory or an instance of `NSArray`. Because any arbitrary subclass of `NSArray` can become an `Array`, there are no guarantees about representation or efficiency in this case." - }, - { - "Para" : "Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying." - }, - { - "Para" : "This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place." - }, - { - "Para" : "In the example below, a `numbers` array is created along with two copies that share the same storage. When the original `numbers` array is modified, it makes a unique copy of its storage before making the modification. Further modifications to `numbers` are made in place, while the two copies continue to share the original storage." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When you need to access APIs that require data in an `NSArray` instance instead of `Array`, use the type-cast operator (`as`) to bridge your instance. For bridging to be possible, the `Element` type of your array must be a class, an `@objc` protocol (a protocol imported from Objective-C or marked with the `@objc` attribute), or a type that bridges to a Foundation type." - }, - { - "Para" : "The following example shows how you can bridge an `Array` instance to `NSArray` to use the `write(to:atomically:)` method. In this example, the `colors` array can be bridged to `NSArray` because the `colors` array’s `String` elements bridge to `NSString`. The compiler prevents bridging the `moreColors` array, on the other hand, because its `Element` type is `Optional`, which does bridge to a Foundation type." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Bridging from `Array` to `NSArray` takes O(1) time and O(1) space if the array’s elements are already instances of a class or an `@objc` protocol; otherwise, it takes O() time and space." - }, - { - "Para" : "When the destination array’s element type is a class or an `@objc` protocol, bridging from `NSArray` to `Array` first calls the `copy(with:)` (`- copyWithZone:` in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of `NSArray` that are already immutable, `copy(with:)` usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If `copy(with:)` returns the same array, the instances of `NSArray` and `Array` share storage using the same copy-on-write optimization that is used when two instances of `Array` share storage." - }, - { - "Para" : "When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from `NSArray` to `Array` performs a bridging copy of the elements to contiguous storage in O() time. For example, bridging from `NSArray` to `Array` performs such a copy. No further bridging is required when accessing elements of the `Array` instance." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "Array<\/Name>s:Sa<\/USR>@frozen struct Array<Element> : _DestructorSafeContainer<\/Declaration>An ordered, random-access collection.<\/Para><\/Abstract>Arrays are one of the most commonly used data types in an app. You use arrays to organize your app’s data. Specifically, you use the Array<\/codeVoice> type to hold elements of a single type, the array’s Element<\/codeVoice> type. An array can store any kind of elements—from integers to strings to classes.<\/Para>Swift makes it easy to create arrays in your code using an array literal: simply surround a comma-separated list of values with square brackets. Without any other information, Swift creates an array that includes the specified values, automatically inferring the array’s Element<\/codeVoice> type. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can create an empty array by specifying the Element<\/codeVoice> type of your array in the declaration. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> = Array()]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If you need an array that is preinitialized with a fixed number of default values, use the Array(repeating:count:)<\/codeVoice> initializer.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Accessing Array Values]]><\/rawHTML>When you need to perform an operation on all of an array’s elements, use a for<\/codeVoice>-in<\/codeVoice> loop to iterate through the array’s contents.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the isEmpty<\/codeVoice> property to check quickly whether an array has any elements, or use the count<\/codeVoice> property to find the number of elements in the array.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Use the first<\/codeVoice> and last<\/codeVoice> properties for safe access to the value of the array’s first and last elements. If the array is empty, these properties are nil<\/codeVoice>.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can access individual array elements through a subscript. The first element of a nonempty array is always at index zero. You can subscript an array with any integer from zero up to, but not including, the count of the array. Using a negative number or an index equal to or greater than count<\/codeVoice> triggers a runtime error. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Adding and Removing Elements]]><\/rawHTML>Suppose you need to store a list of the names of students that are signed up for a class you’re teaching. During the registration period, you need to add and remove names as students add and drop the class.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To add single elements to the end of an array, use the append(_:)<\/codeVoice> method. Add multiple elements at the same time by passing another array or a sequence of any kind to the append(contentsOf:)<\/codeVoice> method.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can add new elements in the middle of an array by using the insert(_:at:)<\/codeVoice> method for single elements and by using insert(contentsOf:at:)<\/codeVoice> to insert multiple elements from another collection or array literal. The elements at that index and later indices are shifted back to make room.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>To remove elements from an array, use the remove(at:)<\/codeVoice>, removeSubrange(_:)<\/codeVoice>, and removeLast()<\/codeVoice> methods.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can replace an existing element with a new value by assigning the new value to the subscript.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Growing the Size of an Array]]><\/rawHTML>Every array reserves a specific amount of memory to hold its contents. When you add elements to an array and that array begins to exceed its reserved capacity, the array allocates a larger region of memory and copies its elements into the new storage. The new storage is a multiple of the old storage’s size. This exponential growth strategy means that appending an element happens in constant time, averaging the performance of many append operations. Append operations that trigger reallocation have a performance cost, but they occur less and less often as the array grows larger.<\/Para>If you know approximately how many elements you will need to store, use the reserveCapacity(_:)<\/codeVoice> method before appending to the array to avoid intermediate reallocations. Use the capacity<\/codeVoice> and count<\/codeVoice> properties to determine how many more elements the array can store without allocating larger storage.<\/Para>For arrays of most Element<\/codeVoice> types, this storage is a contiguous block of memory. For arrays with an Element<\/codeVoice> type that is a class or @objc<\/codeVoice> protocol type, this storage can be a contiguous block of memory or an instance of NSArray<\/codeVoice>. Because any arbitrary subclass of NSArray<\/codeVoice> can become an Array<\/codeVoice>, there are no guarantees about representation or efficiency in this case.<\/Para>]]><\/rawHTML>Modifying Copies of Arrays]]><\/rawHTML>Each array has an independent value that includes the values of all of its elements. For simple types such as integers and other structures, this means that when you change a value in one array, the value of that element does not change in any copies of the array. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>If the elements in an array are instances of a class, the semantics are the same, though they might appear different at first. In this case, the values stored in the array are references to objects that live outside the array. If you change a reference to an object in one array, only that array has a reference to the new object. However, if two arrays contain references to the same object, you can observe changes to that object’s properties from both arrays. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Arrays, like all variable-size collections in the standard library, use copy-on-write optimization. Multiple copies of an array share the same storage until you modify one of the copies. When that happens, the array being modified replaces its storage with a uniquely owned copy of itself, which is then modified in place. Optimizations are sometimes applied that can reduce the amount of copying.<\/Para>This means that if an array is sharing storage with other copies, the first mutating operation on that array incurs the cost of copying the array. An array that is the sole owner of its storage can perform mutating operations in place.<\/Para>In the example below, a numbers<\/codeVoice> array is created along with two copies that share the same storage. When the original numbers<\/codeVoice> array is modified, it makes a unique copy of its storage before making the modification. Further modifications to numbers<\/codeVoice> are made in place, while the two copies continue to share the original storage.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Bridging Between Array and NSArray]]><\/rawHTML>When you need to access APIs that require data in an NSArray<\/codeVoice> instance instead of Array<\/codeVoice>, use the type-cast operator (as<\/codeVoice>) to bridge your instance. For bridging to be possible, the Element<\/codeVoice> type of your array must be a class, an @objc<\/codeVoice> protocol (a protocol imported from Objective-C or marked with the @objc<\/codeVoice> attribute), or a type that bridges to a Foundation type.<\/Para>The following example shows how you can bridge an Array<\/codeVoice> instance to NSArray<\/codeVoice> to use the write(to:atomically:)<\/codeVoice> method. In this example, the colors<\/codeVoice> array can be bridged to NSArray<\/codeVoice> because the colors<\/codeVoice> array’s String<\/codeVoice> elements bridge to NSString<\/codeVoice>. The compiler prevents bridging the moreColors<\/codeVoice> array, on the other hand, because its Element<\/codeVoice> type is Optional<String><\/codeVoice>, which does not<\/emphasis> bridge to a Foundation type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Bridging from Array<\/codeVoice> to NSArray<\/codeVoice> takes O(1) time and O(1) space if the array’s elements are already instances of a class or an @objc<\/codeVoice> protocol; otherwise, it takes O(n<\/emphasis>) time and space.<\/Para>When the destination array’s element type is a class or an @objc<\/codeVoice> protocol, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> first calls the copy(with:)<\/codeVoice> (- copyWithZone:<\/codeVoice> in Objective-C) method on the array to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of NSArray<\/codeVoice> that are already immutable, copy(with:)<\/codeVoice> usually returns the same array in O(1) time; otherwise, the copying performance is unspecified. If copy(with:)<\/codeVoice> returns the same array, the instances of NSArray<\/codeVoice> and Array<\/codeVoice> share storage using the same copy-on-write optimization that is used when two instances of Array<\/codeVoice> share storage.<\/Para>When the destination array’s element type is a nonclass type that bridges to a Foundation type, bridging from NSArray<\/codeVoice> to Array<\/codeVoice> performs a bridging copy of the elements to contiguous storage in O(n<\/emphasis>) time. For example, bridging from NSArray<\/codeVoice> to Array<Int><\/codeVoice> performs such a copy. No further bridging is required when accessing elements of the Array<\/codeVoice> instance.<\/Para>The ContiguousArray<\/codeVoice> and ArraySlice<\/codeVoice> types are not bridged; instances of those types always have a contiguous block of memory as their storage.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "Array", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_eagerMove<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> Array<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> : _DestructorSafeContainer<\/ref.protocol><\/decl.struct>", - "key.groupname" : "Collection\/Array", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 268, - "key.modulename" : "Swift", - "key.name" : "Array", - "key.namelength" : 5, - "key.nameoffset" : 38434, - "key.offset" : 38424, - "key.parsed_declaration" : "fileprivate extension Array", - "key.parsed_scope.end" : 925, - "key.parsed_scope.start" : 914, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "mutating func safeDropFirst(_ count: Int<\/Type>) -> [Element<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 38446 - } - ], - "key.bodylength" : 182, - "key.bodyoffset" : 38507, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> safeDropFirst<\/decl.name>(_<\/decl.var.parameter.argument_label> count<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [Element<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 235, - "key.line" : 916, - "key.modulename" : "ListableUI", - "key.name" : "safeDropFirst(_:)", - "key.namelength" : 28, - "key.nameoffset" : 38460, - "key.offset" : 38455, - "key.parsed_declaration" : "mutating func safeDropFirst(_ count : Int) -> [Element]", - "key.parsed_scope.end" : 924, - "key.parsed_scope.start" : 916, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let safeCount: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> safeCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 44, - "key.line" : 918, - "key.modulename" : "ListableUI", - "key.name" : "safeCount", - "key.namelength" : 9, - "key.nameoffset" : 38520, - "key.offset" : 38516, - "key.parsed_declaration" : "let safeCount = Swift.min(self.count, count)", - "key.parsed_scope.end" : 918, - "key.parsed_scope.start" : 918, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:Sa10ListableUIE13safeDropFirst33_E71D3D96C42690D19F7CD02522C562C9LLySayxGSiF0C5CountL_Sivp" - }, - { - "key.annotated_decl" : "let values: ArraySlice<\/Type><Element<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> values<\/decl.name>: ArraySlice<\/ref.struct><Element<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 32, - "key.line" : 919, - "key.modulename" : "ListableUI", - "key.name" : "values", - "key.namelength" : 6, - "key.nameoffset" : 38573, - "key.offset" : 38569, - "key.parsed_declaration" : "let values = self[0..", - "key.typeusr" : "$ss10ArraySliceVyxGD", - "key.usr" : "s:Sa10ListableUIE13safeDropFirst33_E71D3D96C42690D19F7CD02522C562C9LLySayxGSiF6valuesL_s10ArraySliceVyxGvp" - } - ], - "key.typename" : " (inout Array) -> (Int) -> [Element]", - "key.typeusr" : "$sySayxGSicD", - "key.usr" : "s:Sa10ListableUIE13safeDropFirst33_E71D3D96C42690D19F7CD02522C562C9LLySayxGSiF" - } - ], - "key.typename" : "Array.Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:Sa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate func performLayout<Input>(for input: Input<\/Type>, _ block: (Input<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 38695 - } - ], - "key.bodylength" : 18, - "key.bodyoffset" : 38778, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performLayout<\/decl.name><Input<\/decl.generic_type_param.name><\/decl.generic_type_param>>(for<\/decl.var.parameter.argument_label> input<\/decl.var.parameter.name>: Input<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (Input<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 90, - "key.line" : 928, - "key.modulename" : "ListableUI", - "key.name" : "performLayout(for:_:)", - "key.namelength" : 64, - "key.nameoffset" : 38712, - "key.offset" : 38707, - "key.parsed_declaration" : "fileprivate func performLayout(for input : Input, _ block : (Input) -> ())", - "key.parsed_scope.end" : 931, - "key.parsed_scope.start" : 928, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Input<\/Declaration>", - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Layout\/Table\/TableListLayout.swift", - "key.fully_annotated_decl" : "Input<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 928, - "key.modulename" : "ListableUI", - "key.name" : "Input", - "key.namelength" : 5, - "key.nameoffset" : 38726, - "key.offset" : 38726, - "key.parsed_declaration" : "fileprivate func performLayout (for: Input, (Input) -> ()) -> ()", - "key.typeusr" : "$s3for_yx_yxXEtcluD", - "key.usr" : "s:10ListableUI13performLayout33_E71D3D96C42690D19F7CD02522C562C9LL3for_yx_yxXEtlF" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8479, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum LayoutDirection : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1560 - } - ], - "key.bodylength" : 1056, - "key.bodyoffset" : 1600, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the given direction \/ axis that a layout uses when flowing its content.\n\nTraditional table views \/ lists you see use a `.vertical` layout direction, however,\nyou may want to use `.horizontal` for embedded lists that scroll\nhorizontally in a larger vertical list, similar to what you would see in the iOS App Store,\nor for a list that users can scroll left to right.\n```\n.vertical:\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n\n.horizontal:\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```\nWhen writing custom list layouts, `LayoutDirection` provides many helper methods\nto convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical\nlayout directions. See the extensions in this file for more details.\n", - "key.doc.column" : 13, - "key.doc.comment" : "\nDescribes the given direction \/ axis that a layout uses when flowing its content.\n\nTraditional table views \/ lists you see use a `.vertical` layout direction, however,\nyou may want to use `.horizontal` for embedded lists that scroll\nhorizontally in a larger vertical list, similar to what you would see in the iOS App Store,\nor for a list that users can scroll left to right.\n```\n.vertical:\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n\n.horizontal:\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```\nWhen writing custom list layouts, `LayoutDirection` provides many helper methods\nto convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical\nlayout directions. See the extensions in this file for more details.", - "key.doc.declaration" : "public enum LayoutDirection : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Traditional table views \/ lists you see use a `.vertical` layout direction, however, you may want to use `.horizontal` for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When writing custom list layouts, `LayoutDirection` provides many helper methods to convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical layout directions. See the extensions in this file for more details." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "LayoutDirection<\/Name>s:10ListableUI15LayoutDirectionO<\/USR>public enum LayoutDirection : Hashable<\/Declaration>Describes the given direction \/ axis that a layout uses when flowing its content.<\/Para><\/Abstract>Traditional table views \/ lists you see use a .vertical<\/codeVoice> layout direction, however, you may want to use .horizontal<\/codeVoice> for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>When writing custom list layouts, LayoutDirection<\/codeVoice> provides many helper methods to convert the coordinates of CGSize<\/codeVoice>, CGPoint<\/codeVoice>, CGRect<\/codeVoice>, etc, to horizontal or vertical layout directions. See the extensions in this file for more details.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 44, - "key.doc.name" : "LayoutDirection", - "key.doc.type" : "Other", - "key.doclength" : 1451, - "key.docoffset" : 109, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 1590 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> LayoutDirection<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1090, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDirection", - "key.namelength" : 15, - "key.nameoffset" : 1572, - "key.offset" : 1567, - "key.parsed_declaration" : "public enum LayoutDirection : Hashable", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 2101, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case vertical<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A list layout which lays out top to bottom.\n```\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n```", - "key.doc.column" : 10, - "key.doc.comment" : "A list layout which lays out top to bottom.\n```\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "vertical<\/Name>s:10ListableUI15LayoutDirectionO8verticalyA2CmF<\/USR><\/Declaration>A list layout which lays out top to bottom.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "vertical", - "key.doc.type" : "Other", - "key.doclength" : 492, - "key.docoffset" : 1605, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> vertical<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "vertical", - "key.namelength" : 8, - "key.nameoffset" : 2106, - "key.offset" : 2106, - "key.parsed_declaration" : "case vertical", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.typename" : "(LayoutDirection.Type) -> LayoutDirection", - "key.typeusr" : "$sy10ListableUI15LayoutDirectionOACmcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO8verticalyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 2640, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case horizontal<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A list layout which lays out left to right (or leading to trailing, depending on implementation).\n```\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```", - "key.doc.column" : 10, - "key.doc.comment" : "A list layout which lays out left to right (or leading to trailing, depending on implementation).\n```\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "horizontal<\/Name>s:10ListableUI15LayoutDirectionO10horizontalyA2CmF<\/USR><\/Declaration>A list layout which lays out left to right (or leading to trailing, depending on implementation).<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "horizontal", - "key.doc.type" : "Other", - "key.doclength" : 512, - "key.docoffset" : 2124, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> horizontal<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "horizontal", - "key.namelength" : 10, - "key.nameoffset" : 2645, - "key.offset" : 2645, - "key.parsed_declaration" : "case horizontal", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.typename" : "(LayoutDirection.Type) -> LayoutDirection", - "key.typeusr" : "$sy10ListableUI15LayoutDirectionOACmcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO10horizontalyA2CmF" - } - ] - } - ], - "key.typename" : "LayoutDirection.Type", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOmD", - "key.usr" : "s:10ListableUI15LayoutDirectionO" - }, - { - "key.annotated_decl" : "public enum LayoutDirection : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 1840, - "key.bodyoffset" : 2687, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the given direction \/ axis that a layout uses when flowing its content.\n\nTraditional table views \/ lists you see use a `.vertical` layout direction, however,\nyou may want to use `.horizontal` for embedded lists that scroll\nhorizontally in a larger vertical list, similar to what you would see in the iOS App Store,\nor for a list that users can scroll left to right.\n```\n.vertical:\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n\n.horizontal:\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```\nWhen writing custom list layouts, `LayoutDirection` provides many helper methods\nto convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical\nlayout directions. See the extensions in this file for more details.\n", - "key.doc.column" : 13, - "key.doc.declaration" : "public enum LayoutDirection : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Traditional table views \/ lists you see use a `.vertical` layout direction, however, you may want to use `.horizontal` for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When writing custom list layouts, `LayoutDirection` provides many helper methods to convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical layout directions. See the extensions in this file for more details." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "LayoutDirection<\/Name>s:10ListableUI15LayoutDirectionO<\/USR>public enum LayoutDirection : Hashable<\/Declaration>Describes the given direction \/ axis that a layout uses when flowing its content.<\/Para><\/Abstract>Traditional table views \/ lists you see use a .vertical<\/codeVoice> layout direction, however, you may want to use .horizontal<\/codeVoice> for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>When writing custom list layouts, LayoutDirection<\/codeVoice> provides many helper methods to convert the coordinates of CGSize<\/codeVoice>, CGPoint<\/codeVoice>, CGRect<\/codeVoice>, etc, to horizontal or vertical layout directions. See the extensions in this file for more details.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 44, - "key.doc.name" : "LayoutDirection", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> LayoutDirection<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1868, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDirection", - "key.namelength" : 15, - "key.nameoffset" : 2670, - "key.offset" : 2660, - "key.parsed_declaration" : "extension LayoutDirection", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func `switch`<Value>(vertical: () -> Value<\/Type>, horizontal: () -> Value<\/Type>) -> Value<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2880 - } - ], - "key.bodylength" : 125, - "key.bodyoffset" : 2968, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When writing a layout, use this method to return differing values based on\nthe direction. The passed closures will only be evaluated if they are for the current direction.", - "key.doc.column" : 17, - "key.doc.comment" : "When writing a layout, use this method to return differing values based on\nthe direction. The passed closures will only be evaluated if they are for the current direction.", - "key.doc.declaration" : "public func `switch`(vertical: () -> Value, horizontal: () -> Value) -> Value", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "switch(vertical:horizontal:)<\/Name>s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalxxyXE_xyXEtlF<\/USR>public func `switch`<Value>(vertical: () -> Value, horizontal: () -> Value) -> Value<\/Declaration>When writing a layout, use this method to return differing values based on the direction. The passed closures will only be evaluated if they are for the current direction.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 79, - "key.doc.name" : "switch(vertical:horizontal:)", - "key.doc.type" : "Function", - "key.doclength" : 184, - "key.docoffset" : 2692, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `switch`<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(vertical<\/decl.var.parameter.argument_label>: () -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, horizontal<\/decl.var.parameter.argument_label>: () -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 207, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "switch(vertical:horizontal:)", - "key.namelength" : 65, - "key.nameoffset" : 2892, - "key.offset" : 2887, - "key.parsed_declaration" : "public func `switch`(vertical : () -> Value, horizontal : () -> Value) -> Value", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 79, - "key.related_decls" : [ - { - "key.annotated_decl" : "`switch`<Value>(vertical: @autoclosure () -> Value, horizontal: @autoclosure () -> Value) -> Value<\/RelatedName>" - }, - { - "key.annotated_decl" : "`switch`(vertical: () -> (), horizontal: () -> ())<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 2901, - "key.offset" : 2901, - "key.parsed_declaration" : "public func `switch` (LayoutDirection) -> (() -> Value, () -> Value) -> Value", - "key.typeusr" : "$s8vertical10horizontalxxyXE_xyXEtcluD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalxxyXE_xyXEtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func `switch`<Value>(vertical: @autoclosure () -> Value<\/Type>, horizontal: @autoclosure () -> Value<\/Type>) -> Value<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3296 - } - ], - "key.bodylength" : 125, - "key.bodyoffset" : 3410, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When writing a layout, use this method to return differing values based on\nthe direction. The passed autoclosures will only be evaluated if they are for the current direction.", - "key.doc.column" : 17, - "key.doc.comment" : "When writing a layout, use this method to return differing values based on\nthe direction. The passed autoclosures will only be evaluated if they are for the current direction.", - "key.doc.declaration" : "public func `switch`(vertical: @autoclosure () -> Value, horizontal: @autoclosure () -> Value) -> Value", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "switch(vertical:horizontal:)<\/Name>s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalxxyXK_xyXKtlF<\/USR>public func `switch`<Value>(vertical: @autoclosure () -> Value, horizontal: @autoclosure () -> Value) -> Value<\/Declaration>When writing a layout, use this method to return differing values based on the direction. The passed autoclosures will only be evaluated if they are for the current direction.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 88, - "key.doc.name" : "switch(vertical:horizontal:)", - "key.doc.type" : "Function", - "key.doclength" : 188, - "key.docoffset" : 3104, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `switch`<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(vertical<\/decl.var.parameter.argument_label>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, horizontal<\/decl.var.parameter.argument_label>: @autoclosure<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Value<\/ref.generic_type_param><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 233, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "switch(vertical:horizontal:)", - "key.namelength" : 91, - "key.nameoffset" : 3308, - "key.offset" : 3303, - "key.parsed_declaration" : "public func `switch`(vertical : @autoclosure () -> Value, horizontal : @autoclosure () -> Value) -> Value", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 88, - "key.related_decls" : [ - { - "key.annotated_decl" : "`switch`<Value>(vertical: () -> Value, horizontal: () -> Value) -> Value<\/RelatedName>" - }, - { - "key.annotated_decl" : "`switch`(vertical: () -> (), horizontal: () -> ())<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 3317, - "key.offset" : 3317, - "key.parsed_declaration" : "public func `switch` (LayoutDirection) -> (@autoclosure () -> Value, @autoclosure () -> Value) -> Value", - "key.typeusr" : "$s8vertical10horizontalxxyXK_xyXKtcluD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalxxyXK_xyXKtlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func `switch`(vertical: () -> (), horizontal: () -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3740 - } - ], - "key.bodylength" : 111, - "key.bodyoffset" : 3806, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "When writing a layout, use this method to perform differing actions based on\nthe direction. The passed autoclosures will only be evaluated if they are for the current direction.", - "key.doc.column" : 17, - "key.doc.comment" : "When writing a layout, use this method to perform differing actions based on\nthe direction. The passed autoclosures will only be evaluated if they are for the current direction.", - "key.doc.declaration" : "public func `switch`(vertical: () -> (), horizontal: () -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "switch(vertical:horizontal:)<\/Name>s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalyyyXE_yyXEtF<\/USR>public func `switch`(vertical: () -> (), horizontal: () -> ())<\/Declaration>When writing a layout, use this method to perform differing actions based on the direction. The passed autoclosures will only be evaluated if they are for the current direction.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 97, - "key.doc.name" : "switch(vertical:horizontal:)", - "key.doc.type" : "Function", - "key.doclength" : 190, - "key.docoffset" : 3546, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `switch`<\/decl.name>(vertical<\/decl.var.parameter.argument_label>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, horizontal<\/decl.var.parameter.argument_label>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 171, - "key.line" : 97, - "key.modulename" : "ListableUI", - "key.name" : "switch(vertical:horizontal:)", - "key.namelength" : 52, - "key.nameoffset" : 3752, - "key.offset" : 3747, - "key.parsed_declaration" : "public func `switch`(vertical : () -> (), horizontal : () -> ())", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 97, - "key.related_decls" : [ - { - "key.annotated_decl" : "`switch`<Value>(vertical: () -> Value, horizontal: () -> Value) -> Value<\/RelatedName>" - }, - { - "key.annotated_decl" : "`switch`<Value>(vertical: @autoclosure () -> Value, horizontal: @autoclosure () -> Value) -> Value<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (() -> (), () -> ()) -> ()", - "key.typeusr" : "$s8vertical10horizontalyyyXE_yyXEtcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6switch8vertical10horizontalyyyXE_yyXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func mutate<Root, Value>(_ root: Root<\/Type>, vertical: ReferenceWritableKeyPath<\/Type><Root<\/Type>, Value<\/Type>>, horizontal: ReferenceWritableKeyPath<\/Type><Root<\/Type>, Value<\/Type>>, mutate: (inout Value<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3928 - } - ], - "key.bodylength" : 381, - "key.bodyoffset" : 4144, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> mutate<\/decl.name><Root<\/decl.generic_type_param.name><\/decl.generic_type_param>, Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> root<\/decl.var.parameter.name>: Root<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, vertical<\/decl.var.parameter.argument_label>: ReferenceWritableKeyPath<\/ref.class><Root<\/ref.generic_type_param>, Value<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, horizontal<\/decl.var.parameter.argument_label>: ReferenceWritableKeyPath<\/ref.class><Root<\/ref.generic_type_param>, Value<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, mutate<\/decl.var.parameter.argument_label>: (inout<\/syntaxtype.keyword> Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 591, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "mutate(_:vertical:horizontal:mutate:)", - "key.namelength" : 202, - "key.nameoffset" : 3940, - "key.offset" : 3935, - "key.parsed_declaration" : "public func mutate(\n _ root : Root,\n vertical: ReferenceWritableKeyPath,\n horizontal: ReferenceWritableKeyPath,\n mutate : (inout Value) -> ()\n)", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Root<\/Declaration>", - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "Root<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 4, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "Root", - "key.namelength" : 4, - "key.nameoffset" : 3947, - "key.offset" : 3947, - "key.parsed_declaration" : "public func mutateValue<\/Declaration>", - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 3953, - "key.offset" : 3953, - "key.parsed_declaration" : "public func mutate (LayoutDirection) -> (Root, ReferenceWritableKeyPath, ReferenceWritableKeyPath, (inout Value) -> ()) -> ()", - "key.typeusr" : "$s_8vertical10horizontal6mutateyx_s24ReferenceWritableKeyPathCyxq_GAFyq_zXEtcr0_luD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6mutate_8vertical10horizontalADyx_s24ReferenceWritableKeyPathCyxq_GAIyq_zXEtr0_lF" - } - ], - "key.typename" : "LayoutDirection.Type", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOmD", - "key.usr" : "s:10ListableUI15LayoutDirectionO" - }, - { - "key.annotated_decl" : "public enum LayoutDirection : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 3919, - "key.bodyoffset" : 4558, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the given direction \/ axis that a layout uses when flowing its content.\n\nTraditional table views \/ lists you see use a `.vertical` layout direction, however,\nyou may want to use `.horizontal` for embedded lists that scroll\nhorizontally in a larger vertical list, similar to what you would see in the iOS App Store,\nor for a list that users can scroll left to right.\n```\n.vertical:\n┌─────────┐\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n│┌───────┐│\n││ ││\n│└───────┘│\n└─────────┘\n\n.horizontal:\n┌────────────────────┐\n│┌────┐ ┌────┐ ┌────┐│\n││ │ │ │ │ ││\n││ │ │ │ │ ││\n│└────┘ └────┘ └────┘│\n└────────────────────┘\n```\nWhen writing custom list layouts, `LayoutDirection` provides many helper methods\nto convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical\nlayout directions. See the extensions in this file for more details.\n", - "key.doc.column" : 13, - "key.doc.declaration" : "public enum LayoutDirection : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Traditional table views \/ lists you see use a `.vertical` layout direction, however, you may want to use `.horizontal` for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right." - }, - { - "CodeListing" : "" - }, - { - "Para" : "When writing custom list layouts, `LayoutDirection` provides many helper methods to convert the coordinates of `CGSize`, `CGPoint`, `CGRect`, etc, to horizontal or vertical layout directions. See the extensions in this file for more details." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "LayoutDirection<\/Name>s:10ListableUI15LayoutDirectionO<\/USR>public enum LayoutDirection : Hashable<\/Declaration>Describes the given direction \/ axis that a layout uses when flowing its content.<\/Para><\/Abstract>Traditional table views \/ lists you see use a .vertical<\/codeVoice> layout direction, however, you may want to use .horizontal<\/codeVoice> for embedded lists that scroll horizontally in a larger vertical list, similar to what you would see in the iOS App Store, or for a list that users can scroll left to right.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>When writing custom list layouts, LayoutDirection<\/codeVoice> provides many helper methods to convert the coordinates of CGSize<\/codeVoice>, CGPoint<\/codeVoice>, CGRect<\/codeVoice>, etc, to horizontal or vertical layout directions. See the extensions in this file for more details.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 44, - "key.doc.name" : "LayoutDirection", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> LayoutDirection<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3947, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "LayoutDirection", - "key.namelength" : 15, - "key.nameoffset" : 4541, - "key.offset" : 4531, - "key.parsed_declaration" : "extension LayoutDirection", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 31, - "key.name" : "MARK: Creating & Reading Values", - "key.offset" : 4573 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func height(for size: CGSize<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4754 - } - ], - "key.bodylength" : 124, - "key.bodyoffset" : 4808, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **height** of the provided size.\n`.horizontal`: Returns the **width** of the provided size.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **height** of the provided size.\n`.horizontal`: Returns the **width** of the provided size.", - "key.doc.declaration" : "public func height(for size: CGSize) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "height(for:)<\/Name>s:10ListableUI15LayoutDirectionO6height3for14CoreFoundation7CGFloatVSo6CGSizeV_tF<\/USR>public func height(for size: CGSize) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the height<\/bold> of the provided size. .horizontal<\/codeVoice>: Returns the width<\/bold> of the provided size.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 134, - "key.doc.name" : "height(for:)", - "key.doc.type" : "Function", - "key.doclength" : 129, - "key.docoffset" : 4621, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> height<\/decl.name>(for<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 172, - "key.line" : 134, - "key.modulename" : "ListableUI", - "key.name" : "height(for:)", - "key.namelength" : 25, - "key.nameoffset" : 4766, - "key.offset" : 4761, - "key.parsed_declaration" : "public func height(for size : CGSize) -> CGFloat", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGSize) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGSizeV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6height3for14CoreFoundation7CGFloatVSo6CGSizeV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func width(for size: CGSize<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5076 - } - ], - "key.bodylength" : 124, - "key.bodyoffset" : 5129, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **width** of the provided size.\n`.horizontal`: Returns the **height** of the provided size.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **width** of the provided size.\n`.horizontal`: Returns the **height** of the provided size.", - "key.doc.declaration" : "public func width(for size: CGSize) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "width(for:)<\/Name>s:10ListableUI15LayoutDirectionO5width3for14CoreFoundation7CGFloatVSo6CGSizeV_tF<\/USR>public func width(for size: CGSize) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the width<\/bold> of the provided size. .horizontal<\/codeVoice>: Returns the height<\/bold> of the provided size.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 144, - "key.doc.name" : "width(for:)", - "key.doc.type" : "Function", - "key.doclength" : 129, - "key.docoffset" : 4943, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> width<\/decl.name>(for<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 171, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "width(for:)", - "key.namelength" : 24, - "key.nameoffset" : 5088, - "key.offset" : 5083, - "key.parsed_declaration" : "public func width(for size : CGSize) -> CGFloat", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGSize) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGSizeV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO5width3for14CoreFoundation7CGFloatVSo6CGSizeV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func point(x: CGFloat<\/Type>, y: CGFloat<\/Type>) -> CGPoint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5388 - } - ], - "key.bodylength" : 141, - "key.bodyoffset" : 5448, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns a `CGPoint` made with `(x, y)`.\n`.horizontal`: Returns a `CGPoint` made with `(y, x)`.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns a `CGPoint` made with `(x, y)`.\n`.horizontal`: Returns a `CGPoint` made with `(y, x)`.", - "key.doc.declaration" : "public func point(x: CGFloat, y: CGFloat) -> CGPoint", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "point(x:y:)<\/Name>s:10ListableUI15LayoutDirectionO5point1x1ySo7CGPointV14CoreFoundation7CGFloatV_AKtF<\/USR>public func point(x: CGFloat, y: CGFloat) -> CGPoint<\/Declaration>.vertical<\/codeVoice>: Returns a CGPoint<\/codeVoice> made with (x, y)<\/codeVoice>. .horizontal<\/codeVoice>: Returns a CGPoint<\/codeVoice> made with (y, x)<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 154, - "key.doc.name" : "point(x:y:)", - "key.doc.type" : "Function", - "key.doclength" : 120, - "key.docoffset" : 5264, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> point<\/decl.name>(x<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, y<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGPoint<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 195, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "point(x:y:)", - "key.namelength" : 31, - "key.nameoffset" : 5400, - "key.offset" : 5395, - "key.parsed_declaration" : "public func point(x : CGFloat, y : CGFloat) -> CGPoint", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGFloat, CGFloat) -> CGPoint", - "key.typeusr" : "$s1x1ySo7CGPointV14CoreFoundation7CGFloatV_AGtcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO5point1x1ySo7CGPointV14CoreFoundation7CGFloatV_AKtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func size(for size: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5728 - } - ], - "key.bodylength" : 195, - "key.bodyoffset" : 5779, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the provided size.\n`.horizontal`: Returns a size created by swapping the width and height.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the provided size.\n`.horizontal`: Returns a size created by swapping the width and height.", - "key.doc.declaration" : "public func size(for size: CGSize) -> CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "size(for:)<\/Name>s:10ListableUI15LayoutDirectionO4size3forSo6CGSizeVAG_tF<\/USR>public func size(for size: CGSize) -> CGSize<\/Declaration>.vertical<\/codeVoice>: Returns the provided size. .horizontal<\/codeVoice>: Returns a size created by swapping the width and height.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 164, - "key.doc.name" : "size(for:)", - "key.doc.type" : "Function", - "key.doclength" : 124, - "key.docoffset" : 5600, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> size<\/decl.name>(for<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 240, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "size(for:)", - "key.namelength" : 23, - "key.nameoffset" : 5740, - "key.offset" : 5735, - "key.parsed_declaration" : "public func size(for size : CGSize) -> CGSize", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 164, - "key.related_decls" : [ - { - "key.annotated_decl" : "size(width:height:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGSize) -> CGSize", - "key.typeusr" : "$s3forSo6CGSizeVAC_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO4size3forSo6CGSizeVAG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func size(width: CGFloat<\/Type>, height: CGFloat<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6125 - } - ], - "key.bodylength" : 175, - "key.bodyoffset" : 6192, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns a `CGSize` made with `(width, height)`.\n`.horizontal`: Returns a `CGSize` made with `(height, width)`.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns a `CGSize` made with `(width, height)`.\n`.horizontal`: Returns a `CGSize` made with `(height, width)`.", - "key.doc.declaration" : "public func size(width: CGFloat, height: CGFloat) -> CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "size(width:height:)<\/Name>s:10ListableUI15LayoutDirectionO4size5width6heightSo6CGSizeV14CoreFoundation7CGFloatV_AKtF<\/USR>public func size(width: CGFloat, height: CGFloat) -> CGSize<\/Declaration>.vertical<\/codeVoice>: Returns a CGSize<\/codeVoice> made with (width, height)<\/codeVoice>. .horizontal<\/codeVoice>: Returns a CGSize<\/codeVoice> made with (height, width)<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 174, - "key.doc.name" : "size(width:height:)", - "key.doc.type" : "Function", - "key.doclength" : 136, - "key.docoffset" : 5985, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> size<\/decl.name>(width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 236, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "size(width:height:)", - "key.namelength" : 39, - "key.nameoffset" : 6137, - "key.offset" : 6132, - "key.parsed_declaration" : "public func size(width : CGFloat, height : CGFloat) -> CGSize", - "key.parsed_scope.end" : 180, - "key.parsed_scope.start" : 174, - "key.related_decls" : [ - { - "key.annotated_decl" : "size(for:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGFloat, CGFloat) -> CGSize", - "key.typeusr" : "$s5width6heightSo6CGSizeV14CoreFoundation7CGFloatV_AGtcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO4size5width6heightSo6CGSizeV14CoreFoundation7CGFloatV_AKtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func maxY(for frame: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6492 - } - ], - "key.bodylength" : 123, - "key.bodyoffset" : 6545, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **maxY** of the frame.\n`.horizontal`: Returns the **maxX** of the frame.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **maxY** of the frame.\n`.horizontal`: Returns the **maxX** of the frame.", - "key.doc.declaration" : "public func maxY(for frame: CGRect) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "maxY(for:)<\/Name>s:10ListableUI15LayoutDirectionO4maxY3for14CoreFoundation7CGFloatVSo6CGRectV_tF<\/USR>public func maxY(for frame: CGRect) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the maxY<\/bold> of the frame. .horizontal<\/codeVoice>: Returns the maxX<\/bold> of the frame.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 184, - "key.doc.name" : "maxY(for:)", - "key.doc.type" : "Function", - "key.doclength" : 110, - "key.docoffset" : 6378, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> maxY<\/decl.name>(for<\/decl.var.parameter.argument_label> frame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 170, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "maxY(for:)", - "key.namelength" : 24, - "key.nameoffset" : 6504, - "key.offset" : 6499, - "key.parsed_declaration" : "public func maxY(for frame : CGRect) -> CGFloat", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO4maxY3for14CoreFoundation7CGFloatVSo6CGRectV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func minY(for frame: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6793 - } - ], - "key.bodylength" : 123, - "key.bodyoffset" : 6846, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **minY** of the frame.\n`.horizontal`: Returns the **minX** of the frame.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **minY** of the frame.\n`.horizontal`: Returns the **minX** of the frame.", - "key.doc.declaration" : "public func minY(for frame: CGRect) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "minY(for:)<\/Name>s:10ListableUI15LayoutDirectionO4minY3for14CoreFoundation7CGFloatVSo6CGRectV_tF<\/USR>public func minY(for frame: CGRect) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the minY<\/bold> of the frame. .horizontal<\/codeVoice>: Returns the minX<\/bold> of the frame.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 194, - "key.doc.name" : "minY(for:)", - "key.doc.type" : "Function", - "key.doclength" : 110, - "key.docoffset" : 6679, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> minY<\/decl.name>(for<\/decl.var.parameter.argument_label> frame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 170, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "minY(for:)", - "key.namelength" : 24, - "key.nameoffset" : 6805, - "key.offset" : 6800, - "key.parsed_declaration" : "public func minY(for frame : CGRect) -> CGFloat", - "key.parsed_scope.end" : 200, - "key.parsed_scope.start" : 194, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO4minY3for14CoreFoundation7CGFloatVSo6CGRectV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func maxX(for frame: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7094 - } - ], - "key.bodylength" : 123, - "key.bodyoffset" : 7147, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **maxX** of the frame.\n`.horizontal`: Returns the **maxY** of the frame.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **maxX** of the frame.\n`.horizontal`: Returns the **maxY** of the frame.", - "key.doc.declaration" : "public func maxX(for frame: CGRect) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "maxX(for:)<\/Name>s:10ListableUI15LayoutDirectionO4maxX3for14CoreFoundation7CGFloatVSo6CGRectV_tF<\/USR>public func maxX(for frame: CGRect) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the maxX<\/bold> of the frame. .horizontal<\/codeVoice>: Returns the maxY<\/bold> of the frame.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 204, - "key.doc.name" : "maxX(for:)", - "key.doc.type" : "Function", - "key.doclength" : 110, - "key.docoffset" : 6980, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> maxX<\/decl.name>(for<\/decl.var.parameter.argument_label> frame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 170, - "key.line" : 204, - "key.modulename" : "ListableUI", - "key.name" : "maxX(for:)", - "key.namelength" : 24, - "key.nameoffset" : 7106, - "key.offset" : 7101, - "key.parsed_declaration" : "public func maxX(for frame : CGRect) -> CGFloat", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 204, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO4maxX3for14CoreFoundation7CGFloatVSo6CGRectV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func x(for point: CGPoint<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7389 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 7440, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **x** of the point.\n`.horizontal`: Returns the **y** of the point.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **x** of the point.\n`.horizontal`: Returns the **y** of the point.", - "key.doc.declaration" : "public func x(for point: CGPoint) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "x(for:)<\/Name>s:10ListableUI15LayoutDirectionO1x3for14CoreFoundation7CGFloatVSo7CGPointV_tF<\/USR>public func x(for point: CGPoint) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the x<\/bold> of the point. .horizontal<\/codeVoice>: Returns the y<\/bold> of the point.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 214, - "key.doc.name" : "x(for:)", - "key.doc.type" : "Function", - "key.doclength" : 104, - "key.docoffset" : 7281, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> x<\/decl.name>(for<\/decl.var.parameter.argument_label> point<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 162, - "key.line" : 214, - "key.modulename" : "ListableUI", - "key.name" : "x(for:)", - "key.namelength" : 22, - "key.nameoffset" : 7401, - "key.offset" : 7396, - "key.parsed_declaration" : "public func x(for point : CGPoint) -> CGFloat", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 214, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGPoint) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo7CGPointV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO1x3for14CoreFoundation7CGFloatVSo7CGPointV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func y(for point: CGPoint<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7676 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 7727, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **y** of the point.\n`.horizontal`: Returns the **x** of the point.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **y** of the point.\n`.horizontal`: Returns the **x** of the point.", - "key.doc.declaration" : "public func y(for point: CGPoint) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "y(for:)<\/Name>s:10ListableUI15LayoutDirectionO1y3for14CoreFoundation7CGFloatVSo7CGPointV_tF<\/USR>public func y(for point: CGPoint) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the y<\/bold> of the point. .horizontal<\/codeVoice>: Returns the x<\/bold> of the point.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 224, - "key.doc.name" : "y(for:)", - "key.doc.type" : "Function", - "key.doclength" : 104, - "key.docoffset" : 7568, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> y<\/decl.name>(for<\/decl.var.parameter.argument_label> point<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 162, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "y(for:)", - "key.namelength" : 22, - "key.nameoffset" : 7688, - "key.offset" : 7683, - "key.parsed_declaration" : "public func y(for point : CGPoint) -> CGFloat", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 224, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (CGPoint) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo7CGPointV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO1y3for14CoreFoundation7CGFloatVSo7CGPointV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func top(with insets: UIEdgeInsets<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7970 - } - ], - "key.bodylength" : 124, - "key.bodyoffset" : 8030, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **top** of the insets.\n`.horizontal`: Returns the **left** of the insets.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **top** of the insets.\n`.horizontal`: Returns the **left** of the insets.", - "key.doc.declaration" : "public func top(with insets: UIEdgeInsets) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "top(with:)<\/Name>s:10ListableUI15LayoutDirectionO3top4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tF<\/USR>public func top(with insets: UIEdgeInsets) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the top<\/bold> of the insets. .horizontal<\/codeVoice>: Returns the left<\/bold> of the insets.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 234, - "key.doc.name" : "top(with:)", - "key.doc.type" : "Function", - "key.doclength" : 111, - "key.docoffset" : 7855, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> top<\/decl.name>(with<\/decl.var.parameter.argument_label> insets<\/decl.var.parameter.name>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 178, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "top(with:)", - "key.namelength" : 31, - "key.nameoffset" : 7982, - "key.offset" : 7977, - "key.parsed_declaration" : "public func top(with insets : UIEdgeInsets) -> CGFloat", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 234, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (UIEdgeInsets) -> CGFloat", - "key.typeusr" : "$s4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO3top4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func bottom(with insets: UIEdgeInsets<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8284 - } - ], - "key.bodylength" : 128, - "key.bodyoffset" : 8347, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`.vertical`: Returns the **bottom** of the insets.\n`.horizontal`: Returns the **right** of the insets.", - "key.doc.column" : 17, - "key.doc.comment" : "`.vertical`: Returns the **bottom** of the insets.\n`.horizontal`: Returns the **right** of the insets.", - "key.doc.declaration" : "public func bottom(with insets: UIEdgeInsets) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.doc.full_as_xml" : "bottom(with:)<\/Name>s:10ListableUI15LayoutDirectionO6bottom4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tF<\/USR>public func bottom(with insets: UIEdgeInsets) -> CGFloat<\/Declaration>.vertical<\/codeVoice>: Returns the bottom<\/bold> of the insets. .horizontal<\/codeVoice>: Returns the right<\/bold> of the insets.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 244, - "key.doc.name" : "bottom(with:)", - "key.doc.type" : "Function", - "key.doclength" : 115, - "key.docoffset" : 8165, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LayoutDirection.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> bottom<\/decl.name>(with<\/decl.var.parameter.argument_label> insets<\/decl.var.parameter.name>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 185, - "key.line" : 244, - "key.modulename" : "ListableUI", - "key.name" : "bottom(with:)", - "key.namelength" : 34, - "key.nameoffset" : 8296, - "key.offset" : 8291, - "key.parsed_declaration" : "public func bottom(with insets : UIEdgeInsets) -> CGFloat", - "key.parsed_scope.end" : 250, - "key.parsed_scope.start" : 244, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LayoutDirection) -> (UIEdgeInsets) -> CGFloat", - "key.typeusr" : "$s4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tcD", - "key.usr" : "s:10ListableUI15LayoutDirectionO6bottom4with14CoreFoundation7CGFloatVSo12UIEdgeInsetsV_tF" - } - ], - "key.typename" : "LayoutDirection.Type", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOmD", - "key.usr" : "s:10ListableUI15LayoutDirectionO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7826, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ListActions<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 2115 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2108 - } - ], - "key.bodylength" : 5684, - "key.bodyoffset" : 2140, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`ListActions` is an type that you can use to gain access to actions to perform on a `List`\n(for example, scrolling to a given item in the list) when used when you otherwise do\nnot have a reference to the underlying list view (for example, when using `ListViewController` or `BlueprintUILists`).\n\nYou also gain access to a `ListActions` instance when using `ListStateObserver`, in each registered callback.\n\nYou usually use `ListActions` by keeping an instance on your view controller,\nand then assign it when providing list content. Once the list is updated with the content,\nthe `ListActions` will be registered with the list to perform actions.\n\nA `ListActions` behaviors are split into internal sub-objects, such as `Scrolling` and `ViewControllerTransitioning`.\nYou can pass these separate objects around if your code invokes actions from several different places.\n\nOnly one `ListActions` can be registered in a list at a time. If you register a new one, it replaces the last one,\nand any actions performed on the last instance become no-ops.\n\nExample\n-------\n```\nfinal class ListStateViewController : ListViewController\n{\n \/\/ Owned by the view controller.\n let actions = ListActions()\n\n override func configure(list : inout ListProperties)\n {\n list.appearance = .myAppearance\n list.layout = .myLayout\n\n \/\/ Registered with list here.\n list.actions = self.actions\n\n list.stateObserver = ListStateObserver { reader in\n reader.onDidScroll { info in\n \/\/ Perform an action based on scrolling.\n }\n }\n }\n\n private func performScrollTo(item : AnyItem)\n {\n \/\/ Used here to scroll to an item.\n self.actions.scrolling.scrollTo(item: item, position: .init(position: .top), animated: true)\n }\n}\n```", - "key.doc.column" : 20, - "key.doc.comment" : "\n`ListActions` is an type that you can use to gain access to actions to perform on a `List`\n(for example, scrolling to a given item in the list) when used when you otherwise do\nnot have a reference to the underlying list view (for example, when using `ListViewController` or `BlueprintUILists`).\n\nYou also gain access to a `ListActions` instance when using `ListStateObserver`, in each registered callback.\n\nYou usually use `ListActions` by keeping an instance on your view controller,\nand then assign it when providing list content. Once the list is updated with the content,\nthe `ListActions` will be registered with the list to perform actions.\n\nA `ListActions` behaviors are split into internal sub-objects, such as `Scrolling` and `ViewControllerTransitioning`.\nYou can pass these separate objects around if your code invokes actions from several different places.\n\nOnly one `ListActions` can be registered in a list at a time. If you register a new one, it replaces the last one,\nand any actions performed on the last instance become no-ops.\n\nExample\n-------\n```\nfinal class ListStateViewController : ListViewController\n{\n \/\/ Owned by the view controller.\n let actions = ListActions()\n\n override func configure(list : inout ListProperties)\n {\n list.appearance = .myAppearance\n list.layout = .myLayout\n\n \/\/ Registered with list here.\n list.actions = self.actions\n\n list.stateObserver = ListStateObserver { reader in\n reader.onDidScroll { info in\n \/\/ Perform an action based on scrolling.\n }\n }\n }\n\n private func performScrollTo(item : AnyItem)\n {\n \/\/ Used here to scroll to an item.\n self.actions.scrolling.scrollTo(item: item, position: .init(position: .top), animated: true)\n }\n}\n```", - "key.doc.declaration" : "public final class ListActions", - "key.doc.discussion" : [ - { - "Para" : "You also gain access to a `ListActions` instance when using `ListStateObserver`, in each registered callback." - }, - { - "Para" : "You usually use `ListActions` by keeping an instance on your view controller, and then assign it when providing list content. Once the list is updated with the content, the `ListActions` will be registered with the list to perform actions." - }, - { - "Para" : "A `ListActions` behaviors are split into internal sub-objects, such as `Scrolling` and `ViewControllerTransitioning`. You can pass these separate objects around if your code invokes actions from several different places." - }, - { - "Para" : "Only one `ListActions` can be registered in a list at a time. If you register a new one, it replaces the last one, and any actions performed on the last instance become no-ops." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "ListActions<\/Name>s:10ListableUI11ListActionsC<\/USR>public final class ListActions<\/Declaration>ListActions<\/codeVoice> is an type that you can use to gain access to actions to perform on a List<\/codeVoice> (for example, scrolling to a given item in the list) when used when you otherwise do not have a reference to the underlying list view (for example, when using ListViewController<\/codeVoice> or BlueprintUILists<\/codeVoice>).<\/Para><\/Abstract>You also gain access to a ListActions<\/codeVoice> instance when using ListStateObserver<\/codeVoice>, in each registered callback.<\/Para>You usually use ListActions<\/codeVoice> by keeping an instance on your view controller, and then assign it when providing list content. Once the list is updated with the content, the ListActions<\/codeVoice> will be registered with the list to perform actions.<\/Para>A ListActions<\/codeVoice> behaviors are split into internal sub-objects, such as Scrolling<\/codeVoice> and ViewControllerTransitioning<\/codeVoice>. You can pass these separate objects around if your code invokes actions from several different places.<\/Para>Only one ListActions<\/codeVoice> can be registered in a list at a time. If you register a new one, it replaces the last one, and any actions performed on the last instance become no-ops.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 59, - "key.doc.name" : "ListActions", - "key.doc.type" : "Class", - "key.doclength" : 1986, - "key.docoffset" : 122, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListActions<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 5704, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "ListActions", - "key.namelength" : 11, - "key.nameoffset" : 2127, - "key.offset" : 2121, - "key.parsed_declaration" : "public final class ListActions", - "key.parsed_scope.end" : 222, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let scrolling: Scrolling<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2223 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Actions which allow scrolling to individual items in a list.", - "key.doc.column" : 16, - "key.doc.comment" : "Actions which allow scrolling to individual items in a list.", - "key.doc.declaration" : "public let scrolling: Scrolling", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrolling<\/Name>s:10ListableUI11ListActionsC9scrollingAC9ScrollingCvp<\/USR>public let scrolling: Scrolling<\/Declaration>Actions which allow scrolling to individual items in a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 62, - "key.doc.name" : "scrolling", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 2154, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> scrolling<\/decl.name>: Scrolling<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 62, - "key.modulename" : "ListableUI", - "key.name" : "scrolling", - "key.namelength" : 9, - "key.nameoffset" : 2234, - "key.offset" : 2230, - "key.parsed_declaration" : "public let scrolling : Scrolling", - "key.parsed_scope.end" : 62, - "key.parsed_scope.start" : 62, - "key.reusingastcontext" : false, - "key.typename" : "ListActions.Scrolling", - "key.typeusr" : "$s10ListableUI11ListActionsC9ScrollingCD", - "key.usr" : "s:10ListableUI11ListActionsC9scrollingAC9ScrollingCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let viewControllerTransitioning: ViewControllerTransitioning<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2357 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Actions which allow hooking up your list to the view controller transitioning APIs.", - "key.doc.column" : 16, - "key.doc.comment" : "Actions which allow hooking up your list to the view controller transitioning APIs.", - "key.doc.declaration" : "public let viewControllerTransitioning: ViewControllerTransitioning", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "viewControllerTransitioning<\/Name>s:10ListableUI11ListActionsC27viewControllerTransitioningAC04ViewfG0Cvp<\/USR>public let viewControllerTransitioning: ViewControllerTransitioning<\/Declaration>Actions which allow hooking up your list to the view controller transitioning APIs.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 65, - "key.doc.name" : "viewControllerTransitioning", - "key.doc.type" : "Other", - "key.doclength" : 88, - "key.docoffset" : 2265, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> viewControllerTransitioning<\/decl.name>: ViewControllerTransitioning<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 61, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "viewControllerTransitioning", - "key.namelength" : 27, - "key.nameoffset" : 2368, - "key.offset" : 2364, - "key.parsed_declaration" : "public let viewControllerTransitioning : ViewControllerTransitioning", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.typename" : "ListActions.ViewControllerTransitioning", - "key.typeusr" : "$s10ListableUI11ListActionsC27ViewControllerTransitioningCD", - "key.usr" : "s:10ListableUI11ListActionsC27viewControllerTransitioningAC04ViewfG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2523 - } - ], - "key.bodylength" : 115, - "key.bodyoffset" : 2538, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates and returns an actions object which can be registered with a list view.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates and returns an actions object which can be registered with a list view.", - "key.doc.declaration" : "public init()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "init()<\/Name>s:10ListableUI11ListActionsCACycfc<\/USR>public init()<\/Declaration>Creates and returns an actions object which can be registered with a list view.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 68, - "key.doc.name" : "init()", - "key.doc.type" : "Function", - "key.doclength" : 84, - "key.docoffset" : 2435, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 124, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 2530, - "key.offset" : 2530, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Type) -> () -> ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCycD", - "key.usr" : "s:10ListableUI11ListActionsCACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var listView: ListView<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 2664 - } - ], - "key.bodylength" : 154, - "key.bodyoffset" : 2695, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 181, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 2673, - "key.offset" : 2669, - "key.parsed_declaration" : "weak var listView : ListView?", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI11ListActionsC8listViewAA0cF0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ListActions<\/Type>.Scrolling<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 2928 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2921 - } - ], - "key.bodylength" : 4278, - "key.bodyoffset" : 2951, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides access to scrolling actions within a list view.", - "key.doc.column" : 24, - "key.doc.comment" : "Provides access to scrolling actions within a list view.", - "key.doc.declaration" : "public final class ListableUI.ListActions.Scrolling", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "Scrolling<\/Name>s:10ListableUI11ListActionsC9ScrollingC<\/USR>public final class ListableUI.ListActions.Scrolling<\/Declaration>Provides access to scrolling actions within a list view.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 81, - "key.doc.name" : "Scrolling", - "key.doc.type" : "Class", - "key.doclength" : 61, - "key.docoffset" : 2856, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListActions<\/ref.class>.Scrolling<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4296, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "Scrolling", - "key.namelength" : 9, - "key.nameoffset" : 2940, - "key.offset" : 2934, - "key.parsed_declaration" : "public final class Scrolling", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2969 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 2984, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 2976, - "key.offset" : 2976, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.typename" : "(ListActions.Scrolling.Type) -> () -> ListActions.Scrolling", - "key.typeusr" : "$s10ListableUI11ListActionsC9ScrollingCycD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingCAEycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate weak var listView: ListView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 3015 - }, - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 3003 - } - ], - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 3024, - "key.offset" : 3020, - "key.parsed_declaration" : "fileprivate weak var listView : ListView?", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC8listView33_4B52F576721FFEAA4EFE6B6520AB6040LLAA0cG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListActions<\/Type>.Scrolling<\/Type>.ScrollCompletion = ListView<\/Type>.ScrollCompletion<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3062 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListActions<\/ref.class>.Scrolling<\/ref.class>.ScrollCompletion<\/decl.name> = ListView<\/ref.class>.ScrollCompletion<\/ref.typealias><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 54, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "ScrollCompletion", - "key.namelength" : 16, - "key.nameoffset" : 3079, - "key.offset" : 3069, - "key.parsed_declaration" : "public typealias ScrollCompletion = ListView.ScrollCompletion", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.DidEndScrollingAnimation) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcmD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC16ScrollCompletiona" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult public func scrollTo(item: AnyItem<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3366 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 3339 - } - ], - "key.bodylength" : 310, - "key.bodyoffset" : 3567, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the provided item, with the provided positioning.\nIf the item is contained in the list, true is returned. If it is not, false is returned.\n", - "key.doc.column" : 21, - "key.doc.comment" : "\nScrolls to the provided item, with the provided positioning.\nIf the item is contained in the list, true is returned. If it is not, false is returned.", - "key.doc.declaration" : "@discardableResult\npublic func scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrollTo(item:position:animated:completion:)<\/Name>s:10ListableUI11ListActionsC9ScrollingC8scrollTo4item8position8animated10completionSbAA7AnyItem_p_AA14ScrollPositionVSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF<\/USR>@discardableResult\npublic func scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the provided item, with the provided positioning. If the item is contained in the list, true is returned. If it is not, false is returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 94, - "key.doc.name" : "scrollTo(item:position:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 190, - "key.docoffset" : 3141, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollTo<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 505, - "key.line" : 94, - "key.modulename" : "ListableUI", - "key.name" : "scrollTo(item:position:animated:completion:)", - "key.namelength" : 171, - "key.nameoffset" : 3378, - "key.offset" : 3373, - "key.parsed_declaration" : "public func scrollTo(\n item : AnyItem,\n position : ScrollPosition,\n animated : Bool = false,\n completion: ScrollCompletion? = nil\n) -> Bool", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 94, - "key.related_decls" : [ - { - "key.annotated_decl" : "scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Scrolling) -> (any AnyItem, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4item8position8animated10completionSb10ListableUI7AnyItem_p_AE14ScrollPositionVSbyAE17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC8scrollTo4item8position8animated10completionSbAA7AnyItem_p_AA14ScrollPositionVSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult public func scrollTo(item: AnyIdentifier<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4241 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 4214 - } - ], - "key.bodylength" : 310, - "key.bodyoffset" : 4452, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the item with the provided identifier, with the provided positioning.\nIf there is more than one item with the same identifier, the list scrolls to the first.\nIf the item is contained in the list, true is returned. If it is not, false is returned.\n", - "key.doc.column" : 21, - "key.doc.comment" : "\nScrolls to the item with the provided identifier, with the provided positioning.\nIf there is more than one item with the same identifier, the list scrolls to the first.\nIf the item is contained in the list, true is returned. If it is not, false is returned.", - "key.doc.declaration" : "@discardableResult\npublic func scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrollTo(item:position:animated:completion:)<\/Name>s:10ListableUI11ListActionsC9ScrollingC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF<\/USR>@discardableResult\npublic func scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the item with the provided identifier, with the provided positioning. If there is more than one item with the same identifier, the list scrolls to the first. If the item is contained in the list, true is returned. If it is not, false is returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 119, - "key.doc.name" : "scrollTo(item:position:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 310, - "key.docoffset" : 3896, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollTo<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 515, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "scrollTo(item:position:animated:completion:)", - "key.namelength" : 181, - "key.nameoffset" : 4253, - "key.offset" : 4248, - "key.parsed_declaration" : "public func scrollTo(\n item : AnyIdentifier,\n position : ScrollPosition,\n animated : Bool = false,\n completion: ScrollCompletion? = nil\n ) -> Bool", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 119, - "key.related_decls" : [ - { - "key.annotated_decl" : "scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Scrolling) -> (AnyIdentifier, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4item8position8animated10completionSb10ListableUI13AnyIdentifierC_AE14ScrollPositionVSbyAE17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult public func scrollToSection(with identifier: AnyIdentifier<\/Type>, sectionPosition: SectionPosition<\/Type> = .top, scrollPosition: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5684 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 5657 - } - ], - "key.bodylength" : 373, - "key.bodyoffset" : 5968, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the section with the given identifier, with the provided scroll and section positioning.\n\nIf there is more than one section with the same identifier, the list scrolls to the first.\nIf the section has any content and is contained in the list, true is returned. If not, false is returned.\n\nThe list will first attempt to scroll to the section's supplementary view\n(header for `SectionPosition.top`, footer for `SectionPosition.bottom`).\n\nIf not found, the list will scroll to the adjacent item instead\n(section's first item for `.top`, last item for `.bottom`).\n\nIf none of the above are present, the list will fallback to the remaining supplementary view\n(footer for `.top`, header for `.bottom`).\n", - "key.doc.column" : 21, - "key.doc.comment" : "\nScrolls to the section with the given identifier, with the provided scroll and section positioning.\n\nIf there is more than one section with the same identifier, the list scrolls to the first.\nIf the section has any content and is contained in the list, true is returned. If not, false is returned.\n\nThe list will first attempt to scroll to the section's supplementary view\n(header for `SectionPosition.top`, footer for `SectionPosition.bottom`).\n\nIf not found, the list will scroll to the adjacent item instead\n(section's first item for `.top`, last item for `.bottom`).\n\nIf none of the above are present, the list will fallback to the remaining supplementary view\n(footer for `.top`, header for `.bottom`).", - "key.doc.declaration" : "@discardableResult\npublic func scrollToSection(with identifier: AnyIdentifier, sectionPosition: SectionPosition = .top, scrollPosition: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "If there is more than one section with the same identifier, the list scrolls to the first. If the section has any content and is contained in the list, true is returned. If not, false is returned." - }, - { - "Para" : "The list will first attempt to scroll to the section’s supplementary view (header for `SectionPosition.top`, footer for `SectionPosition.bottom`)." - }, - { - "Para" : "If not found, the list will scroll to the adjacent item instead (section’s first item for `.top`, last item for `.bottom`)." - }, - { - "Para" : "If none of the above are present, the list will fallback to the remaining supplementary view (footer for `.top`, header for `.bottom`)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)<\/Name>s:10ListableUI11ListActionsC9ScrollingC15scrollToSection4with15sectionPosition0fK08animated10completionSbAA13AnyIdentifierC_AA0hK0OAA06ScrollK0VSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF<\/USR>@discardableResult\npublic func scrollToSection(with identifier: AnyIdentifier, sectionPosition: SectionPosition = .top, scrollPosition: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the section with the given identifier, with the provided scroll and section positioning.<\/Para><\/Abstract>If there is more than one section with the same identifier, the list scrolls to the first. If the section has any content and is contained in the list, true is returned. If not, false is returned.<\/Para>The list will first attempt to scroll to the section’s supplementary view (header for SectionPosition.top<\/codeVoice>, footer for SectionPosition.bottom<\/codeVoice>).<\/Para>If not found, the list will scroll to the adjacent item instead (section’s first item for .top<\/codeVoice>, last item for .bottom<\/codeVoice>).<\/Para>If none of the above are present, the list will fallback to the remaining supplementary view (footer for .top<\/codeVoice>, header for .bottom<\/codeVoice>).<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 154, - "key.doc.name" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 876, - "key.docoffset" : 4773, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToSection<\/decl.name>(with<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, sectionPosition<\/decl.var.parameter.argument_label>: SectionPosition<\/ref.enum><\/decl.var.parameter.type> = .top<\/decl.var.parameter>, scrollPosition<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 651, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)", - "key.namelength" : 254, - "key.nameoffset" : 5696, - "key.offset" : 5691, - "key.parsed_declaration" : "public func scrollToSection(\n with identifier : AnyIdentifier,\n sectionPosition : SectionPosition = .top,\n scrollPosition : ScrollPosition,\n animated: Bool = false,\n completion: ScrollCompletion? = nil\n) -> Bool", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Scrolling) -> (AnyIdentifier, SectionPosition, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4with15sectionPosition06scrollC08animated10completionSb10ListableUI13AnyIdentifierC_AF07SectionC0OAF06ScrollC0VSbyAF17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC15scrollToSection4with15sectionPosition0fK08animated10completionSbAA13AnyIdentifierC_AA0hK0OAA06ScrollK0VSbyAA0C13StateObserverV06DidEndE9AnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult public func scrollToTop(animated: Bool<\/Type> = false) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6479 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 6452 - } - ], - "key.bodylength" : 209, - "key.bodyoffset" : 6566, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the very top of the list, which includes displaying the list header.", - "key.doc.column" : 21, - "key.doc.comment" : "Scrolls to the very top of the list, which includes displaying the list header.", - "key.doc.declaration" : "@discardableResult\npublic func scrollToTop(animated: Bool = false) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrollToTop(animated:)<\/Name>s:10ListableUI11ListActionsC9ScrollingC11scrollToTop8animatedS2b_tF<\/USR>@discardableResult\npublic func scrollToTop(animated: Bool = false) -> Bool<\/Declaration>Scrolls to the very top of the list, which includes displaying the list header.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 177, - "key.doc.name" : "scrollToTop(animated:)", - "key.doc.type" : "Function", - "key.doclength" : 84, - "key.docoffset" : 6360, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToTop<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 290, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "scrollToTop(animated:)", - "key.namelength" : 57, - "key.nameoffset" : 6491, - "key.offset" : 6486, - "key.parsed_declaration" : "public func scrollToTop(\n animated: Bool = false\n) -> Bool", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Scrolling) -> (Bool) -> Bool", - "key.typeusr" : "$s8animatedS2b_tcD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC11scrollToTop8animatedS2b_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult public func scrollToLastItem(animated: Bool<\/Type> = false) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6918 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 6891 - } - ], - "key.bodylength" : 213, - "key.bodyoffset" : 7010, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the last item in the list. If the list contains no items, no action is performed.", - "key.doc.column" : 21, - "key.doc.comment" : "Scrolls to the last item in the list. If the list contains no items, no action is performed.", - "key.doc.declaration" : "@discardableResult\npublic func scrollToLastItem(animated: Bool = false) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "scrollToLastItem(animated:)<\/Name>s:10ListableUI11ListActionsC9ScrollingC16scrollToLastItem8animatedS2b_tF<\/USR>@discardableResult\npublic func scrollToLastItem(animated: Bool = false) -> Bool<\/Declaration>Scrolls to the last item in the list. If the list contains no items, no action is performed.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 192, - "key.doc.name" : "scrollToLastItem(animated:)", - "key.doc.type" : "Function", - "key.doclength" : 97, - "key.docoffset" : 6786, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToLastItem<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 299, - "key.line" : 192, - "key.modulename" : "ListableUI", - "key.name" : "scrollToLastItem(animated:)", - "key.namelength" : 62, - "key.nameoffset" : 6930, - "key.offset" : 6925, - "key.parsed_declaration" : "public func scrollToLastItem(\n animated: Bool = false\n) -> Bool", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 192, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.Scrolling) -> (Bool) -> Bool", - "key.typeusr" : "$s8animatedS2b_tcD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC16scrollToLastItem8animatedS2b_tF" - } - ], - "key.typename" : "ListActions.Scrolling.Type", - "key.typeusr" : "$s10ListableUI11ListActionsC9ScrollingCmD", - "key.usr" : "s:10ListableUI11ListActionsC9ScrollingC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ListActions<\/Type>.ViewControllerTransitioning<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 7323 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7316 - } - ], - "key.bodylength" : 458, - "key.bodyoffset" : 7364, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides access to view controller transitioning options in a list.", - "key.doc.column" : 24, - "key.doc.comment" : "Provides access to view controller transitioning options in a list.", - "key.doc.declaration" : "public final class ListableUI.ListActions.ViewControllerTransitioning", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.doc.full_as_xml" : "ViewControllerTransitioning<\/Name>s:10ListableUI11ListActionsC27ViewControllerTransitioningC<\/USR>public final class ListableUI.ListActions.ViewControllerTransitioning<\/Declaration>Provides access to view controller transitioning options in a list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 207, - "key.doc.name" : "ViewControllerTransitioning", - "key.doc.type" : "Class", - "key.doclength" : 72, - "key.docoffset" : 7240, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListActions<\/ref.class>.ViewControllerTransitioning<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 494, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "ViewControllerTransitioning", - "key.namelength" : 27, - "key.nameoffset" : 7335, - "key.offset" : 7329, - "key.parsed_declaration" : "public final class ViewControllerTransitioning", - "key.parsed_scope.end" : 221, - "key.parsed_scope.start" : 207, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7382 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 7397, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 209, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 7389, - "key.offset" : 7389, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 209, - "key.reusingastcontext" : false, - "key.typename" : "(ListActions.ViewControllerTransitioning.Type) -> () -> ListActions.ViewControllerTransitioning", - "key.typeusr" : "$s10ListableUI11ListActionsC27ViewControllerTransitioningCycD", - "key.usr" : "s:10ListableUI11ListActionsC27ViewControllerTransitioningCAEycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate weak var listView: ListView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 7428 - }, - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 7416 - } - ], - "key.column" : 30, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 211, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 7437, - "key.offset" : 7433, - "key.parsed_declaration" : "fileprivate weak var listView : ListView?", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 211, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI11ListActionsC27ViewControllerTransitioningC04listE033_4B52F576721FFEAA4EFE6B6520AB6040LLAA0cE0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator<\/Type>?, animated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 212, - "key.bodyoffset" : 7604, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListActions.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> clearSelectionDuringViewWillAppear<\/decl.name>(alongside<\/decl.var.parameter.argument_label> coordinator<\/decl.var.parameter.name>: UIViewControllerTransitionCoordinator<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 342, - "key.line" : 213, - "key.modulename" : "ListableUI", - "key.name" : "clearSelectionDuringViewWillAppear(alongside:animated:)", - "key.namelength" : 114, - "key.nameoffset" : 7480, - "key.offset" : 7475, - "key.parsed_declaration" : "func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator?, animated : Bool)", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 213, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListActions.ViewControllerTransitioning) -> ((any UIViewControllerTransitionCoordinator)?, Bool) -> ()", - "key.typeusr" : "$s9alongside8animatedySo37UIViewControllerTransitionCoordinator_pSg_SbtcD", - "key.usr" : "s:10ListableUI11ListActionsC27ViewControllerTransitioningC020clearSelectionDuringE10WillAppear9alongside8animatedySo06UIViewF21TransitionCoordinator_pSg_SbtF" - } - ], - "key.typename" : "ListActions.ViewControllerTransitioning.Type", - "key.typeusr" : "$s10ListableUI11ListActionsC27ViewControllerTransitioningCmD", - "key.usr" : "s:10ListableUI11ListActionsC27ViewControllerTransitioningC" - } - ], - "key.typename" : "ListActions.Type", - "key.typeusr" : "$s10ListableUI11ListActionsCmD", - "key.usr" : "s:10ListableUI11ListActionsC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1097, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListAnimation<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 195 - } - ], - "key.bodylength" : 871, - "key.bodyoffset" : 224, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the animation to use when updating the content of a list.", - "key.doc.column" : 15, - "key.doc.comment" : "Controls the animation to use when updating the content of a list.", - "key.doc.declaration" : "public struct ListAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "ListAnimation<\/Name>s:10ListableUI13ListAnimationV<\/USR>public struct ListAnimation<\/Declaration>Controls the animation to use when updating the content of a list.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 13, - "key.doc.name" : "ListAnimation", - "key.doc.type" : "Class", - "key.doclength" : 71, - "key.docoffset" : 124, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListAnimation<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 894, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "ListAnimation", - "key.namelength" : 13, - "key.nameoffset" : 209, - "key.offset" : 202, - "key.parsed_declaration" : "public struct ListAnimation", - "key.parsed_scope.end" : 36, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListAnimation<\/Type>.Animations = () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 263 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The animation block.", - "key.doc.column" : 22, - "key.doc.comment" : "The animation block.", - "key.doc.declaration" : "public typealias ListableUI.ListAnimation.Animations = () -> ()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "Animations<\/Name>s:10ListableUI13ListAnimationV10Animationsa<\/USR>public typealias ListableUI.ListAnimation.Animations = () -> ()<\/Declaration>The animation block.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 16, - "key.doc.name" : "Animations", - "key.doc.type" : "Other", - "key.doclength" : 25, - "key.docoffset" : 234, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListAnimation<\/ref.struct>.Animations<\/decl.name> = () -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 31, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "Animations", - "key.namelength" : 10, - "key.nameoffset" : 280, - "key.offset" : 270, - "key.parsed_declaration" : "public typealias Animations = () -> ()", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(() -> ()).Type", - "key.typeusr" : "$syycmD", - "key.usr" : "s:10ListableUI13ListAnimationV10Animationsa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var perform: (@escaping Animations<\/Type>) -> ()<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The block which is invoked to perform the animaton.", - "key.doc.column" : 9, - "key.doc.comment" : "The block which is invoked to perform the animaton.", - "key.doc.declaration" : "var perform: (@escaping Animations) -> ()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "perform<\/Name>s:10ListableUI13ListAnimationV7performyyyyccvp<\/USR>var perform: (@escaping Animations) -> ()<\/Declaration>The block which is invoked to perform the animaton.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 19, - "key.doc.name" : "perform", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 311, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> perform<\/decl.name>: (@escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Animations<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "perform", - "key.namelength" : 7, - "key.nameoffset" : 375, - "key.offset" : 371, - "key.parsed_declaration" : "var perform : (@escaping Animations) -> ()", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(@escaping () -> ()) -> ()", - "key.typeusr" : "$syyyyccD", - "key.usr" : "s:10ListableUI13ListAnimationV7performyyyyccvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ perform: @escaping (@escaping Animations<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 625 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 690, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new animation. in your custom animation, you _must_ invoke the passed\nin `Animations` block within `UIView.animate(...)` or other animation such as a `UIViewPropertyAnimator`.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new animation. in your custom animation, you _must_ invoke the passed\nin `Animations` block within `UIView.animate(...)` or other animation such as a `UIViewPropertyAnimator`.", - "key.doc.declaration" : "public init(_ perform: @escaping (@escaping Animations) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI13ListAnimationVyACyyycccfc<\/USR>public init(_ perform: @escaping (@escaping Animations) -> ())<\/Declaration>Creates a new animation. in your custom animation, you must<\/emphasis> invoke the passed in Animations<\/codeVoice> block within UIView.animate(...)<\/codeVoice> or other animation such as a UIViewPropertyAnimator<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 23, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 198, - "key.docoffset" : 423, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> perform<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (@escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Animations<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 95, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 56, - "key.nameoffset" : 632, - "key.offset" : 632, - "key.parsed_declaration" : "public init(_ perform : @escaping (@escaping Animations) -> ())", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListAnimation.Type) -> (@escaping (@escaping () -> ()) -> ()) -> ListAnimation", - "key.typeusr" : "$sy10ListableUI13ListAnimationVyyycccD", - "key.usr" : "s:10ListableUI13ListAnimationVyACyyycccfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let `default`: `Self`<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 799 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default animation provided by `UICollectionView`.", - "key.doc.column" : 23, - "key.doc.comment" : "The default animation provided by `UICollectionView`.", - "key.doc.declaration" : "public static let `default`: `Self`", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "default<\/Name>s:10ListableUI13ListAnimationV7defaultACvpZ<\/USR>public static let `default`: `Self`<\/Declaration>The default animation provided by UICollectionView<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "default", - "key.doc.type" : "Other", - "key.doclength" : 58, - "key.docoffset" : 737, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> `default`<\/decl.name>: `Self`<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 78, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 817, - "key.offset" : 806, - "key.parsed_declaration" : "public static let `default` : Self = .init { animations in\n animations()\n}", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "ListAnimation", - "key.typeusr" : "$s10ListableUI13ListAnimationVD", - "key.usr" : "s:10ListableUI13ListAnimationV7defaultACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let fast: `Self`<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 968 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A faster animation than the default `UICollectionView` animation.", - "key.doc.column" : 23, - "key.doc.comment" : "A faster animation than the default `UICollectionView` animation.", - "key.doc.declaration" : "public static let fast: `Self`", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.doc.full_as_xml" : "fast<\/Name>s:10ListableUI13ListAnimationV4fastACvpZ<\/USR>public static let fast: `Self`<\/Declaration>A faster animation than the default UICollectionView<\/codeVoice> animation.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 33, - "key.doc.name" : "fast", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 894, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> fast<\/decl.name>: `Self`<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 119, - "key.line" : 33, - "key.modulename" : "ListableUI", - "key.name" : "fast", - "key.namelength" : 4, - "key.nameoffset" : 986, - "key.offset" : 975, - "key.parsed_declaration" : "public static let fast : Self = .init { animations in\n UIView.animate(withDuration: 0.15, animations: animations)\n}", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 33, - "key.reusingastcontext" : false, - "key.typename" : "ListAnimation", - "key.typeusr" : "$s10ListableUI13ListAnimationVD", - "key.usr" : "s:10ListableUI13ListAnimationV4fastACvpZ" - } - ], - "key.typename" : "ListAnimation.Type", - "key.typeusr" : "$s10ListableUI13ListAnimationVmD", - "key.usr" : "s:10ListableUI13ListAnimationV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 10487, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@dynamicMemberLookup public struct ListProperties<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1393 - }, - { - "key.attribute" : "source.decl.attribute.dynamicMemberLookup", - "key.length" : 20, - "key.offset" : 1372 - } - ], - "key.bodylength" : 9062, - "key.bodyoffset" : 1423, - "key.column" : 36, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ListProperties` object describes all of the given values needed to configure\nand display a list on screen. It is usually used in declarative APIs which deal in descriptions of views\n(eg, Blueprint, SwiftUI, `ListViewController`) in place of referencing and managing a view directly.\n\nFor example, in `BlueprintUILists`, you create a Listable `List` element like so:\n```\nList { list in\n list.appearance = .myAppearance\n list.layout = .myLayout\n\n list(\"first section\") { section in\n section += MyItem()\n section += MyItem()\n }\n}\n```\nIn this example, the `list` parameter to the trailing closure is a `ListProperties` object.\n\n### Other Uses\nYou may even find using `ListProperties` useful if you do have a reference to the underlying `ListView`\ninstance (eg in your own `UIViewController`).\n\nIn these cases, you can apply `ListProperties` to a `ListView` by calling one of the\navailable `func configure(with:)` methods. Having a separate method which describes and provides\nall the properties to configure your `ListView` allows for a more singular flow of data through your application,\nand eases in testability.", - "key.doc.column" : 36, - "key.doc.comment" : "\nThe `ListProperties` object describes all of the given values needed to configure\nand display a list on screen. It is usually used in declarative APIs which deal in descriptions of views\n(eg, Blueprint, SwiftUI, `ListViewController`) in place of referencing and managing a view directly.\n\nFor example, in `BlueprintUILists`, you create a Listable `List` element like so:\n```\nList { list in\n list.appearance = .myAppearance\n list.layout = .myLayout\n\n list(\"first section\") { section in\n section += MyItem()\n section += MyItem()\n }\n}\n```\nIn this example, the `list` parameter to the trailing closure is a `ListProperties` object.\n\n### Other Uses\nYou may even find using `ListProperties` useful if you do have a reference to the underlying `ListView`\ninstance (eg in your own `UIViewController`).\n\nIn these cases, you can apply `ListProperties` to a `ListView` by calling one of the\navailable `func configure(with:)` methods. Having a separate method which describes and provides\nall the properties to configure your `ListView` allows for a more singular flow of data through your application,\nand eases in testability.", - "key.doc.declaration" : "@dynamicMemberLookup public struct ListProperties", - "key.doc.discussion" : [ - { - "Para" : "For example, in `BlueprintUILists`, you create a Listable `List` element like so:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In this example, the `list` parameter to the trailing closure is a `ListProperties` object." - }, - { - "Para" : "You may even find using `ListProperties` useful if you do have a reference to the underlying `ListView` instance (eg in your own `UIViewController`)." - }, - { - "Para" : "In these cases, you can apply `ListProperties` to a `ListView` by calling one of the available `func configure(with:)` methods. Having a separate method which describes and provides all the properties to configure your `ListView` allows for a more singular flow of data through your application, and eases in testability." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "ListProperties<\/Name>s:10ListableUI14ListPropertiesV<\/USR>@dynamicMemberLookup public struct ListProperties<\/Declaration>The ListProperties<\/codeVoice> object describes all of the given values needed to configure and display a list on screen. It is usually used in declarative APIs which deal in descriptions of views (eg, Blueprint, SwiftUI, ListViewController<\/codeVoice>) in place of referencing and managing a view directly.<\/Para><\/Abstract>For example, in BlueprintUILists<\/codeVoice>, you create a Listable List<\/codeVoice> element like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In this example, the list<\/codeVoice> parameter to the trailing closure is a ListProperties<\/codeVoice> object.<\/Para>]]><\/rawHTML>Other Uses]]><\/rawHTML>You may even find using ListProperties<\/codeVoice> useful if you do have a reference to the underlying ListView<\/codeVoice> instance (eg in your own UIViewController<\/codeVoice>).<\/Para>In these cases, you can apply ListProperties<\/codeVoice> to a ListView<\/codeVoice> by calling one of the available func configure(with:)<\/codeVoice> methods. Having a separate method which describes and provides all the properties to configure your ListView<\/codeVoice> allows for a more singular flow of data through your application, and eases in testability.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 39, - "key.doc.name" : "ListProperties", - "key.doc.type" : "Class", - "key.doclength" : 1247, - "key.docoffset" : 125, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "@dynamicMemberLookup<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListProperties<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 9086, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "ListProperties", - "key.namelength" : 14, - "key.nameoffset" : 1407, - "key.offset" : 1400, - "key.parsed_declaration" : "@dynamicMemberLookup public struct ListProperties", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Animated Changes", - "key.offset" : 1438 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var animatesChanges: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1638 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the changes applied should be animated or not.\nDefaults to `true` if `ListProperties` is created inside an existing `UIView` animation block.", - "key.doc.column" : 16, - "key.doc.comment" : "If the changes applied should be animated or not.\nDefaults to `true` if `ListProperties` is created inside an existing `UIView` animation block.", - "key.doc.declaration" : "public var animatesChanges: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "animatesChanges<\/Name>s:10ListableUI14ListPropertiesV15animatesChangesSbvp<\/USR>public var animatesChanges: Bool<\/Declaration>If the changes applied should be animated or not. Defaults to true<\/codeVoice> if ListProperties<\/codeVoice> is created inside an existing UIView<\/codeVoice> animation block.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 47, - "key.doc.name" : "animatesChanges", - "key.doc.type" : "Other", - "key.doclength" : 157, - "key.docoffset" : 1477, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> animatesChanges<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "animatesChanges", - "key.namelength" : 15, - "key.nameoffset" : 1649, - "key.offset" : 1645, - "key.parsed_declaration" : "public var animatesChanges : Bool", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14ListPropertiesV15animatesChangesSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var animation: ListAnimation<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1727 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The animation to use for any changes.", - "key.doc.column" : 16, - "key.doc.comment" : "The animation to use for any changes.", - "key.doc.declaration" : "public var animation: ListAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "animation<\/Name>s:10ListableUI14ListPropertiesV9animationAA0C9AnimationVvp<\/USR>public var animation: ListAnimation<\/Declaration>The animation to use for any changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 50, - "key.doc.name" : "animation", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 1681, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> animation<\/decl.name>: ListAnimation<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "animation", - "key.namelength" : 9, - "key.nameoffset" : 1738, - "key.offset" : 1734, - "key.parsed_declaration" : "public var animation : ListAnimation", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListAnimation", - "key.typeusr" : "$s10ListableUI13ListAnimationVD", - "key.usr" : "s:10ListableUI14ListPropertiesV9animationAA0C9AnimationVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 18, - "key.name" : "MARK: List Content", - "key.offset" : 1783 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var content: Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2260 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content displayed by the list.\nNote that you do not need to reference `list.content` to add sections to the content.\n`ListProperties` has helper methods which allow directly adding sections to the `list`:\n```\nlet list : ListProperties = ...\n\nlist(\"section one\") { section in\n\n}\n\nlist += Section(\"section two\") { section in\n\n}\n```", - "key.doc.column" : 16, - "key.doc.comment" : "The content displayed by the list.\nNote that you do not need to reference `list.content` to add sections to the content.\n`ListProperties` has helper methods which allow directly adding sections to the `list`:\n```\nlet list : ListProperties = ...\n\nlist(\"section one\") { section in\n\n}\n\nlist += Section(\"section two\") { section in\n\n}\n```", - "key.doc.declaration" : "public var content: Content", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "content<\/Name>s:10ListableUI14ListPropertiesV7contentAA7ContentVvp<\/USR>public var content: Content<\/Declaration>The content displayed by the list. Note that you do not need to reference list.content<\/codeVoice> to add sections to the content. ListProperties<\/codeVoice> has helper methods which allow directly adding sections to the list<\/codeVoice>:<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 70, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.doclength" : 438, - "key.docoffset" : 1818, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 70, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 2271, - "key.offset" : 2267, - "key.parsed_declaration" : "public var content : Content", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 70, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI14ListPropertiesV7contentAA7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var environment: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2348 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The environment associated with the List.", - "key.doc.column" : 16, - "key.doc.comment" : "The environment associated with the List.", - "key.doc.declaration" : "public var environment: ListEnvironment", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:10ListableUI14ListPropertiesV11environmentAA0C11EnvironmentVvp<\/USR>public var environment: ListEnvironment<\/Declaration>The environment associated with the List.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 73, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 2298, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 2359, - "key.offset" : 2355, - "key.parsed_declaration" : "public var environment : ListEnvironment", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI14ListPropertiesV11environmentAA0C11EnvironmentVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Layout & Appearance", - "key.offset" : 2404 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layout: LayoutDescription<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3050 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The layout type to use with the list. Defaults to `.table()`, aka a table\nwith no spacing and full width headers, footers, and content – basically a plain table view.\n\nIf you would like to change the layout to either a new type, or provide\na `list` with different configuration options, assign it here.\n\n```\nlist.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```", - "key.doc.column" : 16, - "key.doc.comment" : "The layout type to use with the list. Defaults to `.table()`, aka a table\nwith no spacing and full width headers, footers, and content – basically a plain table view.\n\nIf you would like to change the layout to either a new type, or provide\na `list` with different configuration options, assign it here.\n\n```\nlist.layout = .table {\n $0.stickySectionHeaders = true\n\n $0.bounds = .init(padding: UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10))\n $0.layout.itemSpacing = 10.0\n}\n```", - "key.doc.declaration" : "public var layout: LayoutDescription", - "key.doc.discussion" : [ - { - "Para" : "If you would like to change the layout to either a new type, or provide a `list` with different configuration options, assign it here." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "layout<\/Name>s:10ListableUI14ListPropertiesV6layoutAA17LayoutDescriptionVvp<\/USR>public var layout: LayoutDescription<\/Declaration>The layout type to use with the list. Defaults to .table()<\/codeVoice>, aka a table with no spacing and full width headers, footers, and content – basically a plain table view.<\/Para><\/Abstract>If you would like to change the layout to either a new type, or provide a list<\/codeVoice> with different configuration options, assign it here.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 93, - "key.doc.name" : "layout", - "key.doc.type" : "Other", - "key.doclength" : 600, - "key.docoffset" : 2446, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layout<\/decl.name>: LayoutDescription<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 3061, - "key.offset" : 3057, - "key.parsed_declaration" : "public var layout : LayoutDescription", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVD", - "key.usr" : "s:10ListableUI14ListPropertiesV6layoutAA17LayoutDescriptionVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var appearance: Appearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3142 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The appearance to use with the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The appearance to use with the list.", - "key.doc.declaration" : "public var appearance: Appearance", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "appearance<\/Name>s:10ListableUI14ListPropertiesV10appearanceAA10AppearanceVvp<\/USR>public var appearance: Appearance<\/Declaration>The appearance to use with the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 96, - "key.doc.name" : "appearance", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 3097, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 96, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 3153, - "key.offset" : 3149, - "key.parsed_declaration" : "public var appearance : Appearance", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 96, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI14ListPropertiesV10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var scrollIndicatorInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3239 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The scroll insets to apply to the list view.", - "key.doc.column" : 16, - "key.doc.comment" : "The scroll insets to apply to the list view.", - "key.doc.declaration" : "public var scrollIndicatorInsets: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "scrollIndicatorInsets<\/Name>s:10ListableUI14ListPropertiesV21scrollIndicatorInsetsSo06UIEdgeG0Vvp<\/USR>public var scrollIndicatorInsets: UIEdgeInsets<\/Declaration>The scroll insets to apply to the list view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 99, - "key.doc.name" : "scrollIndicatorInsets", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 3186, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollIndicatorInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "scrollIndicatorInsets", - "key.namelength" : 21, - "key.nameoffset" : 3250, - "key.offset" : 3246, - "key.parsed_declaration" : "public var scrollIndicatorInsets : UIEdgeInsets", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI14ListPropertiesV21scrollIndicatorInsetsSo06UIEdgeG0Vvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 14, - "key.name" : "MARK: Behavior", - "key.offset" : 3306 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var behavior: Behavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3804 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The various behavior options to apply to the list, which affect how the user\nwill interact with the list view. This includes keyboard dismissal, selection mode,\nunderflow behavior, etc.\n\nNote that some of the parameters within `Behavior` are not authoritative;\nthey may be overridden by the provided `layout`. For example, even if your\n`behavior` disables scroll view paging, the `.paged` layout will enable it.", - "key.doc.column" : 16, - "key.doc.comment" : "The various behavior options to apply to the list, which affect how the user\nwill interact with the list view. This includes keyboard dismissal, selection mode,\nunderflow behavior, etc.\n\nNote that some of the parameters within `Behavior` are not authoritative;\nthey may be overridden by the provided `layout`. For example, even if your\n`behavior` disables scroll view paging, the `.paged` layout will enable it.", - "key.doc.declaration" : "public var behavior: Behavior", - "key.doc.discussion" : [ - { - "Para" : "Note that some of the parameters within `Behavior` are not authoritative; they may be overridden by the provided `layout`. For example, even if your `behavior` disables scroll view paging, the `.paged` layout will enable it." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "behavior<\/Name>s:10ListableUI14ListPropertiesV8behaviorAA8BehaviorVvp<\/USR>public var behavior: Behavior<\/Declaration>The various behavior options to apply to the list, which affect how the user will interact with the list view. This includes keyboard dismissal, selection mode, underflow behavior, etc.<\/Para><\/Abstract>Note that some of the parameters within Behavior<\/codeVoice> are not authoritative; they may be overridden by the provided layout<\/codeVoice>. For example, even if your behavior<\/codeVoice> disables scroll view paging, the .paged<\/codeVoice> layout will enable it.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "behavior", - "key.doc.type" : "Other", - "key.doclength" : 463, - "key.docoffset" : 3337, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 3815, - "key.offset" : 3811, - "key.parsed_declaration" : "public var behavior : Behavior", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 112, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI14ListPropertiesV8behaviorAA8BehaviorVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 40, - "key.name" : "MARK: Reading State & Performing Actions", - "key.offset" : 3854 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var stateObserver: ListStateObserver<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4182 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The state reader to use with your list. A `ListStateObserver`\nallows for observing changes to the list as they happen,\neither due to user interaction, content update, view hierarchy changes, etc.\nSee the `ListStateObserver` type for more.", - "key.doc.column" : 16, - "key.doc.comment" : "The state reader to use with your list. A `ListStateObserver`\nallows for observing changes to the list as they happen,\neither due to user interaction, content update, view hierarchy changes, etc.\nSee the `ListStateObserver` type for more.", - "key.doc.declaration" : "public var stateObserver: ListStateObserver", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "stateObserver<\/Name>s:10ListableUI14ListPropertiesV13stateObserverAA0c5StateF0Vvp<\/USR>public var stateObserver: ListStateObserver<\/Declaration>The state reader to use with your list. A ListStateObserver<\/codeVoice> allows for observing changes to the list as they happen, either due to user interaction, content update, view hierarchy changes, etc. See the ListStateObserver<\/codeVoice> type for more.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 122, - "key.doc.name" : "stateObserver", - "key.doc.type" : "Other", - "key.doclength" : 267, - "key.docoffset" : 3911, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> stateObserver<\/decl.name>: ListStateObserver<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "stateObserver", - "key.namelength" : 13, - "key.nameoffset" : 4193, - "key.offset" : 4189, - "key.parsed_declaration" : "public var stateObserver : ListStateObserver", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListStateObserver", - "key.typeusr" : "$s10ListableUI17ListStateObserverVD", - "key.usr" : "s:10ListableUI14ListPropertiesV13stateObserverAA0c5StateF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var actions: ListActions<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4660 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions instance to use to control the list, eg to scroll to a given\nrow or enable interactive view transitions. See the `ListActions` type\nfor more information.\n\nNote that you can only associate one `ListActions` with a list at a given time.\nWhen a new instance is provided, the old one becomes a no-op instance; calling\nmethods on it will have no effect.\n", - "key.doc.column" : 16, - "key.doc.comment" : "The actions instance to use to control the list, eg to scroll to a given\nrow or enable interactive view transitions. See the `ListActions` type\nfor more information.\n\nNote that you can only associate one `ListActions` with a list at a given time.\nWhen a new instance is provided, the old one becomes a no-op instance; calling\nmethods on it will have no effect.", - "key.doc.declaration" : "public var actions: ListActions?", - "key.doc.discussion" : [ - { - "Para" : "Note that you can only associate one `ListActions` with a list at a given time. When a new instance is provided, the old one becomes a no-op instance; calling methods on it will have no effect." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI14ListPropertiesV7actionsAA0C7ActionsCSgvp<\/USR>public var actions: ListActions?<\/Declaration>The actions instance to use to control the list, eg to scroll to a given row or enable interactive view transitions. See the ListActions<\/codeVoice> type for more information.<\/Para><\/Abstract>Note that you can only associate one ListActions<\/codeVoice> with a list at a given time. When a new instance is provided, the old one becomes a no-op instance; calling methods on it will have no effect.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 132, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 420, - "key.docoffset" : 4236, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 132, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 4671, - "key.offset" : 4667, - "key.parsed_declaration" : "public var actions : ListActions?", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 132, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListActions?", - "key.typeusr" : "$s10ListableUI11ListActionsCSgD", - "key.usr" : "s:10ListableUI14ListPropertiesV7actionsAA0C7ActionsCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var autoScrollAction: AutoScrollAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4868 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The auto scroll action to apply to the list. This allows you to\nscroll to a given item on insert depending on the current state\nof the view.", - "key.doc.column" : 16, - "key.doc.comment" : "The auto scroll action to apply to the list. This allows you to\nscroll to a given item on insert depending on the current state\nof the view.", - "key.doc.declaration" : "public var autoScrollAction: AutoScrollAction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "autoScrollAction<\/Name>s:10ListableUI14ListPropertiesV16autoScrollActionAA04AutofG0Ovp<\/USR>public var autoScrollAction: AutoScrollAction<\/Declaration>The auto scroll action to apply to the list. This allows you to scroll to a given item on insert depending on the current state of the view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 137, - "key.doc.name" : "autoScrollAction", - "key.doc.type" : "Other", - "key.doclength" : 161, - "key.docoffset" : 4703, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> autoScrollAction<\/decl.name>: AutoScrollAction<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "autoScrollAction", - "key.namelength" : 16, - "key.nameoffset" : 4879, - "key.offset" : 4875, - "key.parsed_declaration" : "public var autoScrollAction : AutoScrollAction", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "AutoScrollAction", - "key.typeusr" : "$s10ListableUI16AutoScrollActionOD", - "key.usr" : "s:10ListableUI14ListPropertiesV16autoScrollActionAA04AutofG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onKeyboardFrameWillChange: ListView<\/Type>.KeyboardFrameWillChangeCallback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4974 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called whenever a keyboard change is detected", - "key.doc.column" : 16, - "key.doc.comment" : "Called whenever a keyboard change is detected", - "key.doc.declaration" : "public var onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "onKeyboardFrameWillChange<\/Name>s:10ListableUI14ListPropertiesV25onKeyboardFrameWillChangey0F8Observer0f7CurrentG8Provider_p_Sd17animationDuration_So20UIViewAnimationCurveV0mQ0ttcSgvp<\/USR>public var onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?<\/Declaration>Called whenever a keyboard change is detected<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 140, - "key.doc.name" : "onKeyboardFrameWillChange", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 4920, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onKeyboardFrameWillChange<\/decl.name>: ListView<\/ref.class>.KeyboardFrameWillChangeCallback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 72, - "key.line" : 140, - "key.modulename" : "ListableUI", - "key.name" : "onKeyboardFrameWillChange", - "key.namelength" : 25, - "key.nameoffset" : 4985, - "key.offset" : 4981, - "key.parsed_declaration" : "public var onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?", - "key.parsed_scope.end" : 140, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((any KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> ())?", - "key.typeusr" : "$sy16KeyboardObserver0A20CurrentFrameProvider_p_Sd17animationDuration_So20UIViewAnimationCurveV0fJ0ttcSgD", - "key.usr" : "s:10ListableUI14ListPropertiesV25onKeyboardFrameWillChangey0F8Observer0f7CurrentG8Provider_p_Sd17animationDuration_So20UIViewAnimationCurveV0mQ0ttcSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 17, - "key.name" : "MARK: Identifiers", - "key.offset" : 5073 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var accessibilityIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5186 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The accessibility identifier assigned to the inner `UICollectionView`.", - "key.doc.column" : 16, - "key.doc.comment" : "The accessibility identifier assigned to the inner `UICollectionView`.", - "key.doc.declaration" : "public var accessibilityIdentifier: String?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "accessibilityIdentifier<\/Name>s:10ListableUI14ListPropertiesV23accessibilityIdentifierSSSgvp<\/USR>public var accessibilityIdentifier: String?<\/Declaration>The accessibility identifier assigned to the inner UICollectionView<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 147, - "key.doc.name" : "accessibilityIdentifier", - "key.doc.type" : "Other", - "key.doclength" : 75, - "key.docoffset" : 5107, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 147, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityIdentifier", - "key.namelength" : 23, - "key.nameoffset" : 5197, - "key.offset" : 5193, - "key.parsed_declaration" : "public var accessibilityIdentifier: String?", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 147, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI14ListPropertiesV23accessibilityIdentifierSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5378 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The debugging identifier assigned to the list. Used for `os_signpost` integration\nyou can observe through Instruments.app.", - "key.doc.column" : 16, - "key.doc.comment" : "The debugging identifier assigned to the list. Used for `os_signpost` integration\nyou can observe through Instruments.app.", - "key.doc.declaration" : "public var debuggingIdentifier: String?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "debuggingIdentifier<\/Name>s:10ListableUI14ListPropertiesV19debuggingIdentifierSSSgvp<\/USR>public var debuggingIdentifier: String?<\/Declaration>The debugging identifier assigned to the list. Used for os_signpost<\/codeVoice> integration you can observe through Instruments.app.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 151, - "key.doc.name" : "debuggingIdentifier", - "key.doc.type" : "Other", - "key.doclength" : 135, - "key.docoffset" : 5239, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 151, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 5389, - "key.offset" : 5385, - "key.parsed_declaration" : "public var debuggingIdentifier: String?", - "key.parsed_scope.end" : 151, - "key.parsed_scope.start" : 151, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI14ListPropertiesV19debuggingIdentifierSSSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 5437 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListProperties<\/Type>.Configure = (inout ListProperties<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5470 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListProperties<\/ref.struct>.Configure<\/decl.name> = (inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 50, - "key.line" : 157, - "key.modulename" : "ListableUI", - "key.name" : "Configure", - "key.namelength" : 9, - "key.nameoffset" : 5487, - "key.offset" : 5477, - "key.parsed_declaration" : "public typealias Configure = (inout ListProperties) -> ()", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 157, - "key.reusingastcontext" : false, - "key.typename" : "((inout ListProperties) -> ()).Type", - "key.typeusr" : "$sy10ListableUI14ListPropertiesVzcmD", - "key.usr" : "s:10ListableUI14ListPropertiesV9Configurea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func `default`(with configure: Configure<\/Type> = { _ in }) -> ListProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5607 - } - ], - "key.bodylength" : 427, - "key.bodyoffset" : 5698, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An instance of `ListProperties` with sensible default values.", - "key.doc.column" : 24, - "key.doc.comment" : "An instance of `ListProperties` with sensible default values.", - "key.doc.declaration" : "public static func `default`(with configure: Configure = { _ in }) -> ListableUI.ListProperties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "default(with:)<\/Name>s:10ListableUI14ListPropertiesV7default4withACyACzXE_tFZ<\/USR>public static func `default`(with configure: Configure = { _ in }) -> ListableUI.ListProperties<\/Declaration>An instance of ListProperties<\/codeVoice> with sensible default values.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 160, - "key.doc.name" : "default(with:)", - "key.doc.type" : "Function", - "key.doclength" : 66, - "key.docoffset" : 5537, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> `default`<\/decl.name>(with<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: Configure<\/ref.typealias><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) -> ListProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 512, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "default(with:)", - "key.namelength" : 62, - "key.nameoffset" : 5626, - "key.offset" : 5614, - "key.parsed_declaration" : "public static func `default`(\n with configure : Configure = { _ in }\n) -> Self", - "key.parsed_scope.end" : 176, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListProperties.Type) -> ((inout ListProperties) -> ()) -> ListProperties", - "key.typeusr" : "$s4with10ListableUI14ListPropertiesVyADzXE_tcD", - "key.usr" : "s:10ListableUI14ListPropertiesV7default4withACyACzXE_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(animatesChanges: Bool<\/Type>, animation: ListAnimation<\/Type>, layout: LayoutDescription<\/Type>, appearance: Appearance<\/Type>, scrollIndicatorInsets: UIEdgeInsets<\/Type>, behavior: Behavior<\/Type>, autoScrollAction: AutoScrollAction<\/Type>, onKeyboardFrameWillChange: ListView<\/Type>.KeyboardFrameWillChangeCallback<\/Type>?, accessibilityIdentifier: String<\/Type>?, debuggingIdentifier: String<\/Type>?, configure: Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6212 - } - ], - "key.bodylength" : 650, - "key.bodyoffset" : 6675, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create a new instance of `ListProperties` with the provided values.", - "key.doc.column" : 12, - "key.doc.comment" : "Create a new instance of `ListProperties` with the provided values.", - "key.doc.declaration" : "public init(animatesChanges: Bool, animation: ListAnimation, layout: LayoutDescription, appearance: Appearance, scrollIndicatorInsets: UIEdgeInsets, behavior: Behavior, autoScrollAction: AutoScrollAction, onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?, accessibilityIdentifier: String?, debuggingIdentifier: String?, configure: Configure)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "init(animatesChanges:animation:layout:appearance:scrollIndicatorInsets:behavior:autoScrollAction:onKeyboardFrameWillChange:accessibilityIdentifier:debuggingIdentifier:configure:)<\/Name>s:10ListableUI14ListPropertiesV15animatesChanges9animation6layout10appearance21scrollIndicatorInsets8behavior16autoScrollAction25onKeyboardFrameWillChange23accessibilityIdentifier09debuggingW09configureACSb_AA0C9AnimationVAA17LayoutDescriptionVAA10AppearanceVSo06UIEdgeL0VAA8BehaviorVAA04AutooP0Oy0R8Observer0r7CurrentS8Provider_p_Sd0G8Duration_So06UIViewZ5CurveV0G5CurvettcSgSSSgA6_yACzXEtcfc<\/USR>public init(animatesChanges: Bool, animation: ListAnimation, layout: LayoutDescription, appearance: Appearance, scrollIndicatorInsets: UIEdgeInsets, behavior: Behavior, autoScrollAction: AutoScrollAction, onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?, accessibilityIdentifier: String?, debuggingIdentifier: String?, configure: Configure)<\/Declaration>Create a new instance of ListProperties<\/codeVoice> with the provided values.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 179, - "key.doc.name" : "init(animatesChanges:animation:layout:appearance:scrollIndicatorInsets:behavior:autoScrollAction:onKeyboardFrameWillChange:accessibilityIdentifier:debuggingIdentifier:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 72, - "key.docoffset" : 6136, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(animatesChanges<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animation<\/decl.var.parameter.argument_label>: ListAnimation<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, layout<\/decl.var.parameter.argument_label>: LayoutDescription<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, scrollIndicatorInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, behavior<\/decl.var.parameter.argument_label>: Behavior<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, autoScrollAction<\/decl.var.parameter.argument_label>: AutoScrollAction<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, onKeyboardFrameWillChange<\/decl.var.parameter.argument_label>: ListView<\/ref.class>.KeyboardFrameWillChangeCallback<\/ref.typealias>?<\/decl.var.parameter.type><\/decl.var.parameter>, accessibilityIdentifier<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, debuggingIdentifier<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1107, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "init(animatesChanges:animation:layout:appearance:scrollIndicatorInsets:behavior:autoScrollAction:onKeyboardFrameWillChange:accessibilityIdentifier:debuggingIdentifier:configure:)", - "key.namelength" : 454, - "key.nameoffset" : 6219, - "key.offset" : 6219, - "key.parsed_declaration" : "public init(\n animatesChanges: Bool,\n animation : ListAnimation,\n layout : LayoutDescription,\n appearance : Appearance,\n scrollIndicatorInsets : UIEdgeInsets,\n behavior : Behavior,\n autoScrollAction : AutoScrollAction,\n onKeyboardFrameWillChange: ListView.KeyboardFrameWillChangeCallback?,\n accessibilityIdentifier: String?,\n debuggingIdentifier: String?,\n configure : Configure\n)", - "key.parsed_scope.end" : 209, - "key.parsed_scope.start" : 179, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListProperties.Type) -> (Bool, ListAnimation, LayoutDescription, Appearance, UIEdgeInsets, Behavior, AutoScrollAction, ((any KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> ())?, String?, String?, (inout ListProperties) -> ()) -> ListProperties", - "key.typeusr" : "$s15animatesChanges9animation6layout10appearance21scrollIndicatorInsets8behavior16autoScrollAction25onKeyboardFrameWillChange23accessibilityIdentifier09debuggingS09configure10ListableUI14ListPropertiesVSb_AL0X9AnimationVAL17LayoutDescriptionVAL10AppearanceVSo06UIEdgeH0VAL8BehaviorVAL04AutokL0Oy0N8Observer0n7CurrentO8Provider_p_Sd0C8Duration_So06UIViewZ5CurveV0C5CurvettcSgSSSgA6_yANzXEtcD", - "key.usr" : "s:10ListableUI14ListPropertiesV15animatesChanges9animation6layout10appearance21scrollIndicatorInsets8behavior16autoScrollAction25onKeyboardFrameWillChange23accessibilityIdentifier09debuggingW09configureACSb_AA0C9AnimationVAA17LayoutDescriptionVAA10AppearanceVSo06UIEdgeL0VAA8BehaviorVAA04AutooP0Oy0R8Observer0r7CurrentS8Provider_p_Sd0G8Duration_So06UIViewZ5CurveV0G5CurvettcSgSSSgA6_yACzXEtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Reading Content", - "key.offset" : 7346 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<Value>(dynamicMember keyPath: KeyPath<\/Type><Content<\/Type>, Value<\/Type>>) -> Value<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7858 - } - ], - "key.bodylength" : 52, - "key.bodyoffset" : 7940, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows directly reading properties on the list's `Content`, without having to explicitly specify\nthe `.content` component.\n\nEg, you can now replace:\n```\nListProperties { list in\n ... = list.content.firstItem\n ... = list.content.lastItem\n}\n```\nWith:\n```\nListProperties { list in\n ... = list.firstItem\n ... = list.lastItem\n}\n```", - "key.doc.column" : 12, - "key.doc.comment" : "Allows directly reading properties on the list's `Content`, without having to explicitly specify\nthe `.content` component.\n\nEg, you can now replace:\n```\nListProperties { list in\n ... = list.content.firstItem\n ... = list.content.lastItem\n}\n```\nWith:\n```\nListProperties { list in\n ... = list.firstItem\n ... = list.lastItem\n}\n```", - "key.doc.declaration" : "public subscript(dynamicMember keyPath: KeyPath) -> Value { get }", - "key.doc.discussion" : [ - { - "Para" : "Eg, you can now replace:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "With:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "subscript(dynamicMember:)<\/Name>s:10ListableUI14ListPropertiesV13dynamicMemberxs7KeyPathCyAA7ContentVxG_tcluip<\/USR>public subscript<Value>(dynamicMember keyPath: KeyPath<Content, Value>) -> Value { get }<\/Declaration>Allows directly reading properties on the list’s Content<\/codeVoice>, without having to explicitly specify the .content<\/codeVoice> component.<\/Para><\/Abstract>Eg, you can now replace:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>With:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 232, - "key.doc.name" : "subscript(dynamicMember:)", - "key.doc.type" : "Other", - "key.doclength" : 470, - "key.docoffset" : 7384, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(dynamicMember<\/decl.var.parameter.argument_label> keyPath<\/decl.var.parameter.name>: KeyPath<\/ref.class><Content<\/ref.struct>, Value<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Value<\/ref.generic_type_param><\/decl.function.returntype> { get<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 128, - "key.line" : 232, - "key.modulename" : "ListableUI", - "key.name" : "subscript(dynamicMember:)", - "key.namelength" : 64, - "key.nameoffset" : 7865, - "key.offset" : 7865, - "key.parsed_declaration" : "public subscript(dynamicMember keyPath: KeyPath) -> Value", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 232, - "key.related_decls" : [ - { - "key.annotated_decl" : "subscript(dynamicMember:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 232, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 7875, - "key.offset" : 7875, - "key.parsed_declaration" : "public subscript (dynamicMember: KeyPath) -> Value", - "key.typeusr" : "$s13dynamicMemberxs7KeyPathCy10ListableUI7ContentVxG_tcluD", - "key.usr" : "s:10ListableUI14ListPropertiesV13dynamicMemberxs7KeyPathCyAA7ContentVxG_tcluip" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Adding Content", - "key.offset" : 8013 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<Value>(dynamicMember keyPath: WritableKeyPath<\/Type><Content<\/Type>, Value<\/Type>>) -> Value<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8514 - } - ], - "key.bodylength" : 110, - "key.bodyoffset" : 8604, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows directly setting properties on the list's `Content`, without having to explicitly specify\nthe `.content` component.\n\nEg, you can now replace:\n```\nListProperties { list in\n list.content.header = ...\n list.content.footer = ...\n}\n```\nWith:\n```\nListProperties { list in\n list.header = ...\n list.footer = ...\n}\n```", - "key.doc.column" : 12, - "key.doc.comment" : "Allows directly setting properties on the list's `Content`, without having to explicitly specify\nthe `.content` component.\n\nEg, you can now replace:\n```\nListProperties { list in\n list.content.header = ...\n list.content.footer = ...\n}\n```\nWith:\n```\nListProperties { list in\n list.header = ...\n list.footer = ...\n}\n```", - "key.doc.declaration" : "public subscript(dynamicMember keyPath: WritableKeyPath) -> Value { get set }", - "key.doc.discussion" : [ - { - "Para" : "Eg, you can now replace:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "With:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "subscript(dynamicMember:)<\/Name>s:10ListableUI14ListPropertiesV13dynamicMemberxs15WritableKeyPathCyAA7ContentVxG_tcluip<\/USR>public subscript<Value>(dynamicMember keyPath: WritableKeyPath<Content, Value>) -> Value { get set }<\/Declaration>Allows directly setting properties on the list’s Content<\/codeVoice>, without having to explicitly specify the .content<\/codeVoice> component.<\/Para><\/Abstract>Eg, you can now replace:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>With:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 257, - "key.doc.name" : "subscript(dynamicMember:)", - "key.doc.type" : "Other", - "key.doclength" : 460, - "key.docoffset" : 8050, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(dynamicMember<\/decl.var.parameter.argument_label> keyPath<\/decl.var.parameter.name>: WritableKeyPath<\/ref.class><Content<\/ref.struct>, Value<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Value<\/ref.generic_type_param><\/decl.function.returntype> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 194, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "subscript(dynamicMember:)", - "key.namelength" : 72, - "key.nameoffset" : 8521, - "key.offset" : 8521, - "key.parsed_declaration" : "public subscript(dynamicMember keyPath: WritableKeyPath) -> Value", - "key.parsed_scope.end" : 260, - "key.parsed_scope.start" : 257, - "key.related_decls" : [ - { - "key.annotated_decl" : "subscript(dynamicMember:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.substructure" : [ - { - "key.annotated_decl" : "Value<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 5, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 8531, - "key.offset" : 8531, - "key.parsed_declaration" : "public subscript (dynamicMember: WritableKeyPath) -> Value", - "key.typeusr" : "$s13dynamicMemberxs15WritableKeyPathCy10ListableUI7ContentVxG_tcluD", - "key.usr" : "s:10ListableUI14ListPropertiesV13dynamicMemberxs15WritableKeyPathCyAA7ContentVxG_tcluip" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func callAsFunction<Identifier>(_ identifier: Identifier<\/Type>, configure: Section<\/Type>.Configure<\/Type>) where Identifier<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 8951 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8944 - } - ], - "key.bodylength" : 63, - "key.bodyoffset" : 9082, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows streamlined creation of sections when building a list:\n```\nlistView.configure { list in\n list(\"section-id\") { section in\n ...\n }\n}\n```", - "key.doc.column" : 26, - "key.doc.comment" : "Allows streamlined creation of sections when building a list:\n```\nlistView.configure { list in\n list(\"section-id\") { section in\n ...\n }\n}\n```", - "key.doc.declaration" : "public mutating func callAsFunction(_ identifier: Identifier, configure: Section.Configure) where Identifier : Hashable", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "callAsFunction(_:configure:)<\/Name>s:10ListableUI14ListPropertiesV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF<\/USR>public mutating func callAsFunction<Identifier>(_ identifier: Identifier, configure: Section.Configure) where Identifier : Hashable<\/Declaration>Allows streamlined creation of sections when building a list:<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 270, - "key.doc.name" : "callAsFunction(_:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 215, - "key.docoffset" : 8725, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> callAsFunction<\/decl.name><Identifier<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: Identifier<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Section<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Identifier<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 186, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "callAsFunction(_:configure:)", - "key.namelength" : 115, - "key.nameoffset" : 8965, - "key.offset" : 8960, - "key.parsed_declaration" : "public mutating func callAsFunction(\n _ identifier : Identifier,\n configure : Section.Configure\n)", - "key.parsed_scope.end" : 275, - "key.parsed_scope.start" : 270, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Identifier : Hashable<\/Type><\/Declaration>", - "key.column" : 41, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 8991 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "Identifier<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 8980, - "key.offset" : 8980, - "key.parsed_declaration" : "public mutating func callAsFunctionIdentifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI14ListPropertiesV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF10IdentifierL_xmfp" - } - ], - "key.typename" : " (inout ListProperties) -> (Identifier, (inout Section) -> ()) -> ()", - "key.typeusr" : "$s_9configureyx_y10ListableUI7SectionVzXEtcSHRzluD", - "key.usr" : "s:10ListableUI14ListPropertiesV14callAsFunction_9configureyx_yAA7SectionVzXEtSHRzlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func add(@ListableBuilder<\/Type><Section<\/Type>> sections: () -> [Section<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 9373 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9366 - } - ], - "key.bodylength" : 49, - "key.bodyoffset" : 9460, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds the provided sections with the provided result builder.\n\n```\nlist.add {\n Section(\"section1\") { ... }\n Section(\"section2\") { ... }\n}\n```", - "key.doc.column" : 26, - "key.doc.comment" : "Adds the provided sections with the provided result builder.\n\n```\nlist.add {\n Section(\"section1\") { ... }\n Section(\"section2\") { ... }\n}\n```", - "key.doc.declaration" : "public mutating func add(@ListableUI.ListableBuilder sections: () -> [Section])", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "add(sections:)<\/Name>s:10ListableUI14ListPropertiesV3add8sectionsySayAA7SectionVGyXE_tF<\/USR>public mutating func add(@ListableUI.ListableBuilder<ListableUI.Section> sections: () -> [Section])<\/Declaration>Adds the provided sections with the provided result builder.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 285, - "key.doc.name" : "add(sections:)", - "key.doc.type" : "Function", - "key.doclength" : 206, - "key.docoffset" : 9156, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> add<\/decl.name>(@ListableBuilder<\/ref.enum><Section<\/ref.struct>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> sections<\/decl.var.parameter.argument_label>: () -> [Section<\/ref.struct>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 128, - "key.line" : 285, - "key.modulename" : "ListableUI", - "key.name" : "add(sections:)", - "key.namelength" : 71, - "key.nameoffset" : 9387, - "key.offset" : 9382, - "key.parsed_declaration" : "public mutating func add(\n @ListableBuilder
sections : () -> [Section]\n)", - "key.parsed_scope.end" : 289, - "key.parsed_scope.start" : 285, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListProperties) -> (() -> [Section]) -> ()", - "key.typeusr" : "$s8sectionsySay10ListableUI7SectionVGyXE_tcD", - "key.usr" : "s:10ListableUI14ListPropertiesV3add8sectionsySayAA7SectionVGyXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func add(_ section: Section<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 9572 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9565 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 9616, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds a new section to the `content`.", - "key.doc.column" : 26, - "key.doc.comment" : "Adds a new section to the `content`.", - "key.doc.declaration" : "public mutating func add(_ section: Section)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "add(_:)<\/Name>s:10ListableUI14ListPropertiesV3addyyAA7SectionVF<\/USR>public mutating func add(_ section: Section)<\/Declaration>Adds a new section to the content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 292, - "key.doc.name" : "add(_:)", - "key.doc.type" : "Function", - "key.doclength" : 41, - "key.docoffset" : 9520, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> add<\/decl.name>(_<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 87, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "add(_:)", - "key.namelength" : 24, - "key.nameoffset" : 9586, - "key.offset" : 9581, - "key.parsed_declaration" : "public mutating func add(_ section : Section)", - "key.parsed_scope.end" : 295, - "key.parsed_scope.start" : 292, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(sections:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListProperties) -> (Section) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVcD", - "key.usr" : "s:10ListableUI14ListPropertiesV3addyyAA7SectionVF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout ListProperties<\/Type>, rhs: Section<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9723 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 9794, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds a new section to the `content`.", - "key.doc.column" : 24, - "key.doc.comment" : "Adds a new section to the `content`.", - "key.doc.declaration" : "public static func += (lhs: inout ListProperties, rhs: Section)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "+=(_:_:)<\/Name>s:10ListableUI14ListPropertiesV2peoiyyACz_AA7SectionVtFZ<\/USR>public static func += (lhs: inout ListProperties, rhs: Section)<\/Declaration>Adds a new section to the content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 298, - "key.doc.name" : "+=(_:_:)", - "key.doc.type" : "Function", - "key.doclength" : 41, - "key.docoffset" : 9678, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 91, - "key.line" : 298, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 46, - "key.nameoffset" : 9742, - "key.offset" : 9730, - "key.parsed_declaration" : "public static func += (lhs : inout ListProperties, rhs : Section)", - "key.parsed_scope.end" : 301, - "key.parsed_scope.start" : 298, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout ListProperties, _: [Section])<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var lhs: inout ListProperties<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.kind" : "source.lang.swift.decl.var.parameter", - "key.length" : 3, - "key.line" : 298, - "key.modulename" : "ListableUI", - "key.name" : "lhs", - "key.offset" : 9746, - "key.parent_loc" : 9742, - "key.parsed_declaration" : "public static func += (lhs", - "key.parsed_scope.end" : 298, - "key.parsed_scope.start" : 298, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:10ListableUI14ListPropertiesV2peoiyyACz_AA7SectionVtFZ3lhsL_ACvp" - } - ], - "key.typename" : "(ListProperties.Type) -> (inout ListProperties, Section) -> ()", - "key.typeusr" : "$syy10ListableUI14ListPropertiesVz_AA7SectionVtcD", - "key.usr" : "s:10ListableUI14ListPropertiesV2peoiyyACz_AA7SectionVtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout ListProperties<\/Type>, rhs: [Section<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9885 - } - ], - "key.bodylength" : 41, - "key.bodyoffset" : 9958, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds a list of new sections to the `content`.", - "key.doc.column" : 24, - "key.doc.comment" : "Adds a list of new sections to the `content`.", - "key.doc.declaration" : "public static func += (lhs: inout ListProperties, rhs: [Section])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "+=(_:_:)<\/Name>s:10ListableUI14ListPropertiesV2peoiyyACz_SayAA7SectionVGtFZ<\/USR>public static func += (lhs: inout ListProperties, rhs: [Section])<\/Declaration>Adds a list of new sections to the content<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 304, - "key.doc.name" : "+=(_:_:)", - "key.doc.type" : "Function", - "key.doclength" : 50, - "key.docoffset" : 9831, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: [Section<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 108, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 48, - "key.nameoffset" : 9904, - "key.offset" : 9892, - "key.parsed_declaration" : "public static func += (lhs : inout ListProperties, rhs : [Section])", - "key.parsed_scope.end" : 307, - "key.parsed_scope.start" : 304, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout ListProperties, _: Section)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var lhs: inout ListProperties<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.kind" : "source.lang.swift.decl.var.parameter", - "key.length" : 3, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "lhs", - "key.offset" : 9908, - "key.parent_loc" : 9904, - "key.parsed_declaration" : "public static func += (lhs", - "key.parsed_scope.end" : 304, - "key.parsed_scope.start" : 304, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:10ListableUI14ListPropertiesV2peoiyyACz_SayAA7SectionVGtFZ3lhsL_ACvp" - } - ], - "key.typename" : "(ListProperties.Type) -> (inout ListProperties, [Section]) -> ()", - "key.typeusr" : "$syy10ListableUI14ListPropertiesVz_SayAA7SectionVGtcD", - "key.usr" : "s:10ListableUI14ListPropertiesV2peoiyyACz_SayAA7SectionVGtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Modifying Content", - "key.offset" : 10020 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func modify(using configure: Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 10153 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10146 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 10204, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Updates the `ListProperties` object with the changes in the provided builder.", - "key.doc.column" : 26, - "key.doc.comment" : "Updates the `ListProperties` object with the changes in the provided builder.", - "key.doc.declaration" : "public mutating func modify(using configure: Configure)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "modify(using:)<\/Name>s:10ListableUI14ListPropertiesV6modify5usingyyACzXE_tF<\/USR>public mutating func modify(using configure: Configure)<\/Declaration>Updates the ListProperties<\/codeVoice> object with the changes in the provided builder.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 314, - "key.doc.name" : "modify(using:)", - "key.doc.type" : "Function", - "key.doclength" : 82, - "key.docoffset" : 10060, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> modify<\/decl.name>(using<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 73, - "key.line" : 314, - "key.modulename" : "ListableUI", - "key.name" : "modify(using:)", - "key.namelength" : 35, - "key.nameoffset" : 10167, - "key.offset" : 10162, - "key.parsed_declaration" : "public mutating func modify(using configure : Configure)", - "key.parsed_scope.end" : 316, - "key.parsed_scope.start" : 314, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListProperties) -> ((inout ListProperties) -> ()) -> ()", - "key.typeusr" : "$s5usingyy10ListableUI14ListPropertiesVzXE_tcD", - "key.usr" : "s:10ListableUI14ListPropertiesV6modify5usingyyACzXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func modified(using configure: Configure<\/Type>) -> ListProperties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10340 - } - ], - "key.bodylength" : 74, - "key.bodyoffset" : 10409, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new `ListProperties` object modified by the changes in the provided builder.", - "key.doc.column" : 17, - "key.doc.comment" : "Creates a new `ListProperties` object modified by the changes in the provided builder.", - "key.doc.declaration" : "public func modified(using configure: Configure) -> ListProperties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.doc.full_as_xml" : "modified(using:)<\/Name>s:10ListableUI14ListPropertiesV8modified5usingACyACzXE_tF<\/USR>public func modified(using configure: Configure) -> ListProperties<\/Declaration>Creates a new ListProperties<\/codeVoice> object modified by the changes in the provided builder.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 319, - "key.doc.name" : "modified(using:)", - "key.doc.type" : "Function", - "key.doclength" : 91, - "key.docoffset" : 10245, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> modified<\/decl.name>(using<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListProperties<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 137, - "key.line" : 319, - "key.modulename" : "ListableUI", - "key.name" : "modified(using:)", - "key.namelength" : 37, - "key.nameoffset" : 10352, - "key.offset" : 10347, - "key.parsed_declaration" : "public func modified(using configure : Configure) -> ListProperties", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 319, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var copy: ListProperties<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> copy<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 15, - "key.line" : 320, - "key.modulename" : "ListableUI", - "key.name" : "copy", - "key.namelength" : 4, - "key.nameoffset" : 10422, - "key.offset" : 10418, - "key.parsed_declaration" : "var copy = self", - "key.parsed_scope.end" : 320, - "key.parsed_scope.start" : 320, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:10ListableUI14ListPropertiesV8modified5usingACyACzXE_tF4copyL_ACvp" - } - ], - "key.typename" : "(ListProperties) -> ((inout ListProperties) -> ()) -> ListProperties", - "key.typeusr" : "$s5using10ListableUI14ListPropertiesVyADzXE_tcD", - "key.usr" : "s:10ListableUI14ListPropertiesV8modified5usingACyACzXE_tF" - } - ], - "key.typename" : "ListProperties.Type", - "key.typeusr" : "$s10ListableUI14ListPropertiesVmD", - "key.usr" : "s:10ListableUI14ListPropertiesV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8045, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListScrollPositionInfo : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 477 - } - ], - "key.bodylength" : 5700, - "key.bodyoffset" : 527, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Information about the current scroll position of a list,\nincluding which edges of the list are visible, and which items are visible.\n\nThis is useful within callback APIs where you as a developer may want to\nperform different behavior based on the position of the list, eg, do you\nwant to allow an auto-scroll action, etc.", - "key.doc.column" : 15, - "key.doc.comment" : "Information about the current scroll position of a list,\nincluding which edges of the list are visible, and which items are visible.\n\nThis is useful within callback APIs where you as a developer may want to\nperform different behavior based on the position of the list, eg, do you\nwant to allow an auto-scroll action, etc.", - "key.doc.declaration" : "public struct ListScrollPositionInfo : Equatable", - "key.doc.discussion" : [ - { - "Para" : "This is useful within callback APIs where you as a developer may want to perform different behavior based on the position of the list, eg, do you want to allow an auto-scroll action, etc." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "ListScrollPositionInfo<\/Name>s:10ListableUI22ListScrollPositionInfoV<\/USR>public struct ListScrollPositionInfo : Equatable<\/Declaration>Information about the current scroll position of a list, including which edges of the list are visible, and which items are visible.<\/Para><\/Abstract>This is useful within callback APIs where you as a developer may want to perform different behavior based on the position of the list, eg, do you want to allow an auto-scroll action, etc.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 18, - "key.doc.name" : "ListScrollPositionInfo", - "key.doc.type" : "Class", - "key.doclength" : 345, - "key.docoffset" : 132, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 516 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListScrollPositionInfo<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 5744, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "ListScrollPositionInfo", - "key.namelength" : 22, - "key.nameoffset" : 491, - "key.offset" : 484, - "key.parsed_declaration" : "public struct ListScrollPositionInfo : Equatable", - "key.parsed_scope.end" : 148, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: Public", - "key.offset" : 547 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var visibleItems: Set<\/Type><VisibleItem<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 635 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Which items within the list are currently visible.", - "key.doc.column" : 16, - "key.doc.comment" : "Which items within the list are currently visible.", - "key.doc.declaration" : "public var visibleItems: Set", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "visibleItems<\/Name>s:10ListableUI22ListScrollPositionInfoV12visibleItemsShyAC11VisibleItemVGvp<\/USR>public var visibleItems: Set<VisibleItem><\/Declaration>Which items within the list are currently visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 25, - "key.doc.name" : "visibleItems", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 576, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> visibleItems<\/decl.name>: Set<\/ref.struct><VisibleItem<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "visibleItems", - "key.namelength" : 12, - "key.nameoffset" : 646, - "key.offset" : 642, - "key.parsed_declaration" : "public var visibleItems : Set", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI22ListScrollPositionInfoV11VisibleItemVGD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV12visibleItemsShyAC11VisibleItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var mostVisibleItem: VisibleItem<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 771 - } - ], - "key.bodylength" : 232, - "key.bodyoffset" : 813, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item from `visibleItems` that has the highest percentage of visibility.", - "key.doc.column" : 16, - "key.doc.comment" : "The item from `visibleItems` that has the highest percentage of visibility.", - "key.doc.declaration" : "public var mostVisibleItem: VisibleItem? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "mostVisibleItem<\/Name>s:10ListableUI22ListScrollPositionInfoV15mostVisibleItemAC0hI0VSgvp<\/USR>public var mostVisibleItem: VisibleItem? { get }<\/Declaration>The item from visibleItems<\/codeVoice> that has the highest percentage of visibility.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "mostVisibleItem", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 687, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> mostVisibleItem<\/decl.name>: VisibleItem<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 268, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "mostVisibleItem", - "key.namelength" : 15, - "key.nameoffset" : 782, - "key.offset" : 778, - "key.parsed_declaration" : "public var mostVisibleItem: VisibleItem?", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo.VisibleItem?", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoV11VisibleItemVSgD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV15mostVisibleItemAC0hI0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isFirstItemVisible: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1109 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the first item list is partially visible.", - "key.doc.column" : 16, - "key.doc.comment" : "If the first item list is partially visible.", - "key.doc.declaration" : "public var isFirstItemVisible: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "isFirstItemVisible<\/Name>s:10ListableUI22ListScrollPositionInfoV18isFirstItemVisibleSbvp<\/USR>public var isFirstItemVisible: Bool<\/Declaration>If the first item list is partially visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 37, - "key.doc.name" : "isFirstItemVisible", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 1056, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFirstItemVisible<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "isFirstItemVisible", - "key.namelength" : 18, - "key.nameoffset" : 1120, - "key.offset" : 1116, - "key.parsed_declaration" : "public var isFirstItemVisible : Bool", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV18isFirstItemVisibleSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isLastItemVisible: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1207 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the last item list is partially visible.", - "key.doc.column" : 16, - "key.doc.comment" : "If the last item list is partially visible.", - "key.doc.declaration" : "public var isLastItemVisible: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "isLastItemVisible<\/Name>s:10ListableUI22ListScrollPositionInfoV17isLastItemVisibleSbvp<\/USR>public var isLastItemVisible: Bool<\/Declaration>If the last item list is partially visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 40, - "key.doc.name" : "isLastItemVisible", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 1155, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isLastItemVisible<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "isLastItemVisible", - "key.namelength" : 17, - "key.nameoffset" : 1218, - "key.offset" : 1214, - "key.parsed_declaration" : "public var isLastItemVisible : Bool", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV17isLastItemVisibleSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bottomScrollOffset: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1298 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Distance required to scroll to the bottom", - "key.doc.column" : 16, - "key.doc.comment" : "Distance required to scroll to the bottom", - "key.doc.declaration" : "public var bottomScrollOffset: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "bottomScrollOffset<\/Name>s:10ListableUI22ListScrollPositionInfoV06bottomD6Offset14CoreFoundation7CGFloatVvp<\/USR>public var bottomScrollOffset: CGFloat<\/Declaration>Distance required to scroll to the bottom<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 43, - "key.doc.name" : "bottomScrollOffset", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 1248, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bottomScrollOffset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "bottomScrollOffset", - "key.namelength" : 18, - "key.nameoffset" : 1309, - "key.offset" : 1305, - "key.parsed_declaration" : "public var bottomScrollOffset: CGFloat", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV06bottomD6Offset14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var bounds: CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1376 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`bounds` of the list view", - "key.doc.column" : 16, - "key.doc.comment" : "`bounds` of the list view", - "key.doc.declaration" : "public var bounds: CGRect", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "bounds<\/Name>s:10ListableUI22ListScrollPositionInfoV6boundsSo6CGRectVvp<\/USR>public var bounds: CGRect<\/Declaration>bounds<\/codeVoice> of the list view<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "bounds", - "key.doc.type" : "Other", - "key.doclength" : 30, - "key.docoffset" : 1342, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 1387, - "key.offset" : 1383, - "key.parsed_declaration" : "public var bounds: CGRect", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV6boundsSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var safeAreaInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1450 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`safeAreaInsests` of the list view", - "key.doc.column" : 16, - "key.doc.comment" : "`safeAreaInsests` of the list view", - "key.doc.declaration" : "public var safeAreaInsets: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "safeAreaInsets<\/Name>s:10ListableUI22ListScrollPositionInfoV14safeAreaInsetsSo06UIEdgeI0Vvp<\/USR>public var safeAreaInsets: UIEdgeInsets<\/Declaration>safeAreaInsests<\/codeVoice> of the list view<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 49, - "key.doc.name" : "safeAreaInsets", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 1407, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 49, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 1461, - "key.offset" : 1457, - "key.parsed_declaration" : "public var safeAreaInsets: UIEdgeInsets", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 49, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV14safeAreaInsetsSo06UIEdgeI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func visibleContentEdges(includingSafeAreaEdges safeAreaEdges: UIRectEdge<\/Type> = .all) -> UIRectEdge<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4424 - } - ], - "key.bodylength" : 311, - "key.bodyoffset" : 4533, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used to retrieve the visible content edges for the list's content.\n\nEg, for vertical lists:\n- If the list is scrolled all the way to the bottom, the visible edges are the left, right, and bottom.\n- If the list is scrolled all the way to the top, the visible edges are the left, right, and top.\n\nYou can use this method to determine how and where the list is scrolled if you want to modify\nbehavior based on the current scroll position.\n\nExamples\n---------\n```\n+---------------+ +---------------+ +-----------------+ +--------------------+\n|all | |top, left | |top, left, right | |left, right, bottom |\n+---------------+ +---------------+ +-----------------+ +--------------------+\nList List List\n+---------------+ +---------------+ +---------------+ +---------------+\n| | | | | | |Content@@@@@@@@|\n| +-----------+ | | +-------------+-+ | | |@@@@@@@@@@@@@@@|\n| |Content@@@@| | | |Content@@@@@@|@| | | List@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| +---------------+ +---------------+\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |Content@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| +-----------+ | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n+---------------+ +-+-------------+@| +---------------+ +---------------+\n |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@| | |\n +---------------+ |@@@@@@@@@@@@@@@| | |\n |@@@@@@@@@@@@@@@| | |\n +---------------+ +---------------+\n```\nSafe Area Insets\n-----------------\nYou can control whether `safeAreaInsets` should be taken into account via the `includingSafeAreaEdges` parameter.\n\nGenerally, you want to include the `safeAreaInsets` for the top, left, and right, but may want to exclude the bottom\nif you consider the bottom edge visible if it's visible below the home indicator on a home button-less iPhone or iPad.\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nUsed to retrieve the visible content edges for the list's content.\n\nEg, for vertical lists:\n- If the list is scrolled all the way to the bottom, the visible edges are the left, right, and bottom.\n- If the list is scrolled all the way to the top, the visible edges are the left, right, and top.\n\nYou can use this method to determine how and where the list is scrolled if you want to modify\nbehavior based on the current scroll position.\n\nExamples\n---------\n```\n+---------------+ +---------------+ +-----------------+ +--------------------+\n|all | |top, left | |top, left, right | |left, right, bottom |\n+---------------+ +---------------+ +-----------------+ +--------------------+\nList List List\n+---------------+ +---------------+ +---------------+ +---------------+\n| | | | | | |Content@@@@@@@@|\n| +-----------+ | | +-------------+-+ | | |@@@@@@@@@@@@@@@|\n| |Content@@@@| | | |Content@@@@@@|@| | | List@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| +---------------+ +---------------+\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |Content@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| |@@@@@@@@@@@| | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n| +-----------+ | | |@@@@@@@@@@@@@|@| |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@|\n+---------------+ +-+-------------+@| +---------------+ +---------------+\n |@@@@@@@@@@@@@@@| |@@@@@@@@@@@@@@@| | |\n +---------------+ |@@@@@@@@@@@@@@@| | |\n |@@@@@@@@@@@@@@@| | |\n +---------------+ +---------------+\n```\nSafe Area Insets\n-----------------\nYou can control whether `safeAreaInsets` should be taken into account via the `includingSafeAreaEdges` parameter.\n\nGenerally, you want to include the `safeAreaInsets` for the top, left, and right, but may want to exclude the bottom\nif you consider the bottom edge visible if it's visible below the home indicator on a home button-less iPhone or iPad.", - "key.doc.declaration" : "public func visibleContentEdges(includingSafeAreaEdges safeAreaEdges: UIRectEdge = .all) -> UIRectEdge", - "key.doc.discussion" : [ - { - "Para" : "Eg, for vertical lists:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "You can use this method to determine how and where the list is scrolled if you want to modify behavior based on the current scroll position." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can control whether `safeAreaInsets` should be taken into account via the `includingSafeAreaEdges` parameter." - }, - { - "Para" : "Generally, you want to include the `safeAreaInsets` for the top, left, and right, but may want to exclude the bottom if you consider the bottom edge visible if it’s visible below the home indicator on a home button-less iPhone or iPad." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "visibleContentEdges(includingSafeAreaEdges:)<\/Name>s:10ListableUI22ListScrollPositionInfoV19visibleContentEdges017includingSafeAreaI0So10UIRectEdgeVAG_tF<\/USR>public func visibleContentEdges(includingSafeAreaEdges safeAreaEdges: UIRectEdge = .all) -> UIRectEdge<\/Declaration>Used to retrieve the visible content edges for the list’s content.<\/Para><\/Abstract>Eg, for vertical lists:<\/Para>If the list is scrolled all the way to the bottom, the visible edges are the left, right, and bottom.<\/Para><\/Item>If the list is scrolled all the way to the top, the visible edges are the left, right, and top.<\/Para><\/Item><\/List-Bullet>You can use this method to determine how and where the list is scrolled if you want to modify behavior based on the current scroll position.<\/Para>]]><\/rawHTML>Examples]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Safe Area Insets]]><\/rawHTML>You can control whether safeAreaInsets<\/codeVoice> should be taken into account via the includingSafeAreaEdges<\/codeVoice> parameter.<\/Para>Generally, you want to include the safeAreaInsets<\/codeVoice> for the top, left, and right, but may want to exclude the bottom if you consider the bottom edge visible if it’s visible below the home indicator on a home button-less iPhone or iPad.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 93, - "key.doc.name" : "visibleContentEdges(includingSafeAreaEdges:)", - "key.doc.type" : "Function", - "key.doclength" : 2921, - "key.docoffset" : 1499, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> visibleContentEdges<\/decl.name>(includingSafeAreaEdges<\/decl.var.parameter.argument_label> safeAreaEdges<\/decl.var.parameter.name>: UIRectEdge<\/ref.struct><\/decl.var.parameter.type> = .all<\/decl.var.parameter>) -> UIRectEdge<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 414, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentEdges(includingSafeAreaEdges:)", - "key.namelength" : 77, - "key.nameoffset" : 4436, - "key.offset" : 4431, - "key.parsed_declaration" : "public func visibleContentEdges(includingSafeAreaEdges safeAreaEdges : UIRectEdge = .all) -> UIRectEdge", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let safeArea: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> safeArea<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 76, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "safeArea", - "key.namelength" : 8, - "key.nameoffset" : 4546, - "key.offset" : 4542, - "key.parsed_declaration" : "let safeArea = self.scrollViewState.safeAreaInsets.masked(by: safeAreaEdges)", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV19visibleContentEdges017includingSafeAreaI0So10UIRectEdgeVAG_tF04safeL0L_So12UIEdgeInsetsVvp" - } - ], - "key.typename" : "(ListScrollPositionInfo) -> (UIRectEdge) -> UIRectEdge", - "key.typeusr" : "$s22includingSafeAreaEdgesSo10UIRectEdgeVAC_tcD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV19visibleContentEdges017includingSafeAreaI0So10UIRectEdgeVAG_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Private", - "key.offset" : 4865 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let scrollViewState: ScrollViewState<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4895 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> scrollViewState<\/decl.name>: ScrollViewState<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 108, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewState", - "key.namelength" : 15, - "key.nameoffset" : 4907, - "key.offset" : 4903, - "key.parsed_declaration" : "private let scrollViewState : ScrollViewState", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo.ScrollViewState", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoV0D9ViewStateVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV15scrollViewState33_2B003C33516B6304485EFC15A8A0778BLLAC0dhI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(scrollView: UIScrollView<\/Type>, visibleItems: Set<\/Type><VisibleItem<\/Type>>, isFirstItemVisible: Bool<\/Type>, isLastItemVisible: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5023 - } - ], - "key.bodylength" : 633, - "key.bodyoffset" : 5187, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a `ListScrollPositionInfo` for the provided scroll view.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a `ListScrollPositionInfo` for the provided scroll view.", - "key.doc.declaration" : "public init(scrollView: UIScrollView, visibleItems: Set, isFirstItemVisible: Bool, isLastItemVisible: Bool)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "init(scrollView:visibleItems:isFirstItemVisible:isLastItemVisible:)<\/Name>s:10ListableUI22ListScrollPositionInfoV10scrollView12visibleItems18isFirstItemVisible0k4LastmN0ACSo08UIScrollH0C_ShyAC0nM0VGS2btcfc<\/USR>public init(scrollView: UIScrollView, visibleItems: Set<VisibleItem>, isFirstItemVisible: Bool, isLastItemVisible: Bool)<\/Declaration>Creates a ListScrollPositionInfo<\/codeVoice> for the provided scroll view.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 111, - "key.doc.name" : "init(scrollView:visibleItems:isFirstItemVisible:isLastItemVisible:)", - "key.doc.type" : "Function", - "key.doclength" : 69, - "key.docoffset" : 4950, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(scrollView<\/decl.var.parameter.argument_label>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, visibleItems<\/decl.var.parameter.argument_label>: Set<\/ref.struct><VisibleItem<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>, isFirstItemVisible<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, isLastItemVisible<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 791, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "init(scrollView:visibleItems:isFirstItemVisible:isLastItemVisible:)", - "key.namelength" : 155, - "key.nameoffset" : 5030, - "key.offset" : 5030, - "key.parsed_declaration" : "public init(\n scrollView : UIScrollView,\n visibleItems : Set,\n isFirstItemVisible : Bool,\n isLastItemVisible : Bool\n)", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListScrollPositionInfo.Type) -> (UIScrollView, Set, Bool, Bool) -> ListScrollPositionInfo", - "key.typeusr" : "$s10scrollView12visibleItems18isFirstItemVisible0e4LastgH010ListableUI22ListScrollPositionInfoVSo08UIScrollB0C_ShyAG0hG0VGS2btcD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV10scrollView12visibleItems18isFirstItemVisible0k4LastmN0ACSo08UIScrollH0C_ShyAC0nM0VGS2btcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListScrollPositionInfo<\/Type>.ScrollViewState : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 108, - "key.bodyoffset" : 5871, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5856 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListScrollPositionInfo<\/ref.struct>.ScrollViewState<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 149, - "key.line" : 134, - "key.modulename" : "ListableUI", - "key.name" : "ScrollViewState", - "key.namelength" : 15, - "key.nameoffset" : 5838, - "key.offset" : 5831, - "key.parsed_declaration" : "struct ScrollViewState : Equatable", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 134, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var bounds: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 136, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 5884, - "key.offset" : 5880, - "key.parsed_declaration" : "var bounds : CGRect", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV0D9ViewStateV6boundsSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var contentSize: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 5912, - "key.offset" : 5908, - "key.parsed_declaration" : "var contentSize : CGSize", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV0D9ViewStateV11contentSizeSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var safeAreaInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> safeAreaInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "safeAreaInsets", - "key.namelength" : 14, - "key.nameoffset" : 5945, - "key.offset" : 5941, - "key.parsed_declaration" : "var safeAreaInsets : UIEdgeInsets", - "key.parsed_scope.end" : 138, - "key.parsed_scope.start" : 138, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV0D9ViewStateV14safeAreaInsetsSo06UIEdgeK0Vvp" - } - ], - "key.typename" : "ListScrollPositionInfo.ScrollViewState.Type", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoV0D9ViewStateVmD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV0D9ViewStateV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListScrollPositionInfo<\/Type>.VisibleItem : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5990 - } - ], - "key.bodylength" : 198, - "key.bodyoffset" : 6027, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 6017 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListScrollPositionInfo<\/ref.struct>.VisibleItem<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 229, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "VisibleItem", - "key.namelength" : 11, - "key.nameoffset" : 6004, - "key.offset" : 5997, - "key.parsed_declaration" : "public struct VisibleItem: Hashable", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let identifier: AnyIdentifier<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6045 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> identifier<\/decl.name>: AnyIdentifier<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 143, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 6056, - "key.offset" : 6052, - "key.parsed_declaration" : "public let identifier: AnyIdentifier", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 143, - "key.reusingastcontext" : false, - "key.typename" : "AnyIdentifier", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV11VisibleItemV10identifierAA13AnyIdentifierCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let percentageVisible: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6183 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The percentage of this item within the collection view's visible frame.", - "key.doc.column" : 20, - "key.doc.comment" : "The percentage of this item within the collection view's visible frame.", - "key.doc.declaration" : "public let percentageVisible: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.doc.full_as_xml" : "percentageVisible<\/Name>s:10ListableUI22ListScrollPositionInfoV11VisibleItemV010percentageG014CoreFoundation7CGFloatVvp<\/USR>public let percentageVisible: CGFloat<\/Declaration>The percentage of this item within the collection view’s visible frame.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 146, - "key.doc.name" : "percentageVisible", - "key.doc.type" : "Other", - "key.doclength" : 76, - "key.docoffset" : 6099, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> percentageVisible<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "percentageVisible", - "key.namelength" : 17, - "key.nameoffset" : 6194, - "key.offset" : 6190, - "key.parsed_declaration" : "public let percentageVisible: CGFloat", - "key.parsed_scope.end" : 146, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV11VisibleItemV010percentageG014CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "ListScrollPositionInfo.VisibleItem.Type", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoV11VisibleItemVmD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV11VisibleItemV" - } - ], - "key.typename" : "ListScrollPositionInfo.Type", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVmD", - "key.usr" : "s:10ListableUI22ListScrollPositionInfoV" - }, - { - "key.annotated_decl" : "@_nonSendable(_assumed) struct UIEdgeInsets : @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 501, - "key.bodyoffset" : 6254, - "key.column" : 92, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIGeometry.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> UIEdgeInsets<\/decl.name> : @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 526, - "key.line" : 23, - "key.modulename" : "UIKit.UIGeometry", - "key.name" : "UIEdgeInsets", - "key.namelength" : 12, - "key.nameoffset" : 6240, - "key.offset" : 6230, - "key.parsed_declaration" : "extension UIEdgeInsets", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "func masked(by edges: UIRectEdge<\/Type>) -> UIEdgeInsets<\/Type><\/Declaration>", - "key.bodylength" : 438, - "key.bodyoffset" : 6315, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> masked<\/decl.name>(by<\/decl.var.parameter.argument_label> edges<\/decl.var.parameter.name>: UIRectEdge<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIEdgeInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 495, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "masked(by:)", - "key.namelength" : 29, - "key.nameoffset" : 6264, - "key.offset" : 6259, - "key.parsed_declaration" : "func masked(by edges : UIRectEdge) -> UIEdgeInsets", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 152, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var insets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 154, - "key.modulename" : "ListableUI", - "key.name" : "insets", - "key.namelength" : 6, - "key.nameoffset" : 6328, - "key.offset" : 6324, - "key.parsed_declaration" : "var insets = UIEdgeInsets()", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 154, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:So12UIEdgeInsetsV10ListableUIE6masked2byABSo10UIRectEdgeV_tF6insetsL_ABvp" - } - ], - "key.typename" : "(UIEdgeInsets) -> (UIRectEdge) -> UIEdgeInsets", - "key.typeusr" : "$s2bySo12UIEdgeInsetsVSo10UIRectEdgeV_tcD", - "key.usr" : "s:So12UIEdgeInsetsV10ListableUIE6masked2byABSo10UIRectEdgeV_tF" - } - ], - "key.typename" : "UIEdgeInsets.Type", - "key.typeusr" : "$sSo12UIEdgeInsetsVmD", - "key.usr" : "c:@S@UIEdgeInsets" - }, - { - "key.annotated_decl" : "@_nonSendable(_assumed) struct UIRectEdge : OptionSet<\/Type>, @unchecked Sendable<\/Type><\/Declaration>", - "key.bodylength" : 1232, - "key.bodyoffset" : 6811, - "key.column" : 32, - "key.decl_lang" : "source.lang.objc", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 6781 - } - ], - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/SubFrameworks\/UIUtilities.framework\/Headers\/UIGeometry.h", - "key.fully_annotated_decl" : "@_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> UIRectEdge<\/decl.name> : OptionSet<\/ref.protocol>, @unchecked Sendable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "CustomDebugStringConvertible" - } - ], - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1286, - "key.line" : 12, - "key.modulename" : "UIUtilities.UIGeometry", - "key.name" : "UIRectEdge", - "key.namelength" : 10, - "key.nameoffset" : 6768, - "key.offset" : 6758, - "key.parsed_declaration" : "extension UIRectEdge : CustomDebugStringConvertible", - "key.parsed_scope.end" : 228, - "key.parsed_scope.start" : 176, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "static func visibleScrollViewContentEdges(bounds: CGRect<\/Type>, contentSize: CGSize<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>) -> UIRectEdge<\/Type><\/Declaration>", - "key.bodylength" : 539, - "key.bodyoffset" : 6977, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> visibleScrollViewContentEdges<\/decl.name>(bounds<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentSize<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIRectEdge<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 701, - "key.line" : 178, - "key.modulename" : "ListableUI", - "key.name" : "visibleScrollViewContentEdges(bounds:contentSize:safeAreaInsets:)", - "key.namelength" : 129, - "key.nameoffset" : 6828, - "key.offset" : 6816, - "key.parsed_declaration" : "static func visibleScrollViewContentEdges(\n bounds : CGRect,\n contentSize : CGSize,\n safeAreaInsets : UIEdgeInsets\n) -> UIRectEdge", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 178, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let insetBounds: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insetBounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 50, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "insetBounds", - "key.namelength" : 11, - "key.nameoffset" : 6990, - "key.offset" : 6986, - "key.parsed_declaration" : "let insetBounds = bounds.inset(by: safeAreaInsets)", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:So10UIRectEdgeV10ListableUIE29visibleScrollViewContentEdges6bounds11contentSize14safeAreaInsetsABSo6CGRectV_So6CGSizeVSo06UIEdgeO0VtFZ11insetBoundsL_AIvp" - }, - { - "key.annotated_decl" : "var edges: UIRectEdge<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> edges<\/decl.name>: UIRectEdge<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 24, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "edges", - "key.namelength" : 5, - "key.nameoffset" : 7066, - "key.offset" : 7062, - "key.parsed_declaration" : "var edges = UIRectEdge()", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.typename" : "UIRectEdge", - "key.typeusr" : "$sSo10UIRectEdgeVD", - "key.usr" : "s:So10UIRectEdgeV10ListableUIE29visibleScrollViewContentEdges6bounds11contentSize14safeAreaInsetsABSo6CGRectV_So6CGSizeVSo06UIEdgeO0VtFZ5edgesL_ABvp" - } - ], - "key.typename" : "(UIRectEdge.Type) -> (CGRect, CGSize, UIEdgeInsets) -> UIRectEdge", - "key.typeusr" : "$s6bounds11contentSize14safeAreaInsetsSo10UIRectEdgeVSo6CGRectV_So6CGSizeVSo06UIEdgeF0VtcD", - "key.usr" : "s:So10UIRectEdgeV10ListableUIE29visibleScrollViewContentEdges6bounds11contentSize14safeAreaInsetsABSo6CGRectV_So6CGSizeVSo06UIEdgeO0VtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var debugDescription: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7527 - } - ], - "key.bodylength" : 477, - "key.bodyoffset" : 7564, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A textual representation of this instance, suitable for debugging.\n\nCalling this property directly is discouraged. Instead, convert an\ninstance of any type to a string by using the `String(reflecting:)`\ninitializer. This initializer works with any type, and uses the custom\n`debugDescription` property for types that conform to\n`CustomDebugStringConvertible`:\n\n struct Point: CustomDebugStringConvertible {\n let x: Int, y: Int\n\n var debugDescription: String {\n return \"(\\(x), \\(y))\"\n }\n }\n\n let p = Point(x: 21, y: 30)\n let s = String(reflecting: p)\n print(s)\n \/\/ Prints \"(21, 30)\"\n\nThe conversion of `p` to a string in the assignment to `s` uses the\n`Point` type's `debugDescription` property.", - "key.doc.declaration" : "var debugDescription: String { get }", - "key.doc.discussion" : [ - { - "Para" : "Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "The conversion of `p` to a string in the assignment to `s` uses the `Point` type’s `debugDescription` property." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "debugDescription<\/Name>s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp<\/USR>var debugDescription: String { get }<\/Declaration>A textual representation of this instance, suitable for debugging.<\/Para><\/Abstract>Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)<\/codeVoice> initializer. This initializer works with any type, and uses the custom debugDescription<\/codeVoice> property for types that conform to CustomDebugStringConvertible<\/codeVoice>:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>The conversion of p<\/codeVoice> to a string in the assignment to s<\/codeVoice> uses the Point<\/codeVoice> type’s debugDescription<\/codeVoice> property.<\/Para>This documentation comment was inherited from CustomDebugStringConvertible<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "debugDescription", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debugDescription<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 508, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "debugDescription", - "key.namelength" : 16, - "key.nameoffset" : 7538, - "key.offset" : 7534, - "key.overrides" : [ - { - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - } - ], - "key.parsed_declaration" : "public var debugDescription: String", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 207, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:s28CustomDebugStringConvertibleP16debugDescriptionSSvp" - }, - { - "key.annotated_decl" : "var components: [String<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListScrollPositionInfo.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> components<\/decl.name>: [String<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "components", - "key.namelength" : 10, - "key.nameoffset" : 7577, - "key.offset" : 7573, - "key.parsed_declaration" : "var components = [String]()", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.typename" : "[String]", - "key.typeusr" : "$sSaySSGD", - "key.usr" : "s:So10UIRectEdgeV10ListableUIE16debugDescriptionSSvg10componentsL_SaySSGvp" - } - ], - "key.typename" : "UIRectEdge.Type", - "key.typeusr" : "$sSo10UIRectEdgeVmD", - "key.usr" : "c:@E@UIRectEdge" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 12702, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListStateObserver<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1386 - } - ], - "key.bodylength" : 5752, - "key.bodyoffset" : 1419, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows reading state and events based on state changes within the list view.\nFor example, you can determine when a user scrolls, when the content of a list\nchanges, etc.\n\nThis is useful if you want to log these events to a logging or debugging system,\nor potentially perform actions on the list based on some change.\n\nEvery callback has its own data type, filled with information relevant to that callback.\nEvery callback also contains a `ListActions` to perform actions back on the list.\n\nYou can register for each callback type multiple times – eg to split apart different pieces of\nfunctionality. Eg, two calls to `onDidScroll` registers two callbacks.\n\n### Example\n```\nListStateObserver { observer in\n observer.onDidScroll { info in\n \/\/ Called whenever the list is scrolled.\n }\n\n observer.onContentChanged { info in\n \/\/ Called when items are inserted or removed.\n }\n}\n```\n\n### Note\nThe duration of performing all callbacks is logged to `os_signpost`. If you find that\nyour application is running slowly, and you have registered `ListStateObserver` callbacks,\nuse Instruments.app to see what callback is slow.\n", - "key.doc.column" : 15, - "key.doc.comment" : "Allows reading state and events based on state changes within the list view.\nFor example, you can determine when a user scrolls, when the content of a list\nchanges, etc.\n\nThis is useful if you want to log these events to a logging or debugging system,\nor potentially perform actions on the list based on some change.\n\nEvery callback has its own data type, filled with information relevant to that callback.\nEvery callback also contains a `ListActions` to perform actions back on the list.\n\nYou can register for each callback type multiple times – eg to split apart different pieces of\nfunctionality. Eg, two calls to `onDidScroll` registers two callbacks.\n\n### Example\n```\nListStateObserver { observer in\n observer.onDidScroll { info in\n \/\/ Called whenever the list is scrolled.\n }\n\n observer.onContentChanged { info in\n \/\/ Called when items are inserted or removed.\n }\n}\n```\n\n### Note\nThe duration of performing all callbacks is logged to `os_signpost`. If you find that\nyour application is running slowly, and you have registered `ListStateObserver` callbacks,\nuse Instruments.app to see what callback is slow.", - "key.doc.declaration" : "public struct ListStateObserver", - "key.doc.discussion" : [ - { - "Para" : "This is useful if you want to log these events to a logging or debugging system, or potentially perform actions on the list based on some change." - }, - { - "Para" : "Every callback has its own data type, filled with information relevant to that callback. Every callback also contains a `ListActions` to perform actions back on the list." - }, - { - "Para" : "You can register for each callback type multiple times – eg to split apart different pieces of functionality. Eg, two calls to `onDidScroll` registers two callbacks." - }, - { - "CodeListing" : "" - }, - { - "Para" : "The duration of performing all callbacks is logged to `os_signpost`. If you find that your application is running slowly, and you have registered `ListStateObserver` callbacks, use Instruments.app to see what callback is slow." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "ListStateObserver<\/Name>s:10ListableUI17ListStateObserverV<\/USR>public struct ListStateObserver<\/Declaration>Allows reading state and events based on state changes within the list view. For example, you can determine when a user scrolls, when the content of a list changes, etc.<\/Para><\/Abstract>This is useful if you want to log these events to a logging or debugging system, or potentially perform actions on the list based on some change.<\/Para>Every callback has its own data type, filled with information relevant to that callback. Every callback also contains a ListActions<\/codeVoice> to perform actions back on the list.<\/Para>You can register for each callback type multiple times – eg to split apart different pieces of functionality. Eg, two calls to onDidScroll<\/codeVoice> registers two callbacks.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>The duration of performing all callbacks is logged to os_signpost<\/codeVoice>. If you find that your application is running slowly, and you have registered ListStateObserver<\/codeVoice> callbacks, use Instruments.app to see what callback is slow.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ListStateObserver", - "key.doc.type" : "Class", - "key.doclength" : 1259, - "key.docoffset" : 127, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListStateObserver<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 5779, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ListStateObserver", - "key.namelength" : 17, - "key.nameoffset" : 1400, - "key.offset" : 1393, - "key.parsed_declaration" : "public struct ListStateObserver", - "key.parsed_scope.end" : 218, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ configure: (inout ListStateObserver<\/Type>) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1497 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 1572, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates and optionally allows you to configure an observer.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates and optionally allows you to configure an observer.", - "key.doc.declaration" : "public init(_ configure: (inout ListStateObserver) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI17ListStateObserverVyACyACzXEcfc<\/USR>public init(_ configure: (inout ListStateObserver) -> () = { _ in })<\/Declaration>Creates and optionally allows you to configure an observer.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 46, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 64, - "key.docoffset" : 1429, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> ListStateObserver<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 99, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 62, - "key.nameoffset" : 1504, - "key.offset" : 1504, - "key.parsed_declaration" : "public init(_ configure : (inout ListStateObserver) -> () = { _ in })", - "key.parsed_scope.end" : 49, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListStateObserver.Type) -> ((inout ListStateObserver) -> ()) -> ListStateObserver", - "key.typeusr" : "$sy10ListableUI17ListStateObserverVyACzXEcD", - "key.usr" : "s:10ListableUI17ListStateObserverVyACyACzXEcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Responding To Scrolling", - "key.offset" : 1623 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnDidScroll = (DidScroll<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1669 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnDidScroll<\/decl.name> = (DidScroll<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 41, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "OnDidScroll", - "key.namelength" : 11, - "key.nameoffset" : 1686, - "key.offset" : 1676, - "key.parsed_declaration" : "public typealias OnDidScroll = (DidScroll) -> ()", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.DidScroll) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV9DidScrollVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV11OnDidScrolla" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onDidScroll(_ callback: @escaping OnDidScroll<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 2063 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2056 - } - ], - "key.bodylength" : 47, - "key.bodyoffset" : 2131, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view is scrolled, or is\nscrolled to top.\n\n### ⚠️ Important Note!\nThis callback is called very frequently when the user is scrolling the list (eg, every frame!).\nAs such, make sure any work you do in the callback is efficient.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view is scrolled, or is\nscrolled to top.\n\n### ⚠️ Important Note!\nThis callback is called very frequently when the user is scrolling the list (eg, every frame!).\nAs such, make sure any work you do in the callback is efficient.", - "key.doc.declaration" : "public mutating func onDidScroll(_ callback: @escaping OnDidScroll)", - "key.doc.discussion" : [ - { - "Para" : "This callback is called very frequently when the user is scrolling the list (eg, every frame!). As such, make sure any work you do in the callback is efficient." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onDidScroll(_:)<\/Name>s:10ListableUI17ListStateObserverV11onDidScrollyyyAC0gH0VcF<\/USR>public mutating func onDidScroll(_ callback: @escaping OnDidScroll)<\/Declaration>Registers a callback which will be called when the list view is scrolled, or is scrolled to top.<\/Para><\/Abstract>]]><\/rawHTML>⚠️ Important Note!]]><\/rawHTML>This callback is called very frequently when the user is scrolling the list (eg, every frame!). As such, make sure any work you do in the callback is efficient.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 63, - "key.doc.name" : "onDidScroll(_:)", - "key.doc.type" : "Function", - "key.doclength" : 329, - "key.docoffset" : 1723, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onDidScroll<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnDidScroll<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 107, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "onDidScroll(_:)", - "key.namelength" : 48, - "key.nameoffset" : 2077, - "key.offset" : 2072, - "key.parsed_declaration" : "public mutating func onDidScroll( _ callback : @escaping OnDidScroll)", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 63, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidScroll<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.DidScroll) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV9DidScrollVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV11onDidScrollyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onDidScroll: [OnDidScroll<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2189 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onDidScroll<\/decl.name>: [OnDidScroll<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "onDidScroll", - "key.namelength" : 11, - "key.nameoffset" : 2206, - "key.offset" : 2202, - "key.parsed_declaration" : "private(set) var onDidScroll : [OnDidScroll] = []", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 68, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidScroll(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.DidScroll) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV9DidScrollVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV11onDidScrollSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 42, - "key.name" : "MARK: Responding to Scrolling Deceleration", - "key.offset" : 2258 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnDidEndDeceleration = (DidEndDeceleration<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2313 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnDidEndDeceleration<\/decl.name> = (DidEndDeceleration<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 59, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "OnDidEndDeceleration", - "key.namelength" : 20, - "key.nameoffset" : 2330, - "key.offset" : 2320, - "key.parsed_declaration" : "public typealias OnDidEndDeceleration = (DidEndDeceleration) -> ()", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 74, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.DidEndDeceleration) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV18DidEndDecelerationVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV20OnDidEndDecelerationa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onDidEndDeceleration(_ callback: @escaping OnDidEndDeceleration<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 2487 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2480 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 2573, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view is finished decelerating.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view is finished decelerating.", - "key.doc.declaration" : "public mutating func onDidEndDeceleration(_ callback: @escaping OnDidEndDeceleration)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onDidEndDeceleration(_:)<\/Name>s:10ListableUI17ListStateObserverV20onDidEndDecelerationyyyAC0ghI0VcF<\/USR>public mutating func onDidEndDeceleration(_ callback: @escaping OnDidEndDeceleration)<\/Declaration>Registers a callback which will be called when the list view is finished decelerating.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 77, - "key.doc.name" : "onDidEndDeceleration(_:)", - "key.doc.type" : "Function", - "key.doclength" : 91, - "key.docoffset" : 2385, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onDidEndDeceleration<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnDidEndDeceleration<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 134, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "onDidEndDeceleration(_:)", - "key.namelength" : 66, - "key.nameoffset" : 2501, - "key.offset" : 2496, - "key.parsed_declaration" : "public mutating func onDidEndDeceleration( _ callback : @escaping OnDidEndDeceleration)", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 77, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidEndDeceleration<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.DidEndDeceleration) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV18DidEndDecelerationVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV20onDidEndDecelerationyyyAC0ghI0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onDidEndDeceleration: [OnDidEndDeceleration<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 2636 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onDidEndDeceleration<\/decl.name>: [OnDidEndDeceleration<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "onDidEndDeceleration", - "key.namelength" : 20, - "key.nameoffset" : 2653, - "key.offset" : 2649, - "key.parsed_declaration" : "private(set) var onDidEndDeceleration: [OnDidEndDeceleration] = []", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidEndDeceleration(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.DidEndDeceleration) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV18DidEndDecelerationVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV20onDidEndDecelerationSayyAC0ghI0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 46, - "key.name" : "MARK: Responding to Scrolling Animation Ending", - "key.offset" : 2718 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnDidEndScrollingAnimation = (DidEndScrollingAnimation<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2777 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnDidEndScrollingAnimation<\/decl.name> = (DidEndScrollingAnimation<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 71, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "OnDidEndScrollingAnimation", - "key.namelength" : 26, - "key.nameoffset" : 2794, - "key.offset" : 2784, - "key.parsed_declaration" : "public typealias OnDidEndScrollingAnimation = (DidEndScrollingAnimation) -> ()", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.DidEndScrollingAnimation) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV26OnDidEndScrollingAnimationa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onDidEndScrollingAnimation(_ callback: @escaping OnDidEndScrollingAnimation<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 2968 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2961 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 3066, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view had ended scrolling animation.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view had ended scrolling animation.", - "key.doc.declaration" : "public mutating func onDidEndScrollingAnimation(_ callback: @escaping OnDidEndScrollingAnimation)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onDidEndScrollingAnimation(_:)<\/Name>s:10ListableUI17ListStateObserverV26onDidEndScrollingAnimationyyyAC0ghiJ0VcF<\/USR>public mutating func onDidEndScrollingAnimation(_ callback: @escaping OnDidEndScrollingAnimation)<\/Declaration>Registers a callback which will be called when the list view had ended scrolling animation.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 91, - "key.doc.name" : "onDidEndScrollingAnimation(_:)", - "key.doc.type" : "Function", - "key.doclength" : 96, - "key.docoffset" : 2861, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onDidEndScrollingAnimation<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnDidEndScrollingAnimation<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 152, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "onDidEndScrollingAnimation(_:)", - "key.namelength" : 78, - "key.nameoffset" : 2982, - "key.offset" : 2977, - "key.parsed_declaration" : "public mutating func onDidEndScrollingAnimation( _ callback : @escaping OnDidEndScrollingAnimation)", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 91, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidEndScrollingAnimation<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.DidEndScrollingAnimation) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV26onDidEndScrollingAnimationyyyAC0ghiJ0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onDidEndScrollingAnimation: [OnDidEndScrollingAnimation<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 3135 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onDidEndScrollingAnimation<\/decl.name>: [OnDidEndScrollingAnimation<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 96, - "key.modulename" : "ListableUI", - "key.name" : "onDidEndScrollingAnimation", - "key.namelength" : 26, - "key.nameoffset" : 3152, - "key.offset" : 3148, - "key.parsed_declaration" : "private(set) var onDidEndScrollingAnimation: [OnDidEndScrollingAnimation] = []", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 96, - "key.related_decls" : [ - { - "key.annotated_decl" : "onDidEndScrollingAnimation(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.DidEndScrollingAnimation) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV26onDidEndScrollingAnimationSayyAC0ghiJ0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: Responding to Drag Begin", - "key.offset" : 3229 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnBeginDrag = (BeginDrag<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3276 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnBeginDrag<\/decl.name> = (BeginDrag<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 41, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "OnBeginDrag", - "key.namelength" : 11, - "key.nameoffset" : 3293, - "key.offset" : 3283, - "key.parsed_declaration" : "public typealias OnBeginDrag = (BeginDrag) -> ()", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.BeginDrag) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV9BeginDragVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV11OnBeginDraga" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onBeginDrag(_ callback: @escaping OnBeginDrag<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 3431 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3424 - } - ], - "key.bodylength" : 47, - "key.bodyoffset" : 3498, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view will begin dragging.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view will begin dragging.", - "key.doc.declaration" : "public mutating func onBeginDrag(_ callback: @escaping OnBeginDrag)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onBeginDrag(_:)<\/Name>s:10ListableUI17ListStateObserverV11onBeginDragyyyAC0gH0VcF<\/USR>public mutating func onBeginDrag(_ callback: @escaping OnBeginDrag)<\/Declaration>Registers a callback which will be called when the list view will begin dragging.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 105, - "key.doc.name" : "onBeginDrag(_:)", - "key.doc.type" : "Function", - "key.doclength" : 86, - "key.docoffset" : 3334, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onBeginDrag<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnBeginDrag<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 106, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "onBeginDrag(_:)", - "key.namelength" : 47, - "key.nameoffset" : 3445, - "key.offset" : 3440, - "key.parsed_declaration" : "public mutating func onBeginDrag( _ callback: @escaping OnBeginDrag)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 105, - "key.related_decls" : [ - { - "key.annotated_decl" : "onBeginDrag<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.BeginDrag) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV9BeginDragVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV11onBeginDragyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onBeginDrag: [OnBeginDrag<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 3556 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onBeginDrag<\/decl.name>: [OnBeginDrag<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "onBeginDrag", - "key.namelength" : 11, - "key.nameoffset" : 3573, - "key.offset" : 3569, - "key.parsed_declaration" : "private(set) var onBeginDrag: [OnBeginDrag] = []", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 110, - "key.related_decls" : [ - { - "key.annotated_decl" : "onBeginDrag(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.BeginDrag) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV9BeginDragVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV11onBeginDragSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 35, - "key.name" : "MARK: Responding To Content Updates", - "key.offset" : 3624 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnContentUpdated = (ContentUpdated<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3676 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnContentUpdated<\/decl.name> = (ContentUpdated<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 51, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "OnContentUpdated", - "key.namelength" : 16, - "key.nameoffset" : 3693, - "key.offset" : 3683, - "key.parsed_declaration" : "public typealias OnContentUpdated = (ContentUpdated) -> ()", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.ContentUpdated) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV14ContentUpdatedVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV16OnContentUpdateda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onContentUpdated(_ callback: @escaping OnContentUpdated<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 4098 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4091 - } - ], - "key.bodylength" : 52, - "key.bodyoffset" : 4176, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view's content is updated\ndue to a call to `setContent`.\n\n### Note\nThis method is called even if there were no actual changes made during the `setContent`\ncall. To see if there were changes, check the `hadChanges` property on `ContentUpdated`.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view's content is updated\ndue to a call to `setContent`.\n\n### Note\nThis method is called even if there were no actual changes made during the `setContent`\ncall. To see if there were changes, check the `hadChanges` property on `ContentUpdated`.", - "key.doc.declaration" : "public mutating func onContentUpdated(_ callback: @escaping OnContentUpdated)", - "key.doc.discussion" : [ - { - "Para" : "This method is called even if there were no actual changes made during the `setContent` call. To see if there were changes, check the `hadChanges` property on `ContentUpdated`." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onContentUpdated(_:)<\/Name>s:10ListableUI17ListStateObserverV16onContentUpdatedyyyAC0gH0VcF<\/USR>public mutating func onContentUpdated(_ callback: @escaping OnContentUpdated)<\/Declaration>Registers a callback which will be called when the list view’s content is updated due to a call to setContent<\/codeVoice>.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>This method is called even if there were no actual changes made during the setContent<\/codeVoice> call. To see if there were changes, check the hadChanges<\/codeVoice> property on ContentUpdated<\/codeVoice>.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 124, - "key.doc.name" : "onContentUpdated(_:)", - "key.doc.type" : "Function", - "key.doclength" : 343, - "key.docoffset" : 3744, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onContentUpdated<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnContentUpdated<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 122, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "onContentUpdated(_:)", - "key.namelength" : 58, - "key.nameoffset" : 4112, - "key.offset" : 4107, - "key.parsed_declaration" : "public mutating func onContentUpdated( _ callback : @escaping OnContentUpdated)", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 124, - "key.related_decls" : [ - { - "key.annotated_decl" : "onContentUpdated<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.ContentUpdated) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV14ContentUpdatedVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV16onContentUpdatedyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onContentUpdated: [OnContentUpdated<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 4239 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onContentUpdated<\/decl.name>: [OnContentUpdated<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "onContentUpdated", - "key.namelength" : 16, - "key.nameoffset" : 4256, - "key.offset" : 4252, - "key.parsed_declaration" : "private(set) var onContentUpdated : [OnContentUpdated] = []", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 129, - "key.related_decls" : [ - { - "key.annotated_decl" : "onContentUpdated(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.ContentUpdated) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV14ContentUpdatedVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV16onContentUpdatedSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 38, - "key.name" : "MARK: Responding To Visibility Changes", - "key.offset" : 4318 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnVisibilityChanged = (VisibilityChanged<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4373 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnVisibilityChanged<\/decl.name> = (VisibilityChanged<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 57, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "OnVisibilityChanged", - "key.namelength" : 19, - "key.nameoffset" : 4390, - "key.offset" : 4380, - "key.parsed_declaration" : "public typealias OnVisibilityChanged = (VisibilityChanged) -> ()", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.VisibilityChanged) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV17VisibilityChangedVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV19OnVisibilityChangeda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onVisibilityChanged(_ callback: @escaping OnVisibilityChanged<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 4813 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4806 - } - ], - "key.bodylength" : 55, - "key.bodyoffset" : 4897, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the visiblity of content within the list changes,\neither due to the user scrolling the list, or due to an update changing the visible content.\n\nIf you'd like to (eg) update a pagination indicator or other indicator of what\nitems \/ pages \/ etc are visible, use this method.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the visiblity of content within the list changes,\neither due to the user scrolling the list, or due to an update changing the visible content.\n\nIf you'd like to (eg) update a pagination indicator or other indicator of what\nitems \/ pages \/ etc are visible, use this method.", - "key.doc.declaration" : "public mutating func onVisibilityChanged(_ callback: @escaping OnVisibilityChanged)", - "key.doc.discussion" : [ - { - "Para" : "If you’d like to (eg) update a pagination indicator or other indicator of what items \/ pages \/ etc are visible, use this method." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onVisibilityChanged(_:)<\/Name>s:10ListableUI17ListStateObserverV19onVisibilityChangedyyyAC0gH0VcF<\/USR>public mutating func onVisibilityChanged(_ callback: @escaping OnVisibilityChanged)<\/Declaration>Registers a callback which will be called when the visiblity of content within the list changes, either due to the user scrolling the list, or due to an update changing the visible content.<\/Para><\/Abstract>If you’d like to (eg) update a pagination indicator or other indicator of what items \/ pages \/ etc are visible, use this method.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 142, - "key.doc.name" : "onVisibilityChanged(_:)", - "key.doc.type" : "Function", - "key.doclength" : 355, - "key.docoffset" : 4447, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onVisibilityChanged<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnVisibilityChanged<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 131, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "onVisibilityChanged(_:)", - "key.namelength" : 64, - "key.nameoffset" : 4827, - "key.offset" : 4822, - "key.parsed_declaration" : "public mutating func onVisibilityChanged( _ callback : @escaping OnVisibilityChanged)", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 142, - "key.related_decls" : [ - { - "key.annotated_decl" : "onVisibilityChanged<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.VisibilityChanged) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV17VisibilityChangedVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV19onVisibilityChangedyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onVisibilityChanged: [OnVisibilityChanged<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 4963 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onVisibilityChanged<\/decl.name>: [OnVisibilityChanged<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 52, - "key.line" : 147, - "key.modulename" : "ListableUI", - "key.name" : "onVisibilityChanged", - "key.namelength" : 19, - "key.nameoffset" : 4980, - "key.offset" : 4976, - "key.parsed_declaration" : "private(set) var onVisibilityChanged : [OnVisibilityChanged] = []", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 147, - "key.related_decls" : [ - { - "key.annotated_decl" : "onVisibilityChanged(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.VisibilityChanged) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV17VisibilityChangedVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV19onVisibilityChangedSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 33, - "key.name" : "MARK: Responding To Frame Changes", - "key.offset" : 5048 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnFrameChanged = (FrameChanged<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5098 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnFrameChanged<\/decl.name> = (FrameChanged<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 47, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "OnFrameChanged", - "key.namelength" : 14, - "key.nameoffset" : 5115, - "key.offset" : 5105, - "key.parsed_declaration" : "public typealias OnFrameChanged = (FrameChanged) -> ()", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.FrameChanged) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV12FrameChangedVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV14OnFrameChangeda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onFrameChanged(_ callback: @escaping OnFrameChanged<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 5258 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5251 - } - ], - "key.bodylength" : 50, - "key.bodyoffset" : 5331, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view's frame is changed.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view's frame is changed.", - "key.doc.declaration" : "public mutating func onFrameChanged(_ callback: @escaping OnFrameChanged)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onFrameChanged(_:)<\/Name>s:10ListableUI17ListStateObserverV14onFrameChangedyyyAC0gH0VcF<\/USR>public mutating func onFrameChanged(_ callback: @escaping OnFrameChanged)<\/Declaration>Registers a callback which will be called when the list view’s frame is changed.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 156, - "key.doc.name" : "onFrameChanged(_:)", - "key.doc.type" : "Function", - "key.doclength" : 85, - "key.docoffset" : 5162, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onFrameChanged<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnFrameChanged<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 115, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "onFrameChanged(_:)", - "key.namelength" : 53, - "key.nameoffset" : 5272, - "key.offset" : 5267, - "key.parsed_declaration" : "public mutating func onFrameChanged(_ callback : @escaping OnFrameChanged)", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 156, - "key.related_decls" : [ - { - "key.annotated_decl" : "onFrameChanged<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.FrameChanged) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV12FrameChangedVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV14onFrameChangedyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onFrameChanged: [OnFrameChanged<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 5392 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onFrameChanged<\/decl.name>: [OnFrameChanged<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "onFrameChanged", - "key.namelength" : 14, - "key.nameoffset" : 5409, - "key.offset" : 5405, - "key.parsed_declaration" : "private(set) var onFrameChanged : [OnFrameChanged] = []", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 161, - "key.related_decls" : [ - { - "key.annotated_decl" : "onFrameChanged(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.FrameChanged) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV12FrameChangedVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV14onFrameChangedSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 37, - "key.name" : "MARK: Responding To Selection Changes", - "key.offset" : 5467 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnSelectionChanged = (SelectionChanged<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5521 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnSelectionChanged<\/decl.name> = (SelectionChanged<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 55, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "OnSelectionChanged", - "key.namelength" : 18, - "key.nameoffset" : 5538, - "key.offset" : 5528, - "key.parsed_declaration" : "public typealias OnSelectionChanged = (SelectionChanged) -> ()", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.SelectionChanged) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV16SelectionChangedVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV18OnSelectionChangeda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onSelectionChanged(_ callback: @escaping OnSelectionChanged<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 5711 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5704 - } - ], - "key.bodylength" : 54, - "key.bodyoffset" : 5792, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when the list view's selected items are changed by the user.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when the list view's selected items are changed by the user.", - "key.doc.declaration" : "public mutating func onSelectionChanged(_ callback: @escaping OnSelectionChanged)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onSelectionChanged(_:)<\/Name>s:10ListableUI17ListStateObserverV18onSelectionChangedyyyAC0gH0VcF<\/USR>public mutating func onSelectionChanged(_ callback: @escaping OnSelectionChanged)<\/Declaration>Registers a callback which will be called when the list view’s selected items are changed by the user.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 170, - "key.doc.name" : "onSelectionChanged(_:)", - "key.doc.type" : "Function", - "key.doclength" : 107, - "key.docoffset" : 5593, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onSelectionChanged<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnSelectionChanged<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 127, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "onSelectionChanged(_:)", - "key.namelength" : 61, - "key.nameoffset" : 5725, - "key.offset" : 5720, - "key.parsed_declaration" : "public mutating func onSelectionChanged(_ callback : @escaping OnSelectionChanged)", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 170, - "key.related_decls" : [ - { - "key.annotated_decl" : "onSelectionChanged<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.SelectionChanged) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV16SelectionChangedVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV18onSelectionChangedyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onSelectionChanged: [OnSelectionChanged<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 5857 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onSelectionChanged<\/decl.name>: [OnSelectionChanged<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "onSelectionChanged", - "key.namelength" : 18, - "key.nameoffset" : 5874, - "key.offset" : 5870, - "key.parsed_declaration" : "private(set) var onSelectionChanged : [OnSelectionChanged] = []", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 175, - "key.related_decls" : [ - { - "key.annotated_decl" : "onSelectionChanged(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.SelectionChanged) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV16SelectionChangedVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV18onSelectionChangedSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 35, - "key.name" : "MARK: Responding To Reordered Items", - "key.offset" : 5940 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListStateObserver<\/Type>.OnItemReordered = (ItemReordered<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5992 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.OnItemReordered<\/decl.name> = (ItemReordered<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 49, - "key.line" : 181, - "key.modulename" : "ListableUI", - "key.name" : "OnItemReordered", - "key.namelength" : 15, - "key.nameoffset" : 6009, - "key.offset" : 5999, - "key.parsed_declaration" : "public typealias OnItemReordered = (ItemReordered) -> ()", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 181, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.ItemReordered) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV13ItemReorderedVcmD", - "key.usr" : "s:10ListableUI17ListStateObserverV15OnItemReordereda" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func onItemReordered(_ callback: @escaping OnItemReordered<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 6270 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6263 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 6345, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Registers a callback which will be called when an item in the list view is reordered by the customer.\nMay be called multiple times in a row for reorder events which contain multiple items.", - "key.doc.column" : 26, - "key.doc.comment" : "Registers a callback which will be called when an item in the list view is reordered by the customer.\nMay be called multiple times in a row for reorder events which contain multiple items.", - "key.doc.declaration" : "public mutating func onItemReordered(_ callback: @escaping OnItemReordered)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "onItemReordered(_:)<\/Name>s:10ListableUI17ListStateObserverV15onItemReorderedyyyAC0gH0VcF<\/USR>public mutating func onItemReordered(_ callback: @escaping OnItemReordered)<\/Declaration>Registers a callback which will be called when an item in the list view is reordered by the customer. May be called multiple times in a row for reorder events which contain multiple items.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 185, - "key.doc.name" : "onItemReordered(_:)", - "key.doc.type" : "Function", - "key.doclength" : 201, - "key.docoffset" : 6058, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> onItemReordered<\/decl.name>(_<\/decl.var.parameter.argument_label> callback<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnItemReordered<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 118, - "key.line" : 185, - "key.modulename" : "ListableUI", - "key.name" : "onItemReordered(_:)", - "key.namelength" : 55, - "key.nameoffset" : 6284, - "key.offset" : 6279, - "key.parsed_declaration" : "public mutating func onItemReordered(_ callback : @escaping OnItemReordered)", - "key.parsed_scope.end" : 188, - "key.parsed_scope.start" : 185, - "key.related_decls" : [ - { - "key.annotated_decl" : "onItemReordered<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout ListStateObserver) -> (@escaping (ListStateObserver.ItemReordered) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI17ListStateObserverV13ItemReorderedVccD", - "key.usr" : "s:10ListableUI17ListStateObserverV15onItemReorderedyyyAC0gH0VcF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var onItemReordered: [OnItemReordered<\/Type>] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 6407 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> onItemReordered<\/decl.name>: [OnItemReordered<\/ref.typealias>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 190, - "key.modulename" : "ListableUI", - "key.name" : "onItemReordered", - "key.namelength" : 15, - "key.nameoffset" : 6424, - "key.offset" : 6420, - "key.parsed_declaration" : "private(set) var onItemReordered : [OnItemReordered] = []", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 190, - "key.related_decls" : [ - { - "key.annotated_decl" : "onItemReordered(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[(ListStateObserver.ItemReordered) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV13ItemReorderedVcGD", - "key.usr" : "s:10ListableUI17ListStateObserverV15onItemReorderedSayyAC0gH0VcGvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Internal Methods", - "key.offset" : 6484 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func perform<CallbackInfo>(_ callbacks: Array<\/Type><(CallbackInfo<\/Type>) -> ()>, _ loggingName: StaticString<\/Type>, with listView: ListView<\/Type>, makeInfo: (ListActions<\/Type>) -> (CallbackInfo<\/Type>))<\/Declaration>", - "key.bodylength" : 439, - "key.bodyoffset" : 6730, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> perform<\/decl.name><CallbackInfo<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> callbacks<\/decl.var.parameter.name>: Array<\/ref.struct><(CallbackInfo<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype>><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> loggingName<\/decl.var.parameter.name>: StaticString<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> listView<\/decl.var.parameter.name>: ListView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, makeInfo<\/decl.var.parameter.argument_label>: (ListActions<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> (CallbackInfo<\/ref.generic_type_param><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 647, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "perform(_:_:with:makeInfo:)", - "key.namelength" : 194, - "key.nameoffset" : 6535, - "key.offset" : 6523, - "key.parsed_declaration" : "static func perform(\n _ callbacks : Array<(CallbackInfo) -> ()>,\n _ loggingName : StaticString,\n with listView : ListView, makeInfo : (ListActions) -> (CallbackInfo)\n)", - "key.parsed_scope.end" : 217, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "CallbackInfo<\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "CallbackInfo<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 12, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "CallbackInfo", - "key.namelength" : 12, - "key.nameoffset" : 6543, - "key.offset" : 6543, - "key.parsed_declaration" : "static func performlet actions: ListActions<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 6829, - "key.offset" : 6825, - "key.parsed_declaration" : "let actions = ListActions()", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV7perform__4with8makeInfoySayyxcG_s12StaticStringVAA0C4ViewCxAA0C7ActionsCXEtlFZ7actionsL_AMvp" - }, - { - "key.annotated_decl" : "let callbackInfo: CallbackInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> callbackInfo<\/decl.name>: CallbackInfo<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 36, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "callbackInfo", - "key.namelength" : 12, - "key.nameoffset" : 6910, - "key.offset" : 6906, - "key.parsed_declaration" : "let callbackInfo = makeInfo(actions)", - "key.parsed_scope.end" : 208, - "key.parsed_scope.start" : 208, - "key.reusingastcontext" : false, - "key.typename" : "CallbackInfo", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI17ListStateObserverV7perform__4with8makeInfoySayyxcG_s12StaticStringVAA0C4ViewCxAA0C7ActionsCXEtlFZ08callbackI0L_xvp" - } - ], - "key.typename" : " (ListStateObserver.Type) -> (Array<(CallbackInfo) -> ()>, StaticString, ListView, (ListActions) -> CallbackInfo) -> ()", - "key.typeusr" : "$s__4with8makeInfoySayyxcG_s12StaticStringV10ListableUI8ListViewCxAF0H7ActionsCXEtcluD", - "key.usr" : "s:10ListableUI17ListStateObserverV7perform__4with8makeInfoySayyxcG_s12StaticStringVAA0C4ViewCxAA0C7ActionsCXEtlFZ" - } - ], - "key.typename" : "ListStateObserver.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV" - }, - { - "key.annotated_decl" : "public struct ListStateObserver<\/Declaration>", - "key.bodylength" : 5496, - "key.bodyoffset" : 7204, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows reading state and events based on state changes within the list view.\nFor example, you can determine when a user scrolls, when the content of a list\nchanges, etc.\n\nThis is useful if you want to log these events to a logging or debugging system,\nor potentially perform actions on the list based on some change.\n\nEvery callback has its own data type, filled with information relevant to that callback.\nEvery callback also contains a `ListActions` to perform actions back on the list.\n\nYou can register for each callback type multiple times – eg to split apart different pieces of\nfunctionality. Eg, two calls to `onDidScroll` registers two callbacks.\n\n### Example\n```\nListStateObserver { observer in\n observer.onDidScroll { info in\n \/\/ Called whenever the list is scrolled.\n }\n\n observer.onContentChanged { info in\n \/\/ Called when items are inserted or removed.\n }\n}\n```\n\n### Note\nThe duration of performing all callbacks is logged to `os_signpost`. If you find that\nyour application is running slowly, and you have registered `ListStateObserver` callbacks,\nuse Instruments.app to see what callback is slow.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ListStateObserver", - "key.doc.discussion" : [ - { - "Para" : "This is useful if you want to log these events to a logging or debugging system, or potentially perform actions on the list based on some change." - }, - { - "Para" : "Every callback has its own data type, filled with information relevant to that callback. Every callback also contains a `ListActions` to perform actions back on the list." - }, - { - "Para" : "You can register for each callback type multiple times – eg to split apart different pieces of functionality. Eg, two calls to `onDidScroll` registers two callbacks." - }, - { - "CodeListing" : "" - }, - { - "Para" : "The duration of performing all callbacks is logged to `os_signpost`. If you find that your application is running slowly, and you have registered `ListStateObserver` callbacks, use Instruments.app to see what callback is slow." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "ListStateObserver<\/Name>s:10ListableUI17ListStateObserverV<\/USR>public struct ListStateObserver<\/Declaration>Allows reading state and events based on state changes within the list view. For example, you can determine when a user scrolls, when the content of a list changes, etc.<\/Para><\/Abstract>This is useful if you want to log these events to a logging or debugging system, or potentially perform actions on the list based on some change.<\/Para>Every callback has its own data type, filled with information relevant to that callback. Every callback also contains a ListActions<\/codeVoice> to perform actions back on the list.<\/Para>You can register for each callback type multiple times – eg to split apart different pieces of functionality. Eg, two calls to onDidScroll<\/codeVoice> registers two callbacks.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>The duration of performing all callbacks is logged to os_signpost<\/codeVoice>. If you find that your application is running slowly, and you have registered ListStateObserver<\/codeVoice> callbacks, use Instruments.app to see what callback is slow.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "ListStateObserver", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListStateObserver<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 5526, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "ListStateObserver", - "key.namelength" : 17, - "key.nameoffset" : 7185, - "key.offset" : 7175, - "key.parsed_declaration" : "extension ListStateObserver", - "key.parsed_scope.end" : 369, - "key.parsed_scope.start" : 221, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct DidScroll<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7269 - } - ], - "key.bodylength" : 103, - "key.bodyoffset" : 7294, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnDidScroll`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnDidScroll`` callbacks.", - "key.doc.declaration" : "public struct DidScroll", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "DidScroll<\/Name>s:10ListableUI17ListStateObserverV9DidScrollV<\/USR>public struct DidScroll<\/Declaration>Parameters available for OnDidScroll<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 224, - "key.doc.name" : "DidScroll", - "key.doc.type" : "Class", - "key.doclength" : 56, - "key.docoffset" : 7209, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> DidScroll<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 122, - "key.line" : 224, - "key.modulename" : "ListableUI", - "key.name" : "DidScroll", - "key.namelength" : 9, - "key.nameoffset" : 7283, - "key.offset" : 7276, - "key.parsed_declaration" : "public struct DidScroll", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 224, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7303 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 225, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 7314, - "key.offset" : 7310, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 225, - "key.parsed_scope.start" : 225, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV9DidScrollV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7344 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 226, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 7355, - "key.offset" : 7351, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 226, - "key.parsed_scope.start" : 226, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV9DidScrollV12positionInfoAA0cg8PositionI0Vvp" - } - ], - "key.typename" : "ListStateObserver.DidScroll.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV9DidScrollVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV9DidScrollV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct DidEndDeceleration<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7477 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 7511, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnDidEndDeceleration`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnDidEndDeceleration`` callbacks.", - "key.doc.declaration" : "public struct DidEndDeceleration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "DidEndDeceleration<\/Name>s:10ListableUI17ListStateObserverV18DidEndDecelerationV<\/USR>public struct DidEndDeceleration<\/Declaration>Parameters available for OnDidEndDeceleration<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 230, - "key.doc.name" : "DidEndDeceleration", - "key.doc.type" : "Class", - "key.doclength" : 65, - "key.docoffset" : 7408, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> DidEndDeceleration<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 90, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "DidEndDeceleration", - "key.namelength" : 18, - "key.nameoffset" : 7491, - "key.offset" : 7484, - "key.parsed_declaration" : "public struct DidEndDeceleration", - "key.parsed_scope.end" : 232, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7520 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 231, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 7531, - "key.offset" : 7527, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 231, - "key.parsed_scope.start" : 231, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV18DidEndDecelerationV12positionInfoAA0c14ScrollPositionJ0Vvp" - } - ], - "key.typename" : "ListStateObserver.DidEndDeceleration.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV18DidEndDecelerationVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV18DidEndDecelerationV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct DidEndScrollingAnimation<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7655 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 7695, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnDidEndScrollingAnimation`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnDidEndScrollingAnimation`` callbacks.", - "key.doc.declaration" : "public struct DidEndScrollingAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "DidEndScrollingAnimation<\/Name>s:10ListableUI17ListStateObserverV24DidEndScrollingAnimationV<\/USR>public struct DidEndScrollingAnimation<\/Declaration>Parameters available for OnDidEndScrollingAnimation<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 235, - "key.doc.name" : "DidEndScrollingAnimation", - "key.doc.type" : "Class", - "key.doclength" : 71, - "key.docoffset" : 7580, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> DidEndScrollingAnimation<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 96, - "key.line" : 235, - "key.modulename" : "ListableUI", - "key.name" : "DidEndScrollingAnimation", - "key.namelength" : 24, - "key.nameoffset" : 7669, - "key.offset" : 7662, - "key.parsed_declaration" : "public struct DidEndScrollingAnimation", - "key.parsed_scope.end" : 237, - "key.parsed_scope.start" : 235, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7704 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 236, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 7715, - "key.offset" : 7711, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 236, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV24DidEndScrollingAnimationV12positionInfoAA0c14ScrollPositionK0Vvp" - } - ], - "key.typename" : "ListStateObserver.DidEndScrollingAnimation.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV24DidEndScrollingAnimationVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV24DidEndScrollingAnimationV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct BeginDrag<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7824 - } - ], - "key.bodylength" : 62, - "key.bodyoffset" : 7849, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnBeginDrag`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnBeginDrag`` callbacks.", - "key.doc.declaration" : "public struct BeginDrag", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "BeginDrag<\/Name>s:10ListableUI17ListStateObserverV9BeginDragV<\/USR>public struct BeginDrag<\/Declaration>Parameters available for OnBeginDrag<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 240, - "key.doc.name" : "BeginDrag", - "key.doc.type" : "Class", - "key.doclength" : 56, - "key.docoffset" : 7764, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> BeginDrag<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 81, - "key.line" : 240, - "key.modulename" : "ListableUI", - "key.name" : "BeginDrag", - "key.namelength" : 9, - "key.nameoffset" : 7838, - "key.offset" : 7831, - "key.parsed_declaration" : "public struct BeginDrag", - "key.parsed_scope.end" : 242, - "key.parsed_scope.start" : 240, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7858 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 241, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 7869, - "key.offset" : 7865, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 241, - "key.parsed_scope.start" : 241, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV9BeginDragV12positionInfoAA0c14ScrollPositionI0Vvp" - } - ], - "key.typename" : "ListStateObserver.BeginDrag.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV9BeginDragVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV9BeginDragV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ContentUpdated<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7987 - } - ], - "key.bodylength" : 2134, - "key.bodyoffset" : 8017, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnContentUpdated`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnContentUpdated`` callbacks.", - "key.doc.declaration" : "public struct ContentUpdated", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "ContentUpdated<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV<\/USR>public struct ContentUpdated<\/Declaration>Parameters available for OnContentUpdated<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 245, - "key.doc.name" : "ContentUpdated", - "key.doc.type" : "Class", - "key.doclength" : 61, - "key.docoffset" : 7922, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ContentUpdated<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2158, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "ContentUpdated", - "key.namelength" : 14, - "key.nameoffset" : 8001, - "key.offset" : 7994, - "key.parsed_declaration" : "public struct ContentUpdated", - "key.parsed_scope.end" : 297, - "key.parsed_scope.start" : 245, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let hadChanges: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8105 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> hadChanges<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 248, - "key.modulename" : "ListableUI", - "key.name" : "hadChanges", - "key.namelength" : 10, - "key.nameoffset" : 8116, - "key.offset" : 8112, - "key.parsed_declaration" : "public let hadChanges : Bool", - "key.parsed_scope.end" : 248, - "key.parsed_scope.start" : 248, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV10hadChangesSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let insertionsAndRemovals: InsertionsAndRemovals<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8215 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The insertions and removals in this change, if any.", - "key.doc.column" : 20, - "key.doc.comment" : "The insertions and removals in this change, if any.", - "key.doc.declaration" : "public let insertionsAndRemovals: InsertionsAndRemovals", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "insertionsAndRemovals<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21insertionsAndRemovalsAE010InsertionsiJ0Vvp<\/USR>public let insertionsAndRemovals: InsertionsAndRemovals<\/Declaration>The insertions and removals in this change, if any.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 251, - "key.doc.name" : "insertionsAndRemovals", - "key.doc.type" : "Other", - "key.doclength" : 56, - "key.docoffset" : 8151, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> insertionsAndRemovals<\/decl.name>: InsertionsAndRemovals<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "insertionsAndRemovals", - "key.namelength" : 21, - "key.nameoffset" : 8226, - "key.offset" : 8222, - "key.parsed_declaration" : "public let insertionsAndRemovals : InsertionsAndRemovals", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 251, - "key.reusingastcontext" : false, - "key.typename" : "ListStateObserver.ContentUpdated.InsertionsAndRemovals", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsVD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21insertionsAndRemovalsAE010InsertionsiJ0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8391 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.column" : 20, - "key.doc.comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.declaration" : "public let actions: ListActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV7actionsAA0C7ActionsCvp<\/USR>public let actions: ListActions<\/Declaration>A set of methods you can use to perform actions on the list, eg scrolling to a given row.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 254, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 8289, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 254, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 8402, - "key.offset" : 8398, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 254, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8494 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current scroll position of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The current scroll position of the list.", - "key.doc.declaration" : "public let positionInfo: ListScrollPositionInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "positionInfo<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV12positionInfoAA0c14ScrollPositionI0Vvp<\/USR>public let positionInfo: ListScrollPositionInfo<\/Declaration>The current scroll position of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 257, - "key.doc.name" : "positionInfo", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 8441, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 257, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 8505, - "key.offset" : 8501, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 257, - "key.parsed_scope.start" : 257, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV12positionInfoAA0c14ScrollPositionI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListStateObserver<\/Type>.ContentUpdated<\/Type>.InsertionsAndRemovals<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9025 - } - ], - "key.bodylength" : 1083, - "key.bodyoffset" : 9062, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The insertions and removals, for both sections and items, applied to a list\nas the result of an update.\n\nNote that if developers do not provide unique IDs across sections,\nIDs will overlap for items across sections. Because `ChangedIDs`\ncontains a `Set`, two sections inserting (or removing) an item with an equal ID\nwill only be included in `ChangedIDs.inserted\/removed` set once.", - "key.doc.column" : 23, - "key.doc.comment" : "The insertions and removals, for both sections and items, applied to a list\nas the result of an update.\n\nNote that if developers do not provide unique IDs across sections,\nIDs will overlap for items across sections. Because `ChangedIDs`\ncontains a `Set`, two sections inserting (or removing) an item with an equal ID\nwill only be included in `ChangedIDs.inserted\/removed` set once.", - "key.doc.declaration" : "public struct ListableUI.ListStateObserver.ContentUpdated.InsertionsAndRemovals", - "key.doc.discussion" : [ - { - "Para" : "Note that if developers do not provide unique IDs across sections, IDs will overlap for items across sections. Because `ChangedIDs` contains a `Set`, two sections inserting (or removing) an item with an equal ID will only be included in `ChangedIDs.inserted\/removed` set once." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "InsertionsAndRemovals<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV<\/USR>public struct ListableUI.ListStateObserver.ContentUpdated.InsertionsAndRemovals<\/Declaration>The insertions and removals, for both sections and items, applied to a list as the result of an update.<\/Para><\/Abstract>Note that if developers do not provide unique IDs across sections, IDs will overlap for items across sections. Because ChangedIDs<\/codeVoice> contains a Set<\/codeVoice>, two sections inserting (or removing) an item with an equal ID will only be included in ChangedIDs.inserted\/removed<\/codeVoice> set once.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 266, - "key.doc.name" : "InsertionsAndRemovals", - "key.doc.type" : "Class", - "key.doclength" : 457, - "key.docoffset" : 8560, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.ContentUpdated<\/ref.struct>.InsertionsAndRemovals<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1114, - "key.line" : 266, - "key.modulename" : "ListableUI", - "key.name" : "InsertionsAndRemovals", - "key.namelength" : 21, - "key.nameoffset" : 9039, - "key.offset" : 9032, - "key.parsed_declaration" : "public struct InsertionsAndRemovals", - "key.parsed_scope.end" : 296, - "key.parsed_scope.start" : 266, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sections: ChangedIDs<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9127 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The inserted and removed sections.", - "key.doc.column" : 24, - "key.doc.comment" : "The inserted and removed sections.", - "key.doc.declaration" : "public var sections: ChangedIDs", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "sections<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV8sectionsAG10ChangedIDsVvp<\/USR>public var sections: ChangedIDs<\/Declaration>The inserted and removed sections.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 269, - "key.doc.name" : "sections", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 9076, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sections<\/decl.name>: ChangedIDs<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 9138, - "key.offset" : 9134, - "key.parsed_declaration" : "public var sections : ChangedIDs", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListStateObserver.ContentUpdated.InsertionsAndRemovals.ChangedIDs", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsVD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV8sectionsAG10ChangedIDsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var items: ChangedIDs<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9233 - } - ], - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The inserted and removed items.", - "key.doc.column" : 24, - "key.doc.comment" : "The inserted and removed items.", - "key.doc.declaration" : "public var items: ChangedIDs", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "items<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV5itemsAG10ChangedIDsVvp<\/USR>public var items: ChangedIDs<\/Declaration>The inserted and removed items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 272, - "key.doc.name" : "items", - "key.doc.type" : "Other", - "key.doclength" : 36, - "key.docoffset" : 9185, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> items<\/decl.name>: ChangedIDs<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 9244, - "key.offset" : 9240, - "key.parsed_declaration" : "public var items : ChangedIDs", - "key.parsed_scope.end" : 272, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListStateObserver.ContentUpdated.InsertionsAndRemovals.ChangedIDs", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsVD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV5itemsAG10ChangedIDsVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(diff: SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>)<\/Declaration>", - "key.bodylength" : 450, - "key.bodyoffset" : 9364, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(diff<\/decl.var.parameter.argument_label>: SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 527, - "key.line" : 274, - "key.modulename" : "ListableUI", - "key.name" : "init(diff:)", - "key.namelength" : 74, - "key.nameoffset" : 9288, - "key.offset" : 9288, - "key.parsed_declaration" : "init(diff : SectionedDiff)", - "key.parsed_scope.end" : 285, - "key.parsed_scope.start" : 274, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListStateObserver.ContentUpdated.InsertionsAndRemovals.Type) -> (SectionedDiff) -> ListStateObserver.ContentUpdated.InsertionsAndRemovals", - "key.typeusr" : "$s4diff10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsVAB13SectionedDiffVyAB7SectionVAB13AnyIdentifierCAB0O4Item_pANG_tcD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV4diffAgA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA0O4Item_pANG_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListStateObserver<\/Type>.ContentUpdated<\/Type>.InsertionsAndRemovals<\/Type>.ChangedIDs<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9874 - } - ], - "key.bodylength" : 235, - "key.bodyoffset" : 9900, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The changed IDs.", - "key.doc.column" : 27, - "key.doc.comment" : "The changed IDs.", - "key.doc.declaration" : "public struct ListableUI.ListStateObserver.ContentUpdated.InsertionsAndRemovals.ChangedIDs", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "ChangedIDs<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV<\/USR>public struct ListableUI.ListStateObserver.ContentUpdated.InsertionsAndRemovals.ChangedIDs<\/Declaration>The changed IDs.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 288, - "key.doc.name" : "ChangedIDs", - "key.doc.type" : "Class", - "key.doclength" : 21, - "key.docoffset" : 9841, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListStateObserver<\/ref.struct>.ContentUpdated<\/ref.struct>.InsertionsAndRemovals<\/ref.struct>.ChangedIDs<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 255, - "key.line" : 288, - "key.modulename" : "ListableUI", - "key.name" : "ChangedIDs", - "key.namelength" : 10, - "key.nameoffset" : 9888, - "key.offset" : 9881, - "key.parsed_declaration" : "public struct ChangedIDs", - "key.parsed_scope.end" : 295, - "key.parsed_scope.start" : 288, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var inserted: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9972 - } - ], - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The inserted IDs.", - "key.doc.column" : 28, - "key.doc.comment" : "The inserted IDs.", - "key.doc.declaration" : "public var inserted: Set", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "inserted<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV8insertedShyAA13AnyIdentifierCGvp<\/USR>public var inserted: Set<AnyIdentifier><\/Declaration>The inserted IDs.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 291, - "key.doc.name" : "inserted", - "key.doc.type" : "Other", - "key.doclength" : 22, - "key.docoffset" : 9934, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> inserted<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 291, - "key.modulename" : "ListableUI", - "key.name" : "inserted", - "key.namelength" : 8, - "key.nameoffset" : 9983, - "key.offset" : 9979, - "key.parsed_declaration" : "public var inserted : Set", - "key.parsed_scope.end" : 291, - "key.parsed_scope.start" : 291, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV8insertedShyAA13AnyIdentifierCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var removed: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10083 - } - ], - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The removed IDs.", - "key.doc.column" : 28, - "key.doc.comment" : "The removed IDs.", - "key.doc.declaration" : "public var removed: Set", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "removed<\/Name>s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV7removedShyAA13AnyIdentifierCGvp<\/USR>public var removed: Set<AnyIdentifier><\/Declaration>The removed IDs.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 294, - "key.doc.name" : "removed", - "key.doc.type" : "Other", - "key.doclength" : 21, - "key.docoffset" : 10046, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> removed<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 294, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 10094, - "key.offset" : 10090, - "key.parsed_declaration" : "public var removed : Set", - "key.parsed_scope.end" : 294, - "key.parsed_scope.start" : 294, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV7removedShyAA13AnyIdentifierCGvp" - } - ], - "key.typename" : "ListStateObserver.ContentUpdated.InsertionsAndRemovals.ChangedIDs.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV10ChangedIDsV" - } - ], - "key.typename" : "ListStateObserver.ContentUpdated.InsertionsAndRemovals.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV21InsertionsAndRemovalsV" - } - ], - "key.typename" : "ListStateObserver.ContentUpdated.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV14ContentUpdatedVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV14ContentUpdatedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct VisibilityChanged<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10235 - } - ], - "key.bodylength" : 551, - "key.bodyoffset" : 10268, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnVisibilityChanged`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnVisibilityChanged`` callbacks.", - "key.doc.declaration" : "public struct VisibilityChanged", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "VisibilityChanged<\/Name>s:10ListableUI17ListStateObserverV17VisibilityChangedV<\/USR>public struct VisibilityChanged<\/Declaration>Parameters available for OnVisibilityChanged<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 301, - "key.doc.name" : "VisibilityChanged", - "key.doc.type" : "Class", - "key.doclength" : 64, - "key.docoffset" : 10167, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> VisibilityChanged<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 578, - "key.line" : 301, - "key.modulename" : "ListableUI", - "key.name" : "VisibilityChanged", - "key.namelength" : 17, - "key.nameoffset" : 10249, - "key.offset" : 10242, - "key.parsed_declaration" : "public struct VisibilityChanged", - "key.parsed_scope.end" : 314, - "key.parsed_scope.start" : 301, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10388 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.column" : 20, - "key.doc.comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.declaration" : "public let actions: ListActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI17ListStateObserverV17VisibilityChangedV7actionsAA0C7ActionsCvp<\/USR>public let actions: ListActions<\/Declaration>A set of methods you can use to perform actions on the list, eg scrolling to a given row.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 304, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 10286, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 10399, - "key.offset" : 10395, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 304, - "key.parsed_scope.start" : 304, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV17VisibilityChangedV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10491 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current scroll position of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The current scroll position of the list.", - "key.doc.declaration" : "public let positionInfo: ListScrollPositionInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "positionInfo<\/Name>s:10ListableUI17ListStateObserverV17VisibilityChangedV12positionInfoAA0c14ScrollPositionI0Vvp<\/USR>public let positionInfo: ListScrollPositionInfo<\/Declaration>The current scroll position of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 307, - "key.doc.name" : "positionInfo", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 10438, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 307, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 10502, - "key.offset" : 10498, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 307, - "key.parsed_scope.start" : 307, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV17VisibilityChangedV12positionInfoAA0c14ScrollPositionI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let displayed: [AnyItem<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10638 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items which were scrolled into view or otherwise became visible.", - "key.doc.column" : 20, - "key.doc.comment" : "The items which were scrolled into view or otherwise became visible.", - "key.doc.declaration" : "public let displayed: [AnyItem]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "displayed<\/Name>s:10ListableUI17ListStateObserverV17VisibilityChangedV9displayedSayAA7AnyItem_pGvp<\/USR>public let displayed: [AnyItem]<\/Declaration>The items which were scrolled into view or otherwise became visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 310, - "key.doc.name" : "displayed", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 10557, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> displayed<\/decl.name>: [AnyItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 310, - "key.modulename" : "ListableUI", - "key.name" : "displayed", - "key.namelength" : 9, - "key.nameoffset" : 10649, - "key.offset" : 10645, - "key.parsed_declaration" : "public let displayed : [AnyItem]", - "key.parsed_scope.end" : 310, - "key.parsed_scope.start" : 310, - "key.reusingastcontext" : false, - "key.typename" : "[any AnyItem]", - "key.typeusr" : "$sSay10ListableUI7AnyItem_pGD", - "key.usr" : "s:10ListableUI17ListStateObserverV17VisibilityChangedV9displayedSayAA7AnyItem_pGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let endedDisplay: [AnyItem<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10779 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items which were scrolled out of view or otherwise were removed from view.", - "key.doc.column" : 20, - "key.doc.comment" : "The items which were scrolled out of view or otherwise were removed from view.", - "key.doc.declaration" : "public let endedDisplay: [AnyItem]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "endedDisplay<\/Name>s:10ListableUI17ListStateObserverV17VisibilityChangedV12endedDisplaySayAA7AnyItem_pGvp<\/USR>public let endedDisplay: [AnyItem]<\/Declaration>The items which were scrolled out of view or otherwise were removed from view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 313, - "key.doc.name" : "endedDisplay", - "key.doc.type" : "Other", - "key.doclength" : 83, - "key.docoffset" : 10688, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> endedDisplay<\/decl.name>: [AnyItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 313, - "key.modulename" : "ListableUI", - "key.name" : "endedDisplay", - "key.namelength" : 12, - "key.nameoffset" : 10790, - "key.offset" : 10786, - "key.parsed_declaration" : "public let endedDisplay : [AnyItem]", - "key.parsed_scope.end" : 313, - "key.parsed_scope.start" : 313, - "key.reusingastcontext" : false, - "key.typename" : "[any AnyItem]", - "key.typeusr" : "$sSay10ListableUI7AnyItem_pGD", - "key.usr" : "s:10ListableUI17ListStateObserverV17VisibilityChangedV12endedDisplaySayAA7AnyItem_pGvp" - } - ], - "key.typename" : "ListStateObserver.VisibilityChanged.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV17VisibilityChangedVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV17VisibilityChangedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct FrameChanged<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10898 - } - ], - "key.bodylength" : 464, - "key.bodyoffset" : 10926, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnFrameChanged`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnFrameChanged`` callbacks.", - "key.doc.declaration" : "public struct FrameChanged", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "FrameChanged<\/Name>s:10ListableUI17ListStateObserverV12FrameChangedV<\/USR>public struct FrameChanged<\/Declaration>Parameters available for OnFrameChanged<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 318, - "key.doc.name" : "FrameChanged", - "key.doc.type" : "Class", - "key.doclength" : 59, - "key.docoffset" : 10835, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> FrameChanged<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 486, - "key.line" : 318, - "key.modulename" : "ListableUI", - "key.name" : "FrameChanged", - "key.namelength" : 12, - "key.nameoffset" : 10912, - "key.offset" : 10905, - "key.parsed_declaration" : "public struct FrameChanged", - "key.parsed_scope.end" : 331, - "key.parsed_scope.start" : 318, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11046 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.column" : 20, - "key.doc.comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.declaration" : "public let actions: ListActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI17ListStateObserverV12FrameChangedV7actionsAA0C7ActionsCvp<\/USR>public let actions: ListActions<\/Declaration>A set of methods you can use to perform actions on the list, eg scrolling to a given row.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 321, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 10944, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 321, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 11057, - "key.offset" : 11053, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 321, - "key.parsed_scope.start" : 321, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV12FrameChangedV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11149 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current scroll position of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The current scroll position of the list.", - "key.doc.declaration" : "public let positionInfo: ListScrollPositionInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "positionInfo<\/Name>s:10ListableUI17ListStateObserverV12FrameChangedV12positionInfoAA0c14ScrollPositionI0Vvp<\/USR>public let positionInfo: ListScrollPositionInfo<\/Declaration>The current scroll position of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 324, - "key.doc.name" : "positionInfo", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 11096, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 324, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 11160, - "key.offset" : 11156, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV12FrameChangedV12positionInfoAA0c14ScrollPositionI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let old: CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11264 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The old frame within the bounds of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The old frame within the bounds of the list.", - "key.doc.declaration" : "public let old: CGRect", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "old<\/Name>s:10ListableUI17ListStateObserverV12FrameChangedV3oldSo6CGRectVvp<\/USR>public let old: CGRect<\/Declaration>The old frame within the bounds of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 327, - "key.doc.name" : "old", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 11207, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> old<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 16, - "key.line" : 327, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 11275, - "key.offset" : 11271, - "key.parsed_declaration" : "public let old : CGRect", - "key.parsed_scope.end" : 327, - "key.parsed_scope.start" : 327, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListStateObserverV12FrameChangedV3oldSo6CGRectVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let new: CGRect<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11362 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The new frame within the bounds of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The new frame within the bounds of the list.", - "key.doc.declaration" : "public let new: CGRect", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "new<\/Name>s:10ListableUI17ListStateObserverV12FrameChangedV3newSo6CGRectVvp<\/USR>public let new: CGRect<\/Declaration>The new frame within the bounds of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 330, - "key.doc.name" : "new", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 11305, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> new<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 16, - "key.line" : 330, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 11373, - "key.offset" : 11369, - "key.parsed_declaration" : "public let new : CGRect", - "key.parsed_scope.end" : 330, - "key.parsed_scope.start" : 330, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI17ListStateObserverV12FrameChangedV3newSo6CGRectVvp" - } - ], - "key.typename" : "ListStateObserver.FrameChanged.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV12FrameChangedVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV12FrameChangedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SelectionChanged<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11473 - } - ], - "key.bodylength" : 481, - "key.bodyoffset" : 11505, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnSelectionChanged`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnSelectionChanged`` callbacks.", - "key.doc.declaration" : "public struct SelectionChanged", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "SelectionChanged<\/Name>s:10ListableUI17ListStateObserverV16SelectionChangedV<\/USR>public struct SelectionChanged<\/Declaration>Parameters available for OnSelectionChanged<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 335, - "key.doc.name" : "SelectionChanged", - "key.doc.type" : "Class", - "key.doclength" : 63, - "key.docoffset" : 11406, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SelectionChanged<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 507, - "key.line" : 335, - "key.modulename" : "ListableUI", - "key.name" : "SelectionChanged", - "key.namelength" : 16, - "key.nameoffset" : 11487, - "key.offset" : 11480, - "key.parsed_declaration" : "public struct SelectionChanged", - "key.parsed_scope.end" : 348, - "key.parsed_scope.start" : 335, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11625 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.column" : 20, - "key.doc.comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.declaration" : "public let actions: ListActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI17ListStateObserverV16SelectionChangedV7actionsAA0C7ActionsCvp<\/USR>public let actions: ListActions<\/Declaration>A set of methods you can use to perform actions on the list, eg scrolling to a given row.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 338, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 11523, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 338, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 11636, - "key.offset" : 11632, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 338, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV16SelectionChangedV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11728 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current scroll position of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The current scroll position of the list.", - "key.doc.declaration" : "public let positionInfo: ListScrollPositionInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "positionInfo<\/Name>s:10ListableUI17ListStateObserverV16SelectionChangedV12positionInfoAA0c14ScrollPositionI0Vvp<\/USR>public let positionInfo: ListScrollPositionInfo<\/Declaration>The current scroll position of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 341, - "key.doc.name" : "positionInfo", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 11675, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 341, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 11739, - "key.offset" : 11735, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 341, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV16SelectionChangedV12positionInfoAA0c14ScrollPositionI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let old: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11842 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The previously selected items' identifiers.", - "key.doc.column" : 20, - "key.doc.comment" : "The previously selected items' identifiers.", - "key.doc.declaration" : "public let old: Set", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "old<\/Name>s:10ListableUI17ListStateObserverV16SelectionChangedV3oldShyAA13AnyIdentifierCGvp<\/USR>public let old: Set<AnyIdentifier><\/Declaration>The previously selected items’ identifiers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 344, - "key.doc.name" : "old", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 11786, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> old<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 11853, - "key.offset" : 11849, - "key.parsed_declaration" : "public let old : Set", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI17ListStateObserverV16SelectionChangedV3oldShyAA13AnyIdentifierCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let new: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11946 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The newly selected items' identifiers.", - "key.doc.column" : 20, - "key.doc.comment" : "The newly selected items' identifiers.", - "key.doc.declaration" : "public let new: Set", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "new<\/Name>s:10ListableUI17ListStateObserverV16SelectionChangedV3newShyAA13AnyIdentifierCGvp<\/USR>public let new: Set<AnyIdentifier><\/Declaration>The newly selected items’ identifiers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 347, - "key.doc.name" : "new", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 11895, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> new<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 347, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 11957, - "key.offset" : 11953, - "key.parsed_declaration" : "public let new : Set", - "key.parsed_scope.end" : 347, - "key.parsed_scope.start" : 347, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI17ListStateObserverV16SelectionChangedV3newShyAA13AnyIdentifierCGvp" - } - ], - "key.typename" : "ListStateObserver.SelectionChanged.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV16SelectionChangedVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV16SelectionChangedV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemReordered<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12066 - } - ], - "key.bodylength" : 603, - "key.bodyoffset" : 12095, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Parameters available for ``OnItemReordered`` callbacks.", - "key.doc.column" : 19, - "key.doc.comment" : "Parameters available for ``OnItemReordered`` callbacks.", - "key.doc.declaration" : "public struct ItemReordered", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "ItemReordered<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV<\/USR>public struct ItemReordered<\/Declaration>Parameters available for OnItemReordered<\/codeVoice> callbacks.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 352, - "key.doc.name" : "ItemReordered", - "key.doc.type" : "Class", - "key.doclength" : 60, - "key.docoffset" : 12002, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemReordered<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 626, - "key.line" : 352, - "key.modulename" : "ListableUI", - "key.name" : "ItemReordered", - "key.namelength" : 13, - "key.nameoffset" : 12080, - "key.offset" : 12073, - "key.parsed_declaration" : "public struct ItemReordered", - "key.parsed_scope.end" : 368, - "key.parsed_scope.start" : 352, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let actions: ListActions<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12215 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.column" : 20, - "key.doc.comment" : "A set of methods you can use to perform actions on the list, eg scrolling to a given row.", - "key.doc.declaration" : "public let actions: ListActions", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV7actionsAA0C7ActionsCvp<\/USR>public let actions: ListActions<\/Declaration>A set of methods you can use to perform actions on the list, eg scrolling to a given row.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 355, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 94, - "key.docoffset" : 12113, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 355, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 12226, - "key.offset" : 12222, - "key.parsed_declaration" : "public let actions : ListActions", - "key.parsed_scope.end" : 355, - "key.parsed_scope.start" : 355, - "key.reusingastcontext" : false, - "key.typename" : "ListActions", - "key.typeusr" : "$s10ListableUI11ListActionsCD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV7actionsAA0C7ActionsCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12318 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current scroll position of the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The current scroll position of the list.", - "key.doc.declaration" : "public let positionInfo: ListScrollPositionInfo", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "positionInfo<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV12positionInfoAA0c14ScrollPositionI0Vvp<\/USR>public let positionInfo: ListScrollPositionInfo<\/Declaration>The current scroll position of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 358, - "key.doc.name" : "positionInfo", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 12265, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 358, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 12329, - "key.offset" : 12325, - "key.parsed_declaration" : "public let positionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 358, - "key.parsed_scope.start" : 358, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV12positionInfoAA0c14ScrollPositionI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let item: AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12442 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item which was reordered by the customer.", - "key.doc.column" : 20, - "key.doc.comment" : "The item which was reordered by the customer.", - "key.doc.declaration" : "public let item: AnyItem", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "item<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV4itemAA03AnyF0_pvp<\/USR>public let item: AnyItem<\/Declaration>The item which was reordered by the customer.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 361, - "key.doc.name" : "item", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 12384, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> item<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 361, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 12453, - "key.offset" : 12449, - "key.parsed_declaration" : "public let item : AnyItem", - "key.parsed_scope.end" : 361, - "key.parsed_scope.start" : 361, - "key.reusingastcontext" : false, - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV4itemAA03AnyF0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let sections: [Section<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12540 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The new state of all sections in the list.", - "key.doc.column" : 20, - "key.doc.comment" : "The new state of all sections in the list.", - "key.doc.declaration" : "public let sections: [Section]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "sections<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV8sectionsSayAA7SectionVGvp<\/USR>public let sections: [Section]<\/Declaration>The new state of all sections in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 364, - "key.doc.name" : "sections", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 12485, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> sections<\/decl.name>: [Section<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 364, - "key.modulename" : "ListableUI", - "key.name" : "sections", - "key.namelength" : 8, - "key.nameoffset" : 12551, - "key.offset" : 12547, - "key.parsed_declaration" : "public let sections : [Section]", - "key.parsed_scope.end" : 364, - "key.parsed_scope.start" : 364, - "key.reusingastcontext" : false, - "key.typename" : "[Section]", - "key.typeusr" : "$sSay10ListableUI7SectionVGD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV8sectionsSayAA7SectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let result: ItemReordering<\/Type>.Result<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12652 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The detailed information about the reorder event. ", - "key.doc.column" : 20, - "key.doc.comment" : "The detailed information about the reorder event.", - "key.doc.declaration" : "public let result: ItemReordering.Result", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.doc.full_as_xml" : "result<\/Name>s:10ListableUI17ListStateObserverV13ItemReorderedV6resultAA0F10ReorderingV6ResultVvp<\/USR>public let result: ItemReordering.Result<\/Declaration>The detailed information about the reorder event.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 367, - "key.doc.name" : "result", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 12589, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListStateObserver.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> result<\/decl.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 367, - "key.modulename" : "ListableUI", - "key.name" : "result", - "key.namelength" : 6, - "key.nameoffset" : 12663, - "key.offset" : 12659, - "key.parsed_declaration" : "public let result : ItemReordering.Result", - "key.parsed_scope.end" : 367, - "key.parsed_scope.start" : 367, - "key.reusingastcontext" : false, - "key.typename" : "ItemReordering.Result", - "key.typeusr" : "$s10ListableUI14ItemReorderingV6ResultVD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV6resultAA0F10ReorderingV6ResultVvp" - } - ], - "key.typename" : "ListStateObserver.ItemReordered.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverV13ItemReorderedVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV13ItemReorderedV" - } - ], - "key.typename" : "ListStateObserver.Type", - "key.typeusr" : "$s10ListableUI17ListStateObserverVmD", - "key.usr" : "s:10ListableUI17ListStateObserverV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 13229, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class ListChangesQueue<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 5429 - } - ], - "key.bodylength" : 4750, - "key.bodyoffset" : 5459, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A queue used to synchronized and serialize changes made to the backing collection view,\nto work around either bugs or confusing behavior.\n\n## Handling Applying Re-ordering \/ Move Events (`isQueuingToApplyReorderEvent`)\nCollection View has an issue wherein if you perform a re-order event, and then within\nthe same runloop, deliver an update to the collection view as a result of that re-order event\nthat removes a row or section, the collection view will crash because it's internal index path\ncache \/ data model has not yet been updated. Thus, in `collectionView(_:moveItemAt:to:)`,\nwe set this value to `true`, and then after one runloop, we set it back to `false`, after\nthe collection view's updates have \"settled\". Please see `sendEndQueuingEditsAfterDelay` for more.\n\n## Disabling Updates During In-Progress Re-orders (`listHasUncommittedReorderUpdates`)\nIf an update is pushed into a `UICollectionView` while a reorder is in progress, there will be a crash\nas the collection view tries to layout an index path that does not exist in the data source, as the reordering event\nhas not yet been committed. As such, we'll queue external updates while reordering is in progress.\n\n```\n💥\nArray.subscript.getter ()\nListLayoutContent.item(at:)\nListLayoutContent.layoutAttributes(at:)\nCollectionViewLayout.layoutAttributesForItem(at:)\n@objc CollectionViewLayout.layoutAttributesForItem(at:)\n-[UICollectionViewData layoutAttributesForItemAtIndexPath:]\n-[UICollectionViewData layoutAttributesForGlobalItemIndex:]\n__107-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]_block_invoke\n__NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__\n-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]\n-[_UICollectionViewSubviewManager enumerateCellsWithEnumerator:]\n-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]\n-[UICollectionView \/\/\/ _createAndAppendViewAnimationsForExistingAndNewlyVisibleItemsInCurrentUpdate:animationsForOnScreenViews:newSubviewManager:oldVisibleViews:attributesF\/\/\/ orNewModel:]\n-[UICollectionView _viewAnimationsForCurrentUpdateWithCollectionViewAnimator:]\n__102-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke.632\n+[UIView(Animation) performWithoutAnimation:]\n-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]\n-[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]\n-[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]\nListView.IOS16_4_First_Responder_Bug_CollectionView.performBatchUpdates(_:changes:completion:)\nclosure #3 in ListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nclosure #1 in ListView.updatePresentationStateWith(firstVisibleIndexPath:for:completion:)\nclosure #1 in ListChangesQueue.add(async:)\nclosure #2 in ListChangesQueue.runIfNeeded()\nListChangesQueue.Operation.ifSynchronous(_:ifAsynchronous:)\nListChangesQueue.runIfNeeded()\nListChangesQueue.add(sync:)\nListView.configure(with:)\n```\n\n## Handling async batch updates (`add(async:)`)\nBecause we perform updates to _our_ backing data model (`PresentationState`) alongside\nour collection view in order to make sure they remain in sync, we need to handle cases where\n`UICollectionView.performBatchUpdates(_:completion:)` does not synchronously\ninvoke its `update` block, which means state can get out of sync.\nSee `updatePresentationStateWith(firstVisibleIndexPath:for:completion:)` for more.\n\n## Misc\nWhy not use `NSOperationQueue` here?\nNamely, because we want operations to be synchronous when possible.\n\nEg, if if you perform the following changes:\n\n```\nlist.something()\n\n\/\/ A synchronous operation.\nqueue.add {\n doSomethingElse()\n}\n\n\/\/ An operation which may be synchronous or asynchronous,\n\/\/ depending on when the completion callback fires.\nqueue.add { completion in\n doAnotherThing(onCompletion: completion.finished)\n}\n```\nWhere the first block can be run immediately (eg the queue is not paused),\nit will be performed once the queue callback returns, and without jumping threads at all.\n\nThe second block might invoke its `onCompletion` immediately,\nor it might take a runloop or two to do so. This implementation ensures\nthat if the completion block is invoked immediately (eg inline), the operation will also be synchronous.\nThe main use case for this case is `UICollectionView` callbacks which are sometimes\nexecuted after a few runloop cycles – we don't want _every_ event going through\nthe queue to delay its completion by a runloop cycle unless we have to.\n\nOnly one operation will execute at once. This is a FIFO queue.\n", - "key.doc.column" : 13, - "key.doc.comment" : "A queue used to synchronized and serialize changes made to the backing collection view,\nto work around either bugs or confusing behavior.\n\n## Handling Applying Re-ordering \/ Move Events (`isQueuingToApplyReorderEvent`)\nCollection View has an issue wherein if you perform a re-order event, and then within\nthe same runloop, deliver an update to the collection view as a result of that re-order event\nthat removes a row or section, the collection view will crash because it's internal index path\ncache \/ data model has not yet been updated. Thus, in `collectionView(_:moveItemAt:to:)`,\nwe set this value to `true`, and then after one runloop, we set it back to `false`, after\nthe collection view's updates have \"settled\". Please see `sendEndQueuingEditsAfterDelay` for more.\n\n## Disabling Updates During In-Progress Re-orders (`listHasUncommittedReorderUpdates`)\nIf an update is pushed into a `UICollectionView` while a reorder is in progress, there will be a crash\nas the collection view tries to layout an index path that does not exist in the data source, as the reordering event\nhas not yet been committed. As such, we'll queue external updates while reordering is in progress.\n\n```\n💥\nArray.subscript.getter ()\nListLayoutContent.item(at:)\nListLayoutContent.layoutAttributes(at:)\nCollectionViewLayout.layoutAttributesForItem(at:)\n@objc CollectionViewLayout.layoutAttributesForItem(at:)\n-[UICollectionViewData layoutAttributesForItemAtIndexPath:]\n-[UICollectionViewData layoutAttributesForGlobalItemIndex:]\n__107-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]_block_invoke\n__NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__\n-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]\n-[_UICollectionViewSubviewManager enumerateCellsWithEnumerator:]\n-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]\n-[UICollectionView \/\/\/ _createAndAppendViewAnimationsForExistingAndNewlyVisibleItemsInCurrentUpdate:animationsForOnScreenViews:newSubviewManager:oldVisibleViews:attributesF\/\/\/ orNewModel:]\n-[UICollectionView _viewAnimationsForCurrentUpdateWithCollectionViewAnimator:]\n__102-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke.632\n+[UIView(Animation) performWithoutAnimation:]\n-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]\n-[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]\n-[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]\nListView.IOS16_4_First_Responder_Bug_CollectionView.performBatchUpdates(_:changes:completion:)\nclosure #3 in ListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nclosure #1 in ListView.updatePresentationStateWith(firstVisibleIndexPath:for:completion:)\nclosure #1 in ListChangesQueue.add(async:)\nclosure #2 in ListChangesQueue.runIfNeeded()\nListChangesQueue.Operation.ifSynchronous(_:ifAsynchronous:)\nListChangesQueue.runIfNeeded()\nListChangesQueue.add(sync:)\nListView.configure(with:)\n```\n\n## Handling async batch updates (`add(async:)`)\nBecause we perform updates to _our_ backing data model (`PresentationState`) alongside\nour collection view in order to make sure they remain in sync, we need to handle cases where\n`UICollectionView.performBatchUpdates(_:completion:)` does not synchronously\ninvoke its `update` block, which means state can get out of sync.\nSee `updatePresentationStateWith(firstVisibleIndexPath:for:completion:)` for more.\n\n## Misc\nWhy not use `NSOperationQueue` here?\nNamely, because we want operations to be synchronous when possible.\n\nEg, if if you perform the following changes:\n\n```\nlist.something()\n\n\/\/ A synchronous operation.\nqueue.add {\n doSomethingElse()\n}\n\n\/\/ An operation which may be synchronous or asynchronous,\n\/\/ depending on when the completion callback fires.\nqueue.add { completion in\n doAnotherThing(onCompletion: completion.finished)\n}\n```\nWhere the first block can be run immediately (eg the queue is not paused),\nit will be performed once the queue callback returns, and without jumping threads at all.\n\nThe second block might invoke its `onCompletion` immediately,\nor it might take a runloop or two to do so. This implementation ensures\nthat if the completion block is invoked immediately (eg inline), the operation will also be synchronous.\nThe main use case for this case is `UICollectionView` callbacks which are sometimes\nexecuted after a few runloop cycles – we don't want _every_ event going through\nthe queue to delay its completion by a runloop cycle unless we have to.\n\nOnly one operation will execute at once. This is a FIFO queue.", - "key.doc.declaration" : "final class ListChangesQueue", - "key.doc.discussion" : [ - { - "Para" : "Collection View has an issue wherein if you perform a re-order event, and then within the same runloop, deliver an update to the collection view as a result of that re-order event that removes a row or section, the collection view will crash because it’s internal index path cache \/ data model has not yet been updated. Thus, in `collectionView(_:moveItemAt:to:)`, we set this value to `true`, and then after one runloop, we set it back to `false`, after the collection view’s updates have “settled”. Please see `sendEndQueuingEditsAfterDelay` for more." - }, - { - "Para" : "If an update is pushed into a `UICollectionView` while a reorder is in progress, there will be a crash as the collection view tries to layout an index path that does not exist in the data source, as the reordering event has not yet been committed. As such, we’ll queue external updates while reordering is in progress." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Because we perform updates to backing data model (`PresentationState`) alongside our collection view in order to make sure they remain in sync, we need to handle cases where `UICollectionView.performBatchUpdates(_:completion:)` does not synchronously invoke its `update` block, which means state can get out of sync. See `updatePresentationStateWith(firstVisibleIndexPath:for:completion:)` for more." - }, - { - "Para" : "Why not use `NSOperationQueue` here? Namely, because we want operations to be synchronous when possible." - }, - { - "Para" : "Eg, if if you perform the following changes:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Where the first block can be run immediately (eg the queue is not paused), it will be performed once the queue callback returns, and without jumping threads at all." - }, - { - "Para" : "The second block might invoke its `onCompletion` immediately, or it might take a runloop or two to do so. This implementation ensures that if the completion block is invoked immediately (eg inline), the operation will also be synchronous. The main use case for this case is `UICollectionView` callbacks which are sometimes executed after a few runloop cycles – we don’t want event going through the queue to delay its completion by a runloop cycle unless we have to." - }, - { - "Para" : "Only one operation will execute at once. This is a FIFO queue." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "ListChangesQueue<\/Name>s:10ListableUI16ListChangesQueueC<\/USR>final class ListChangesQueue<\/Declaration>A queue used to synchronized and serialize changes made to the backing collection view, to work around either bugs or confusing behavior.<\/Para><\/Abstract>]]><\/rawHTML>Handling Applying Re-ordering \/ Move Events (isQueuingToApplyReorderEvent<\/codeVoice>)]]><\/rawHTML>Collection View has an issue wherein if you perform a re-order event, and then within the same runloop, deliver an update to the collection view as a result of that re-order event that removes a row or section, the collection view will crash because it’s internal index path cache \/ data model has not yet been updated. Thus, in collectionView(_:moveItemAt:to:)<\/codeVoice>, we set this value to true<\/codeVoice>, and then after one runloop, we set it back to false<\/codeVoice>, after the collection view’s updates have “settled”. Please see sendEndQueuingEditsAfterDelay<\/codeVoice> for more.<\/Para>]]><\/rawHTML>Disabling Updates During In-Progress Re-orders (listHasUncommittedReorderUpdates<\/codeVoice>)]]><\/rawHTML>If an update is pushed into a UICollectionView<\/codeVoice> while a reorder is in progress, there will be a crash as the collection view tries to layout an index path that does not exist in the data source, as the reordering event has not yet been committed. As such, we’ll queue external updates while reordering is in progress.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Handling async batch updates (add(async:)<\/codeVoice>)]]><\/rawHTML>Because we perform updates to our<\/emphasis> backing data model (PresentationState<\/codeVoice>) alongside our collection view in order to make sure they remain in sync, we need to handle cases where UICollectionView.performBatchUpdates(_:completion:)<\/codeVoice> does not synchronously invoke its update<\/codeVoice> block, which means state can get out of sync. See updatePresentationStateWith(firstVisibleIndexPath:for:completion:)<\/codeVoice> for more.<\/Para>]]><\/rawHTML>Misc]]><\/rawHTML>Why not use NSOperationQueue<\/codeVoice> here? Namely, because we want operations to be synchronous when possible.<\/Para>Eg, if if you perform the following changes:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Where the first block can be run immediately (eg the queue is not paused), it will be performed once the queue callback returns, and without jumping threads at all.<\/Para>The second block might invoke its onCompletion<\/codeVoice> immediately, or it might take a runloop or two to do so. This implementation ensures that if the completion block is invoked immediately (eg inline), the operation will also be synchronous. The main use case for this case is UICollectionView<\/codeVoice> callbacks which are sometimes executed after a few runloop cycles – we don’t want every<\/emphasis> event going through the queue to delay its completion by a runloop cycle unless we have to.<\/Para>Only one operation will execute at once. This is a FIFO queue.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 99, - "key.doc.name" : "ListChangesQueue", - "key.doc.type" : "Class", - "key.doclength" : 5315, - "key.docoffset" : 114, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListChangesQueue<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4775, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "ListChangesQueue", - "key.namelength" : 16, - "key.nameoffset" : 5441, - "key.offset" : 5435, - "key.parsed_declaration" : "final class ListChangesQueue", - "key.parsed_scope.end" : 244, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func add(sync block: @escaping () -> ())<\/Declaration>", - "key.bodylength" : 263, - "key.bodyoffset" : 5600, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds a synchronous block to the queue, marked as done once the block exits.", - "key.doc.column" : 10, - "key.doc.comment" : "Adds a synchronous block to the queue, marked as done once the block exits.", - "key.doc.declaration" : "func add(sync block: @escaping () -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "add(sync:)<\/Name>s:10ListableUI16ListChangesQueueC3add4syncyyyc_tF<\/USR>func add(sync block: @escaping () -> ())<\/Declaration>Adds a synchronous block to the queue, marked as done once the block exits.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 102, - "key.doc.name" : "add(sync:)", - "key.doc.type" : "Function", - "key.doclength" : 80, - "key.docoffset" : 5473, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> add<\/decl.name>(sync<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 307, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "add(sync:)", - "key.namelength" : 36, - "key.nameoffset" : 5562, - "key.offset" : 5557, - "key.parsed_declaration" : "func add(sync block : @escaping () -> ())", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 102, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(async:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let operation: ListChangesQueue<\/Type>.Operation<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> operation<\/decl.name>: ListChangesQueue<\/ref.class>.Operation<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 123, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "operation", - "key.namelength" : 9, - "key.nameoffset" : 5655, - "key.offset" : 5651, - "key.parsed_declaration" : "let operation = Operation(\n kind: .synchronous(\n .new(.init(body: block))\n )\n)", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.typename" : "ListChangesQueue.Operation", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCD", - "key.usr" : "s:10ListableUI16ListChangesQueueC3add4syncyyyc_tF9operationL_AC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCvp" - } - ], - "key.typename" : "(ListChangesQueue) -> (@escaping () -> ()) -> ()", - "key.typeusr" : "$s4syncyyyc_tcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC3add4syncyyyc_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func add(async block: @escaping (Completion<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 790, - "key.bodyoffset" : 6120, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds an asynchronous block to the queue, marked as done once `Completion.finished()` is called.\nIf `finished()` is called inline, the operation will be executed synchronously.", - "key.doc.column" : 10, - "key.doc.comment" : "Adds an asynchronous block to the queue, marked as done once `Completion.finished()` is called.\nIf `finished()` is called inline, the operation will be executed synchronously.", - "key.doc.declaration" : "func add(async block: @escaping (Completion) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "add(async:)<\/Name>s:10ListableUI16ListChangesQueueC3add5asyncyyAC10CompletionCc_tF<\/USR>func add(async block: @escaping (Completion) -> ())<\/Declaration>Adds an asynchronous block to the queue, marked as done once Completion.finished()<\/codeVoice> is called. If finished()<\/codeVoice> is called inline, the operation will be executed synchronously.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 118, - "key.doc.name" : "add(async:)", - "key.doc.type" : "Function", - "key.doclength" : 188, - "key.docoffset" : 5874, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> add<\/decl.name>(async<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Completion<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 845, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "add(async:)", - "key.namelength" : 47, - "key.nameoffset" : 6071, - "key.offset" : 6066, - "key.parsed_declaration" : "func add(async block : @escaping (Completion) -> ())", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 118, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(sync:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let operation: ListChangesQueue<\/Type>.Operation<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> operation<\/decl.name>: ListChangesQueue<\/ref.class>.Operation<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 650, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "operation", - "key.namelength" : 9, - "key.nameoffset" : 6175, - "key.offset" : 6171, - "key.parsed_declaration" : "let operation = Operation(\n kind: .asynchronous(\n .new(\n .init(\n completion: Completion(),\n body: { operation, completion in\n \n completion.onFinish = { [weak self, weak operation] in\n operation?.kind = .asynchronous(.completed)\n self?.runIfNeeded()\n }\n \n block(completion)\n }\n )\n )\n )\n)", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "ListChangesQueue.Operation", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCD", - "key.usr" : "s:10ListableUI16ListChangesQueueC3add5asyncyyAC10CompletionCc_tF9operationL_AC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCvp" - } - ], - "key.typename" : "(ListChangesQueue) -> (@escaping (ListChangesQueue.Completion) -> ()) -> ()", - "key.typeusr" : "$s5asyncyy10ListableUI16ListChangesQueueC10CompletionCc_tcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC3add5asyncyyAC10CompletionCc_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isQueuingToApplyReorderEvent: Bool<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 63, - "key.bodyoffset" : 7065, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Set by consumers to enable and disable queueing when a reorder event is being applied.", - "key.doc.column" : 9, - "key.doc.comment" : "Set by consumers to enable and disable queueing when a reorder event is being applied.", - "key.doc.declaration" : "var isQueuingToApplyReorderEvent: Bool { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "isQueuingToApplyReorderEvent<\/Name>s:10ListableUI16ListChangesQueueC28isQueuingToApplyReorderEventSbvp<\/USR>var isQueuingToApplyReorderEvent: Bool { get set }<\/Declaration>Set by consumers to enable and disable queueing when a reorder event is being applied.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 146, - "key.doc.name" : "isQueuingToApplyReorderEvent", - "key.doc.type" : "Other", - "key.doclength" : 91, - "key.docoffset" : 6921, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isQueuingToApplyReorderEvent<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 113, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "isQueuingToApplyReorderEvent", - "key.namelength" : 28, - "key.nameoffset" : 7020, - "key.offset" : 7016, - "key.parsed_declaration" : "var isQueuingToApplyReorderEvent : Bool = false", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 146, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC28isQueuingToApplyReorderEventSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var listHasUncommittedReorderUpdates: () -> Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Should be set to `{ collectionView.hasUncommittedUpdates }`.\n\nWhen this closure returns `true`, the queue is paused, to avoid crashes when applying\ncontent updates while there are index-changing reorder events in process.", - "key.doc.column" : 9, - "key.doc.comment" : "Should be set to `{ collectionView.hasUncommittedUpdates }`.\n\nWhen this closure returns `true`, the queue is paused, to avoid crashes when applying\ncontent updates while there are index-changing reorder events in process.", - "key.doc.declaration" : "var listHasUncommittedReorderUpdates: () -> Bool", - "key.doc.discussion" : [ - { - "Para" : "When this closure returns `true`, the queue is paused, to avoid crashes when applying content updates while there are index-changing reorder events in process." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "listHasUncommittedReorderUpdates<\/Name>s:10ListableUI16ListChangesQueueC32listHasUncommittedReorderUpdatesSbycvp<\/USR>var listHasUncommittedReorderUpdates: () -> Bool<\/Declaration>Should be set to { collectionView.hasUncommittedUpdates }<\/codeVoice>.<\/Para><\/Abstract>When this closure returns true<\/codeVoice>, the queue is paused, to avoid crashes when applying content updates while there are index-changing reorder events in process.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 156, - "key.doc.name" : "listHasUncommittedReorderUpdates", - "key.doc.type" : "Other", - "key.doclength" : 249, - "key.docoffset" : 7139, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> listHasUncommittedReorderUpdates<\/decl.name>: () -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 158, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "listHasUncommittedReorderUpdates", - "key.namelength" : 32, - "key.nameoffset" : 7396, - "key.offset" : 7392, - "key.parsed_declaration" : "var listHasUncommittedReorderUpdates : () -> Bool = {\n fatalError(\"Must set `listHasUncommittedReorderUpdates` before using `ListChangesQueue`.\")\n}", - "key.parsed_scope.end" : 156, - "key.parsed_scope.start" : 156, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "() -> Bool", - "key.typeusr" : "$sSbycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC32listHasUncommittedReorderUpdatesSbycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isPaused: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 90, - "key.bodyoffset" : 7636, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Prevents processing other events in the queue.", - "key.doc.column" : 9, - "key.doc.comment" : "Prevents processing other events in the queue.", - "key.doc.declaration" : "var isPaused: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "isPaused<\/Name>s:10ListableUI16ListChangesQueueC8isPausedSbvp<\/USR>var isPaused: Bool { get }<\/Declaration>Prevents processing other events in the queue.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 161, - "key.doc.name" : "isPaused", - "key.doc.type" : "Other", - "key.doclength" : 51, - "key.docoffset" : 7560, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isPaused<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 112, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "isPaused", - "key.namelength" : 8, - "key.nameoffset" : 7619, - "key.offset" : 7615, - "key.parsed_declaration" : "var isPaused : Bool", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 161, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC8isPausedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isEmpty: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 29, - "key.bodyoffset" : 7757, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "isEmpty", - "key.namelength" : 7, - "key.nameoffset" : 7741, - "key.offset" : 7737, - "key.parsed_declaration" : "var isEmpty : Bool", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 165, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC7isEmptySbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var count: Int<\/Type> { get }<\/Declaration>", - "key.bodylength" : 27, - "key.bodyoffset" : 7814, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 169, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 7801, - "key.offset" : 7797, - "key.parsed_declaration" : "var count : Int", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 169, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI16ListChangesQueueC5countSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var waiting: [Operation<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7973 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Operations waiting to execute, or in the case of asynchronous operations,\nthey may already be operating.", - "key.doc.column" : 17, - "key.doc.comment" : "Operations waiting to execute, or in the case of asynchronous operations,\nthey may already be operating.", - "key.doc.declaration" : "private var waiting: [Operation]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "waiting<\/Name>s:10ListableUI16ListChangesQueueC7waiting33_475391DF0214734EF1AB295B7E69CF9FLLSayAC9OperationAELLCGvp<\/USR>private var waiting: [Operation]<\/Declaration>Operations waiting to execute, or in the case of asynchronous operations, they may already be operating.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 175, - "key.doc.name" : "waiting", - "key.doc.type" : "Other", - "key.doclength" : 117, - "key.docoffset" : 7852, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> waiting<\/decl.name>: [Operation<\/ref.class>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "waiting", - "key.namelength" : 7, - "key.nameoffset" : 7985, - "key.offset" : 7981, - "key.parsed_declaration" : "private var waiting : [Operation] = []", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 175, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ListChangesQueue.Operation]", - "key.typeusr" : "$sSay10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCGD", - "key.usr" : "s:10ListableUI16ListChangesQueueC7waiting33_475391DF0214734EF1AB295B7E69CF9FLLSayAC9OperationAELLCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var isRunning: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8021 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isRunning<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "isRunning", - "key.namelength" : 9, - "key.nameoffset" : 8033, - "key.offset" : 8029, - "key.parsed_declaration" : "private var isRunning : Bool = false", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9isRunning33_475391DF0214734EF1AB295B7E69CF9FLLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func runIfNeeded()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8120 - } - ], - "key.bodylength" : 1848, - "key.bodyoffset" : 8148, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked to continue processing queue events.", - "key.doc.column" : 18, - "key.doc.comment" : "Invoked to continue processing queue events.", - "key.doc.declaration" : "private func runIfNeeded()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "runIfNeeded()<\/Name>s:10ListableUI16ListChangesQueueC11runIfNeeded33_475391DF0214734EF1AB295B7E69CF9FLLyyF<\/USR>private func runIfNeeded()<\/Declaration>Invoked to continue processing queue events.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 180, - "key.doc.name" : "runIfNeeded()", - "key.doc.type" : "Function", - "key.doclength" : 49, - "key.docoffset" : 8067, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> runIfNeeded<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1869, - "key.line" : 180, - "key.modulename" : "ListableUI", - "key.name" : "runIfNeeded()", - "key.namelength" : 13, - "key.nameoffset" : 8133, - "key.offset" : 8128, - "key.parsed_declaration" : "private func runIfNeeded()", - "key.parsed_scope.end" : 236, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC11runIfNeeded33_475391DF0214734EF1AB295B7E69CF9FLLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func preconditionMainThread()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10007 - } - ], - "key.bodylength" : 161, - "key.bodyoffset" : 10046, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Even though this is an async operation;\nits possible (and allowed) to call the completion\nblock synchronously – let's ensure we handle that!", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preconditionMainThread<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 193, - "key.line" : 238, - "key.modulename" : "ListableUI", - "key.name" : "preconditionMainThread()", - "key.namelength" : 24, - "key.nameoffset" : 10020, - "key.offset" : 10015, - "key.parsed_declaration" : "private func preconditionMainThread()", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 238, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC22preconditionMainThread33_475391DF0214734EF1AB295B7E69CF9FLLyyF" - } - ], - "key.typename" : "ListChangesQueue.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueCmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC" - }, - { - "key.annotated_decl" : "final class ListChangesQueue<\/Declaration>", - "key.bodylength" : 2986, - "key.bodyoffset" : 10241, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A queue used to synchronized and serialize changes made to the backing collection view,\nto work around either bugs or confusing behavior.\n\n## Handling Applying Re-ordering \/ Move Events (`isQueuingToApplyReorderEvent`)\nCollection View has an issue wherein if you perform a re-order event, and then within\nthe same runloop, deliver an update to the collection view as a result of that re-order event\nthat removes a row or section, the collection view will crash because it's internal index path\ncache \/ data model has not yet been updated. Thus, in `collectionView(_:moveItemAt:to:)`,\nwe set this value to `true`, and then after one runloop, we set it back to `false`, after\nthe collection view's updates have \"settled\". Please see `sendEndQueuingEditsAfterDelay` for more.\n\n## Disabling Updates During In-Progress Re-orders (`listHasUncommittedReorderUpdates`)\nIf an update is pushed into a `UICollectionView` while a reorder is in progress, there will be a crash\nas the collection view tries to layout an index path that does not exist in the data source, as the reordering event\nhas not yet been committed. As such, we'll queue external updates while reordering is in progress.\n\n```\n💥\nArray.subscript.getter ()\nListLayoutContent.item(at:)\nListLayoutContent.layoutAttributes(at:)\nCollectionViewLayout.layoutAttributesForItem(at:)\n@objc CollectionViewLayout.layoutAttributesForItem(at:)\n-[UICollectionViewData layoutAttributesForItemAtIndexPath:]\n-[UICollectionViewData layoutAttributesForGlobalItemIndex:]\n__107-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]_block_invoke\n__NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__\n-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]\n-[_UICollectionViewSubviewManager enumerateCellsWithEnumerator:]\n-[UICollectionView _attributesForItemsVisibleDuringCurrentUpdateWithOldVisibleViews:attributesForNewModel:]\n-[UICollectionView \/\/\/ _createAndAppendViewAnimationsForExistingAndNewlyVisibleItemsInCurrentUpdate:animationsForOnScreenViews:newSubviewManager:oldVisibleViews:attributesF\/\/\/ orNewModel:]\n-[UICollectionView _viewAnimationsForCurrentUpdateWithCollectionViewAnimator:]\n__102-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke.632\n+[UIView(Animation) performWithoutAnimation:]\n-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]\n-[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]\n-[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]\nListView.IOS16_4_First_Responder_Bug_CollectionView.performBatchUpdates(_:changes:completion:)\nclosure #3 in ListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nListView.performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)\nclosure #1 in ListView.updatePresentationStateWith(firstVisibleIndexPath:for:completion:)\nclosure #1 in ListChangesQueue.add(async:)\nclosure #2 in ListChangesQueue.runIfNeeded()\nListChangesQueue.Operation.ifSynchronous(_:ifAsynchronous:)\nListChangesQueue.runIfNeeded()\nListChangesQueue.add(sync:)\nListView.configure(with:)\n```\n\n## Handling async batch updates (`add(async:)`)\nBecause we perform updates to _our_ backing data model (`PresentationState`) alongside\nour collection view in order to make sure they remain in sync, we need to handle cases where\n`UICollectionView.performBatchUpdates(_:completion:)` does not synchronously\ninvoke its `update` block, which means state can get out of sync.\nSee `updatePresentationStateWith(firstVisibleIndexPath:for:completion:)` for more.\n\n## Misc\nWhy not use `NSOperationQueue` here?\nNamely, because we want operations to be synchronous when possible.\n\nEg, if if you perform the following changes:\n\n```\nlist.something()\n\n\/\/ A synchronous operation.\nqueue.add {\n doSomethingElse()\n}\n\n\/\/ An operation which may be synchronous or asynchronous,\n\/\/ depending on when the completion callback fires.\nqueue.add { completion in\n doAnotherThing(onCompletion: completion.finished)\n}\n```\nWhere the first block can be run immediately (eg the queue is not paused),\nit will be performed once the queue callback returns, and without jumping threads at all.\n\nThe second block might invoke its `onCompletion` immediately,\nor it might take a runloop or two to do so. This implementation ensures\nthat if the completion block is invoked immediately (eg inline), the operation will also be synchronous.\nThe main use case for this case is `UICollectionView` callbacks which are sometimes\nexecuted after a few runloop cycles – we don't want _every_ event going through\nthe queue to delay its completion by a runloop cycle unless we have to.\n\nOnly one operation will execute at once. This is a FIFO queue.\n", - "key.doc.column" : 13, - "key.doc.declaration" : "final class ListChangesQueue", - "key.doc.discussion" : [ - { - "Para" : "Collection View has an issue wherein if you perform a re-order event, and then within the same runloop, deliver an update to the collection view as a result of that re-order event that removes a row or section, the collection view will crash because it’s internal index path cache \/ data model has not yet been updated. Thus, in `collectionView(_:moveItemAt:to:)`, we set this value to `true`, and then after one runloop, we set it back to `false`, after the collection view’s updates have “settled”. Please see `sendEndQueuingEditsAfterDelay` for more." - }, - { - "Para" : "If an update is pushed into a `UICollectionView` while a reorder is in progress, there will be a crash as the collection view tries to layout an index path that does not exist in the data source, as the reordering event has not yet been committed. As such, we’ll queue external updates while reordering is in progress." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Because we perform updates to backing data model (`PresentationState`) alongside our collection view in order to make sure they remain in sync, we need to handle cases where `UICollectionView.performBatchUpdates(_:completion:)` does not synchronously invoke its `update` block, which means state can get out of sync. See `updatePresentationStateWith(firstVisibleIndexPath:for:completion:)` for more." - }, - { - "Para" : "Why not use `NSOperationQueue` here? Namely, because we want operations to be synchronous when possible." - }, - { - "Para" : "Eg, if if you perform the following changes:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Where the first block can be run immediately (eg the queue is not paused), it will be performed once the queue callback returns, and without jumping threads at all." - }, - { - "Para" : "The second block might invoke its `onCompletion` immediately, or it might take a runloop or two to do so. This implementation ensures that if the completion block is invoked immediately (eg inline), the operation will also be synchronous. The main use case for this case is `UICollectionView` callbacks which are sometimes executed after a few runloop cycles – we don’t want event going through the queue to delay its completion by a runloop cycle unless we have to." - }, - { - "Para" : "Only one operation will execute at once. This is a FIFO queue." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "ListChangesQueue<\/Name>s:10ListableUI16ListChangesQueueC<\/USR>final class ListChangesQueue<\/Declaration>A queue used to synchronized and serialize changes made to the backing collection view, to work around either bugs or confusing behavior.<\/Para><\/Abstract>]]><\/rawHTML>Handling Applying Re-ordering \/ Move Events (isQueuingToApplyReorderEvent<\/codeVoice>)]]><\/rawHTML>Collection View has an issue wherein if you perform a re-order event, and then within the same runloop, deliver an update to the collection view as a result of that re-order event that removes a row or section, the collection view will crash because it’s internal index path cache \/ data model has not yet been updated. Thus, in collectionView(_:moveItemAt:to:)<\/codeVoice>, we set this value to true<\/codeVoice>, and then after one runloop, we set it back to false<\/codeVoice>, after the collection view’s updates have “settled”. Please see sendEndQueuingEditsAfterDelay<\/codeVoice> for more.<\/Para>]]><\/rawHTML>Disabling Updates During In-Progress Re-orders (listHasUncommittedReorderUpdates<\/codeVoice>)]]><\/rawHTML>If an update is pushed into a UICollectionView<\/codeVoice> while a reorder is in progress, there will be a crash as the collection view tries to layout an index path that does not exist in the data source, as the reordering event has not yet been committed. As such, we’ll queue external updates while reordering is in progress.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Handling async batch updates (add(async:)<\/codeVoice>)]]><\/rawHTML>Because we perform updates to our<\/emphasis> backing data model (PresentationState<\/codeVoice>) alongside our collection view in order to make sure they remain in sync, we need to handle cases where UICollectionView.performBatchUpdates(_:completion:)<\/codeVoice> does not synchronously invoke its update<\/codeVoice> block, which means state can get out of sync. See updatePresentationStateWith(firstVisibleIndexPath:for:completion:)<\/codeVoice> for more.<\/Para>]]><\/rawHTML>Misc]]><\/rawHTML>Why not use NSOperationQueue<\/codeVoice> here? Namely, because we want operations to be synchronous when possible.<\/Para>Eg, if if you perform the following changes:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Where the first block can be run immediately (eg the queue is not paused), it will be performed once the queue callback returns, and without jumping threads at all.<\/Para>The second block might invoke its onCompletion<\/codeVoice> immediately, or it might take a runloop or two to do so. This implementation ensures that if the completion block is invoked immediately (eg inline), the operation will also be synchronous. The main use case for this case is UICollectionView<\/codeVoice> callbacks which are sometimes executed after a few runloop cycles – we don’t want every<\/emphasis> event going through the queue to delay its completion by a runloop cycle unless we have to.<\/Para>Only one operation will execute at once. This is a FIFO queue.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 99, - "key.doc.name" : "ListChangesQueue", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListChangesQueue<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3015, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "ListChangesQueue", - "key.namelength" : 16, - "key.nameoffset" : 10223, - "key.offset" : 10213, - "key.parsed_declaration" : "extension ListChangesQueue", - "key.parsed_scope.end" : 342, - "key.parsed_scope.start" : 247, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class Completion<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 10255 - } - ], - "key.bodylength" : 560, - "key.bodyoffset" : 10279, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Completion<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 579, - "key.line" : 249, - "key.modulename" : "ListableUI", - "key.name" : "Completion", - "key.namelength" : 10, - "key.nameoffset" : 10267, - "key.offset" : 10261, - "key.parsed_declaration" : "final class Completion", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 249, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate var onFinish: () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 10289 - } - ], - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onFinish<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 125, - "key.line" : 251, - "key.modulename" : "ListableUI", - "key.name" : "onFinish", - "key.namelength" : 8, - "key.nameoffset" : 10305, - "key.offset" : 10301, - "key.parsed_declaration" : "fileprivate var onFinish : () -> () = {\n fatalError(\"onFinish must be set before the completion operation is used.\")\n}", - "key.parsed_scope.end" : 251, - "key.parsed_scope.start" : 251, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC10CompletionC8onFinish33_475391DF0214734EF1AB295B7E69CF9FLLyycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var isFinished: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10444 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isFinished<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 255, - "key.modulename" : "ListableUI", - "key.name" : "isFinished", - "key.namelength" : 10, - "key.nameoffset" : 10456, - "key.offset" : 10452, - "key.parsed_declaration" : "private var isFinished : Bool = false", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 255, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC10CompletionC10isFinished33_475391DF0214734EF1AB295B7E69CF9FLLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func finish()<\/Declaration>", - "key.bodylength" : 180, - "key.bodyoffset" : 10653, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked by callers when their async work completed.\nIf this method is called more than once, a fatal error occurs.", - "key.doc.column" : 14, - "key.doc.comment" : "Invoked by callers when their async work completed.\nIf this method is called more than once, a fatal error occurs.", - "key.doc.declaration" : "func finish()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "finish()<\/Name>s:10ListableUI16ListChangesQueueC10CompletionC6finishyyF<\/USR>func finish()<\/Declaration>Invoked by callers when their async work completed. If this method is called more than once, a fatal error occurs.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 259, - "key.doc.name" : "finish()", - "key.doc.type" : "Function", - "key.doclength" : 131, - "key.docoffset" : 10499, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> finish<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 196, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "finish()", - "key.namelength" : 8, - "key.nameoffset" : 10643, - "key.offset" : 10638, - "key.parsed_declaration" : "func finish()", - "key.parsed_scope.end" : 265, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Completion) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC10CompletionC6finishyyF" - } - ], - "key.typename" : "ListChangesQueue.Completion.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC10CompletionCmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC10CompletionC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate final class Operation<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 10862 - }, - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 10850 - } - ], - "key.bodylength" : 2340, - "key.bodyoffset" : 10885, - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Operation<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 2358, - "key.line" : 268, - "key.modulename" : "ListableUI", - "key.name" : "Operation", - "key.namelength" : 9, - "key.nameoffset" : 10874, - "key.offset" : 10868, - "key.parsed_declaration" : "fileprivate final class Operation", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 268, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var kind: Kind<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> kind<\/decl.name>: Kind<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 270, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 10907, - "key.offset" : 10903, - "key.parsed_declaration" : "var kind : Kind", - "key.parsed_scope.end" : 270, - "key.parsed_scope.start" : 270, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListChangesQueue.Operation.Kind", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindOD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4kindAF4KindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(kind: Kind<\/Type>)<\/Declaration>", - "key.bodylength" : 38, - "key.bodyoffset" : 10955, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(kind<\/decl.var.parameter.argument_label>: Kind<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 58, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "init(kind:)", - "key.namelength" : 17, - "key.nameoffset" : 10936, - "key.offset" : 10936, - "key.parsed_declaration" : "init(kind : Kind)", - "key.parsed_scope.end" : 274, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Type) -> (ListChangesQueue.Operation.Kind) -> ListChangesQueue.Operation", - "key.typeusr" : "$s4kind10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCAG4KindO_tcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4kindA2F4KindO_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func ifSynchronous(_ synchronous: (inout Kind<\/Type>.Synchronous<\/Type>) -> (), ifAsynchronous asynchronous: (inout Kind<\/Type>.Asynchronous<\/Type>) -> ())<\/Declaration>", - "key.bodylength" : 338, - "key.bodyoffset" : 11290, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Helper method for accessing (and mutating) the state\nof each separate type of operation.", - "key.doc.column" : 14, - "key.doc.comment" : "Helper method for accessing (and mutating) the state\nof each separate type of operation.", - "key.doc.declaration" : "func ifSynchronous(_ synchronous: (inout Kind.Synchronous) -> (), ifAsynchronous asynchronous: (inout Kind.Asynchronous) -> ())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "ifSynchronous(_:ifAsynchronous:)<\/Name>s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC13ifSynchronous_0M12AsynchronousyyAF4KindO0N0OzXE_yAJ0O0OzXEtF<\/USR>func ifSynchronous(_ synchronous: (inout Kind.Synchronous) -> (), ifAsynchronous asynchronous: (inout Kind.Asynchronous) -> ())<\/Declaration>Helper method for accessing (and mutating) the state of each separate type of operation.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 278, - "key.doc.name" : "ifSynchronous(_:ifAsynchronous:)", - "key.doc.type" : "Function", - "key.doclength" : 105, - "key.docoffset" : 11012, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> ifSynchronous<\/decl.name>(_<\/decl.var.parameter.argument_label> synchronous<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Kind<\/ref.enum>.Synchronous<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, ifAsynchronous<\/decl.var.parameter.argument_label> asynchronous<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Kind<\/ref.enum>.Asynchronous<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 504, - "key.line" : 278, - "key.modulename" : "ListableUI", - "key.name" : "ifSynchronous(_:ifAsynchronous:)", - "key.namelength" : 158, - "key.nameoffset" : 11130, - "key.offset" : 11125, - "key.parsed_declaration" : "func ifSynchronous(\n _ synchronous : (inout Kind.Synchronous) -> (),\n ifAsynchronous asynchronous : (inout Kind.Asynchronous) -> ()\n)", - "key.parsed_scope.end" : 291, - "key.parsed_scope.start" : 278, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation) -> ((inout ListChangesQueue.Operation.Kind.Synchronous) -> (), (inout ListChangesQueue.Operation.Kind.Asynchronous) -> ()) -> ()", - "key.typeusr" : "$s_14ifAsynchronousyy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousOzXE_yAI0B0OzXEtcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC13ifSynchronous_0M12AsynchronousyyAF4KindO0N0OzXE_yAJ0O0OzXEtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum ListChangesQueue<\/Type>.Operation<\/Type>.Kind<\/Declaration>", - "key.bodylength" : 1378, - "key.bodyoffset" : 11841, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The kind of operation, sync or async. Note that\nthe synchronous operation has to track less state,\nand thus has fewer cases and stored properties.", - "key.doc.column" : 14, - "key.doc.comment" : "The kind of operation, sync or async. Note that\nthe synchronous operation has to track less state,\nand thus has fewer cases and stored properties.", - "key.doc.declaration" : "enum ListableUI.ListChangesQueue.Operation.Kind", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.doc.full_as_xml" : "Kind<\/Name>s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO<\/USR>enum ListableUI.ListChangesQueue.Operation.Kind<\/Declaration>The kind of operation, sync or async. Note that the synchronous operation has to track less state, and thus has fewer cases and stored properties.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 296, - "key.doc.name" : "Kind", - "key.doc.type" : "Other", - "key.doclength" : 175, - "key.docoffset" : 11647, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> ListChangesQueue<\/ref.class>.Operation<\/ref.class>.Kind<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1390, - "key.line" : 296, - "key.modulename" : "ListableUI", - "key.name" : "Kind", - "key.namelength" : 4, - "key.nameoffset" : 11835, - "key.offset" : 11830, - "key.parsed_declaration" : "enum Kind", - "key.parsed_scope.end" : 340, - "key.parsed_scope.start" : 296, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 29, - "key.offset" : 11854, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case synchronous(Synchronous<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> synchronous<\/decl.name>(Synchronous<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 24, - "key.line" : 297, - "key.modulename" : "ListableUI", - "key.name" : "synchronous(_:)", - "key.namelength" : 24, - "key.nameoffset" : 11859, - "key.offset" : 11859, - "key.parsed_declaration" : "case synchronous(Synchronous)", - "key.parsed_scope.end" : 297, - "key.parsed_scope.start" : 297, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Kind.Type) -> (ListChangesQueue.Operation.Kind.Synchronous) -> ListChangesQueue.Operation.Kind", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindOAH11SynchronousOcAHmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11synchronousyA2H11SynchronousOcAHmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 31, - "key.offset" : 11896, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case asynchronous(Asynchronous<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> asynchronous<\/decl.name>(Asynchronous<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 26, - "key.line" : 298, - "key.modulename" : "ListableUI", - "key.name" : "asynchronous(_:)", - "key.namelength" : 26, - "key.nameoffset" : 11901, - "key.offset" : 11901, - "key.parsed_declaration" : "case asynchronous(Asynchronous)", - "key.parsed_scope.end" : 298, - "key.parsed_scope.start" : 298, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Kind.Type) -> (ListChangesQueue.Operation.Kind.Asynchronous) -> ListChangesQueue.Operation.Kind", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindOAH12AsynchronousOcAHmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12asynchronousyA2H12AsynchronousOcAHmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isCompleted: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 202, - "key.bodyoffset" : 11977, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isCompleted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 227, - "key.line" : 300, - "key.modulename" : "ListableUI", - "key.name" : "isCompleted", - "key.namelength" : 11, - "key.nameoffset" : 11957, - "key.offset" : 11953, - "key.parsed_declaration" : "var isCompleted : Bool", - "key.parsed_scope.end" : 305, - "key.parsed_scope.start" : 300, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11isCompletedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum ListChangesQueue<\/Type>.Operation<\/Type>.Kind<\/Type>.Synchronous<\/Declaration>", - "key.bodylength" : 411, - "key.bodyoffset" : 12224, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> ListChangesQueue<\/ref.class>.Operation<\/ref.class>.Kind<\/ref.enum>.Synchronous<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 430, - "key.line" : 307, - "key.modulename" : "ListableUI", - "key.name" : "Synchronous", - "key.namelength" : 11, - "key.nameoffset" : 12211, - "key.offset" : 12206, - "key.parsed_declaration" : "enum Synchronous", - "key.parsed_scope.end" : 321, - "key.parsed_scope.start" : 307, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 12241, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case new(Content<\/Type>)<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> new<\/decl.name>(Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 308, - "key.modulename" : "ListableUI", - "key.name" : "new(_:)", - "key.namelength" : 12, - "key.nameoffset" : 12246, - "key.offset" : 12246, - "key.parsed_declaration" : "case new(Content)", - "key.parsed_scope.end" : 308, - "key.parsed_scope.start" : 308, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Kind.Synchronous.Type) -> (ListChangesQueue.Operation.Kind.Synchronous.Content) -> ListChangesQueue.Operation.Kind.Synchronous", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousOAJ7ContentVcAJmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO3newyA2J7ContentVcAJmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 12275, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case completed<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> completed<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 309, - "key.modulename" : "ListableUI", - "key.name" : "completed", - "key.namelength" : 9, - "key.nameoffset" : 12280, - "key.offset" : 12280, - "key.parsed_declaration" : "case completed", - "key.parsed_scope.end" : 309, - "key.parsed_scope.start" : 309, - "key.reusingastcontext" : false, - "key.typename" : "(ListChangesQueue.Operation.Kind.Synchronous.Type) -> ListChangesQueue.Operation.Kind.Synchronous", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousOAJmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO9completedyA2JmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isCompleted: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 166, - "key.bodyoffset" : 12347, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isCompleted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 191, - "key.line" : 311, - "key.modulename" : "ListableUI", - "key.name" : "isCompleted", - "key.namelength" : 11, - "key.nameoffset" : 12327, - "key.offset" : 12323, - "key.parsed_declaration" : "var isCompleted : Bool", - "key.parsed_scope.end" : 316, - "key.parsed_scope.start" : 311, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO11isCompletedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListChangesQueue<\/Type>.Operation<\/Type>.Kind<\/Type>.Synchronous<\/Type>.Content<\/Declaration>", - "key.bodylength" : 57, - "key.bodyoffset" : 12564, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListChangesQueue<\/ref.class>.Operation<\/ref.class>.Kind<\/ref.enum>.Synchronous<\/ref.enum>.Content<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 74, - "key.line" : 318, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 12555, - "key.offset" : 12548, - "key.parsed_declaration" : "struct Content", - "key.parsed_scope.end" : 320, - "key.parsed_scope.start" : 318, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let body: () -> ()<\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> body<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 319, - "key.modulename" : "ListableUI", - "key.name" : "body", - "key.namelength" : 4, - "key.nameoffset" : 12589, - "key.offset" : 12585, - "key.parsed_declaration" : "let body : () -> ()", - "key.parsed_scope.end" : 319, - "key.parsed_scope.start" : 319, - "key.reusingastcontext" : false, - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO7ContentV4bodyyycvp" - } - ], - "key.typename" : "ListChangesQueue.Operation.Kind.Synchronous.Content.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO7ContentVmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO7ContentV" - } - ], - "key.typename" : "ListChangesQueue.Operation.Kind.Synchronous.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousOmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO11SynchronousO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum ListChangesQueue<\/Type>.Operation<\/Type>.Kind<\/Type>.Asynchronous<\/Declaration>", - "key.bodylength" : 528, - "key.bodyoffset" : 12681, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> ListChangesQueue<\/ref.class>.Operation<\/ref.class>.Kind<\/ref.enum>.Asynchronous<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 548, - "key.line" : 323, - "key.modulename" : "ListableUI", - "key.name" : "Asynchronous", - "key.namelength" : 12, - "key.nameoffset" : 12667, - "key.offset" : 12662, - "key.parsed_declaration" : "enum Asynchronous", - "key.parsed_scope.end" : 339, - "key.parsed_scope.start" : 323, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 12698, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case new(Content<\/Type>)<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> new<\/decl.name>(Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 324, - "key.modulename" : "ListableUI", - "key.name" : "new(_:)", - "key.namelength" : 12, - "key.nameoffset" : 12703, - "key.offset" : 12703, - "key.parsed_declaration" : "case new(Content)", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Kind.Asynchronous.Type) -> (ListChangesQueue.Operation.Kind.Asynchronous.Content) -> ListChangesQueue.Operation.Kind.Asynchronous", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousOAJ7ContentVcAJmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO3newyA2J7ContentVcAJmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 21, - "key.offset" : 12732, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case running(Content<\/Type>)<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> running<\/decl.name>(Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 16, - "key.line" : 325, - "key.modulename" : "ListableUI", - "key.name" : "running(_:)", - "key.namelength" : 16, - "key.nameoffset" : 12737, - "key.offset" : 12737, - "key.parsed_declaration" : "case running(Content)", - "key.parsed_scope.end" : 325, - "key.parsed_scope.start" : 325, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListChangesQueue.Operation.Kind.Asynchronous.Type) -> (ListChangesQueue.Operation.Kind.Asynchronous.Content) -> ListChangesQueue.Operation.Kind.Asynchronous", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousOAJ7ContentVcAJmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO7runningyA2J7ContentVcAJmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 12770, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case completed<\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> completed<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 326, - "key.modulename" : "ListableUI", - "key.name" : "completed", - "key.namelength" : 9, - "key.nameoffset" : 12775, - "key.offset" : 12775, - "key.parsed_declaration" : "case completed", - "key.parsed_scope.end" : 326, - "key.parsed_scope.start" : 326, - "key.reusingastcontext" : false, - "key.typename" : "(ListChangesQueue.Operation.Kind.Asynchronous.Type) -> ListChangesQueue.Operation.Kind.Asynchronous", - "key.typeusr" : "$sy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousOAJmcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO9completedyA2JmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var isCompleted: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 176, - "key.bodyoffset" : 12842, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isCompleted<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 201, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "isCompleted", - "key.namelength" : 11, - "key.nameoffset" : 12822, - "key.offset" : 12818, - "key.parsed_declaration" : "var isCompleted : Bool", - "key.parsed_scope.end" : 333, - "key.parsed_scope.start" : 328, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO11isCompletedSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListChangesQueue<\/Type>.Operation<\/Type>.Kind<\/Type>.Asynchronous<\/Type>.Content<\/Declaration>", - "key.bodylength" : 126, - "key.bodyoffset" : 13069, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListChangesQueue<\/ref.class>.Operation<\/ref.class>.Kind<\/ref.enum>.Asynchronous<\/ref.enum>.Content<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 143, - "key.line" : 335, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 13060, - "key.offset" : 13053, - "key.parsed_declaration" : "struct Content", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 335, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let completion: Completion<\/Type><\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> completion<\/decl.name>: Completion<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 336, - "key.modulename" : "ListableUI", - "key.name" : "completion", - "key.namelength" : 10, - "key.nameoffset" : 13094, - "key.offset" : 13090, - "key.parsed_declaration" : "let completion : Completion", - "key.parsed_scope.end" : 336, - "key.parsed_scope.start" : 336, - "key.reusingastcontext" : false, - "key.typename" : "ListChangesQueue.Completion", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC10CompletionCD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO7ContentV10completionAC10CompletionCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let body: (Operation<\/Type>, Completion<\/Type>) -> ()<\/Declaration>", - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListChangesQueue.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> body<\/decl.name>: (Operation<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, Completion<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 337, - "key.modulename" : "ListableUI", - "key.name" : "body", - "key.namelength" : 4, - "key.nameoffset" : 13142, - "key.offset" : 13138, - "key.parsed_declaration" : "let body : (Operation, Completion) -> ()", - "key.parsed_scope.end" : 337, - "key.parsed_scope.start" : 337, - "key.reusingastcontext" : false, - "key.typename" : "(ListChangesQueue.Operation, ListChangesQueue.Completion) -> ()", - "key.typeusr" : "$syy10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC_AC10CompletionCtcD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO7ContentV4bodyyyAF_AC10CompletionCtcvp" - } - ], - "key.typename" : "ListChangesQueue.Operation.Kind.Asynchronous.Content.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO7ContentVmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO7ContentV" - } - ], - "key.typename" : "ListChangesQueue.Operation.Kind.Asynchronous.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousOmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO12AsynchronousO" - } - ], - "key.typename" : "ListChangesQueue.Operation.Kind.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindOmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC4KindO" - } - ], - "key.typename" : "ListChangesQueue.Operation.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLCmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC9Operation33_475391DF0214734EF1AB295B7E69CF9FLLC" - } - ], - "key.typename" : "ListChangesQueue.Type", - "key.typeusr" : "$s10ListableUI16ListChangesQueueCmD", - "key.usr" : "s:10ListableUI16ListChangesQueueC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3971, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 2936, - "key.bodyoffset" : 133, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2957, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 123, - "key.offset" : 113, - "key.parsed_declaration" : "extension ListView", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Measuring Lists", - "key.offset" : 148 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public static let defaultContentSizeItemLimit: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 186 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> defaultContentSizeItemLimit<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 43, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "defaultContentSizeItemLimit", - "key.namelength" : 27, - "key.nameoffset" : 204, - "key.offset" : 193, - "key.parsed_declaration" : "public static let defaultContentSizeItemLimit = 50", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI8ListViewC27defaultContentSizeItemLimitSivpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public static func contentSize(in fittingSize: CGSize<\/Type>, for properties: ListProperties<\/Type>, safeAreaInsets: UIEdgeInsets<\/Type>, itemLimit: Int<\/Type>? = ListView.defaultContentSizeItemLimit) -> MeasuredListSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1945 - } - ], - "key.bodylength" : 882, - "key.bodyoffset" : 2185, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the size that a list with the provided properties would be, within the given `fittingSize`.\n\nThis method works similarly to `sizeThatFits(_:)` on a `UIView`, returning the size of the\ncontent within the given `fittingSize`.\n\n- parameters:\n - fittingSize: The size that the content should be measured in. This is the maximum\n size that will be returned from this method.\n - properties: The `ListProperties` which describe the content of the list.\n - safeAreaInsets: The safe area to include when performing the layout.\n - itemLimit: How many items from the content should be measured. The lower this number\n (if lower then the count of items in the content), the faster this call will be, at the expense of a smaller\n measurement size. If you know your `fittingSize` is constrained to, eg, the height of a device,\n then relying on the default value of 50 is usually fine.\n\n### Note\nThis method attempts to be efficient – it does not allocate a `ListView` – instead it creates a layout,\nand presentation state – a subset of a usual list. It also re-uses measurement views across method calls\n(via static view caching) to further reduce allocations and improve speed and efficiency. Nevertheless,\nmeasuring the vertical or horizontal height of an entire list, especially large ones, can just be slow. You are\nencouraged to provide an `itemLimit` to reduce the amount of measurement that has to occur to\ncalculate a height – especially if the `fittingSize` is known and finite.\n", - "key.doc.column" : 24, - "key.doc.comment" : "\nReturns the size that a list with the provided properties would be, within the given `fittingSize`.\n\nThis method works similarly to `sizeThatFits(_:)` on a `UIView`, returning the size of the\ncontent within the given `fittingSize`.\n\n- parameters:\n - fittingSize: The size that the content should be measured in. This is the maximum\n size that will be returned from this method.\n - properties: The `ListProperties` which describe the content of the list.\n - safeAreaInsets: The safe area to include when performing the layout.\n - itemLimit: How many items from the content should be measured. The lower this number\n (if lower then the count of items in the content), the faster this call will be, at the expense of a smaller\n measurement size. If you know your `fittingSize` is constrained to, eg, the height of a device,\n then relying on the default value of 50 is usually fine.\n\n### Note\nThis method attempts to be efficient – it does not allocate a `ListView` – instead it creates a layout,\nand presentation state – a subset of a usual list. It also re-uses measurement views across method calls\n(via static view caching) to further reduce allocations and improve speed and efficiency. Nevertheless,\nmeasuring the vertical or horizontal height of an entire list, especially large ones, can just be slow. You are\nencouraged to provide an `itemLimit` to reduce the amount of measurement that has to occur to\ncalculate a height – especially if the `fittingSize` is known and finite.", - "key.doc.declaration" : "@MainActor public static func contentSize(in fittingSize: CGSize, for properties: ListProperties, safeAreaInsets: UIEdgeInsets, itemLimit: Int? = ListView.defaultContentSizeItemLimit) -> MeasuredListSize", - "key.doc.discussion" : [ - { - "Para" : "This method works similarly to `sizeThatFits(_:)` on a `UIView`, returning the size of the content within the given `fittingSize`." - }, - { - "Para" : "This method attempts to be efficient – it does not allocate a `ListView` – instead it creates a layout, and presentation state – a subset of a usual list. It also re-uses measurement views across method calls (via static view caching) to further reduce allocations and improve speed and efficiency. Nevertheless, measuring the vertical or horizontal height of an entire list, especially large ones, can just be slow. You are encouraged to provide an `itemLimit` to reduce the amount of measurement that has to occur to calculate a height – especially if the `fittingSize` is known and finite." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.doc.full_as_xml" : "contentSize(in:for:safeAreaInsets:itemLimit:)<\/Name>s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ<\/USR>@MainActor public static func contentSize(in fittingSize: CGSize, for properties: ListProperties, safeAreaInsets: UIEdgeInsets, itemLimit: Int? = ListView.defaultContentSizeItemLimit) -> MeasuredListSize<\/Declaration>Returns the size that a list with the provided properties would be, within the given fittingSize<\/codeVoice>.<\/Para><\/Abstract>fittingSize<\/Name>in<\/Direction>The size that the content should be measured in. This is the maximum size that will be returned from this method.<\/Para><\/Discussion><\/Parameter>properties<\/Name>in<\/Direction>The ListProperties<\/codeVoice> which describe the content of the list.<\/Para><\/Discussion><\/Parameter>safeAreaInsets<\/Name>in<\/Direction>The safe area to include when performing the layout.<\/Para><\/Discussion><\/Parameter>itemLimit<\/Name>in<\/Direction>How many items from the content should be measured. The lower this number (if lower then the count of items in the content), the faster this call will be, at the expense of a smaller measurement size. If you know your fittingSize<\/codeVoice> is constrained to, eg, the height of a device, then relying on the default value of 50 is usually fine.<\/Para><\/Discussion><\/Parameter><\/Parameters>This method works similarly to sizeThatFits(_:)<\/codeVoice> on a UIView<\/codeVoice>, returning the size of the content within the given fittingSize<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This method attempts to be efficient – it does not allocate a ListView<\/codeVoice> – instead it creates a layout, and presentation state – a subset of a usual list. It also re-uses measurement views across method calls (via static view caching) to further reduce allocations and improve speed and efficiency. Nevertheless, measuring the vertical or horizontal height of an entire list, especially large ones, can just be slow. You are encouraged to provide an itemLimit<\/codeVoice> to reduce the amount of measurement that has to occur to calculate a height – especially if the fittingSize<\/codeVoice> is known and finite.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 43, - "key.doc.name" : "contentSize(in:for:safeAreaInsets:itemLimit:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The size that the content should be measured in. This is the maximum size that will be returned from this method." - } - ], - "name" : "fittingSize" - }, - { - "discussion" : [ - { - "Para" : "The `ListProperties` which describe the content of the list." - } - ], - "name" : "properties" - }, - { - "discussion" : [ - { - "Para" : "The safe area to include when performing the layout." - } - ], - "name" : "safeAreaInsets" - }, - { - "discussion" : [ - { - "Para" : "How many items from the content should be measured. The lower this number (if lower then the count of items in the content), the faster this call will be, at the expense of a smaller measurement size. If you know your `fittingSize` is constrained to, eg, the height of a device, then relying on the default value of 50 is usually fine." - } - ], - "name" : "itemLimit" - } - ], - "key.doc.type" : "Function", - "key.doclength" : 1695, - "key.docoffset" : 246, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> contentSize<\/decl.name>(in<\/decl.var.parameter.argument_label> fittingSize<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> properties<\/decl.var.parameter.name>: ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, safeAreaInsets<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemLimit<\/decl.var.parameter.argument_label>: Int<\/ref.struct>?<\/decl.var.parameter.type> = ListView.defaultContentSizeItemLimit<\/decl.var.parameter>) -> MeasuredListSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 1116, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "contentSize(in:for:safeAreaInsets:itemLimit:)", - "key.namelength" : 195, - "key.nameoffset" : 1964, - "key.offset" : 1952, - "key.parsed_declaration" : "public static func contentSize(\n in fittingSize : CGSize,\n for properties : ListProperties,\n safeAreaInsets : UIEdgeInsets,\n itemLimit : Int? = ListView.defaultContentSizeItemLimit\n) -> MeasuredListSize", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 43, - "key.related_decls" : [ - { - "key.annotated_decl" : "contentSize<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let layout: any AnyListLayout<\/Type><\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layout<\/decl.name>: any AnyListLayout<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 168, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 2199, - "key.offset" : 2194, - "key.parsed_declaration" : "let (layout, layoutContext) = properties.makeLayout(\n in: fittingSize,\n safeAreaInsets: safeAreaInsets,\n itemLimit: itemLimit\n)", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.typename" : "any AnyListLayout", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ6layoutL_AA03AnyC6Layout_pvp" - }, - { - "key.annotated_decl" : "let layoutContext: ListLayoutLayoutContext<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> layoutContext<\/decl.name>: ListLayoutLayoutContext<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 168, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "layoutContext", - "key.namelength" : 13, - "key.nameoffset" : 2207, - "key.offset" : 2194, - "key.parsed_declaration" : "let (layout, layoutContext) = properties.makeLayout(\n in: fittingSize,\n safeAreaInsets: safeAreaInsets,\n itemLimit: itemLimit\n)", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.typename" : "ListLayoutLayoutContext", - "key.typeusr" : "$s10ListableUI010ListLayoutD7ContextVD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ13layoutContextL_AA0c6LayouttS0Vvp" - }, - { - "key.annotated_decl" : "let contentSize: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 44, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 2384, - "key.offset" : 2380, - "key.parsed_declaration" : "let contentSize = layout.content.contentSize", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZADL_ALvp" - }, - { - "key.annotated_decl" : "let contentInset: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentInset<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "contentInset", - "key.namelength" : 12, - "key.nameoffset" : 2437, - "key.offset" : 2433, - "key.parsed_declaration" : "let contentInset = layoutContext.adjustedContentInset", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ0E5InsetL_APvp" - }, - { - "key.annotated_decl" : "let totalSize: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> totalSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 192, - "key.line" : 59, - "key.modulename" : "ListableUI", - "key.name" : "totalSize", - "key.namelength" : 9, - "key.nameoffset" : 2508, - "key.offset" : 2504, - "key.parsed_declaration" : "let totalSize = CGSize(\n width: contentSize.width + contentInset.left + contentInset.right,\n height: contentSize.height + contentInset.top + contentInset.bottom\n)", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 59, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ05totalF0L_ALvp" - } - ], - "key.typename" : "(ListView.Type) -> (CGSize, ListProperties, UIEdgeInsets, Int?) -> MeasuredListSize", - "key.typeusr" : "$s2in3for14safeAreaInsets9itemLimit10ListableUI16MeasuredListSizeVSo6CGSizeV_AE0K10PropertiesVSo06UIEdgeE0VSiSgtcD", - "key.usr" : "s:10ListableUI8ListViewC11contentSize2in3for14safeAreaInsets9itemLimitAA08MeasuredcF0VSo6CGSizeV_AA0C10PropertiesVSo06UIEdgeK0VSiSgtFZ" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct MeasuredListSize : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3158 - } - ], - "key.bodylength" : 767, - "key.bodyoffset" : 3202, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides sizing and width information about the measurement of a list's content.", - "key.doc.column" : 15, - "key.doc.comment" : "Provides sizing and width information about the measurement of a list's content.", - "key.doc.declaration" : "public struct MeasuredListSize : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.doc.full_as_xml" : "MeasuredListSize<\/Name>s:10ListableUI16MeasuredListSizeV<\/USR>public struct MeasuredListSize : Equatable<\/Declaration>Provides sizing and width information about the measurement of a list’s content.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 76, - "key.doc.name" : "MeasuredListSize", - "key.doc.type" : "Class", - "key.doclength" : 85, - "key.docoffset" : 3073, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3191 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> MeasuredListSize<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 805, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "MeasuredListSize", - "key.namelength" : 16, - "key.nameoffset" : 3172, - "key.offset" : 3165, - "key.parsed_declaration" : "public struct MeasuredListSize : Equatable", - "key.parsed_scope.end" : 97, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var contentSize: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3250 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content size of the list.", - "key.doc.column" : 16, - "key.doc.comment" : "The content size of the list.", - "key.doc.declaration" : "public var contentSize: CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.doc.full_as_xml" : "contentSize<\/Name>s:10ListableUI16MeasuredListSizeV07contentE0So6CGSizeVvp<\/USR>public var contentSize: CGSize<\/Declaration>The content size of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 79, - "key.doc.name" : "contentSize", - "key.doc.type" : "Other", - "key.doclength" : 34, - "key.docoffset" : 3212, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 79, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 3261, - "key.offset" : 3257, - "key.parsed_declaration" : "public var contentSize : CGSize", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 79, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI16MeasuredListSizeV07contentE0So6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var naturalWidth: CGFloat<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3758 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If it supports it, this value will contain the \"natural\" width of the list's\ncontent. For example, if you give a table layout 1000pts of width to lay out, but\nits content only requires 200pts of width to lay out, this value will be 200pt.\n\n### Note\nNot all layouts support or provide a natural width. For example, a `.flow` layout\ncannot provide a natural width because it takes up as much space as it as given.", - "key.doc.column" : 16, - "key.doc.comment" : "If it supports it, this value will contain the \"natural\" width of the list's\ncontent. For example, if you give a table layout 1000pts of width to lay out, but\nits content only requires 200pts of width to lay out, this value will be 200pt.\n\n### Note\nNot all layouts support or provide a natural width. For example, a `.flow` layout\ncannot provide a natural width because it takes up as much space as it as given.", - "key.doc.declaration" : "public var naturalWidth: CGFloat?", - "key.doc.discussion" : [ - { - "Para" : "Not all layouts support or provide a natural width. For example, a `.flow` layout cannot provide a natural width because it takes up as much space as it as given." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.doc.full_as_xml" : "naturalWidth<\/Name>s:10ListableUI16MeasuredListSizeV12naturalWidth14CoreFoundation7CGFloatVSgvp<\/USR>public var naturalWidth: CGFloat?<\/Declaration>If it supports it, this value will contain the “natural” width of the list’s content. For example, if you give a table layout 1000pts of width to lay out, but its content only requires 200pts of width to lay out, this value will be 200pt.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>Not all layouts support or provide a natural width. For example, a .flow<\/codeVoice> layout cannot provide a natural width because it takes up as much space as it as given.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 88, - "key.doc.name" : "naturalWidth", - "key.doc.type" : "Other", - "key.doclength" : 463, - "key.docoffset" : 3291, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> naturalWidth<\/decl.name>: CGFloat<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "naturalWidth", - "key.namelength" : 12, - "key.nameoffset" : 3769, - "key.offset" : 3765, - "key.parsed_declaration" : "public var naturalWidth : CGFloat?", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat?", - "key.typeusr" : "$s14CoreFoundation7CGFloatVSgD", - "key.usr" : "s:10ListableUI16MeasuredListSizeV12naturalWidth14CoreFoundation7CGFloatVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(contentSize: CGSize<\/Type>, naturalWidth: CGFloat<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3802 - } - ], - "key.bodylength" : 85, - "key.bodyoffset" : 3882, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+ContentSize.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(contentSize<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, naturalWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 159, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "init(contentSize:naturalWidth:)", - "key.namelength" : 71, - "key.nameoffset" : 3809, - "key.offset" : 3809, - "key.parsed_declaration" : "public init(\n contentSize: CGSize,\n naturalWidth: CGFloat?\n)", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(MeasuredListSize.Type) -> (CGSize, CGFloat?) -> MeasuredListSize", - "key.typeusr" : "$s11contentSize12naturalWidth10ListableUI012MeasuredListB0VSo6CGSizeV_14CoreFoundation7CGFloatVSgtcD", - "key.usr" : "s:10ListableUI16MeasuredListSizeV07contentE012naturalWidthACSo6CGSizeV_14CoreFoundation7CGFloatVSgtcfc" - } - ], - "key.typename" : "MeasuredListSize.Type", - "key.typeusr" : "$s10ListableUI16MeasuredListSizeVmD", - "key.usr" : "s:10ListableUI16MeasuredListSizeV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 15830, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 10160, - "key.bodyoffset" : 5668, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "## ⚠️⚠️⚠️ Good Morning! iOS Bug Workaround Ahead ⚠️⚠️⚠️\n\niOS 16.4 introduced a regression (which was fixed in 16.5, then again broken in 17.0),\nwhere on every `performBatchUpdates` applied to a `UICollectionView`, it would resign\nthe first responder if it was within a supplementary (header, footer) view.\nThis is a common position for search bars. Regular cells are not affected.\n\nUpdate 06\/04\/2025:\nIt appears that the buggy behavior on iOS 17+ is triggered when there are _multiple_\n`performBatchUpdates` calls within a short interval. The workaround still appears to avoid the issue.\n\nSquare SEV: https:\/\/jira.sqprod.co\/browse\/ALERT-11928\n\n## Ok, how do we fix it?\n\nSome initial thoughts using clever public-only workarounds, that turned out to not work for various reasons:\n\n### Override canResignFirstResponder\/resignFirstResponder and return false\nThis would've been so easy! Alas, it triggers an assert within `UICollectionView`:\n```\n*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The first responder contained inside of a deleted section or item refused to resign.\n```\n\n### Immediately re-becomeFirstResponder after collection view resigns it\nIn theory works, but for any screen that reloads the collection view as the result of a text field\nbecoming or resigning first responder, causes an infinite loop of updates. Not good!\n\n### Making `_resignOrRebaseFirstResponderViewWithIndexPathMapping` a no-op\nToo likely to break internal bits. As you can see in [this gist](https:\/\/gist.github.com\/kyleve\/56da14d0dea1849ec12f2ec28ab472c1),\nthere's a lot of state management happening within there. Not a good idea!\n\nOk, that leaves us with...\n\n## Digging into private bits...\n\nWe can see, examining the stack trace of an affected supplementary view, that a method named\n`_resignOrRebaseFirstResponderViewWithIndexPathMapping` is performing the first responder resigning:\n\n```\nTextFieldView.resignFirstResponder()\n@objc TextFieldView.resignFirstResponder() ()\n-[UICollectionView _resignOrRebaseFirstResponderViewWithIndexPathMapping:] ()\n-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:] ()\n-[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] ()\n-[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:] ()\n-[UICollectionView performBatchUpdates:completion:] ()\n```\n\nUnfortunately, overriding that method to inspect the singular argument does not bear much fruit,\nas the argument is a block:\n\n```\n(lldb) po arg1\n0 elements\n\n(lldb) po indexPathMapping\n<__NSMallocBlock__: 0x600003c80e70>\n signature: \"@\"NSIndexPath\"16@?0@\"NSIndexPath\"8\"\n invoke : 0x11d85d138 \/\/\/ (\/Applications\/Xcode_14_2.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS\/\/\/ .simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore`__102-[UICollectionView \/\/\/ _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke)\n```\n\nOk, damn. Well we tried. Also of note, the arguments to this method changed between iOS 16.3 and 16.4:\n\n```\n\/\/ iOS 16.3\nfunc _resignOrRebaseFirstResponderViewWithUpdateItems(_ arg1 : Any, indexPathMapping: Any)\n\n\/\/ iOS 16.4\nfunc _resignOrRebaseFirstResponderViewWithIndexPathMapping(_ arg : Any)\n```\n\nIt does seem like we've found where to dig in, though. Let's decompile that method with Hopper (https:\/\/www.hopperapp.com\/),\na very useful app to have in your toolbox. It'll give you pseudocode-ish versions of various methods you want to inspect.\n\nDoing that, we get this (snipped for brevity):\n\n```\n-(void)_resignOrRebaseFirstResponderViewWithIndexPathMapping:(int)arg2 {\n rdx = arg2;\n rbx = arg1;\n r15 = arg0;\n r12 = [rdx retain];\n if ([r15 _isFirstResponderInDeletedSectionOrItem] != 0x0) {\n var_78 = rbx;\n var_98 = r12;\n r13 = *ivar_offset(_firstResponderView);\n var_38 = *ivar_offset(_firstResponderIndexPath);\n rbx = 0x0;\n var_48 = r15;\n var_40 = r13;\n do {\n ...\n```\n\nOk, that `_isFirstResponderInDeletedSectionOrItem` sure looks interesting. And it's a boolean\nmethod to boot, too, so in theory it shouldn't have (m)any side effects we need to re-implement if we were\nto override it and implement it ourselves. Lets try overriding it to see if that does what we want:\n\n```\nclass MyTestingCollectionView : UICollectionView {\n @objc var _isFirstResponderInDeletedSectionOrItem : Bool {\n false\n }\n}\n```\n\nHey, it works! Upon returning `false` from this method, the first responder remains\ndoing its first responder-y things. This means this is the way to go. Not great, but not awful.\n\nTo accomplish this, we'll re-implement the broken bits of `_isFirstResponderInDeletedSectionOrItem`\nourselves, and call back to the original implementation when we can.", - "key.doclength" : 5494, - "key.docoffset" : 154, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 10181, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 5658, - "key.offset" : 5648, - "key.parsed_declaration" : "extension ListView", - "key.parsed_scope.end" : 376, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> class IOS16_4_First_Responder_Bug_CollectionView : UICollectionView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 176, - "key.offset" : 5815 - } - ], - "key.bodylength" : 9761, - "key.bodyoffset" : 6065, - "key.column" : 11, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 6047 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> IOS16_4_First_Responder_Bug_CollectionView<\/decl.name> : UICollectionView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UICollectionView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 9831, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "IOS16_4_First_Responder_Bug_CollectionView", - "key.namelength" : 42, - "key.nameoffset" : 6002, - "key.offset" : 5996, - "key.parsed_declaration" : "class IOS16_4_First_Responder_Bug_CollectionView : UICollectionView", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override init(frame: CGRect<\/Type>, collectionViewLayout layout: UICollectionViewLayout<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 6083 - } - ], - "key.bodylength" : 76, - "key.bodyoffset" : 6200, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, collectionViewLayout<\/decl.var.parameter.argument_label> layout<\/decl.var.parameter.name>: UICollectionViewLayout<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 185, - "key.line" : 132, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:collectionViewLayout:)", - "key.namelength" : 106, - "key.nameoffset" : 6092, - "key.offset" : 6092, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionView(im)initWithFrame:collectionViewLayout:" - } - ], - "key.parsed_declaration" : "override init(\n frame: CGRect,\n collectionViewLayout layout: UICollectionViewLayout\n)", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 132, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init(coder:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(frame:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.IOS16_4_First_Responder_Bug_CollectionView.Type) -> (CGRect, UICollectionViewLayout) -> ListView.IOS16_4_First_Responder_Bug_CollectionView", - "key.typeusr" : "$s5frame20collectionViewLayout10ListableUI04ListC0C038IOS16_4_First_Responder_Bug_CollectionC0CSo6CGRectV_So012UICollectioncD0CtcD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C5frame010collectionD6LayoutAESo6CGRectV_So012UICollectiondL0Ctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> required init?(coder: NSCoder<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 6295 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 6327, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> required<\/syntaxtype.keyword> init<\/syntaxtype.keyword>?(coder<\/decl.var.parameter.argument_label>: NSCoder<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 6304, - "key.offset" : 6304, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UICollectionView(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(pl)NSCoding(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(cs)UIView(im)initWithCoder:" - }, - { - "key.usr" : "c:objc(pl)NSCoding(im)initWithCoder:" - } - ], - "key.parsed_declaration" : "required init?(coder: NSCoder)", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 139, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init(frame:collectionViewLayout:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(frame:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.IOS16_4_First_Responder_Bug_CollectionView.Type) -> (NSCoder) -> ListView.IOS16_4_First_Responder_Bug_CollectionView?", - "key.typeusr" : "$s5coder10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionE0CSgSo7NSCoderC_tcD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C5coderAESgSo7NSCoderC_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func performBatchUpdates(_ updates: @escaping () -> Void<\/Type>, changes: CollectionViewChanges<\/Type>, completion: @escaping (Bool<\/Type>) -> Void<\/Type>)<\/Declaration>", - "key.bodylength" : 738, - "key.bodyoffset" : 6536, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> performBatchUpdates<\/decl.name>(_<\/decl.var.parameter.argument_label> updates<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, changes<\/decl.var.parameter.argument_label>: CollectionViewChanges<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 915, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "performBatchUpdates(_:changes:completion:)", - "key.namelength" : 169, - "key.nameoffset" : 6365, - "key.offset" : 6360, - "key.parsed_declaration" : "func performBatchUpdates(\n _ updates: @escaping () -> Void,\n changes : CollectionViewChanges,\n completion: @escaping (Bool) -> Void\n)", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 141, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "performBatchUpdates(_:completion:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.IOS16_4_First_Responder_Bug_CollectionView) -> (@escaping () -> (), ListView.CollectionViewChanges, @escaping (Bool) -> ()) -> ()", - "key.typeusr" : "$s_7changes10completionyyyc_10ListableUI8ListViewC010CollectionF7ChangesVySbctcD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C19performBatchUpdates_7changes10completionyyyc_AC0iD7ChangesVySbctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var enqueuedUpdatesCount: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7293 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Because these `performBatchUpdates` calls can end up getting queued up,\nwe only want to clear out the changes if no other changes have come in\nbehind us. If they have, we'll let the last one handle clearing the changes.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> enqueuedUpdatesCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "enqueuedUpdatesCount", - "key.namelength" : 20, - "key.nameoffset" : 7305, - "key.offset" : 7301, - "key.parsed_declaration" : "private var enqueuedUpdatesCount : Int = 0", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 165, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20enqueuedUpdatesCount33_ADB62FCF3A7E6744D33B68516F47759BLLSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var changes: CollectionViewChanges<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 7353 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> changes<\/decl.name>: CollectionViewChanges<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "changes", - "key.namelength" : 7, - "key.nameoffset" : 7365, - "key.offset" : 7361, - "key.parsed_declaration" : "private var changes : CollectionViewChanges?", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ListView.CollectionViewChanges?", - "key.typeusr" : "$s10ListableUI8ListViewC010CollectionD7ChangesVSgD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C7changes33_ADB62FCF3A7E6744D33B68516F47759BLLAC0iD7ChangesVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@objc @MainActor<\/Type> var _isFirstResponderInDeletedSectionOrItem: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 9756 - } - ], - "key.bodylength" : 4358, - "key.bodyoffset" : 9814, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "### 🚨 This Overrides A Private Method\n\nThis method wholesale re-implements a private method from `UICollectionView`,\nwhich broke in iOS 16.4 and again in iOS 17-18. We have the diff, so we can figure this out ourselves.\n\nFor reference, here's the decompiled original impl:\n\n```\nint -[UICollectionView _isFirstResponderInDeletedSectionOrItem](int arg0) {\n rdi = arg0;\n if (rdi->_firstResponderView == 0x0) goto loc_36d628;\n\nloc_36d5dd:\n rbx = rdi;\n r15 = *ivar_offset(_firstResponderIndexPath);\n rdx = *(rdi + r15);\n if (rdx == 0x0) goto loc_36d628;\n\nloc_36d5f0:\n r14 = *ivar_offset(_currentUpdate);\n rdi = *(rbx + r14);\n if (rdi == 0x0) goto loc_36d628;\n\nloc_36d600:\n if (rbx->_firstResponderViewType != 0x1) goto loc_36d62f;\n\nloc_36d60e:\n rax = [rdi finalIndexPathForInitialIndexPath:rdx];\n rax = [rax retain];\n goto loc_36d6bf;\n\nloc_36d6bf:\n r14 = rax;\n rbx = rax == 0x0 ? 0x1 : 0x0;\n goto loc_36d6c8;\n\nloc_36d6c8:\n [r14 release];\n goto loc_36d6d1;\n\nloc_36d6d1:\n rax = rbx;\n return rax;\n\nloc_36d62f:\n rax = [rdx length];\n rdi = *(rbx + r14);\n if (rax != 0x1) goto loc_36d69b;\n\nloc_36d649:\n r14 = [[*(rdi + 0x80) objectForKeyedSubscript:rbx->_firstResponderViewKind] retain];\n rbx = [r14 containsIndex:[*(rbx + r15) indexAtPosition:0x0]];\n goto loc_36d6c8;\n\nloc_36d69b:\n rax = [rdi validatedNewIndexPathForSupplementaryElementOfKind:rbx->_firstResponderViewKind oldIndexPath:*(rbx + r15)];\n rax = [rax retain];\n goto loc_36d6bf;\n\nloc_36d628:\n rbx = 0x0;\n goto loc_36d6d1;\n}\n\n```", - "key.doc.column" : 19, - "key.doc.comment" : "### 🚨 This Overrides A Private Method\n\nThis method wholesale re-implements a private method from `UICollectionView`,\nwhich broke in iOS 16.4 and again in iOS 17-18. We have the diff, so we can figure this out ourselves.\n\nFor reference, here's the decompiled original impl:\n\n```\nint -[UICollectionView _isFirstResponderInDeletedSectionOrItem](int arg0) {\n rdi = arg0;\n if (rdi->_firstResponderView == 0x0) goto loc_36d628;\n\nloc_36d5dd:\n rbx = rdi;\n r15 = *ivar_offset(_firstResponderIndexPath);\n rdx = *(rdi + r15);\n if (rdx == 0x0) goto loc_36d628;\n\nloc_36d5f0:\n r14 = *ivar_offset(_currentUpdate);\n rdi = *(rbx + r14);\n if (rdi == 0x0) goto loc_36d628;\n\nloc_36d600:\n if (rbx->_firstResponderViewType != 0x1) goto loc_36d62f;\n\nloc_36d60e:\n rax = [rdi finalIndexPathForInitialIndexPath:rdx];\n rax = [rax retain];\n goto loc_36d6bf;\n\nloc_36d6bf:\n r14 = rax;\n rbx = rax == 0x0 ? 0x1 : 0x0;\n goto loc_36d6c8;\n\nloc_36d6c8:\n [r14 release];\n goto loc_36d6d1;\n\nloc_36d6d1:\n rax = rbx;\n return rax;\n\nloc_36d62f:\n rax = [rdx length];\n rdi = *(rbx + r14);\n if (rax != 0x1) goto loc_36d69b;\n\nloc_36d649:\n r14 = [[*(rdi + 0x80) objectForKeyedSubscript:rbx->_firstResponderViewKind] retain];\n rbx = [r14 containsIndex:[*(rbx + r15) indexAtPosition:0x0]];\n goto loc_36d6c8;\n\nloc_36d69b:\n rax = [rdi validatedNewIndexPathForSupplementaryElementOfKind:rbx->_firstResponderViewKind oldIndexPath:*(rbx + r15)];\n rax = [rax retain];\n goto loc_36d6bf;\n\nloc_36d628:\n rbx = 0x0;\n goto loc_36d6d1;\n}\n\n```", - "key.doc.declaration" : "@objc @MainActor var _isFirstResponderInDeletedSectionOrItem: Bool { get }", - "key.doc.discussion" : [ - { - "Para" : "This method wholesale re-implements a private method from `UICollectionView`, which broke in iOS 16.4 and again in iOS 17-18. We have the diff, so we can figure this out ourselves." - }, - { - "Para" : "For reference, here’s the decompiled original impl:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "_isFirstResponderInDeletedSectionOrItem<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvp<\/USR>@objc @MainActor var _isFirstResponderInDeletedSectionOrItem: Bool { get }<\/Declaration>]]><\/rawHTML>🚨 This Overrides A Private Method]]><\/rawHTML>This method wholesale re-implements a private method from UICollectionView<\/codeVoice>, which broke in iOS 16.4 and again in iOS 17-18. We have the diff, so we can figure this out ourselves.<\/Para>For reference, here’s the decompiled original impl:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered>_firstResponderView == 0x0) goto loc_36d628;]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>_firstResponderViewType != 0x1) goto loc_36d62f;]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>_firstResponderViewKind] retain];]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>_firstResponderViewKind oldIndexPath:*(rbx + r15)];]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 234, - "key.doc.name" : "_isFirstResponderInDeletedSectionOrItem", - "key.doc.type" : "Other", - "key.doclength" : 2333, - "key.docoffset" : 7415, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> _isFirstResponderInDeletedSectionOrItem<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 4411, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "_isFirstResponderInDeletedSectionOrItem", - "key.namelength" : 39, - "key.nameoffset" : 9766, - "key.offset" : 9762, - "key.parsed_declaration" : "@objc var _isFirstResponderInDeletedSectionOrItem : Bool", - "key.parsed_scope.end" : 322, - "key.parsed_scope.start" : 234, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvp" - }, - { - "key.annotated_decl" : "let selector: Selector<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> selector<\/decl.name>: Selector<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 78, - "key.line" : 240, - "key.modulename" : "ListableUI", - "key.name" : "selector", - "key.namelength" : 8, - "key.nameoffset" : 9908, - "key.offset" : 9904, - "key.parsed_declaration" : "let selector = #selector(getter: self._isFirstResponderInDeletedSectionOrItem)", - "key.parsed_scope.end" : 240, - "key.parsed_scope.start" : 240, - "key.reusingastcontext" : false, - "key.typename" : "Selector", - "key.typeusr" : "$s10ObjectiveC8SelectorVD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg8selectorL_10ObjectiveC8SelectorVvp" - }, - { - "key.annotated_decl" : "let super_impl: IMP<\/Type>?<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This gets the (private) implementation from `UICollectionView`.", - "key.doc.column" : 17, - "key.doc.comment" : "This gets the (private) implementation from `UICollectionView`.", - "key.doc.declaration" : "let super_impl: IMP?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "super_impl<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg10super_implL_s13OpaquePointerVSgvp<\/USR>let super_impl: IMP?<\/Declaration>This gets the (private) implementation from UICollectionView<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 243, - "key.doc.name" : "super_impl", - "key.doc.type" : "Other", - "key.doclength" : 68, - "key.docoffset" : 10008, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> super_impl<\/decl.name>: IMP<\/ref.typealias>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 79, - "key.line" : 243, - "key.modulename" : "ListableUI", - "key.name" : "super_impl", - "key.namelength" : 10, - "key.nameoffset" : 10092, - "key.offset" : 10088, - "key.parsed_declaration" : "let super_impl = class_getMethodImplementation(UICollectionView.self, selector)", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 243, - "key.reusingastcontext" : false, - "key.typename" : "OpaquePointer?", - "key.typeusr" : "$ss13OpaquePointerVSgD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg10super_implL_s13OpaquePointerVSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "typealias SuperFunction = @convention(c) (AnyObject<\/Type>, Selector<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is the Swift prototype of the function. There's no arguments, but ObjC\nmethods (when converted to their final C representation) have two implicit arguments,\n`self`, the object, and `SEL`, the selector.", - "key.doc.column" : 23, - "key.doc.comment" : "This is the Swift prototype of the function. There's no arguments, but ObjC\nmethods (when converted to their final C representation) have two implicit arguments,\n`self`, the object, and `SEL`, the selector.", - "key.doc.declaration" : "typealias SuperFunction = @convention(c) (AnyObject, Selector) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "SuperFunction<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg13SuperFunctionL_a<\/USR>typealias SuperFunction = @convention(c) (AnyObject, Selector) -> Bool<\/Declaration>This is the Swift prototype of the function. There’s no arguments, but ObjC methods (when converted to their final C representation) have two implicit arguments, self<\/codeVoice>, the object, and SEL<\/codeVoice>, the selector.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 256, - "key.doc.name" : "SuperFunction", - "key.doc.type" : "Other", - "key.doclength" : 243, - "key.docoffset" : 10631, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> SuperFunction<\/decl.name> = @convention<\/syntaxtype.attribute.name>(c)<\/syntaxtype.attribute.builtin> (AnyObject<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, Selector<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 70, - "key.line" : 256, - "key.modulename" : "ListableUI", - "key.name" : "SuperFunction", - "key.namelength" : 13, - "key.nameoffset" : 10896, - "key.offset" : 10886, - "key.parsed_declaration" : "typealias SuperFunction = @convention(c) (AnyObject, Selector) -> Bool", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 256, - "key.reusingastcontext" : false, - "key.typename" : "(@convention(c) (AnyObject, Selector) -> Bool).Type", - "key.typeusr" : "$sSbyXl_10ObjectiveC8SelectorVtXCmD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg13SuperFunctionL_a" - }, - { - "key.annotated_decl" : "let super_function: SuperFunction<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Make the pointer we got back into a Swift-callable function.", - "key.doc.column" : 17, - "key.doc.comment" : "Make the pointer we got back into a Swift-callable function.", - "key.doc.declaration" : "let super_function: ListableUI.SuperFunction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "super_function<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg14super_functionL_ySbyXl_10ObjectiveC8SelectorVtXCvp<\/USR>let super_function: ListableUI.SuperFunction<\/Declaration>Make the pointer we got back into a Swift-callable function.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 259, - "key.doc.name" : "super_function", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 10982, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> super_function<\/decl.name>: SuperFunction<\/ref.typealias><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 70, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "super_function", - "key.namelength" : 14, - "key.nameoffset" : 11063, - "key.offset" : 11059, - "key.parsed_declaration" : "let super_function = unsafeBitCast(super_impl, to: SuperFunction.self)", - "key.parsed_scope.end" : 259, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.typename" : "@convention(c) (AnyObject, Selector) -> Bool", - "key.typeusr" : "$sySbyXl_10ObjectiveC8SelectorVtXCD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg14super_functionL_ySbyXl_10ObjectiveC8SelectorVtXCvp" - }, - { - "key.annotated_decl" : "let isRemoving: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Ok so beyond this, we need to get it right; otherwise we'll hit this internal assert:\n```\n'The first responder contained inside of a deleted section or item refused to resign.\n```", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isRemoving<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 117, - "key.line" : 317, - "key.modulename" : "ListableUI", - "key.name" : "isRemoving", - "key.namelength" : 10, - "key.nameoffset" : 14007, - "key.offset" : 14003, - "key.parsed_declaration" : "let isRemoving = changes.deletedSections.contains {\n $0.oldIndex == oldIndexPath.section\n}", - "key.parsed_scope.end" : 317, - "key.parsed_scope.start" : 317, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C03_isfG22InDeletedSectionOrItemSbvg0J8RemovingL_Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private static let isAffectedIOSVersion: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14191 - } - ], - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> isAffectedIOSVersion<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 953, - "key.line" : 324, - "key.modulename" : "ListableUI", - "key.name" : "isAffectedIOSVersion", - "key.namelength" : 20, - "key.nameoffset" : 14210, - "key.offset" : 14199, - "key.parsed_declaration" : "private static let isAffectedIOSVersion : Bool = {\n \n \/\/\/ First regressed in 16.4.\n \n let isIOS16_4 = ProcessInfo\n .processInfo\n .isOperatingSystemAtLeast(\n .init(majorVersion: 16, minorVersion: 4, patchVersion: 0)\n )\n \n \/\/\/ Fixed in 16.5.\n \n let isIOS16_5 = ProcessInfo\n .processInfo\n .isOperatingSystemAtLeast(\n .init(majorVersion: 16, minorVersion: 5, patchVersion: 0)\n )\n \n \/\/\/ ...But is broken again iOS 17.0 - 18.4 (at least)\n \n let isIOS17_0 = ProcessInfo\n .processInfo\n .isOperatingSystemAtLeast(\n .init(majorVersion: 17, minorVersion: 0, patchVersion: 0)\n )\n\n return (isIOS16_4 && !isIOS16_5) || isIOS17_0\n}()", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 324, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZ" - }, - { - "key.annotated_decl" : "let isIOS16_4: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "First regressed in 16.4.", - "key.doc.column" : 17, - "key.doc.comment" : "First regressed in 16.4.", - "key.doc.declaration" : "let isIOS16_4: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "isIOS16_4<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0jE2_4L_Sbvp<\/USR>let isIOS16_4: Bool<\/Declaration>First regressed in 16.4.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 328, - "key.doc.name" : "isIOS16_4", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isIOS16_4<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 9, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "isIOS16_4", - "key.offset" : 14325, - "key.parsed_declaration" : "let isIOS16_4", - "key.parsed_scope.end" : 328, - "key.parsed_scope.start" : 328, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0jE2_4L_Sbvp" - }, - { - "key.annotated_decl" : "let isIOS16_5: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Fixed in 16.5.", - "key.doc.column" : 17, - "key.doc.comment" : "Fixed in 16.5.", - "key.doc.declaration" : "let isIOS16_5: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "isIOS16_5<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0jE2_5L_Sbvp<\/USR>let isIOS16_5: Bool<\/Declaration>Fixed in 16.5.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 336, - "key.doc.name" : "isIOS16_5", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isIOS16_5<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 9, - "key.line" : 336, - "key.modulename" : "ListableUI", - "key.name" : "isIOS16_5", - "key.offset" : 14590, - "key.parsed_declaration" : "let isIOS16_5", - "key.parsed_scope.end" : 336, - "key.parsed_scope.start" : 336, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0jE2_5L_Sbvp" - }, - { - "key.annotated_decl" : "let isIOS17_0: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "...But is broken again iOS 17.0 - 18.4 (at least)", - "key.doc.column" : 17, - "key.doc.comment" : "...But is broken again iOS 17.0 - 18.4 (at least)", - "key.doc.declaration" : "let isIOS17_0: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.doc.full_as_xml" : "isIOS17_0<\/Name>s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0J7IOS17_0L_Sbvp<\/USR>let isIOS17_0: Bool<\/Declaration>…But is broken again iOS 17.0 - 18.4 (at least)<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 344, - "key.doc.name" : "isIOS17_0", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isIOS17_0<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 9, - "key.line" : 344, - "key.modulename" : "ListableUI", - "key.name" : "isIOS17_0", - "key.offset" : 14890, - "key.parsed_declaration" : "let isIOS17_0", - "key.parsed_scope.end" : 344, - "key.parsed_scope.start" : 344, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC038IOS16_4_First_Responder_Bug_CollectionD0C20isAffectedIOSVersion33_ADB62FCF3A7E6744D33B68516F47759BLLSbvpZfiSbyXEfU_0J7IOS17_0L_Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private static let hasFirstResponderViewProperty: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 15170 - } - ], - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView+iOS16.4Workaround.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> hasFirstResponderViewProperty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 643, - "key.line" : 353, - "key.modulename" : "ListableUI", - "key.name" : "hasFirstResponderViewProperty", - "key.namelength" : 29, - "key.nameoffset" : 15189, - "key.offset" : 15178, - "key.parsed_declaration" : "private static let hasFirstResponderViewProperty : Bool = {\n \n var ivarCount : UInt32 = 0\n \n let ivars = class_copyIvarList(UICollectionView.self, &ivarCount)\n \n guard let ivars else {\n return false\n }\n \n defer {\n free(ivars)\n }\n \n return (0..public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 128 - } - ], - "key.bodylength" : 2836, - "key.bodyoffset" : 157, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2857, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 147, - "key.offset" : 137, - "key.parsed_declaration" : "internal extension ListView", - "key.parsed_scope.end" : 97, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct CollectionViewChanges<\/Declaration>", - "key.bodylength" : 2795, - "key.bodyoffset" : 196, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> CollectionViewChanges<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2830, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "CollectionViewChanges", - "key.namelength" : 21, - "key.nameoffset" : 169, - "key.offset" : 162, - "key.parsed_declaration" : "struct CollectionViewChanges", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias ListView<\/Type>.CollectionViewChanges<\/Type>.SectionChanges = SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>.SectionChanges<\/Type><\/Declaration>", - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ListView<\/ref.class>.CollectionViewChanges<\/ref.struct>.SectionChanges<\/decl.name> = SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>>.SectionChanges<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 103, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "SectionChanges", - "key.namelength" : 14, - "key.nameoffset" : 215, - "key.offset" : 205, - "key.parsed_declaration" : "typealias SectionChanges = SectionedDiff.SectionChanges", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.SectionChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV14SectionChangesVyAA0E0VAA13AnyIdentifierCAA0G4Item_pAI_GmD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV07SectionF0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias ListView<\/Type>.CollectionViewChanges<\/Type>.ItemChanges = SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>.ItemChanges<\/Type><\/Declaration>", - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ListView<\/ref.class>.CollectionViewChanges<\/ref.struct>.ItemChanges<\/decl.name> = SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>>.ItemChanges<\/ref.struct><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 97, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "ItemChanges", - "key.namelength" : 11, - "key.nameoffset" : 327, - "key.offset" : 317, - "key.parsed_declaration" : "typealias ItemChanges = SectionedDiff.ItemChanges", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "SectionedDiff.ItemChanges.Type", - "key.typeusr" : "$s10ListableUI13SectionedDiffV11ItemChangesVyAA7SectionVAA13AnyIdentifierCAA0hE0_pAI_GmD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV04ItemF0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var deletedSections: [SectionChanges<\/Type>.Removed<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> deletedSections<\/decl.name>: [SectionChanges<\/ref.typealias>.Removed<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "deletedSections", - "key.namelength" : 15, - "key.nameoffset" : 436, - "key.offset" : 432, - "key.parsed_declaration" : "var deletedSections : [SectionChanges.Removed] = []", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.SectionChanges.Removed]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV7RemovedVyAA0E0VAA13AnyIdentifierCAA0H4Item_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV15deletedSectionsSayAA13SectionedDiffV07SectionF0V7RemovedVyAA0K0VAA13AnyIdentifierCAA0M4Item_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var insertedSections: [SectionChanges<\/Type>.Added<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insertedSections<\/decl.name>: [SectionChanges<\/ref.typealias>.Added<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 50, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "insertedSections", - "key.namelength" : 16, - "key.nameoffset" : 496, - "key.offset" : 492, - "key.parsed_declaration" : "var insertedSections : [SectionChanges.Added] = []", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.SectionChanges.Added]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV5AddedVyAA0E0VAA13AnyIdentifierCAA0H4Item_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV16insertedSectionsSayAA13SectionedDiffV07SectionF0V5AddedVyAA0K0VAA13AnyIdentifierCAA0M4Item_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var movedSections: [SectionChanges<\/Type>.Moved<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> movedSections<\/decl.name>: [SectionChanges<\/ref.typealias>.Moved<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "movedSections", - "key.namelength" : 13, - "key.nameoffset" : 555, - "key.offset" : 551, - "key.parsed_declaration" : "var movedSections : [SectionChanges.Moved] = []", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.SectionChanges.Moved]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV14SectionChangesV5MovedVyAA0E0VAA13AnyIdentifierCAA0H4Item_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV13movedSectionsSayAA13SectionedDiffV07SectionF0V5MovedVyAA0K0VAA13AnyIdentifierCAA0M4Item_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var deletedItems: [ItemChanges<\/Type>.Removed<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> deletedItems<\/decl.name>: [ItemChanges<\/ref.typealias>.Removed<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "deletedItems", - "key.namelength" : 12, - "key.nameoffset" : 620, - "key.offset" : 616, - "key.parsed_declaration" : "var deletedItems : [ItemChanges.Removed] = []", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.ItemChanges.Removed]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV7RemovedVyAA7SectionVAA13AnyIdentifierCAA0iE0_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV12deletedItemsSayAA13SectionedDiffV04ItemF0V7RemovedVyAA7SectionVAA13AnyIdentifierCAA0nK0_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var insertedItems: [ItemChanges<\/Type>.Added<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> insertedItems<\/decl.name>: [ItemChanges<\/ref.typealias>.Added<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "insertedItems", - "key.namelength" : 13, - "key.nameoffset" : 674, - "key.offset" : 670, - "key.parsed_declaration" : "var insertedItems : [ItemChanges.Added] = []", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.ItemChanges.Added]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV5AddedVyAA7SectionVAA13AnyIdentifierCAA0iE0_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV13insertedItemsSayAA13SectionedDiffV04ItemF0V5AddedVyAA7SectionVAA13AnyIdentifierCAA0nK0_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var updatedItems: [ItemChanges<\/Type>.Updated<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> updatedItems<\/decl.name>: [ItemChanges<\/ref.typealias>.Updated<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "updatedItems", - "key.namelength" : 12, - "key.nameoffset" : 727, - "key.offset" : 723, - "key.parsed_declaration" : "var updatedItems : [ItemChanges.Updated] = []", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.ItemChanges.Updated]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV7UpdatedVyAA7SectionVAA13AnyIdentifierCAA0iE0_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV12updatedItemsSayAA13SectionedDiffV04ItemF0V7UpdatedVyAA7SectionVAA13AnyIdentifierCAA0nK0_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var movedItems: [ItemChanges<\/Type>.Moved<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> movedItems<\/decl.name>: [ItemChanges<\/ref.typealias>.Moved<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "movedItems", - "key.namelength" : 10, - "key.nameoffset" : 781, - "key.offset" : 777, - "key.parsed_declaration" : "var movedItems : [ItemChanges.Moved] = []", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[SectionedDiff.ItemChanges.Moved]", - "key.typeusr" : "$sSay10ListableUI13SectionedDiffV11ItemChangesV5MovedVyAA7SectionVAA13AnyIdentifierCAA0iE0_pAK__GGD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV10movedItemsSayAA13SectionedDiffV04ItemF0V5MovedVyAA7SectionVAA13AnyIdentifierCAA0nK0_pAP__GGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var hasIndexAffectingChanges: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 373, - "key.bodyoffset" : 881, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> hasIndexAffectingChanges<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 411, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "hasIndexAffectingChanges", - "key.namelength" : 24, - "key.nameoffset" : 848, - "key.offset" : 844, - "key.parsed_declaration" : "var hasIndexAffectingChanges : Bool", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV017hasIndexAffectingF0Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(sectionChanges changes: SectionChanges<\/Type>)<\/Declaration>", - "key.bodylength" : 1435, - "key.bodyoffset" : 1328, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(sectionChanges<\/decl.var.parameter.argument_label> changes<\/decl.var.parameter.name>: SectionChanges<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1491, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "init(sectionChanges:)", - "key.namelength" : 45, - "key.nameoffset" : 1273, - "key.offset" : 1273, - "key.parsed_declaration" : "init(sectionChanges changes : SectionChanges)", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 37, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.CollectionViewChanges.Type) -> (SectionedDiff.SectionChanges) -> ListView.CollectionViewChanges", - "key.typeusr" : "$s14sectionChanges10ListableUI8ListViewC010CollectionfB0VAB13SectionedDiffV07SectionB0VyAB0J0VAB13AnyIdentifierCAB0K4Item_pAN_G_tcD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV07sectionF0AeA13SectionedDiffV07SectionF0VyAA0J0VAA13AnyIdentifierCAA0K4Item_pAN_G_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2782 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 2798, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 2790, - "key.offset" : 2790, - "key.parsed_declaration" : "private init()", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(sectionChanges:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "(ListView.CollectionViewChanges.Type) -> () -> ListView.CollectionViewChanges", - "key.typeusr" : "$s10ListableUI8ListViewC010CollectionD7ChangesVycD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesVAEyc33_5EC4437E59A561DEDB0899E8ECD6647ALlfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static var empty: CollectionViewChanges<\/Type> { get }<\/Declaration>", - "key.bodylength" : 45, - "key.bodyoffset" : 2940, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns an instance of `CollectionViewChanges` containing no changes.", - "key.doc.column" : 20, - "key.doc.comment" : "Returns an instance of `CollectionViewChanges` containing no changes.", - "key.doc.declaration" : "static var empty: CollectionViewChanges { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.doc.full_as_xml" : "empty<\/Name>s:10ListableUI8ListViewC010CollectionD7ChangesV5emptyAEvpZ<\/USR>static var empty: CollectionViewChanges { get }<\/Declaration>Returns an instance of CollectionViewChanges<\/codeVoice> containing no changes.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 93, - "key.doc.name" : "empty", - "key.doc.type" : "Other", - "key.doclength" : 74, - "key.docoffset" : 2817, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.CollectionViewChanges.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> empty<\/decl.name>: CollectionViewChanges<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 87, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "empty", - "key.namelength" : 5, - "key.nameoffset" : 2910, - "key.offset" : 2899, - "key.parsed_declaration" : "static var empty: CollectionViewChanges", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "ListView.CollectionViewChanges", - "key.typeusr" : "$s10ListableUI8ListViewC010CollectionD7ChangesVD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV5emptyAEvpZ" - } - ], - "key.typename" : "ListView.CollectionViewChanges.Type", - "key.typeusr" : "$s10ListableUI8ListViewC010CollectionD7ChangesVmD", - "key.usr" : "s:10ListableUI8ListViewC010CollectionD7ChangesV" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 9108, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 113 - } - ], - "key.bodylength" : 8964, - "key.bodyoffset" : 142, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 8985, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 132, - "key.offset" : 122, - "key.parsed_declaration" : "internal extension ListView", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class DataSource : NSObject<\/Type>, UICollectionViewDataSource<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 147 - } - ], - "key.bodylength" : 8890, - "key.bodyoffset" : 214, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 172 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 26, - "key.offset" : 182 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DataSource<\/decl.name> : NSObject<\/ref.class>, UICollectionViewDataSource<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "NSObject" - }, - { - "key.name" : "UICollectionViewDataSource" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 8952, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "DataSource", - "key.namelength" : 10, - "key.nameoffset" : 159, - "key.offset" : 153, - "key.parsed_declaration" : "final class DataSource : NSObject, UICollectionViewDataSource", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var view: ListView<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 223 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> view<\/decl.name>: ListView<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 235, - "key.offset" : 231, - "key.parsed_declaration" : "unowned var view : ListView!", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC4viewACSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var presentationState: PresentationState<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 260 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> presentationState<\/decl.name>: PresentationState<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "presentationState", - "key.namelength" : 17, - "key.nameoffset" : 272, - "key.offset" : 268, - "key.parsed_declaration" : "unowned var presentationState : PresentationState!", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PresentationState?", - "key.typeusr" : "$s10ListableUI17PresentationStateCSgD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC17presentationStateAA012PresentationH0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var storage: ListView<\/Type>.Storage<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 319 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> storage<\/decl.name>: ListView<\/ref.class>.Storage<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 331, - "key.offset" : 327, - "key.parsed_declaration" : "unowned var storage : ListView.Storage!", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListView.Storage?", - "key.typeusr" : "$s10ListableUI8ListViewC7StorageCSgD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC7storageAC7StorageCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var liveCells: LiveCells<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 367 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> liveCells<\/decl.name>: LiveCells<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "liveCells", - "key.namelength" : 9, - "key.nameoffset" : 379, - "key.offset" : 375, - "key.parsed_declaration" : "unowned var liveCells : LiveCells!", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "LiveCells?", - "key.typeusr" : "$s10ListableUI9LiveCellsCSgD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC9liveCellsAA04LiveH0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func numberOfSections(in collectionView: UICollectionView<\/Type>) -> Int<\/Type><\/Declaration>", - "key.bodylength" : 66, - "key.bodyoffset" : 486, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> numberOfSections<\/decl.name>(in<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 142, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "numberOfSections(in:)", - "key.namelength" : 53, - "key.nameoffset" : 416, - "key.offset" : 411, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)numberOfSectionsInCollectionView:" - } - ], - "key.parsed_declaration" : "func numberOfSections(in collectionView: UICollectionView) -> Int", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView) -> Int", - "key.typeusr" : "$s2inSiSo16UICollectionViewC_tcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC16numberOfSections2inSiSo012UICollectionD0C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, numberOfItemsInSection section: Int<\/Type>) -> Int<\/Type><\/Declaration>", - "key.bodylength" : 128, - "key.bodyoffset" : 680, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, numberOfItemsInSection<\/decl.var.parameter.argument_label> section<\/decl.var.parameter.name>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Int<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 238, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:numberOfItemsInSection:)", - "key.namelength" : 87, - "key.nameoffset" : 576, - "key.offset" : 571, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)collectionView:numberOfItemsInSection:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int", - "key.parsed_scope.end" : 30, - "key.parsed_scope.start" : 25, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:cellForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:viewForSupplementaryElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canMoveItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:moveItemAt:to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let section: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> section<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "section", - "key.namelength" : 7, - "key.nameoffset" : 697, - "key.offset" : 693, - "key.parsed_declaration" : "let section = self.presentationState.sections[section]", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_22numberOfItemsInSectionSiSo012UICollectionD0C_SitF7sectionL0_AA17PresentationStateC0lP0Cvp" - } - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView, Int) -> Int", - "key.typeusr" : "$s_22numberOfItemsInSectionSiSo16UICollectionViewC_SitcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_22numberOfItemsInSectionSiSo012UICollectionD0C_SitF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, cellForItemAt indexPath: IndexPath<\/Type>) -> UICollectionViewCell<\/Type><\/Declaration>", - "key.bodylength" : 479, - "key.bodyoffset" : 986, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, cellForItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionViewCell<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 639, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:cellForItemAt:)", - "key.namelength" : 120, - "key.nameoffset" : 832, - "key.offset" : 827, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)collectionView:cellForItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n cellForItemAt indexPath: IndexPath\n) -> UICollectionViewCell", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 32, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:numberOfItemsInSection:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:viewForSupplementaryElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canMoveItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:moveItemAt:to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 1003, - "key.offset" : 999, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_13cellForItemAtSo012UICollectionD4CellCSo0lD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationJ5State_pvp" - }, - { - "key.annotated_decl" : "let cell: any AnyItemCell<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cell<\/decl.name>: any AnyItemCell<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 185, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "cell", - "key.namelength" : 4, - "key.nameoffset" : 1174, - "key.offset" : 1170, - "key.parsed_declaration" : "let cell = item.dequeueAndPrepareCollectionViewCell(\n in: collectionView,\n for: indexPath,\n environment: self.view.environment\n)", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.typename" : "any AnyItemCell", - "key.typeusr" : "$s10ListableUI11AnyItemCell_pD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_13cellForItemAtSo012UICollectionD4CellCSo0lD0C_10Foundation9IndexPathVtF0H0L_AA03AnyjM0_pvp" - } - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView, IndexPath) -> UICollectionViewCell", - "key.typeusr" : "$s_13cellForItemAtSo20UICollectionViewCellCSo0eF0C_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_13cellForItemAtSo012UICollectionD4CellCSo0lD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let headerFooterReuseCache: ReusableViewCache<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1484 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> headerFooterReuseCache<\/decl.name>: ReusableViewCache<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "headerFooterReuseCache", - "key.namelength" : 22, - "key.nameoffset" : 1496, - "key.offset" : 1492, - "key.parsed_declaration" : "private let headerFooterReuseCache = ReusableViewCache()", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.typename" : "ReusableViewCache", - "key.typeusr" : "$s10ListableUI17ReusableViewCacheCD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC22headerFooterReuseCache33_8C8B9AF714C0959B5711D40AD9D209DBLLAA08ReusabledJ0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, viewForSupplementaryElementOfKind kind: String<\/Type>, at indexPath: IndexPath<\/Type>) -> UICollectionReusableView<\/Type><\/Declaration>", - "key.bodylength" : 3902, - "key.bodyoffset" : 1774, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, viewForSupplementaryElementOfKind<\/decl.var.parameter.argument_label> kind<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionReusableView<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4119, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:viewForSupplementaryElementOfKind:at:)", - "key.namelength" : 173, - "key.nameoffset" : 1563, - "key.offset" : 1558, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)collectionView:viewForSupplementaryElementOfKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n viewForSupplementaryElementOfKind kind: String,\n at indexPath: IndexPath\n ) -> UICollectionReusableView", - "key.parsed_scope.end" : 126, - "key.parsed_scope.start" : 54, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:numberOfItemsInSection:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:cellForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canMoveItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:moveItemAt:to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let statePair: PresentationState<\/Type>.HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> statePair<\/decl.name>: PresentationState<\/ref.class>.HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 679, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "statePair", - "key.namelength" : 9, - "key.nameoffset" : 1791, - "key.offset" : 1787, - "key.parsed_declaration" : "let statePair : PresentationState.HeaderFooterViewStatePair = {\n switch SupplementaryKind(rawValue: kind)! {\n case .listContainerHeader: return self.presentationState.containerHeader\n case .listHeader: return self.presentationState.header\n case .listFooter: return self.presentationState.footer\n case .sectionHeader: return self.presentationState.sections[indexPath.section].header\n case .sectionFooter: return self.presentationState.sections[indexPath.section].footer\n case .overscrollFooter: return self.presentationState.overscrollFooter\n }\n}()", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_33viewForSupplementaryElementOfKind2atSo020UICollectionReusableD0CSo0oD0C_SS10Foundation9IndexPathVtF9statePairL_AA17PresentationStateC012HeaderFooterdwU0Cvp" - }, - { - "key.annotated_decl" : "let headerFooter: (any AnyPresentationHeaderFooterState<\/Type>)?<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> headerFooter<\/decl.name>: (any AnyPresentationHeaderFooterState<\/ref.protocol>)?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 34, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 2496, - "key.offset" : 2492, - "key.parsed_declaration" : "let headerFooter = statePair.state", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.typename" : "(any AnyPresentationHeaderFooterState)?", - "key.typeusr" : "$s10ListableUI32AnyPresentationHeaderFooterState_pSgD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_33viewForSupplementaryElementOfKind2atSo020UICollectionReusableD0CSo0oD0C_SS10Foundation9IndexPathVtF12headerFooterL_AA021AnyPresentationHeaderU5State_pSgvp" - }, - { - "key.annotated_decl" : "let container: SupplementaryContainerView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> container<\/decl.name>: SupplementaryContainerView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 2991, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "container", - "key.namelength" : 9, - "key.nameoffset" : 2556, - "key.offset" : 2552, - "key.parsed_declaration" : "let container : SupplementaryContainerView = {\n \n \/\/\/ The below works around a (seeming?) bug or odd behavior in `UICollectionView`,\n \/\/\/ where it tries to be smart about recycling supplementary views that contain a\n \/\/\/ first responder such as a text field. Specifically, it holds onto a supplementary view\n \/\/\/ that contains a first responder, not immediately recycling it when it is scrolled out\n \/\/\/ of view. That ensures that the keyboard isn't immediately dismissed, which would\n \/\/\/ be jarring.\n \/\/\/\n \/\/\/ ...Unfortunately, this doesn't seem to actually work in practice very well. When the\n \/\/\/ supplementary view is scrolled back _into_ view, and we're asked to dequeue\n \/\/\/ a view, the collection view hands us back a _different_ view, leading to double\n \/\/\/ views that get stacked on top of each other in the layout, leading to a bunch\n \/\/\/ of weirdness.\n \/\/\/\n \/\/\/ So, to work around this, we do a few things:\n \/\/\/\n \/\/\/ 1) We begin tracking which supplementary views currently contain a first responder.\n \/\/\/ For practicality of implementation, we only track text fields right now. This could\n \/\/\/ change, but is harder, given there's no generic \"first responder changed\" notification.\n \/\/\/ This code lives in `ListView`.\n \/\/\/\n \/\/\/ 2) We update `ListLayoutContent.content(in: ...)` to _always_ return\n \/\/\/ supplementary info when a supplementary view contains a first responder,\n \/\/\/ even when out of frame. This ensures the supplementary view\n \/\/\/ instance is kept alive by the collection view.\n \/\/\/\n \/\/\/ 3) Within this method, we check to see if there's a live, existing `visibleContainer`\n \/\/\/ (aka the supplementary view) view with a first responder in it,\n \/\/\/ and if there is, we return _that_, instead of just dequeuing a new, wrong view.\n \/\/\/\n \/\/\/ After all that, the correct thing happens.\n \/\/\/\n \/\/\/ PR with more info and screenshots, etc:\n \/\/\/ https:\/\/github.com\/square\/Listable\/pull\/507\n \/\/\/\n \n if let view = statePair.visibleContainer, let state = statePair.state, state.containsFirstResponder {\n return view\n } else {\n return SupplementaryContainerView.dequeue(\n in: collectionView,\n for: kind,\n at: indexPath,\n reuseCache: self.headerFooterReuseCache,\n environment: self.view.environment\n )\n }\n}()", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryContainerView", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_33viewForSupplementaryElementOfKind2atSo020UICollectionReusableD0CSo0oD0C_SS10Foundation9IndexPathVtF9containerL_AA0j9ContainerD0Cvp" - }, - { - "key.annotated_decl" : "let view: SupplementaryContainerView<\/Type><\/Declaration>", - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "The below works around a (seeming?) bug or odd behavior in `UICollectionView`,\nwhere it tries to be smart about recycling supplementary views that contain a\nfirst responder such as a text field. Specifically, it holds onto a supplementary view\nthat contains a first responder, not immediately recycling it when it is scrolled out\nof view. That ensures that the keyboard isn't immediately dismissed, which would\nbe jarring.\n\n...Unfortunately, this doesn't seem to actually work in practice very well. When the\nsupplementary view is scrolled back _into_ view, and we're asked to dequeue\na view, the collection view hands us back a _different_ view, leading to double\nviews that get stacked on top of each other in the layout, leading to a bunch\nof weirdness.\n\nSo, to work around this, we do a few things:\n\n1) We begin tracking which supplementary views currently contain a first responder.\nFor practicality of implementation, we only track text fields right now. This could\nchange, but is harder, given there's no generic \"first responder changed\" notification.\nThis code lives in `ListView`.\n\n2) We update `ListLayoutContent.content(in: ...)` to _always_ return\nsupplementary info when a supplementary view contains a first responder,\neven when out of frame. This ensures the supplementary view\ninstance is kept alive by the collection view.\n\n3) Within this method, we check to see if there's a live, existing `visibleContainer`\n(aka the supplementary view) view with a first responder in it,\nand if there is, we return _that_, instead of just dequeuing a new, wrong view.\n\nAfter all that, the correct thing happens.\n\nPR with more info and screenshots, etc:\nhttps:\/\/github.com\/square\/Listable\/pull\/507", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: SupplementaryContainerView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 4, - "key.line" : 110, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.offset" : 5031, - "key.parsed_declaration" : "if let view", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 110, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryContainerView", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_33viewForSupplementaryElementOfKind2atSo020UICollectionReusableD0CSo0oD0C_SS10Foundation9IndexPathVtFAA0j9ContainerD0CyXEfU0_0H0L_AQvp" - } - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView, String, IndexPath) -> UICollectionReusableView", - "key.typeusr" : "$s_33viewForSupplementaryElementOfKind2atSo24UICollectionReusableViewCSo0hJ0C_SS10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_33viewForSupplementaryElementOfKind2atSo020UICollectionReusableD0CSo0oD0C_SS10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, canMoveItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 151, - "key.bodyoffset" : 5838, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, canMoveItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 295, - "key.line" : 128, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:canMoveItemAt:)", - "key.namelength" : 120, - "key.nameoffset" : 5700, - "key.offset" : 5695, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)collectionView:canMoveItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n canMoveItemAt indexPath: IndexPath\n) -> Bool", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 128, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:numberOfItemsInSection:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:cellForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:viewForSupplementaryElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:moveItemAt:to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5867, - "key.offset" : 5863, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 133, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_13canMoveItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationJ5State_pvp" - } - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_13canMoveItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_13canMoveItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, moveItemAt from: IndexPath<\/Type>, to: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 2944, - "key.bodyoffset" : 6154, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, moveItemAt<\/decl.var.parameter.argument_label> from<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3091, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:moveItemAt:to:)", - "key.namelength" : 139, - "key.nameoffset" : 6013, - "key.offset" : 6008, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDataSource(im)collectionView:moveItemAtIndexPath:toIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n moveItemAt from: IndexPath,\n to: IndexPath\n)", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 138, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:numberOfItemsInSection:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:cellForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:viewForSupplementaryElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canMoveItemAt:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let result: ItemReordering<\/Type>.Result<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Notify our observers about the change.", - "key.doc.column" : 17, - "key.doc.comment" : "Notify our observers about the change.", - "key.doc.declaration" : "let result: ListableUI.ItemReordering.Result", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.doc.full_as_xml" : "result<\/Name>s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF6resultL_AA0I10ReorderingV6ResultVvp<\/USR>let result: ListableUI.ItemReordering.Result<\/Declaration>Notify our observers about the change.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 163, - "key.doc.name" : "result", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 6895, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> result<\/decl.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 260, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "result", - "key.namelength" : 6, - "key.nameoffset" : 6955, - "key.offset" : 6951, - "key.parsed_declaration" : "let result = ItemReordering.Result(\n from: from,\n fromSection: self.presentationState.sections[from.section].model,\n to: to,\n toSection: self.presentationState.sections[to.section].model\n)", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.typename" : "ItemReordering.Result", - "key.typeusr" : "$s10ListableUI14ItemReorderingV6ResultVD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF6resultL_AA0I10ReorderingV6ResultVvp" - }, - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 7241, - "key.offset" : 7237, - "key.parsed_declaration" : "let item = self.presentationState.item(at: to)", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 170, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF4itemL_AA015AnyPresentationI5State_pvp" - }, - { - "key.annotated_decl" : "let itemHadCallback: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> itemHadCallback<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 58, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "itemHadCallback", - "key.namelength" : 15, - "key.nameoffset" : 7313, - "key.offset" : 7309, - "key.parsed_declaration" : "let itemHadCallback = item.performDidReorder(with: result)", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF15itemHadCallbackL_Sbvp" - }, - { - "key.annotated_decl" : "let hasStateObservers: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.DataSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> hasStateObservers<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 80, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "hasStateObservers", - "key.namelength" : 17, - "key.nameoffset" : 7384, - "key.offset" : 7380, - "key.parsed_declaration" : "let hasStateObservers = self.view.stateObserver.onItemReordered.isEmpty == false", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF17hasStateObserversL_Sbvp" - } - ], - "key.typename" : "(ListView.DataSource) -> (UICollectionView, IndexPath, IndexPath) -> ()", - "key.typeusr" : "$s_10moveItemAt2toySo16UICollectionViewC_10Foundation9IndexPathVAGtcD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC010collectionD0_10moveItemAt2toySo012UICollectionD0C_10Foundation9IndexPathVAMtF" - } - ], - "key.typename" : "ListView.DataSource.Type", - "key.typeusr" : "$s10ListableUI8ListViewC10DataSourceCmD", - "key.usr" : "s:10ListableUI8ListViewC10DataSourceC" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 16037, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 15904, - "key.bodyoffset" : 131, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 15925, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 121, - "key.offset" : 111, - "key.parsed_declaration" : "extension ListView", - "key.parsed_scope.end" : 414, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> final class Delegate : NSObject<\/Type>, UICollectionViewDelegate<\/Type>, CollectionViewLayoutDelegate<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 136 - } - ], - "key.bodylength" : 15804, - "key.bodyoffset" : 229, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 159 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 169 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 28, - "key.offset" : 195 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Delegate<\/decl.name> : NSObject<\/ref.class>, UICollectionViewDelegate<\/ref.protocol>, CollectionViewLayoutDelegate<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "NSObject" - }, - { - "key.name" : "UICollectionViewDelegate" - }, - { - "key.name" : "CollectionViewLayoutDelegate" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 15892, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "Delegate", - "key.namelength" : 8, - "key.nameoffset" : 148, - "key.offset" : 142, - "key.parsed_declaration" : "final class Delegate : NSObject, UICollectionViewDelegate, CollectionViewLayoutDelegate", - "key.parsed_scope.end" : 413, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var view: ListView<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 238 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> view<\/decl.name>: ListView<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 250, - "key.offset" : 246, - "key.parsed_declaration" : "unowned var view : ListView!", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC4viewACSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var presentationState: PresentationState<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 275 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> presentationState<\/decl.name>: PresentationState<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "presentationState", - "key.namelength" : 17, - "key.nameoffset" : 287, - "key.offset" : 283, - "key.parsed_declaration" : "unowned var presentationState : PresentationState!", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PresentationState?", - "key.typeusr" : "$s10ListableUI17PresentationStateCSgD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC17presentationStateAA012PresentationG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> unowned var layoutManager: LayoutManager<\/Type>!<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 334 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> unowned<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layoutManager<\/decl.name>: LayoutManager<\/ref.class>!<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "layoutManager", - "key.namelength" : 13, - "key.nameoffset" : 346, - "key.offset" : 342, - "key.parsed_declaration" : "unowned var layoutManager : LayoutManager!", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ListView.LayoutManager?", - "key.typeusr" : "$s10ListableUI8ListViewC13LayoutManagerCSgD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC13layoutManagerAC06LayoutG0CSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 30, - "key.name" : "MARK: UICollectionViewDelegate", - "key.offset" : 397 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, shouldHighlightItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 239, - "key.bodyoffset" : 562, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, shouldHighlightItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 357, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:shouldHighlightItemAt:)", - "key.namelength" : 94, - "key.nameoffset" : 450, - "key.offset" : 445, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:shouldHighlightItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, shouldHighlightItemAt indexPath: IndexPath) -> Bool", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 21, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 669, - "key.offset" : 665, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_21shouldHighlightItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_21shouldHighlightItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_21shouldHighlightItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didHighlightItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 153, - "key.bodyoffset" : 926, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didHighlightItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 260, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didHighlightItemAt:)", - "key.namelength" : 91, - "key.nameoffset" : 825, - "key.offset" : 820, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didHighlightItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, didHighlightItemAt indexPath: IndexPath)", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 30, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 943, - "key.offset" : 939, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_18didHighlightItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s_18didHighlightItemAtySo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_18didHighlightItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didUnhighlightItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 153, - "key.bodyoffset" : 1206, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didUnhighlightItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 262, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didUnhighlightItemAt:)", - "key.namelength" : 93, - "key.nameoffset" : 1103, - "key.offset" : 1098, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didUnhighlightItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, didUnhighlightItemAt indexPath: IndexPath)", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 37, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 1223, - "key.offset" : 1219, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_20didUnhighlightItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s_20didUnhighlightItemAtySo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_20didUnhighlightItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, shouldSelectItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 819, - "key.bodyoffset" : 1492, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, shouldSelectItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 934, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:shouldSelectItemAt:)", - "key.namelength" : 91, - "key.nameoffset" : 1383, - "key.offset" : 1378, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:shouldSelectItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 44, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 1599, - "key.offset" : 1595, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_18shouldSelectItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_18shouldSelectItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_18shouldSelectItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, shouldDeselectItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 33, - "key.bodyoffset" : 2446, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, shouldDeselectItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 150, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:shouldDeselectItemAt:)", - "key.namelength" : 93, - "key.nameoffset" : 2335, - "key.offset" : 2330, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:shouldDeselectItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, shouldDeselectItemAt indexPath: IndexPath) -> Bool", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 68, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_20shouldDeselectItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_20shouldDeselectItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didSelectItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 632, - "key.bodyoffset" : 2601, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didSelectItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 736, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didSelectItemAt:)", - "key.namelength" : 88, - "key.nameoffset" : 2503, - "key.offset" : 2498, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didSelectItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 73, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 2618, - "key.offset" : 2614, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_15didSelectItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s_15didSelectItemAtySo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_15didSelectItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didDeselectItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 272, - "key.bodyoffset" : 3357, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didDeselectItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 378, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didDeselectItemAt:)", - "key.namelength" : 90, - "key.nameoffset" : 3257, - "key.offset" : 3252, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didDeselectItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath)", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 91, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 3374, - "key.offset" : 3370, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_17didDeselectItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> ()", - "key.typeusr" : "$s_17didDeselectItemAtySo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_17didDeselectItemAtySo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView<\/Type>)<\/Declaration>", - "key.bodylength" : 419, - "key.bodyoffset" : 3717, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewDidEndScrollingAnimation<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 497, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewDidEndScrollingAnimation(_:)", - "key.namelength" : 62, - "key.nameoffset" : 3645, - "key.offset" : 3640, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewDidEndScrollingAnimation:" - } - ], - "key.parsed_declaration" : "func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView)", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> ()", - "key.typeusr" : "$syySo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD24DidEndScrollingAnimationyySo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var oldSelectedItems: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4147 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> oldSelectedItems<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "oldSelectedItems", - "key.namelength" : 16, - "key.nameoffset" : 4159, - "key.offset" : 4155, - "key.parsed_declaration" : "private var oldSelectedItems : Set = []", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC16oldSelectedItems33_F1C23E5D52219C5540E9793E7A7E0D46LLShyAA13AnyIdentifierCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performOnSelectChanged()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4219 - } - ], - "key.bodylength" : 687, - "key.bodyoffset" : 4258, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performOnSelectChanged<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 719, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "performOnSelectChanged()", - "key.namelength" : 24, - "key.nameoffset" : 4232, - "key.offset" : 4227, - "key.parsed_declaration" : "private func performOnSelectChanged()", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 115, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let old: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> old<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 117, - "key.modulename" : "ListableUI", - "key.name" : "old", - "key.namelength" : 3, - "key.nameoffset" : 4288, - "key.offset" : 4284, - "key.parsed_declaration" : "let old = self.oldSelectedItems", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC22performOnSelectChanged33_F1C23E5D52219C5540E9793E7A7E0D46LLyyF3oldL_ShyAA13AnyIdentifierCGvp" - }, - { - "key.annotated_decl" : "let new: Set<\/Type><AnyIdentifier<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> new<\/decl.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 81, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 4345, - "key.offset" : 4341, - "key.parsed_declaration" : "let new = Set(self.presentationState.selectedItems.map(\\.anyModel.anyIdentifier))", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13AnyIdentifierCGD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC22performOnSelectChanged33_F1C23E5D52219C5540E9793E7A7E0D46LLyyF3newL_ShyAA13AnyIdentifierCGvp" - } - ], - "key.typename" : "(ListView.Delegate) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC22performOnSelectChanged33_F1C23E5D52219C5540E9793E7A7E0D46LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var displayedItems: [ObjectIdentifier<\/Type> : AnyPresentationItemState<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4964 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> displayedItems<\/decl.name>: [ObjectIdentifier<\/ref.struct> : AnyPresentationItemState<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 70, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "displayedItems", - "key.namelength" : 14, - "key.nameoffset" : 4976, - "key.offset" : 4972, - "key.parsed_declaration" : "private var displayedItems : [ObjectIdentifier:AnyPresentationItemState] = [:]", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ObjectIdentifier : any AnyPresentationItemState]", - "key.typeusr" : "$sSDySO10ListableUI24AnyPresentationItemState_pGD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC14displayedItems33_F1C23E5D52219C5540E9793E7A7E0D46LLSDySOAA24AnyPresentationItemState_pGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, willDisplay cell: UICollectionViewCell<\/Type>, forItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 728, - "key.bodyoffset" : 5247, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, willDisplay<\/decl.var.parameter.argument_label> cell<\/decl.var.parameter.name>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, forItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 916, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:willDisplay:forItemAt:)", - "key.namelength" : 172, - "key.nameoffset" : 5065, - "key.offset" : 5060, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:willDisplayCell:forItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n willDisplay cell: UICollectionViewCell,\n forItemAt indexPath: IndexPath\n )", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 139, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 145, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5264, - "key.offset" : 5260, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 145, - "key.parsed_scope.start" : 145, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_11willDisplay9forItemAtySo012UICollectionD0C_So0lD4CellC10Foundation9IndexPathVtF4itemL_AA015AnyPresentationJ5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, UICollectionViewCell, IndexPath) -> ()", - "key.typeusr" : "$s_11willDisplay9forItemAtySo16UICollectionViewC_So0fG4CellC10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_11willDisplay9forItemAtySo012UICollectionD0C_So0lD4CellC10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didEndDisplaying cell: UICollectionViewCell<\/Type>, forItemAt indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 192, - "key.bodyoffset" : 6186, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Force a layout of the cell before it is displayed, so that any implicit animations\nare avoided. This ensures that cases like toggling a switch on and off are\nnot animated as the cell comes into view.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didEndDisplaying<\/decl.var.parameter.argument_label> cell<\/decl.var.parameter.name>: UICollectionViewCell<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, forItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 385, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didEndDisplaying:forItemAt:)", - "key.namelength" : 177, - "key.nameoffset" : 5999, - "key.offset" : 5994, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didEndDisplayingCell:forItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n didEndDisplaying cell: UICollectionViewCell,\n forItemAt indexPath: IndexPath\n )", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 161, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, UICollectionViewCell, IndexPath) -> ()", - "key.typeusr" : "$s_16didEndDisplaying9forItemAtySo16UICollectionViewC_So0gH4CellC10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_16didEndDisplaying9forItemAtySo012UICollectionD0C_So0mD4CellC10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var displayedSupplementaryItems: [ObjectIdentifier<\/Type> : PresentationState<\/Type>.HeaderFooterViewStatePair<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6405 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> displayedSupplementaryItems<\/decl.name>: [ObjectIdentifier<\/ref.struct> : PresentationState<\/ref.class>.HeaderFooterViewStatePair<\/ref.class>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 102, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "displayedSupplementaryItems", - "key.namelength" : 27, - "key.nameoffset" : 6417, - "key.offset" : 6413, - "key.parsed_declaration" : "private var displayedSupplementaryItems : [ObjectIdentifier:PresentationState.HeaderFooterViewStatePair] = [:]", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[ObjectIdentifier : PresentationState.HeaderFooterViewStatePair]", - "key.typeusr" : "$sSDySO10ListableUI17PresentationStateC016HeaderFooterViewD4PairCGD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC27displayedSupplementaryItems33_F1C23E5D52219C5540E9793E7A7E0D46LLSDySOAA17PresentationStateC012HeaderFooterdT4PairCGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, willDisplaySupplementaryView anyView: UICollectionReusableView<\/Type>, forElementKind kindString: String<\/Type>, at indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 857, - "key.bodyoffset" : 6784, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, willDisplaySupplementaryView<\/decl.var.parameter.argument_label> anyView<\/decl.var.parameter.name>: UICollectionReusableView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, forElementKind<\/decl.var.parameter.argument_label> kindString<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1109, - "key.line" : 176, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)", - "key.namelength" : 236, - "key.nameoffset" : 6538, - "key.offset" : 6533, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:willDisplaySupplementaryView:forElementKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n willDisplaySupplementaryView anyView: UICollectionReusableView,\n forElementKind kindString: String,\n at indexPath: IndexPath\n )", - "key.parsed_scope.end" : 201, - "key.parsed_scope.start" : 176, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let container: SupplementaryContainerView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> container<\/decl.name>: SupplementaryContainerView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 183, - "key.modulename" : "ListableUI", - "key.name" : "container", - "key.namelength" : 9, - "key.nameoffset" : 6801, - "key.offset" : 6797, - "key.parsed_declaration" : "let container = anyView as! SupplementaryContainerView", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 183, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryContainerView", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_024willDisplaySupplementaryD014forElementKind2atySo012UICollectionD0C_So0n8ReusableD0CSS10Foundation9IndexPathVtF9containerL_AA0i9ContainerD0Cvp" - }, - { - "key.annotated_decl" : "let kind: SupplementaryKind<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 51, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 6868, - "key.offset" : 6864, - "key.parsed_declaration" : "let kind = SupplementaryKind(rawValue: kindString)!", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_024willDisplaySupplementaryD014forElementKind2atySo012UICollectionD0C_So0n8ReusableD0CSS10Foundation9IndexPathVtF4kindL_AA0iL0Ovp" - }, - { - "key.annotated_decl" : "let headerFooter: PresentationState<\/Type>.HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> headerFooter<\/decl.name>: PresentationState<\/ref.class>.HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 133, - "key.line" : 186, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 6945, - "key.offset" : 6941, - "key.parsed_declaration" : "let headerFooter = self.presentationState.headerFooter(\n of: kind,\n in: indexPath.section\n)", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 186, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_024willDisplaySupplementaryD014forElementKind2atySo012UICollectionD0C_So0n8ReusableD0CSS10Foundation9IndexPathVtF12headerFooterL_AA17PresentationStateC06HeadertdV4PairCvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, UICollectionReusableView, String, IndexPath) -> ()", - "key.typeusr" : "$s_28willDisplaySupplementaryView14forElementKind2atySo012UICollectionD0C_So0i8ReusableD0CSS10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_024willDisplaySupplementaryD014forElementKind2atySo012UICollectionD0C_So0n8ReusableD0CSS10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, didEndDisplayingSupplementaryView anyView: UICollectionReusableView<\/Type>, forElementOfKind kindString: String<\/Type>, at indexPath: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 345, - "key.bodyoffset" : 7918, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Force a layout of the cell before it is displayed, so that any implicit animations\nare avoided. This ensures that cases like toggling a switch on and off are\nnot animated as the cell comes into view.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, didEndDisplayingSupplementaryView<\/decl.var.parameter.argument_label> anyView<\/decl.var.parameter.name>: UICollectionReusableView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, forElementOfKind<\/decl.var.parameter.argument_label> kindString<\/decl.var.parameter.name>: String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 604, - "key.line" : 203, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)", - "key.namelength" : 243, - "key.nameoffset" : 7665, - "key.offset" : 7660, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n didEndDisplayingSupplementaryView anyView: UICollectionReusableView,\n forElementOfKind kindString: String,\n at indexPath: IndexPath\n )", - "key.parsed_scope.end" : 217, - "key.parsed_scope.start" : 203, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let container: SupplementaryContainerView<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> container<\/decl.name>: SupplementaryContainerView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 210, - "key.modulename" : "ListableUI", - "key.name" : "container", - "key.namelength" : 9, - "key.nameoffset" : 7935, - "key.offset" : 7931, - "key.parsed_declaration" : "let container = anyView as! SupplementaryContainerView", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 210, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryContainerView", - "key.typeusr" : "$s10ListableUI26SupplementaryContainerViewCD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_029didEndDisplayingSupplementaryD016forElementOfKind2atySo012UICollectionD0C_So0p8ReusableD0CSS10Foundation9IndexPathVtF9containerL_AA0j9ContainerD0Cvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, UICollectionReusableView, String, IndexPath) -> ()", - "key.typeusr" : "$s_33didEndDisplayingSupplementaryView16forElementOfKind2atySo012UICollectionE0C_So0k8ReusableE0CSS10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_029didEndDisplayingSupplementaryD016forElementOfKind2atySo012UICollectionD0C_So0p8ReusableD0CSS10Foundation9IndexPathVtF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 46, - "key.name" : "MARK: UICollectionViewDelegate - Focus Support", - "key.offset" : 8285 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, canFocusItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 208, - "key.bodyoffset" : 8451, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, canFocusItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 311, - "key.line" : 221, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:canFocusItemAt:)", - "key.namelength" : 87, - "key.nameoffset" : 8354, - "key.offset" : 8349, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:canFocusItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, canFocusItemAt indexPath: IndexPath) -> Bool", - "key.parsed_scope.end" : 225, - "key.parsed_scope.start" : 221, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 223, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 8540, - "key.offset" : 8536, - "key.parsed_declaration" : "let item = self.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 223, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_14canFocusItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF4itemL_AA015AnyPresentationI5State_pvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_14canFocusItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_14canFocusItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, selectionFollowsFocusForItemAt indexPath: IndexPath<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 70, - "key.bodyoffset" : 8796, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, selectionFollowsFocusForItemAt<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 189, - "key.line" : 227, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:selectionFollowsFocusForItemAt:)", - "key.namelength" : 103, - "key.nameoffset" : 8683, - "key.offset" : 8678, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:selectionFollowsFocusForItemAtIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(_ collectionView: UICollectionView, selectionFollowsFocusForItemAt indexPath: IndexPath) -> Bool", - "key.parsed_scope.end" : 229, - "key.parsed_scope.start" : 227, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath) -> Bool", - "key.typeusr" : "$s_30selectionFollowsFocusForItemAtSbSo16UICollectionViewC_10Foundation9IndexPathVtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_30selectionFollowsFocusForItemAtSbSo012UICollectionD0C_10Foundation9IndexPathVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func collectionView(_ collectionView: UICollectionView<\/Type>, targetIndexPathForMoveFromItemAt from: IndexPath<\/Type>, toProposedIndexPath to: IndexPath<\/Type>) -> IndexPath<\/Type><\/Declaration>", - "key.bodylength" : 2386, - "key.bodyoffset" : 9094, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> collectionView<\/decl.name>(_<\/decl.var.parameter.argument_label> collectionView<\/decl.var.parameter.name>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, targetIndexPathForMoveFromItemAt<\/decl.var.parameter.argument_label> from<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, toProposedIndexPath<\/decl.var.parameter.argument_label> to<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2596, - "key.line" : 231, - "key.modulename" : "ListableUI", - "key.name" : "collectionView(_:targetIndexPathForMoveFromItemAt:toProposedIndexPath:)", - "key.namelength" : 181, - "key.nameoffset" : 8890, - "key.offset" : 8885, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UICollectionViewDelegate(im)collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:" - } - ], - "key.parsed_declaration" : "func collectionView(\n _ collectionView: UICollectionView,\n targetIndexPathForMoveFromItemAt from: IndexPath,\n toProposedIndexPath to: IndexPath\n) -> IndexPath", - "key.parsed_scope.end" : 288, - "key.parsed_scope.start" : 231, - "key.related_decls" : [ - { - "key.annotated_decl" : "collectionView(_:shouldHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didHighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didUnhighlightItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:shouldDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didSelectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didDeselectItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplay:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplaying:forItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:willDisplaySupplementaryView:forElementKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:didEndDisplayingSupplementaryView:forElementOfKind:at:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:canFocusItemAt:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "collectionView(_:selectionFollowsFocusForItemAt:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "\n**Note**: We do not use either `from` or `to` index paths passed to this method to\nindex into the `presentationState`'s content – it has not yet been updated\nto reflect the move, because the move has not yet been committed. The `from` parameter\nis instead reflecting the current `UICollectionViewLayout`'s state – which will not match\nthe data source \/ `presentationState`.\n\nInstead, read the `stateForItem(at:)` off of the `layoutManager`. This will reflect\nthe right index path.\n\niOS 15 resolves this issue, by introducing\n```\nfunc collectionView(\n _ collectionView: UICollectionView,\n targetIndexPathForMoveOfItemFromOriginalIndexPath originalIndexPath: IndexPath,\n atCurrentIndexPath currentIndexPath: IndexPath,\n toProposedIndexPath proposedIndexPath: IndexPath\n) -> IndexPath\n```\nWhich passes the **original** index path, allowing a direct index into your data source.\nAlas, we do not yet support only iOS 15 and later, so, here we are.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 52, - "key.line" : 264, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 10524, - "key.offset" : 10520, - "key.parsed_declaration" : "let item = self.layoutManager.stateForItem(at: from)", - "key.parsed_scope.end" : 264, - "key.parsed_scope.start" : 264, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_32targetIndexPathForMoveFromItemAt010toProposedhI010Foundation0hI0VSo012UICollectionD0C_A2KtF4itemL_AA015AnyPresentationM5State_pvp" - }, - { - "key.annotated_decl" : "let fromSection: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> fromSection<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 279, - "key.modulename" : "ListableUI", - "key.name" : "fromSection", - "key.namelength" : 11, - "key.nameoffset" : 11139, - "key.offset" : 11135, - "key.parsed_declaration" : "let fromSection = self.presentationState.sections[from.section]", - "key.parsed_scope.end" : 279, - "key.parsed_scope.start" : 279, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_32targetIndexPathForMoveFromItemAt010toProposedhI010Foundation0hI0VSo012UICollectionD0C_A2KtF11fromSectionL_AA17PresentationStateC0tV0Cvp" - }, - { - "key.annotated_decl" : "let toSection: PresentationState<\/Type>.SectionState<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> toSection<\/decl.name>: PresentationState<\/ref.class>.SectionState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 280, - "key.modulename" : "ListableUI", - "key.name" : "toSection", - "key.namelength" : 9, - "key.nameoffset" : 11215, - "key.offset" : 11211, - "key.parsed_declaration" : "let toSection = self.presentationState.sections[to.section]", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 280, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.SectionState", - "key.typeusr" : "$s10ListableUI17PresentationStateC07SectionD0CD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_32targetIndexPathForMoveFromItemAt010toProposedhI010Foundation0hI0VSo012UICollectionD0C_A2KtF0O7SectionL_AA17PresentationStateC0sU0Cvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UICollectionView, IndexPath, IndexPath) -> IndexPath", - "key.typeusr" : "$s_32targetIndexPathForMoveFromItemAt010toProposedbC010Foundation0bC0VSo16UICollectionViewC_A2EtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC010collectionD0_32targetIndexPathForMoveFromItemAt010toProposedhI010Foundation0hI0VSo012UICollectionD0C_A2KtF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 34, - "key.name" : "MARK: CollectionViewLayoutDelegate", - "key.offset" : 11502 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func listViewLayoutUpdatedItemPositions()<\/Declaration>", - "key.bodylength" : 370, - "key.bodyoffset" : 11605, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listViewLayoutUpdatedItemPositions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 422, - "key.line" : 292, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutUpdatedItemPositions()", - "key.namelength" : 36, - "key.nameoffset" : 11559, - "key.offset" : 11554, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listdE20UpdatedItemPositionsyyF" - } - ], - "key.parsed_declaration" : "func listViewLayoutUpdatedItemPositions()", - "key.parsed_scope.end" : 301, - "key.parsed_scope.start" : 292, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC04listD26LayoutUpdatedItemPositionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func listLayoutContent(defaults: ListLayoutDefaults<\/Type>) -> ListLayoutContent<\/Type><\/Declaration>", - "key.bodylength" : 166, - "key.bodyoffset" : 12099, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "During reordering; our index paths will not match the index paths of the collection view;\nour index paths are not updated until the move is committed.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listLayoutContent<\/decl.name>(defaults<\/decl.var.parameter.argument_label>: ListLayoutDefaults<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ListLayoutContent<\/ref.class><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 272, - "key.line" : 303, - "key.modulename" : "ListableUI", - "key.name" : "listLayoutContent(defaults:)", - "key.namelength" : 69, - "key.nameoffset" : 11999, - "key.offset" : 11994, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listE7Content8defaultsAA04ListeH0CAA0jE8DefaultsV_tF" - } - ], - "key.parsed_declaration" : "func listLayoutContent(\n defaults: ListLayoutDefaults\n) -> ListLayoutContent", - "key.parsed_scope.end" : 311, - "key.parsed_scope.start" : 303, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (ListLayoutDefaults) -> ListLayoutContent", - "key.typeusr" : "$s8defaults10ListableUI17ListLayoutContentCAB0dE8DefaultsV_tcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC17listLayoutContent8defaultsAA0cgH0CAA0cG8DefaultsV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func listViewLayoutCurrentEnvironment() -> ListEnvironment<\/Type><\/Declaration>", - "key.bodylength" : 43, - "key.bodyoffset" : 12344, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listViewLayoutCurrentEnvironment<\/decl.name>() -> ListEnvironment<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 104, - "key.line" : 313, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutCurrentEnvironment()", - "key.namelength" : 34, - "key.nameoffset" : 12289, - "key.offset" : 12284, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listdE18CurrentEnvironmentAA04ListI0VyF" - } - ], - "key.parsed_declaration" : "func listViewLayoutCurrentEnvironment() -> ListEnvironment", - "key.parsed_scope.end" : 315, - "key.parsed_scope.start" : 313, - "key.reusingastcontext" : false, - "key.typename" : "(ListView.Delegate) -> () -> ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVycD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC04listD24LayoutCurrentEnvironmentAA0cI0VyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func listViewLayoutDidLayoutContents()<\/Declaration>", - "key.bodylength" : 70, - "key.bodyoffset" : 12446, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listViewLayoutDidLayoutContents<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 111, - "key.line" : 317, - "key.modulename" : "ListableUI", - "key.name" : "listViewLayoutDidLayoutContents()", - "key.namelength" : 33, - "key.nameoffset" : 12411, - "key.offset" : 12406, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listde3DidE8ContentsyyF" - } - ], - "key.parsed_declaration" : "func listViewLayoutDidLayoutContents()", - "key.parsed_scope.end" : 319, - "key.parsed_scope.start" : 317, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC04listd9LayoutDidG8ContentsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func listViewShouldEndQueueingEditsForReorder()<\/Declaration>", - "key.bodylength" : 80, - "key.bodyoffset" : 12584, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> listViewShouldEndQueueingEditsForReorder<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 130, - "key.line" : 321, - "key.modulename" : "ListableUI", - "key.name" : "listViewShouldEndQueueingEditsForReorder()", - "key.namelength" : 42, - "key.nameoffset" : 12540, - "key.offset" : 12535, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI28CollectionViewLayoutDelegateP04listD32ShouldEndQueueingEditsForReorderyyF" - } - ], - "key.parsed_declaration" : "func listViewShouldEndQueueingEditsForReorder()", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 321, - "key.reusingastcontext" : false, - "key.typename" : "(ListView.Delegate) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC04listD32ShouldEndQueueingEditsForReorderyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: UIScrollViewDelegate", - "key.offset" : 12678 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewWillBeginDragging(_ scrollView: UIScrollView<\/Type>)<\/Declaration>", - "key.bodylength" : 375, - "key.bodyoffset" : 12792, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewWillBeginDragging<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 446, - "key.line" : 327, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewWillBeginDragging(_:)", - "key.namelength" : 55, - "key.nameoffset" : 12727, - "key.offset" : 12722, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewWillBeginDragging:" - } - ], - "key.parsed_declaration" : "func scrollViewWillBeginDragging(_ scrollView: UIScrollView)", - "key.parsed_scope.end" : 338, - "key.parsed_scope.start" : 327, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> ()", - "key.typeusr" : "$syySo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD17WillBeginDraggingyySo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewDidEndDecelerating(_ scrollView: UIScrollView<\/Type>)<\/Declaration>", - "key.bodylength" : 375, - "key.bodyoffset" : 13257, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewDidEndDecelerating<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 447, - "key.line" : 340, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewDidEndDecelerating(_:)", - "key.namelength" : 56, - "key.nameoffset" : 13191, - "key.offset" : 13186, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewDidEndDecelerating:" - } - ], - "key.parsed_declaration" : "func scrollViewDidEndDecelerating(_ scrollView: UIScrollView)", - "key.parsed_scope.end" : 349, - "key.parsed_scope.start" : 340, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> ()", - "key.typeusr" : "$syySo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD18DidEndDeceleratingyySo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewShouldScrollToTop(_ scrollView: UIScrollView<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 151, - "key.bodyoffset" : 13737, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewShouldScrollToTop<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 230, - "key.line" : 351, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewShouldScrollToTop(_:)", - "key.namelength" : 55, - "key.nameoffset" : 13664, - "key.offset" : 13659, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewShouldScrollToTop:" - } - ], - "key.parsed_declaration" : "func scrollViewShouldScrollToTop(_ scrollView: UIScrollView) -> Bool", - "key.parsed_scope.end" : 357, - "key.parsed_scope.start" : 351, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> Bool", - "key.typeusr" : "$sySbSo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD17ShouldScrollToTopySbSo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewDidScrollToTop(_ scrollView: UIScrollView<\/Type>)<\/Declaration>", - "key.bodylength" : 76, - "key.bodyoffset" : 13974, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewDidScrollToTop<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 144, - "key.line" : 359, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewDidScrollToTop(_:)", - "key.namelength" : 52, - "key.nameoffset" : 13912, - "key.offset" : 13907, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewDidScrollToTop:" - } - ], - "key.parsed_declaration" : "func scrollViewDidScrollToTop(_ scrollView: UIScrollView)", - "key.parsed_scope.end" : 362, - "key.parsed_scope.start" : 359, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> ()", - "key.typeusr" : "$syySo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD14DidScrollToTopyySo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var lastPosition: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 14069 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastPosition<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 364, - "key.modulename" : "ListableUI", - "key.name" : "lastPosition", - "key.namelength" : 12, - "key.nameoffset" : 14081, - "key.offset" : 14077, - "key.parsed_declaration" : "private var lastPosition : CGFloat = 0.0", - "key.parsed_scope.end" : 364, - "key.parsed_scope.start" : 364, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC12lastPosition33_F1C23E5D52219C5540E9793E7A7E0D46LL14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewDidScroll(_ scrollView: UIScrollView<\/Type>)<\/Declaration>", - "key.bodylength" : 992, - "key.bodyoffset" : 14189, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewDidScroll<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1055, - "key.line" : 366, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewDidScroll(_:)", - "key.namelength" : 47, - "key.nameoffset" : 14132, - "key.offset" : 14127, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewDidScroll:" - } - ], - "key.parsed_declaration" : "func scrollViewDidScroll(_ scrollView: UIScrollView)", - "key.parsed_scope.end" : 392, - "key.parsed_scope.start" : 366, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let scrollingDown: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> scrollingDown<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 66, - "key.line" : 378, - "key.modulename" : "ListableUI", - "key.name" : "scrollingDown", - "key.namelength" : 13, - "key.nameoffset" : 14616, - "key.offset" : 14612, - "key.parsed_declaration" : "let scrollingDown = self.lastPosition < scrollView.contentOffset.y", - "key.parsed_scope.end" : 378, - "key.parsed_scope.start" : 378, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD9DidScrollyySo08UIScrollD0CF13scrollingDownL_Sbvp" - } - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView) -> ()", - "key.typeusr" : "$syySo12UIScrollViewCcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD9DidScrollyySo08UIScrollD0CF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func scrollViewWillEndDragging(_ scrollView: UIScrollView<\/Type>, withVelocity velocity: CGPoint<\/Type>, targetContentOffset: UnsafeMutablePointer<\/Type><CGPoint<\/Type>>)<\/Declaration>", - "key.bodylength" : 637, - "key.bodyoffset" : 15390, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Delegate.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> scrollViewWillEndDragging<\/decl.name>(_<\/decl.var.parameter.argument_label> scrollView<\/decl.var.parameter.name>: UIScrollView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, withVelocity<\/decl.var.parameter.argument_label> velocity<\/decl.var.parameter.name>: CGPoint<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, targetContentOffset<\/decl.var.parameter.argument_label>: UnsafeMutablePointer<\/ref.struct><CGPoint<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 828, - "key.line" : 394, - "key.modulename" : "ListableUI", - "key.name" : "scrollViewWillEndDragging(_:withVelocity:targetContentOffset:)", - "key.namelength" : 183, - "key.nameoffset" : 15205, - "key.offset" : 15200, - "key.overrides" : [ - { - "key.usr" : "c:objc(pl)UIScrollViewDelegate(im)scrollViewWillEndDragging:withVelocity:targetContentOffset:" - } - ], - "key.parsed_declaration" : "func scrollViewWillEndDragging(\n _ scrollView: UIScrollView,\n withVelocity velocity: CGPoint,\n targetContentOffset: UnsafeMutablePointer\n)", - "key.parsed_scope.end" : 412, - "key.parsed_scope.start" : 394, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Delegate) -> (UIScrollView, CGPoint, UnsafeMutablePointer) -> ()", - "key.typeusr" : "$s_12withVelocity19targetContentOffsetySo12UIScrollViewC_So7CGPointVSpyAFGtcD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC06scrollD15WillEndDragging_12withVelocity19targetContentOffsetySo08UIScrollD0C_So7CGPointVSpyALGtF" - } - ], - "key.typename" : "ListView.Delegate.Type", - "key.typeusr" : "$s10ListableUI8ListViewC8DelegateCmD", - "key.usr" : "s:10ListableUI8ListViewC8DelegateC" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2101, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 1947, - "key.bodyoffset" : 152, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1968, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 142, - "key.offset" : 132, - "key.parsed_declaration" : "extension ListView", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class LayoutManager<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 157 - } - ], - "key.bodylength" : 1909, - "key.bodyoffset" : 188, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> LayoutManager<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1935, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "LayoutManager", - "key.namelength" : 13, - "key.nameoffset" : 169, - "key.offset" : 163, - "key.parsed_declaration" : "final class LayoutManager", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "unowned let collectionView: UICollectionView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 7, - "key.offset" : 197 - } - ], - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "unowned<\/syntaxtype.keyword> let<\/syntaxtype.keyword> collectionView<\/decl.name>: UICollectionView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "collectionView", - "key.namelength" : 14, - "key.nameoffset" : 209, - "key.offset" : 205, - "key.parsed_declaration" : "unowned let collectionView : UICollectionView", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "UICollectionView", - "key.typeusr" : "$sSo16UICollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC010collectionD0So012UICollectionD0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var collectionViewLayout: CollectionViewLayout<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 252 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> collectionViewLayout<\/decl.name>: CollectionViewLayout<\/ref.class><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 47, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewLayout", - "key.namelength" : 20, - "key.nameoffset" : 269, - "key.offset" : 265, - "key.parsed_declaration" : "private(set) var collectionViewLayout : CollectionViewLayout", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CollectionViewLayout", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutCD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC010collectiondE0AA010CollectiondE0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var layout: AnyListLayout<\/Type> { get }<\/Declaration>", - "key.bodylength" : 49, - "key.bodyoffset" : 350, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> layout<\/decl.name>: AnyListLayout<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 78, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 326, - "key.offset" : 322, - "key.parsed_declaration" : "var layout : AnyListLayout", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "any AnyListLayout", - "key.typeusr" : "$s10ListableUI13AnyListLayout_pD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC6layoutAA03AnycE0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(layout collectionViewLayout: CollectionViewLayout<\/Type>, collectionView: UICollectionView<\/Type>)<\/Declaration>", - "key.bodylength" : 119, - "key.bodyoffset" : 511, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(layout<\/decl.var.parameter.argument_label> collectionViewLayout<\/decl.var.parameter.name>: CollectionViewLayout<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, collectionView<\/decl.var.parameter.argument_label>: UICollectionView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 221, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "init(layout:collectionView:)", - "key.namelength" : 91, - "key.nameoffset" : 410, - "key.offset" : 410, - "key.parsed_declaration" : "init(layout collectionViewLayout : CollectionViewLayout, collectionView : UICollectionView)", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.LayoutManager.Type) -> (CollectionViewLayout, UICollectionView) -> ListView.LayoutManager", - "key.typeusr" : "$s6layout14collectionView10ListableUI04ListC0C13LayoutManagerCAC010CollectioncG0C_So012UICollectionC0CtcD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC6layout010collectionD0AeA010CollectiondE0C_So012UICollectionD0Ctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func stateForItem(at indexPath: IndexPath<\/Type>) -> AnyPresentationItemState<\/Type><\/Declaration>", - "key.bodylength" : 88, - "key.bodyoffset" : 713, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> stateForItem<\/decl.name>(at<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> AnyPresentationItemState<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 161, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "stateForItem(at:)", - "key.namelength" : 37, - "key.nameoffset" : 646, - "key.offset" : 641, - "key.parsed_declaration" : "func stateForItem(at indexPath: IndexPath) -> AnyPresentationItemState", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.LayoutManager) -> (IndexPath) -> any AnyPresentationItemState", - "key.typeusr" : "$s2at10ListableUI24AnyPresentationItemState_p10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC12stateForItem2atAA015AnyPresentationI5State_p10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func set(layout: LayoutDescription<\/Type>, animated: Bool<\/Type>, completion: @escaping () -> ())<\/Declaration>", - "key.bodylength" : 1183, - "key.bodyoffset" : 908, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.LayoutManager.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> set<\/decl.name>(layout<\/decl.var.parameter.argument_label>: LayoutDescription<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1280, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "set(layout:animated:completion:)", - "key.namelength" : 81, - "key.nameoffset" : 817, - "key.offset" : 812, - "key.parsed_declaration" : "func set(layout : LayoutDescription, animated : Bool, completion : @escaping () -> ())", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.LayoutManager) -> (LayoutDescription, Bool, @escaping () -> ()) -> ()", - "key.typeusr" : "$s6layout8animated10completiony10ListableUI17LayoutDescriptionV_SbyyctcD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC3set6layout8animated10completionyAA0E11DescriptionV_SbyyctF" - } - ], - "key.typename" : "ListView.LayoutManager.Type", - "key.typeusr" : "$s10ListableUI8ListViewC13LayoutManagerCmD", - "key.usr" : "s:10ListableUI8ListViewC13LayoutManagerC" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 851, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 110 - } - ], - "key.bodylength" : 710, - "key.bodyoffset" : 139, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 731, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 129, - "key.offset" : 119, - "key.parsed_declaration" : "internal extension ListView", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "final class Storage<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 144 - } - ], - "key.bodylength" : 678, - "key.bodyoffset" : 169, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> Storage<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 698, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "Storage", - "key.namelength" : 7, - "key.nameoffset" : 156, - "key.offset" : 150, - "key.parsed_declaration" : "final class Storage", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var allContent: Content<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> allContent<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "allContent", - "key.namelength" : 10, - "key.nameoffset" : 182, - "key.offset" : 178, - "key.parsed_declaration" : "var allContent : Content = Content()", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI8ListViewC7StorageC10allContentAA0G0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let presentationState: PresentationState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> presentationState<\/decl.name>: PresentationState<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 63, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "presentationState", - "key.namelength" : 17, - "key.nameoffset" : 236, - "key.offset" : 232, - "key.parsed_declaration" : "let presentationState : PresentationState = PresentationState()", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState", - "key.typeusr" : "$s10ListableUI17PresentationStateCD", - "key.usr" : "s:10ListableUI8ListViewC7StorageC17presentationStateAA012PresentationG0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func moveItem(from: IndexPath<\/Type>, to: IndexPath<\/Type>)<\/Declaration>", - "key.bodylength" : 130, - "key.bodyoffset" : 370, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> moveItem<\/decl.name>(from<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 188, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "moveItem(from:to:)", - "key.namelength" : 42, - "key.nameoffset" : 318, - "key.offset" : 313, - "key.parsed_declaration" : "func moveItem(from : IndexPath, to : IndexPath)", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Storage) -> (IndexPath, IndexPath) -> ()", - "key.typeusr" : "$s4from2toy10Foundation9IndexPathV_AEtcD", - "key.usr" : "s:10ListableUI8ListViewC7StorageC8moveItem4from2toy10Foundation9IndexPathV_AKtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func remove(item itemToRemove: AnyPresentationItemState<\/Type>) -> IndexPath<\/Type>?<\/Declaration>", - "key.bodylength" : 241, - "key.bodyoffset" : 600, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.Storage.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> remove<\/decl.name>(item<\/decl.var.parameter.argument_label> itemToRemove<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> IndexPath<\/ref.struct>?<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 323, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "remove(item:)", - "key.namelength" : 52, - "key.nameoffset" : 524, - "key.offset" : 519, - "key.parsed_declaration" : "func remove(item itemToRemove : AnyPresentationItemState) -> IndexPath?", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Storage) -> (any AnyPresentationItemState) -> IndexPath?", - "key.typeusr" : "$s4item10Foundation9IndexPathVSg10ListableUI24AnyPresentationItemState_p_tcD", - "key.usr" : "s:10ListableUI8ListViewC7StorageC6remove4item10Foundation9IndexPathVSgAA24AnyPresentationItemState_p_tF" - } - ], - "key.typename" : "ListView.Storage.Type", - "key.typeusr" : "$s10ListableUI8ListViewC7StorageCmD", - "key.usr" : "s:10ListableUI8ListViewC7StorageC" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 6104, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 4217, - "key.bodyoffset" : 141, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 4238, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 131, - "key.offset" : 121, - "key.parsed_declaration" : "extension ListView", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "final class VisibleContent<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 146 - } - ], - "key.bodylength" : 4178, - "key.bodyoffset" : 178, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> VisibleContent<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4205, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "VisibleContent", - "key.namelength" : 14, - "key.nameoffset" : 158, - "key.offset" : 152, - "key.parsed_declaration" : "final class VisibleContent", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var headerFooters: Set<\/Type><HeaderFooter<\/Type>> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 187 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> headerFooters<\/decl.name>: Set<\/ref.struct><HeaderFooter<\/ref.struct>><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 45, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "headerFooters", - "key.namelength" : 13, - "key.nameoffset" : 204, - "key.offset" : 200, - "key.parsed_declaration" : "private(set) var headerFooters : Set = Set()", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC13headerFootersShyAE12HeaderFooterVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var items: Set<\/Type><Item<\/Type>> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 254 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> items<\/decl.name>: Set<\/ref.struct><Item<\/ref.struct>><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 271, - "key.offset" : 267, - "key.parsed_declaration" : "private(set) var items : Set = Set()", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC5itemsShyAE4ItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func update(with view: ListView<\/Type>)<\/Declaration>", - "key.bodylength" : 2095, - "key.bodyoffset" : 357, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: ListView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2139, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "update(with:)", - "key.namelength" : 28, - "key.nameoffset" : 319, - "key.offset" : 314, - "key.parsed_declaration" : "func update(with view : ListView)", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let newItems: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.Item<\/Type>><\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newItems<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.Item<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "newItems", - "key.namelength" : 8, - "key.nameoffset" : 375, - "key.offset" : 370, - "key.parsed_declaration" : "let (newItems, newHeaderFooters) = self.calculateVisibleContent(in: view)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF8newItemsL_ShyAE4ItemVGvp" - }, - { - "key.annotated_decl" : "let newHeaderFooters: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.HeaderFooter<\/Type>><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newHeaderFooters<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.HeaderFooter<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "newHeaderFooters", - "key.namelength" : 16, - "key.nameoffset" : 385, - "key.offset" : 370, - "key.parsed_declaration" : "let (newItems, newHeaderFooters) = self.calculateVisibleContent(in: view)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF16newHeaderFootersL_ShyAE0J6FooterVGvp" - }, - { - "key.annotated_decl" : "let removedItems: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.Item<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removedItems<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.Item<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 51, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "removedItems", - "key.namelength" : 12, - "key.nameoffset" : 564, - "key.offset" : 560, - "key.parsed_declaration" : "let removedItems = self.items.subtracting(newItems)", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF12removedItemsL_ShyAE4ItemVGvp" - }, - { - "key.annotated_decl" : "let addedItems: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.Item<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> addedItems<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.Item<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 49, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "addedItems", - "key.namelength" : 10, - "key.nameoffset" : 628, - "key.offset" : 624, - "key.parsed_declaration" : "let addedItems = newItems.subtracting(self.items)", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF10addedItemsL_ShyAE4ItemVGvp" - }, - { - "key.annotated_decl" : "let removedHeaderFooters: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.HeaderFooter<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removedHeaderFooters<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.HeaderFooter<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 75, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "removedHeaderFooters", - "key.namelength" : 20, - "key.nameoffset" : 703, - "key.offset" : 699, - "key.parsed_declaration" : "let removedHeaderFooters = self.headerFooters.subtracting(newHeaderFooters)", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF20removedHeaderFootersL_ShyAE0J6FooterVGvp" - }, - { - "key.annotated_decl" : "let addedHeaderFooters: Set<\/Type><ListView<\/Type>.VisibleContent<\/Type>.HeaderFooter<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> addedHeaderFooters<\/decl.name>: Set<\/ref.struct><ListView<\/ref.class>.VisibleContent<\/ref.class>.HeaderFooter<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 73, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "addedHeaderFooters", - "key.namelength" : 18, - "key.nameoffset" : 791, - "key.offset" : 787, - "key.parsed_declaration" : "let addedHeaderFooters = newHeaderFooters.subtracting(self.headerFooters)", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF18addedHeaderFootersL_ShyAE0J6FooterVGvp" - }, - { - "key.annotated_decl" : "let callStateReader: Bool<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> callStateReader<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 82, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "callStateReader", - "key.namelength" : 15, - "key.nameoffset" : 1826, - "key.offset" : 1822, - "key.parsed_declaration" : "let callStateReader = removedItems.isEmpty == false || addedItems.isEmpty == false", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF15callStateReaderL_Sbvp" - } - ], - "key.typename" : "(ListView.VisibleContent) -> (ListView) -> ()", - "key.typeusr" : "$s4withy10ListableUI8ListViewC_tcD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC6update4withyAC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var info: Info<\/Type> { get }<\/Declaration>", - "key.bodylength" : 361, - "key.bodyoffset" : 2488, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> info<\/decl.name>: Info<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 379, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "info", - "key.namelength" : 4, - "key.nameoffset" : 2475, - "key.offset" : 2471, - "key.parsed_declaration" : "var info : Info", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.typename" : "ListView.VisibleContent.Info", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC4InfoVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4infoAE4InfoVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func calculateVisibleContent(in view: ListView<\/Type>) -> (Set<\/Type><Item<\/Type>>, Set<\/Type><HeaderFooter<\/Type>>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2868 - } - ], - "key.bodylength" : 1382, - "key.bodyoffset" : 2968, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> calculateVisibleContent<\/decl.name>(in<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: ListView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> (Set<\/ref.struct><Item<\/ref.struct>><\/tuple.element.type><\/tuple.element>, Set<\/ref.struct><HeaderFooter<\/ref.struct>><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1475, - "key.line" : 80, - "key.modulename" : "ListableUI", - "key.name" : "calculateVisibleContent(in:)", - "key.namelength" : 43, - "key.nameoffset" : 2881, - "key.offset" : 2876, - "key.parsed_declaration" : "private func calculateVisibleContent(in view : ListView) -> (Set, Set)", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 80, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let visibleFrame: CGRect<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 45, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "visibleFrame", - "key.namelength" : 12, - "key.nameoffset" : 2985, - "key.offset" : 2981, - "key.parsed_declaration" : "let visibleFrame = view.collectionView.bounds", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC09calculateeF033_DFFC5B147C8F02DCA4E6BFCAAF0CFBC1LL2inShyAE4ItemVG_ShyAE12HeaderFooterVGtAC_tF12visibleFrameL_So6CGRectVvp" - }, - { - "key.annotated_decl" : "let visibleAttributes: [UICollectionViewLayoutAttributes<\/Type>]<\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleAttributes<\/decl.name>: [UICollectionViewLayoutAttributes<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 108, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "visibleAttributes", - "key.namelength" : 17, - "key.nameoffset" : 3056, - "key.offset" : 3052, - "key.parsed_declaration" : "let visibleAttributes = view.collectionViewLayout.visibleLayoutAttributesForElements(in: visibleFrame) ?? []", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.typename" : "[UICollectionViewLayoutAttributes]", - "key.typeusr" : "$sSaySo32UICollectionViewLayoutAttributesCGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC09calculateeF033_DFFC5B147C8F02DCA4E6BFCAAF0CFBC1LL2inShyAE4ItemVG_ShyAE12HeaderFooterVGtAC_tF17visibleAttributesL_SaySo012UICollectiond6LayoutU0CGvp" - }, - { - "key.annotated_decl" : "var items: Set<\/Type><Item<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: Set<\/ref.struct><Item<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 26, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 3190, - "key.offset" : 3186, - "key.parsed_declaration" : "var items : Set = []", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC09calculateeF033_DFFC5B147C8F02DCA4E6BFCAAF0CFBC1LL2inShyAE4ItemVG_ShyAE12HeaderFooterVGtAC_tF5itemsL_AKvp" - }, - { - "key.annotated_decl" : "var headerFooters: Set<\/Type><HeaderFooter<\/Type>><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> headerFooters<\/decl.name>: Set<\/ref.struct><HeaderFooter<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "headerFooters", - "key.namelength" : 13, - "key.nameoffset" : 3229, - "key.offset" : 3225, - "key.parsed_declaration" : "var headerFooters : Set = []", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC09calculateeF033_DFFC5B147C8F02DCA4E6BFCAAF0CFBC1LL2inShyAE4ItemVG_ShyAE12HeaderFooterVGtAC_tF13headerFootersL_ANvp" - } - ], - "key.typename" : "(ListView.VisibleContent) -> (ListView) -> (Set, Set)", - "key.typeusr" : "$s2inShy10ListableUI8ListViewC14VisibleContentC4ItemVG_ShyAF12HeaderFooterVGtAD_tcD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC09calculateeF033_DFFC5B147C8F02DCA4E6BFCAAF0CFBC1LL2inShyAE4ItemVG_ShyAE12HeaderFooterVGtAC_tF" - } - ], - "key.typename" : "ListView.VisibleContent.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentCmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.annotated_decl" : "final class VisibleContent<\/Declaration>", - "key.bodylength" : 1706, - "key.bodyoffset" : 4396, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> VisibleContent<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1742, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "ListView.VisibleContent", - "key.namelength" : 23, - "key.nameoffset" : 4371, - "key.offset" : 4361, - "key.parsed_declaration" : "extension ListView.VisibleContent", - "key.parsed_scope.end" : 176, - "key.parsed_scope.start" : 117, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "struct HeaderFooter : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 568, - "key.bodyoffset" : 4437, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 4423 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> HeaderFooter<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 605, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 4408, - "key.offset" : 4401, - "key.parsed_declaration" : "struct HeaderFooter : Hashable", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let kind: SupplementaryKind<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 4450, - "key.offset" : 4446, - "key.parsed_declaration" : "let kind : SupplementaryKind", - "key.parsed_scope.end" : 121, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC12HeaderFooterV4kindAA17SupplementaryKindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 4487, - "key.offset" : 4483, - "key.parsed_declaration" : "let indexPath : IndexPath", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC12HeaderFooterV9indexPath10Foundation05IndexJ0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let headerFooter: PresentationState<\/Type>.HeaderFooterViewStatePair<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> headerFooter<\/decl.name>: PresentationState<\/ref.class>.HeaderFooterViewStatePair<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 62, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "headerFooter", - "key.namelength" : 12, - "key.nameoffset" : 4530, - "key.offset" : 4526, - "key.parsed_declaration" : "let headerFooter : PresentationState.HeaderFooterViewStatePair", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 124, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState.HeaderFooterViewStatePair", - "key.typeusr" : "$s10ListableUI17PresentationStateC016HeaderFooterViewD4PairCD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC12HeaderFooterV06headerH0AA17PresentationStateC0ghdK4PairCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func == (lhs: `Self`, rhs: `Self`) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 117, - "key.bodyoffset" : 4663, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 175, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 27, - "key.nameoffset" : 4618, - "key.offset" : 4606, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "static func == (lhs : Self, rhs : Self) -> Bool", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.VisibleContent.HeaderFooter.Type) -> (ListView.VisibleContent.HeaderFooter, ListView.VisibleContent.HeaderFooter) -> Bool", - "key.typeusr" : "$sySb10ListableUI8ListViewC14VisibleContentC12HeaderFooterV_AGtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func hash(into hasher: inout Hasher<\/Type>)<\/Declaration>", - "key.bodylength" : 154, - "key.bodyoffset" : 4845, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Hashes the essential components of this value by feeding them into the\ngiven hasher.\n\nImplement this method to conform to the `Hashable` protocol. The\ncomponents used for hashing must be the same as the components compared\nin your type's `==` operator implementation. Call `hasher.combine(_:)`\nwith each of these components.\n\n- Important: In your implementation of `hash(into:)`,\n don't call `finalize()` on the `hasher` instance provided,\n or replace it with a different instance.\n Doing so may become a compile-time error in the future.\n\n- Parameter hasher: The hasher to use when combining the components\n of this instance.", - "key.doc.declaration" : "func hash(into hasher: inout Hasher)", - "key.doc.discussion" : [ - { - "Para" : "Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type’s `==` operator implementation. Call `hasher.combine(_:)` with each of these components." - }, - { - "Important" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "hash(into:)<\/Name>s:SH4hash4intoys6HasherVz_tF<\/USR>func hash(into hasher: inout Hasher)<\/Declaration>Hashes the essential components of this value by feeding them into the given hasher.<\/Para><\/Abstract>hasher<\/Name>in<\/Direction>The hasher to use when combining the components of this instance.<\/Para><\/Discussion><\/Parameter><\/Parameters>Implement this method to conform to the Hashable<\/codeVoice> protocol. The components used for hashing must be the same as the components compared in your type’s ==<\/codeVoice> operator implementation. Call hasher.combine(_:)<\/codeVoice> with each of these components.<\/Para>In your implementation of hash(into:)<\/codeVoice>, don’t call finalize()<\/codeVoice> on the hasher<\/codeVoice> instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.<\/Para><\/Important>This documentation comment was inherited from Hashable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "hash(into:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The hasher to use when combining the components of this instance." - } - ], - "name" : "hasher" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> hash<\/decl.name>(into<\/decl.var.parameter.argument_label> hasher<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Hasher<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 201, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "hash(into:)", - "key.namelength" : 31, - "key.nameoffset" : 4804, - "key.offset" : 4799, - "key.overrides" : [ - { - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.parsed_declaration" : "func hash(into hasher: inout Hasher)", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.VisibleContent.HeaderFooter) -> (inout Hasher) -> ()", - "key.typeusr" : "$s4intoys6HasherVz_tcD", - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.typename" : "ListView.VisibleContent.HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC12HeaderFooterVmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC12HeaderFooterV" - }, - { - "key.annotated_decl" : "struct Item : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 409, - "key.bodyoffset" : 5044, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 5030 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Item<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 438, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 5023, - "key.offset" : 5016, - "key.parsed_declaration" : "struct Item : Hashable", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 141, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 5057, - "key.offset" : 5053, - "key.parsed_declaration" : "let indexPath : IndexPath", - "key.parsed_scope.end" : 141, - "key.parsed_scope.start" : 141, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4ItemV9indexPath10Foundation05IndexI0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let item: AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5091, - "key.offset" : 5087, - "key.parsed_declaration" : "let item : AnyPresentationItemState", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 142, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4ItemV4itemAA015AnyPresentationG5State_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func == (lhs: `Self`, rhs: `Self`) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 77, - "key.bodyoffset" : 5197, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns a Boolean value indicating whether two values are equal.\n\nEquality is the inverse of inequality. For any values `a` and `b`,\n`a == b` implies that `a != b` is `false`.\n\n- Parameters:\n - lhs: A value to compare.\n - rhs: Another value to compare.", - "key.doc.declaration" : "static func == (lhs: Self, rhs: Self) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "Equality is the inverse of inequality. For any values `a` and `b`, `a == b` implies that `a != b` is `false`." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "==(_:_:)<\/Name>s:SQ2eeoiySbx_xtFZ<\/USR>static func == (lhs: Self, rhs: Self) -> Bool<\/Declaration>Returns a Boolean value indicating whether two values are equal.<\/Para><\/Abstract>lhs<\/Name>in<\/Direction>A value to compare.<\/Para><\/Discussion><\/Parameter>rhs<\/Name>in<\/Direction>Another value to compare.<\/Para><\/Discussion><\/Parameter><\/Parameters>Equality is the inverse of inequality. For any values a<\/codeVoice> and b<\/codeVoice>, a == b<\/codeVoice> implies that a != b<\/codeVoice> is false<\/codeVoice>.<\/Para>This documentation comment was inherited from Equatable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "==(_:_:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A value to compare." - } - ], - "name" : "lhs" - }, - { - "discussion" : [ - { - "Para" : "Another value to compare." - } - ], - "name" : "rhs" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> == <\/decl.name>(lhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 135, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "==(_:_:)", - "key.namelength" : 27, - "key.nameoffset" : 5152, - "key.offset" : 5140, - "key.overrides" : [ - { - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - } - ], - "key.parsed_declaration" : "static func == (lhs : Self, rhs : Self) -> Bool", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.VisibleContent.Item.Type) -> (ListView.VisibleContent.Item, ListView.VisibleContent.Item) -> Bool", - "key.typeusr" : "$sySb10ListableUI8ListViewC14VisibleContentC4ItemV_AGtcD", - "key.usr" : "s:SQ2eeoiySbx_xtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func hash(into hasher: inout Hasher<\/Type>)<\/Declaration>", - "key.bodylength" : 108, - "key.bodyoffset" : 5339, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Hashes the essential components of this value by feeding them into the\ngiven hasher.\n\nImplement this method to conform to the `Hashable` protocol. The\ncomponents used for hashing must be the same as the components compared\nin your type's `==` operator implementation. Call `hasher.combine(_:)`\nwith each of these components.\n\n- Important: In your implementation of `hash(into:)`,\n don't call `finalize()` on the `hasher` instance provided,\n or replace it with a different instance.\n Doing so may become a compile-time error in the future.\n\n- Parameter hasher: The hasher to use when combining the components\n of this instance.", - "key.doc.declaration" : "func hash(into hasher: inout Hasher)", - "key.doc.discussion" : [ - { - "Para" : "Implement this method to conform to the `Hashable` protocol. The components used for hashing must be the same as the components compared in your type’s `==` operator implementation. Call `hasher.combine(_:)` with each of these components." - }, - { - "Important" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "hash(into:)<\/Name>s:SH4hash4intoys6HasherVz_tF<\/USR>func hash(into hasher: inout Hasher)<\/Declaration>Hashes the essential components of this value by feeding them into the given hasher.<\/Para><\/Abstract>hasher<\/Name>in<\/Direction>The hasher to use when combining the components of this instance.<\/Para><\/Discussion><\/Parameter><\/Parameters>Implement this method to conform to the Hashable<\/codeVoice> protocol. The components used for hashing must be the same as the components compared in your type’s ==<\/codeVoice> operator implementation. Call hasher.combine(_:)<\/codeVoice> with each of these components.<\/Para>In your implementation of hash(into:)<\/codeVoice>, don’t call finalize()<\/codeVoice> on the hasher<\/codeVoice> instance provided, or replace it with a different instance. Doing so may become a compile-time error in the future.<\/Para><\/Important>This documentation comment was inherited from Hashable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "hash(into:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The hasher to use when combining the components of this instance." - } - ], - "name" : "hasher" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> hash<\/decl.name>(into<\/decl.var.parameter.argument_label> hasher<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Hasher<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 155, - "key.line" : 149, - "key.modulename" : "ListableUI", - "key.name" : "hash(into:)", - "key.namelength" : 31, - "key.nameoffset" : 5298, - "key.offset" : 5293, - "key.overrides" : [ - { - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.parsed_declaration" : "func hash(into hasher: inout Hasher)", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 149, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.VisibleContent.Item) -> (inout Hasher) -> ()", - "key.typeusr" : "$s4intoys6HasherVz_tcD", - "key.usr" : "s:SH4hash4intoys6HasherVz_tF" - } - ], - "key.typename" : "ListView.VisibleContent.Item.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC4ItemVmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4ItemV" - }, - { - "key.annotated_decl" : "struct Info : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 369, - "key.bodyoffset" : 5731, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Note: Because this type exposes index paths and the internal `SupplementaryKind`,\nit is intended for internal usage or unit testing purposes only.\nPublic consumers and APIs should utilize `ListScrollPositionInfo`.", - "key.doc.column" : 12, - "key.doc.comment" : "Note: Because this type exposes index paths and the internal `SupplementaryKind`,\nit is intended for internal usage or unit testing purposes only.\nPublic consumers and APIs should utilize `ListScrollPositionInfo`.", - "key.doc.declaration" : "struct Info : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.doc.full_as_xml" : "Info<\/Name>s:10ListableUI8ListViewC14VisibleContentC4InfoV<\/USR>struct Info : Equatable<\/Declaration>Note: Because this type exposes index paths and the internal SupplementaryKind<\/codeVoice>, it is intended for internal usage or unit testing purposes only. Public consumers and APIs should utilize ListScrollPositionInfo<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 159, - "key.doc.name" : "Info", - "key.doc.type" : "Class", - "key.doclength" : 234, - "key.docoffset" : 5464, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 5716 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> Info<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 399, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "Info", - "key.namelength" : 4, - "key.nameoffset" : 5709, - "key.offset" : 5702, - "key.parsed_declaration" : "struct Info : Equatable", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 159, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var headerFooters: Set<\/Type><HeaderFooter<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> headerFooters<\/decl.name>: Set<\/ref.struct><HeaderFooter<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 161, - "key.modulename" : "ListableUI", - "key.name" : "headerFooters", - "key.namelength" : 13, - "key.nameoffset" : 5744, - "key.offset" : 5740, - "key.parsed_declaration" : "var headerFooters : Set", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 161, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4InfoV12HeaderFooterVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV13headerFootersShyAG12HeaderFooterVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var items: Set<\/Type><Item<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> items<\/decl.name>: Set<\/ref.struct><Item<\/ref.struct>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 162, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 5790, - "key.offset" : 5786, - "key.parsed_declaration" : "var items : Set", - "key.parsed_scope.end" : 162, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI8ListViewC14VisibleContentC4InfoV4ItemVGD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV5itemsShyAG4ItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListView<\/Type>.VisibleContent<\/Type>.Info<\/Type>.HeaderFooter : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 88, - "key.bodyoffset" : 5865, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 5847 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListView<\/ref.class>.VisibleContent<\/ref.class>.Info<\/ref.struct>.HeaderFooter<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 129, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "HeaderFooter", - "key.namelength" : 12, - "key.nameoffset" : 5832, - "key.offset" : 5825, - "key.parsed_declaration" : "struct HeaderFooter : Hashable", - "key.parsed_scope.end" : 168, - "key.parsed_scope.start" : 164, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var kind: SupplementaryKind<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> kind<\/decl.name>: SupplementaryKind<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "kind", - "key.namelength" : 4, - "key.nameoffset" : 5882, - "key.offset" : 5878, - "key.parsed_declaration" : "var kind : SupplementaryKind", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "SupplementaryKind", - "key.typeusr" : "$s10ListableUI17SupplementaryKindOD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV12HeaderFooterV4kindAA17SupplementaryKindOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 5923, - "key.offset" : 5919, - "key.parsed_declaration" : "var indexPath : IndexPath", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV12HeaderFooterV9indexPath10Foundation05IndexK0Vvp" - } - ], - "key.typename" : "ListView.VisibleContent.Info.HeaderFooter.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC4InfoV12HeaderFooterVmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV12HeaderFooterV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct ListView<\/Type>.VisibleContent<\/Type>.Info<\/Type>.Item : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 90, - "key.bodyoffset" : 6004, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 5986 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> ListView<\/ref.class>.VisibleContent<\/ref.class>.Info<\/ref.struct>.Item<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 123, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 5979, - "key.offset" : 5972, - "key.parsed_declaration" : "struct Item : Hashable", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 170, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var identifier: AnyIdentifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifier<\/decl.name>: AnyIdentifier<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 6021, - "key.offset" : 6017, - "key.parsed_declaration" : "var identifier : AnyIdentifier", - "key.parsed_scope.end" : 172, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "AnyIdentifier", - "key.typeusr" : "$s10ListableUI13AnyIdentifierCD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV4ItemV10identifierAA13AnyIdentifierCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.VisibleContent.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 6064, - "key.offset" : 6060, - "key.parsed_declaration" : "var indexPath : IndexPath", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV4ItemV9indexPath10Foundation05IndexJ0Vvp" - } - ], - "key.typename" : "ListView.VisibleContent.Info.Item.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC4InfoV4ItemVmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV4ItemV" - } - ], - "key.typename" : "ListView.VisibleContent.Info.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentC4InfoVmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC4InfoV" - } - ], - "key.typename" : "ListView.VisibleContent.Type", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentCmD", - "key.usr" : "s:10ListableUI8ListViewC14VisibleContentC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 76515, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 132 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 125 - } - ], - "key.bodylength" : 64940, - "key.bodyoffset" : 163, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 155 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 64966, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 144, - "key.offset" : 138, - "key.parsed_declaration" : "public final class ListView : UIView", - "key.parsed_scope.end" : 1723, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 178 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public init(frame: CGRect<\/Type> = .zero, appearance: Appearance<\/Type> = Appearance())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 215 - } - ], - "key.bodylength" : 3990, - "key.bodyoffset" : 295, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(frame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: Appearance<\/ref.struct><\/decl.var.parameter.type> = Appearance()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4064, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "init(frame:appearance:)", - "key.namelength" : 67, - "key.nameoffset" : 222, - "key.offset" : 222, - "key.parsed_declaration" : "public init(frame: CGRect = .zero, appearance : Appearance = Appearance())", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let initialLayout: CollectionViewLayout<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> initialLayout<\/decl.name>: CollectionViewLayout<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 206, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "initialLayout", - "key.namelength" : 13, - "key.nameoffset" : 885, - "key.offset" : 881, - "key.parsed_declaration" : "let initialLayout = CollectionViewLayout(\n delegate: self.delegate,\n layoutDescription: .table(),\n appearance: self.appearance,\n behavior: self.behavior\n)", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutCD", - "key.usr" : "s:10ListableUI8ListViewC5frame10appearanceACSo6CGRectV_AA10AppearanceVtcfc13initialLayoutL_AA010CollectiondJ0Cvp" - }, - { - "key.annotated_decl" : "weak var `self`: ListView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 2808 - } - ], - "key.column" : 65, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `self`<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 4, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.namelength" : 4, - "key.nameoffset" : 2813, - "key.offset" : 2813, - "key.parsed_declaration" : "self.closeActiveSwipesGesture.shouldRecognize = { [weak self", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.secondary_symbols" : [ - { - "key.annotated_decl" : "let `self`: ListView<\/Type><\/Declaration>", - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> `self`<\/decl.var.parameter.name>: ListView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>", - "key.is_synthesized" : true, - "key.kind" : "source.lang.swift.ref.var.local", - "key.length" : 4, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "self", - "key.offset" : 222, - "key.parent_loc" : 222, - "key.typename" : "ListView", - "key.typeusr" : "$s10ListableUI8ListViewCD", - "key.usr" : "s:10ListableUI8ListViewC5frame10appearanceACSo6CGRectV_AA10AppearanceVtcfc4selfL_ACvp" - } - ], - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI8ListViewC5frame10appearanceACSo6CGRectV_AA10AppearanceVtcfc4selfL0_ACSgvp" - }, - { - "key.annotated_decl" : "weak var collectionView: CollectionView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 2975 - } - ], - "key.column" : 69, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> collectionView<\/decl.name>: CollectionView<\/ref.class>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 14, - "key.line" : 99, - "key.modulename" : "ListableUI", - "key.name" : "collectionView", - "key.namelength" : 14, - "key.nameoffset" : 2980, - "key.offset" : 2980, - "key.parsed_declaration" : "self.updateQueue.listHasUncommittedReorderUpdates = { [weak collectionView", - "key.parsed_scope.end" : 99, - "key.parsed_scope.start" : 99, - "key.reusingastcontext" : false, - "key.secondary_symbols" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> let collectionView: CollectionView<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> collectionView<\/decl.name>: CollectionView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.ref.var.instance", - "key.length" : 14, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "collectionView", - "key.offset" : 5079, - "key.typename" : "CollectionView", - "key.typeusr" : "$s10ListableUI14CollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC010collectionD0AA010CollectionD0Cvp" - } - ], - "key.typename" : "CollectionView?", - "key.typeusr" : "$s10ListableUI14CollectionViewCSgD", - "key.usr" : "s:10ListableUI8ListViewC5frame10appearanceACSo6CGRectV_AA10AppearanceVtcfc010collectionD0L_AA010CollectionD0CSgvp" - } - ], - "key.typename" : "(ListView.Type) -> (CGRect, Appearance) -> ListView", - "key.typeusr" : "$s5frame10appearance10ListableUI8ListViewCSo6CGRectV_AC10AppearanceVtcD", - "key.usr" : "s:10ListableUI8ListViewC5frame10appearanceACSo6CGRectV_AA10AppearanceVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "deinit<\/Declaration>", - "key.bodylength" : 579, - "key.bodyoffset" : 4308, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "We track first responder status in supplementary views\nto fix a view recycling issue.\n\nSee the comment in `collectionView(_:viewForSupplementaryElementOfKind:at:)\nwithin `ListView.DataSource.swift` for more.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "deinit<\/syntaxtype.keyword><\/decl.function.destructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 592, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "deinit", - "key.namelength" : 6, - "key.nameoffset" : 4296, - "key.offset" : 4296, - "key.parsed_declaration" : "deinit", - "key.parsed_scope.end" : 154, - "key.parsed_scope.start" : 139, - "key.related_decls" : [ - { - "key.annotated_decl" : "deinit<\/RelatedName>" - }, - { - "key.annotated_decl" : "deinit<\/RelatedName>" - }, - { - "key.annotated_decl" : "deinit<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(im)dealloc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 4929 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 4898 - } - ], - "key.bodylength" : 25, - "key.bodyoffset" : 4961, - "key.doc.comment" : "Even though these are zeroing weak references in UIKIt as of iOS 9.0,\n\nWe still want to nil these out, because _our_ `delegate` and `dataSource`\nobjects have unowned references back to us (`ListView`). We do not want\nany `delegate` or `dataSource` callbacks to trigger referencing\nthat unowned reference (eg, in `scrollViewDidScroll:`).", - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 49, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 4938, - "key.offset" : 4938, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Internal Properties", - "key.offset" : 5007 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let storage: Storage<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> storage<\/decl.name>: Storage<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 5053, - "key.offset" : 5049, - "key.parsed_declaration" : "let storage : Storage", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.typename" : "ListView.Storage", - "key.typeusr" : "$s10ListableUI8ListViewC7StorageCD", - "key.usr" : "s:10ListableUI8ListViewC7storageAC7StorageCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let collectionView: CollectionView<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> collectionView<\/decl.name>: CollectionView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "collectionView", - "key.namelength" : 14, - "key.nameoffset" : 5079, - "key.offset" : 5075, - "key.parsed_declaration" : "let collectionView : CollectionView", - "key.parsed_scope.end" : 164, - "key.parsed_scope.start" : 164, - "key.reusingastcontext" : false, - "key.typename" : "CollectionView", - "key.typeusr" : "$s10ListableUI14CollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC010collectionD0AA010CollectionD0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let delegate: Delegate<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> delegate<\/decl.name>: Delegate<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "delegate", - "key.namelength" : 8, - "key.nameoffset" : 5119, - "key.offset" : 5115, - "key.parsed_declaration" : "let delegate : Delegate", - "key.parsed_scope.end" : 165, - "key.parsed_scope.start" : 165, - "key.reusingastcontext" : false, - "key.typename" : "ListView.Delegate", - "key.typeusr" : "$s10ListableUI8ListViewC8DelegateCD", - "key.usr" : "s:10ListableUI8ListViewC8delegateAC8DelegateCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let layoutManager: LayoutManager<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> layoutManager<\/decl.name>: LayoutManager<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "layoutManager", - "key.namelength" : 13, - "key.nameoffset" : 5147, - "key.offset" : 5143, - "key.parsed_declaration" : "let layoutManager : LayoutManager", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.typename" : "ListView.LayoutManager", - "key.typeusr" : "$s10ListableUI8ListViewC13LayoutManagerCD", - "key.usr" : "s:10ListableUI8ListViewC13layoutManagerAC06LayoutF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let liveCells: LiveCells<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> liveCells<\/decl.name>: LiveCells<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "liveCells", - "key.namelength" : 9, - "key.nameoffset" : 5185, - "key.offset" : 5181, - "key.parsed_declaration" : "let liveCells : LiveCells", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.typename" : "LiveCells", - "key.typeusr" : "$s10ListableUI9LiveCellsCD", - "key.usr" : "s:10ListableUI8ListViewC9liveCellsAA04LiveF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var collectionViewLayout: CollectionViewLayout<\/Type> { get }<\/Declaration>", - "key.bodylength" : 53, - "key.bodyoffset" : 5265, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> collectionViewLayout<\/decl.name>: CollectionViewLayout<\/ref.class><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 103, - "key.line" : 169, - "key.modulename" : "ListableUI", - "key.name" : "collectionViewLayout", - "key.namelength" : 20, - "key.nameoffset" : 5220, - "key.offset" : 5216, - "key.parsed_declaration" : "var collectionViewLayout : CollectionViewLayout", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 169, - "key.reusingastcontext" : false, - "key.typename" : "CollectionViewLayout", - "key.typeusr" : "$s10ListableUI20CollectionViewLayoutCD", - "key.usr" : "s:10ListableUI8ListViewC010collectionD6LayoutAA010CollectiondF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var performsContentCallbacks: Bool<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 132, - "key.bodyoffset" : 5373, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> performsContentCallbacks<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 177, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "performsContentCallbacks", - "key.namelength" : 24, - "key.nameoffset" : 5333, - "key.offset" : 5329, - "key.parsed_declaration" : "var performsContentCallbacks : Bool = true", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC24performsContentCallbacksSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> private(set) var visibleContent: VisibleContent<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 5516 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> visibleContent<\/decl.name>: VisibleContent<\/ref.class><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "visibleContent", - "key.namelength" : 14, - "key.nameoffset" : 5533, - "key.offset" : 5529, - "key.parsed_declaration" : "private(set) var visibleContent : VisibleContent", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 179, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ListView.VisibleContent", - "key.typeusr" : "$s10ListableUI8ListViewC14VisibleContentCD", - "key.usr" : "s:10ListableUI8ListViewC14visibleContentAC07VisibleF0Cvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 24, - "key.name" : "MARK: Private Properties", - "key.offset" : 5584 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var sourcePresenter: AnySourcePresenter<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5633 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sourcePresenter<\/decl.name>: AnySourcePresenter<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 185, - "key.modulename" : "ListableUI", - "key.name" : "sourcePresenter", - "key.namelength" : 15, - "key.nameoffset" : 5645, - "key.offset" : 5641, - "key.parsed_declaration" : "private var sourcePresenter : AnySourcePresenter", - "key.parsed_scope.end" : 185, - "key.parsed_scope.start" : 185, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "any AnySourcePresenter", - "key.typeusr" : "$s10ListableUI18AnySourcePresenter_pD", - "key.usr" : "s:10ListableUI8ListViewC15sourcePresenter33_A65B53D10B0C487915F0C0C4684244E8LLAA09AnySourceF0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var autoScrollAction: AutoScrollAction<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5687 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> autoScrollAction<\/decl.name>: AutoScrollAction<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "autoScrollAction", - "key.namelength" : 16, - "key.nameoffset" : 5699, - "key.offset" : 5695, - "key.parsed_declaration" : "private var autoScrollAction : AutoScrollAction", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 187, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "AutoScrollAction", - "key.typeusr" : "$s10ListableUI16AutoScrollActionOD", - "key.usr" : "s:10ListableUI8ListViewC16autoScrollAction33_A65B53D10B0C487915F0C0C4684244E8LLAA04AutofG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let dataSource: DataSource<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5744 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> dataSource<\/decl.name>: DataSource<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 189, - "key.modulename" : "ListableUI", - "key.name" : "dataSource", - "key.namelength" : 10, - "key.nameoffset" : 5756, - "key.offset" : 5752, - "key.parsed_declaration" : "private let dataSource : DataSource", - "key.parsed_scope.end" : 189, - "key.parsed_scope.start" : 189, - "key.reusingastcontext" : false, - "key.typename" : "ListView.DataSource", - "key.typeusr" : "$s10ListableUI8ListViewC10DataSourceCD", - "key.usr" : "s:10ListableUI8ListViewC10dataSource33_A65B53D10B0C487915F0C0C4684244E8LLAC04DataF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let keyboardObserver: KeyboardObserver<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5789 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> keyboardObserver<\/decl.name>: KeyboardObserver<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "keyboardObserver", - "key.namelength" : 16, - "key.nameoffset" : 5801, - "key.offset" : 5797, - "key.parsed_declaration" : "private let keyboardObserver : KeyboardObserver", - "key.parsed_scope.end" : 191, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.typename" : "KeyboardObserver", - "key.typeusr" : "$s16KeyboardObserverAACD", - "key.usr" : "s:10ListableUI8ListViewC16keyboardObserver33_A65B53D10B0C487915F0C0C4684244E8LL08KeyboardF0AFCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var lastKeyboardFrame: KeyboardFrame<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5842 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> lastKeyboardFrame<\/decl.name>: KeyboardFrame<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 44, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "lastKeyboardFrame", - "key.namelength" : 17, - "key.nameoffset" : 5854, - "key.offset" : 5850, - "key.parsed_declaration" : "private var lastKeyboardFrame : KeyboardFrame? = nil", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "KeyboardFrame?", - "key.typeusr" : "$s16KeyboardObserver0A5FrameOSgD", - "key.usr" : "s:10ListableUI8ListViewC17lastKeyboardFrame33_A65B53D10B0C487915F0C0C4684244E8LL0F8Observer0fG0OSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 15, - "key.name" : "MARK: Debugging", - "key.offset" : 5914 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var debuggingIdentifier: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5946 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> debuggingIdentifier<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 199, - "key.modulename" : "ListableUI", - "key.name" : "debuggingIdentifier", - "key.namelength" : 19, - "key.nameoffset" : 5957, - "key.offset" : 5953, - "key.parsed_declaration" : "public var debuggingIdentifier : String? = nil", - "key.parsed_scope.end" : 199, - "key.parsed_scope.start" : 199, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI8ListViewC19debuggingIdentifierSSSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 16, - "key.name" : "MARK: Appearance", - "key.offset" : 6012 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var animation: ListAnimation<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6045 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> animation<\/decl.name>: ListAnimation<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "animation", - "key.namelength" : 9, - "key.nameoffset" : 6056, - "key.offset" : 6052, - "key.parsed_declaration" : "public var animation : ListAnimation", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListAnimation", - "key.typeusr" : "$s10ListableUI13ListAnimationVD", - "key.usr" : "s:10ListableUI8ListViewC9animationAA0C9AnimationVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var appearance: Appearance<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6091 - } - ], - "key.bodylength" : 170, - "key.bodyoffset" : 6127, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> appearance<\/decl.name>: Appearance<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 200, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 6102, - "key.offset" : 6098, - "key.parsed_declaration" : "public var appearance : Appearance", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 207, - "key.related_decls" : [ - { - "key.annotated_decl" : "appearance()<\/RelatedName>" - }, - { - "key.annotated_decl" : "appearance(whenContainedInInstancesOf:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "appearance(for:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "appearance(for:whenContainedInInstancesOf:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Appearance", - "key.typeusr" : "$s10ListableUI10AppearanceVD", - "key.usr" : "s:10ListableUI8ListViewC10appearanceAA10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func applyAppearance()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 6308 - } - ], - "key.bodylength" : 266, - "key.bodyoffset" : 6344, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> applyAppearance<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 295, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "applyAppearance()", - "key.namelength" : 17, - "key.nameoffset" : 6321, - "key.offset" : 6316, - "key.parsed_declaration" : "private func applyAppearance()", - "key.parsed_scope.end" : 227, - "key.parsed_scope.start" : 217, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC15applyAppearance33_A65B53D10B0C487915F0C0C4684244E8LLyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: Layout", - "key.offset" : 6631 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var scrollPositionInfo: ListScrollPositionInfo<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6664 - } - ], - "key.bodylength" : 977, - "key.bodyoffset" : 6720, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollPositionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 1027, - "key.line" : 233, - "key.modulename" : "ListableUI", - "key.name" : "scrollPositionInfo", - "key.namelength" : 18, - "key.nameoffset" : 6675, - "key.offset" : 6671, - "key.parsed_declaration" : "public var scrollPositionInfo : ListScrollPositionInfo", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 233, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI8ListViewC18scrollPositionInfoAA0c6ScrollfG0Vvp" - }, - { - "key.annotated_decl" : "let visibleItems: Set<\/Type><ListScrollPositionInfo<\/Type>.VisibleItem<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleItems<\/decl.name>: Set<\/ref.struct><ListScrollPositionInfo<\/ref.struct>.VisibleItem<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 447, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "visibleItems", - "key.namelength" : 12, - "key.nameoffset" : 6733, - "key.offset" : 6729, - "key.parsed_declaration" : "let visibleItems = Set(self.visibleContent.items.map { item in\n let itemFrame = self.collectionViewLayout.frameForItem(at: item.indexPath)\n let visibleFrame = self.collectionView.visibleContentFrame\n return ListScrollPositionInfo.VisibleItem(\n identifier: item.item.anyModel.anyIdentifier,\n percentageVisible: itemFrame.percentageVisible(inside: visibleFrame)\n )\n})", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 234, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI22ListScrollPositionInfoV11VisibleItemVGD", - "key.usr" : "s:10ListableUI8ListViewC18scrollPositionInfoAA0c6ScrollfG0Vvg12visibleItemsL_ShyAF11VisibleItemVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var layout: LayoutDescription<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7708 - } - ], - "key.bodylength" : 125, - "key.bodyoffset" : 7747, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layout<\/decl.name>: LayoutDescription<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 158, - "key.line" : 255, - "key.modulename" : "ListableUI", - "key.name" : "layout", - "key.namelength" : 6, - "key.nameoffset" : 7719, - "key.offset" : 7715, - "key.parsed_declaration" : "public var layout : LayoutDescription", - "key.parsed_scope.end" : 258, - "key.parsed_scope.start" : 255, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDescription", - "key.typeusr" : "$s10ListableUI17LayoutDescriptionVD", - "key.usr" : "s:10ListableUI8ListViewC6layoutAA17LayoutDescriptionVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func set(layout new: LayoutDescription<\/Type>, animated: Bool<\/Type> = false, completion: @escaping () -> () = {})<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7879 - } - ], - "key.bodylength" : 272, - "key.bodyoffset" : 7995, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name>(layout<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: LayoutDescription<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = {}<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 382, - "key.line" : 260, - "key.modulename" : "ListableUI", - "key.name" : "set(layout:animated:completion:)", - "key.namelength" : 98, - "key.nameoffset" : 7891, - "key.offset" : 7886, - "key.parsed_declaration" : "public func set(layout new : LayoutDescription, animated : Bool = false, completion : @escaping () -> () = {})", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 260, - "key.related_decls" : [ - { - "key.annotated_decl" : "set(source:initial:animated:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let needsInsetUpdate: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> needsInsetUpdate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 70, - "key.line" : 262, - "key.modulename" : "ListableUI", - "key.name" : "needsInsetUpdate", - "key.namelength" : 16, - "key.nameoffset" : 8008, - "key.offset" : 8004, - "key.parsed_declaration" : "let needsInsetUpdate = layout.needsCollectionViewInsetUpdate(for: new)", - "key.parsed_scope.end" : 262, - "key.parsed_scope.start" : 262, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC3set6layout8animated10completionyAA17LayoutDescriptionV_SbyyctF16needsInsetUpdateL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (LayoutDescription, Bool, @escaping () -> ()) -> ()", - "key.typeusr" : "$s6layout8animated10completiony10ListableUI17LayoutDescriptionV_SbyyctcD", - "key.usr" : "s:10ListableUI8ListViewC3set6layout8animated10completionyAA17LayoutDescriptionV_SbyyctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var contentSize: CGSize<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8278 - } - ], - "key.bodylength" : 73, - "key.bodyoffset" : 8311, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 100, - "key.line" : 271, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 8289, - "key.offset" : 8285, - "key.parsed_declaration" : "public var contentSize : CGSize", - "key.parsed_scope.end" : 273, - "key.parsed_scope.start" : 271, - "key.related_decls" : [ - { - "key.annotated_decl" : "contentSize(in:for:safeAreaInsets:itemLimit:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI8ListViewC11contentSizeSo6CGSizeVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 14, - "key.name" : "MARK: Behavior", - "key.offset" : 8405 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var behavior: Behavior<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8436 - } - ], - "key.bodylength" : 166, - "key.bodyoffset" : 8468, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> behavior<\/decl.name>: Behavior<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 192, - "key.line" : 279, - "key.modulename" : "ListableUI", - "key.name" : "behavior", - "key.namelength" : 8, - "key.nameoffset" : 8447, - "key.offset" : 8443, - "key.parsed_declaration" : "public var behavior : Behavior", - "key.parsed_scope.end" : 287, - "key.parsed_scope.start" : 279, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Behavior", - "key.typeusr" : "$s10ListableUI8BehaviorVD", - "key.usr" : "s:10ListableUI8ListViewC8behaviorAA8BehaviorVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func applyBehavior()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 8645 - } - ], - "key.bodylength" : 1463, - "key.bodyoffset" : 8679, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> applyBehavior<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1490, - "key.line" : 289, - "key.modulename" : "ListableUI", - "key.name" : "applyBehavior()", - "key.namelength" : 15, - "key.nameoffset" : 8658, - "key.offset" : 8653, - "key.parsed_declaration" : "private func applyBehavior()", - "key.parsed_scope.end" : 323, - "key.parsed_scope.start" : 289, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let newDecelerationRate: UIScrollView<\/Type>.DecelerationRate<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newDecelerationRate<\/decl.name>: UIScrollView<\/ref.class>.DecelerationRate<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 106, - "key.line" : 301, - "key.modulename" : "ListableUI", - "key.name" : "newDecelerationRate", - "key.namelength" : 19, - "key.nameoffset" : 9218, - "key.offset" : 9214, - "key.parsed_declaration" : "let newDecelerationRate = UICollectionView.DecelerationRate(behaviorValue: self.behavior.decelerationRate)", - "key.parsed_scope.end" : 301, - "key.parsed_scope.start" : 301, - "key.reusingastcontext" : false, - "key.typename" : "UIScrollView.DecelerationRate", - "key.typeusr" : "$sSo28UIScrollViewDecelerationRateaD", - "key.usr" : "s:10ListableUI8ListViewC13applyBehavior33_A65B53D10B0C487915F0C0C4684244E8LLyyF19newDecelerationRateL_So08UIScrolldqR0avp" - } - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC13applyBehavior33_A65B53D10B0C487915F0C0C4684244E8LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateCollectionViewWithCurrentLayoutProperties()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10153 - } - ], - "key.bodylength" : 298, - "key.bodyoffset" : 10221, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateCollectionViewWithCurrentLayoutProperties<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 359, - "key.line" : 325, - "key.modulename" : "ListableUI", - "key.name" : "updateCollectionViewWithCurrentLayoutProperties()", - "key.namelength" : 49, - "key.nameoffset" : 10166, - "key.offset" : 10161, - "key.parsed_declaration" : "private func updateCollectionViewWithCurrentLayoutProperties()", - "key.parsed_scope.end" : 333, - "key.parsed_scope.start" : 325, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD27WithCurrentLayoutProperties33_A65B53D10B0C487915F0C0C4684244E8LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateCollectionViewSelectionMode()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 10530 - } - ], - "key.bodylength" : 467, - "key.bodyoffset" : 10584, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateCollectionViewSelectionMode<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 514, - "key.line" : 335, - "key.modulename" : "ListableUI", - "key.name" : "updateCollectionViewSelectionMode()", - "key.namelength" : 35, - "key.nameoffset" : 10543, - "key.offset" : 10538, - "key.parsed_declaration" : "private func updateCollectionViewSelectionMode()", - "key.parsed_scope.end" : 352, - "key.parsed_scope.start" : 335, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let view: CollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: CollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 30, - "key.line" : 337, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 10597, - "key.offset" : 10593, - "key.parsed_declaration" : "let view = self.collectionView", - "key.parsed_scope.end" : 337, - "key.parsed_scope.start" : 337, - "key.reusingastcontext" : false, - "key.typename" : "CollectionView", - "key.typeusr" : "$s10ListableUI14CollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD13SelectionMode33_A65B53D10B0C487915F0C0C4684244E8LLyyF4viewL_AA0fD0Cvp" - } - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD13SelectionMode33_A65B53D10B0C487915F0C0C4684244E8LLyyF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 19, - "key.name" : "MARK: Scroll Insets", - "key.offset" : 11072 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var isContentScrollable: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11190 - } - ], - "key.bodylength" : 48, - "key.bodyoffset" : 11228, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns true when the content size is large enough that scrolling is possible", - "key.doc.column" : 16, - "key.doc.comment" : "Returns true when the content size is large enough that scrolling is possible", - "key.doc.declaration" : "@MainActor public var isContentScrollable: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "isContentScrollable<\/Name>s:10ListableUI8ListViewC19isContentScrollableSbvp<\/USR>@MainActor public var isContentScrollable: Bool { get }<\/Declaration>Returns true when the content size is large enough that scrolling is possible<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 359, - "key.doc.name" : "isContentScrollable", - "key.doc.type" : "Other", - "key.doclength" : 82, - "key.docoffset" : 11104, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isContentScrollable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 80, - "key.line" : 359, - "key.modulename" : "ListableUI", - "key.name" : "isContentScrollable", - "key.namelength" : 19, - "key.nameoffset" : 11201, - "key.offset" : 11197, - "key.parsed_declaration" : "public var isContentScrollable: Bool", - "key.parsed_scope.end" : 361, - "key.parsed_scope.start" : 359, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC19isContentScrollableSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var scrollIndicatorInsets: UIEdgeInsets<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11284 - } - ], - "key.bodylength" : 188, - "key.bodyoffset" : 11333, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollIndicatorInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 231, - "key.line" : 364, - "key.modulename" : "ListableUI", - "key.name" : "scrollIndicatorInsets", - "key.namelength" : 21, - "key.nameoffset" : 11295, - "key.offset" : 11291, - "key.parsed_declaration" : "public var scrollIndicatorInsets : UIEdgeInsets", - "key.parsed_scope.end" : 372, - "key.parsed_scope.start" : 364, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC21scrollIndicatorInsetsSo06UIEdgeG0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListView<\/Type>.KeyboardFrameWillChangeCallback = (KeyboardCurrentFrameProvider<\/Type>, (animationDuration: Double<\/Type>, animationCurve: UIView<\/Type>.AnimationCurve<\/Type>)) -> Void<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11583 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Callback for when the keyboard changes", - "key.doc.column" : 22, - "key.doc.comment" : "Callback for when the keyboard changes", - "key.doc.declaration" : "public typealias ListableUI.ListView.KeyboardFrameWillChangeCallback = (KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> Void", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "KeyboardFrameWillChangeCallback<\/Name>s:10ListableUI8ListViewC31KeyboardFrameWillChangeCallbacka<\/USR>public typealias ListableUI.ListView.KeyboardFrameWillChangeCallback = (KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> Void<\/Declaration>Callback for when the keyboard changes<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 375, - "key.doc.name" : "KeyboardFrameWillChangeCallback", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 11536, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListView<\/ref.class>.KeyboardFrameWillChangeCallback<\/decl.name> = (KeyboardCurrentFrameProvider<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, (animationDuration<\/tuple.element.argument_label>: Double<\/ref.struct><\/tuple.element.type><\/tuple.element>, animationCurve<\/tuple.element.argument_label>: UIView<\/ref.class>.AnimationCurve<\/ref.enum><\/tuple.element.type><\/tuple.element>)<\/tuple><\/decl.var.parameter.type><\/decl.var.parameter>) -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 172, - "key.line" : 375, - "key.modulename" : "ListableUI", - "key.name" : "KeyboardFrameWillChangeCallback", - "key.namelength" : 31, - "key.nameoffset" : 11600, - "key.offset" : 11590, - "key.parsed_declaration" : "public typealias KeyboardFrameWillChangeCallback = (\n KeyboardCurrentFrameProvider,\n (animationDuration: Double, animationCurve: UIView.AnimationCurve)\n) -> Void", - "key.parsed_scope.end" : 375, - "key.parsed_scope.start" : 375, - "key.reusingastcontext" : false, - "key.typename" : "((any KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> ()).Type", - "key.typeusr" : "$sy16KeyboardObserver0A20CurrentFrameProvider_p_Sd17animationDuration_So20UIViewAnimationCurveV0fJ0ttcmD", - "key.usr" : "s:10ListableUI8ListViewC31KeyboardFrameWillChangeCallbacka" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var onKeyboardFrameWillChange: KeyboardFrameWillChangeCallback<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11822 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Called whenever a keyboard change is detected", - "key.doc.column" : 16, - "key.doc.comment" : "Called whenever a keyboard change is detected", - "key.doc.declaration" : "@MainActor public var onKeyboardFrameWillChange: KeyboardFrameWillChangeCallback?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "onKeyboardFrameWillChange<\/Name>s:10ListableUI8ListViewC25onKeyboardFrameWillChangey0F8Observer0f7CurrentG8Provider_p_Sd17animationDuration_So20UIViewAnimationCurveV0mQ0ttcSgvp<\/USR>@MainActor public var onKeyboardFrameWillChange: KeyboardFrameWillChangeCallback?<\/Declaration>Called whenever a keyboard change is detected<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 381, - "key.doc.name" : "onKeyboardFrameWillChange", - "key.doc.type" : "Other", - "key.doclength" : 50, - "key.docoffset" : 11768, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onKeyboardFrameWillChange<\/decl.name>: KeyboardFrameWillChangeCallback<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 63, - "key.line" : 381, - "key.modulename" : "ListableUI", - "key.name" : "onKeyboardFrameWillChange", - "key.namelength" : 25, - "key.nameoffset" : 11833, - "key.offset" : 11829, - "key.parsed_declaration" : "public var onKeyboardFrameWillChange: KeyboardFrameWillChangeCallback?", - "key.parsed_scope.end" : 381, - "key.parsed_scope.start" : 381, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((any KeyboardCurrentFrameProvider, (animationDuration: Double, animationCurve: UIView.AnimationCurve)) -> ())?", - "key.typeusr" : "$sy16KeyboardObserver0A20CurrentFrameProvider_p_Sd17animationDuration_So20UIViewAnimationCurveV0fJ0ttcSgD", - "key.usr" : "s:10ListableUI8ListViewC25onKeyboardFrameWillChangey0F8Observer0f7CurrentG8Provider_p_Sd17animationDuration_So20UIViewAnimationCurveV0mQ0ttcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListView<\/Type>.ScrollViewInsets<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11898 - } - ], - "key.bodylength" : 892, - "key.bodyoffset" : 11930, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListView<\/ref.class>.ScrollViewInsets<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 918, - "key.line" : 383, - "key.modulename" : "ListableUI", - "key.name" : "ScrollViewInsets", - "key.namelength" : 16, - "key.nameoffset" : 11912, - "key.offset" : 11905, - "key.parsed_declaration" : "public struct ScrollViewInsets", - "key.parsed_scope.end" : 407, - "key.parsed_scope.start" : 383, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let content: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11979 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Insets for the content view", - "key.doc.column" : 20, - "key.doc.comment" : "Insets for the content view", - "key.doc.declaration" : "public let content: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "content<\/Name>s:10ListableUI8ListViewC06ScrollD6InsetsV7contentSo06UIEdgeF0Vvp<\/USR>public let content: UIEdgeInsets<\/Declaration>Insets for the content view<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 385, - "key.doc.name" : "content", - "key.doc.type" : "Other", - "key.doclength" : 32, - "key.docoffset" : 11939, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> content<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 385, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 11990, - "key.offset" : 11986, - "key.parsed_declaration" : "public let content: UIEdgeInsets", - "key.parsed_scope.end" : 385, - "key.parsed_scope.start" : 385, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC06ScrollD6InsetsV7contentSo06UIEdgeF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let horizontalScroll: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12070 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Insets for the horizontal scroll bar", - "key.doc.column" : 20, - "key.doc.comment" : "Insets for the horizontal scroll bar", - "key.doc.declaration" : "public let horizontalScroll: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "horizontalScroll<\/Name>s:10ListableUI8ListViewC06ScrollD6InsetsV010horizontalE0So06UIEdgeF0Vvp<\/USR>public let horizontalScroll: UIEdgeInsets<\/Declaration>Insets for the horizontal scroll bar<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 388, - "key.doc.name" : "horizontalScroll", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 12021, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> horizontalScroll<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 388, - "key.modulename" : "ListableUI", - "key.name" : "horizontalScroll", - "key.namelength" : 16, - "key.nameoffset" : 12081, - "key.offset" : 12077, - "key.parsed_declaration" : "public let horizontalScroll: UIEdgeInsets", - "key.parsed_scope.end" : 388, - "key.parsed_scope.start" : 388, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC06ScrollD6InsetsV010horizontalE0So06UIEdgeF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let verticalScroll: UIEdgeInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12168 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Insets for the vertical scroll bar", - "key.doc.column" : 20, - "key.doc.comment" : "Insets for the vertical scroll bar", - "key.doc.declaration" : "public let verticalScroll: UIEdgeInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "verticalScroll<\/Name>s:10ListableUI8ListViewC06ScrollD6InsetsV08verticalE0So06UIEdgeF0Vvp<\/USR>public let verticalScroll: UIEdgeInsets<\/Declaration>Insets for the vertical scroll bar<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 391, - "key.doc.name" : "verticalScroll", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 12121, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> verticalScroll<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 391, - "key.modulename" : "ListableUI", - "key.name" : "verticalScroll", - "key.namelength" : 14, - "key.nameoffset" : 12179, - "key.offset" : 12175, - "key.parsed_declaration" : "public let verticalScroll: UIEdgeInsets", - "key.parsed_scope.end" : 391, - "key.parsed_scope.start" : 391, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC06ScrollD6InsetsV08verticalE0So06UIEdgeF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(content: UIEdgeInsets<\/Type> = .zero, horizontalScroll: UIEdgeInsets<\/Type> = .zero, verticalScroll: UIEdgeInsets<\/Type> = .zero)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12502 - } - ], - "key.bodylength" : 146, - "key.bodyoffset" : 12670, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "All values are optional, and default to `.zero`\n- Parameters:\n - content: Insets for the content view\n - horizontalScroll: Insets for the horizontal scroll bar\n - verticalScroll: Insets for the vertical scroll bar", - "key.doc.column" : 16, - "key.doc.comment" : "All values are optional, and default to `.zero`\n- Parameters:\n - content: Insets for the content view\n - horizontalScroll: Insets for the horizontal scroll bar\n - verticalScroll: Insets for the vertical scroll bar", - "key.doc.declaration" : "public init(content: UIEdgeInsets = .zero, horizontalScroll: UIEdgeInsets = .zero, verticalScroll: UIEdgeInsets = .zero)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "init(content:horizontalScroll:verticalScroll:)<\/Name>s:10ListableUI8ListViewC06ScrollD6InsetsV7content010horizontalE008verticalE0AESo06UIEdgeF0V_A2Jtcfc<\/USR>public init(content: UIEdgeInsets = .zero, horizontalScroll: UIEdgeInsets = .zero, verticalScroll: UIEdgeInsets = .zero)<\/Declaration>All values are optional, and default to .zero<\/codeVoice><\/Para><\/Abstract>content<\/Name>in<\/Direction>Insets for the content view<\/Para><\/Discussion><\/Parameter>horizontalScroll<\/Name>in<\/Direction>Insets for the horizontal scroll bar<\/Para><\/Discussion><\/Parameter>verticalScroll<\/Name>in<\/Direction>Insets for the vertical scroll bar<\/Para><\/Discussion><\/Parameter><\/Parameters><\/CommentParts><\/Function>", - "key.doc.line" : 398, - "key.doc.name" : "init(content:horizontalScroll:verticalScroll:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "Insets for the content view" - } - ], - "name" : "content" - }, - { - "discussion" : [ - { - "Para" : "Insets for the horizontal scroll bar" - } - ], - "name" : "horizontalScroll" - }, - { - "discussion" : [ - { - "Para" : "Insets for the vertical scroll bar" - } - ], - "name" : "verticalScroll" - } - ], - "key.doc.type" : "Function", - "key.doclength" : 269, - "key.docoffset" : 12225, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(content<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, horizontalScroll<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, verticalScroll<\/decl.var.parameter.argument_label>: UIEdgeInsets<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 308, - "key.line" : 398, - "key.modulename" : "ListableUI", - "key.name" : "init(content:horizontalScroll:verticalScroll:)", - "key.namelength" : 159, - "key.nameoffset" : 12509, - "key.offset" : 12509, - "key.parsed_declaration" : "public init(\n content: UIEdgeInsets = .zero,\n horizontalScroll: UIEdgeInsets = .zero,\n verticalScroll: UIEdgeInsets = .zero\n)", - "key.parsed_scope.end" : 406, - "key.parsed_scope.start" : 398, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.ScrollViewInsets.Type) -> (UIEdgeInsets, UIEdgeInsets, UIEdgeInsets) -> ListView.ScrollViewInsets", - "key.typeusr" : "$s7content16horizontalScroll08verticalC010ListableUI8ListViewC0cH6InsetsVSo06UIEdgeI0V_A2JtcD", - "key.usr" : "s:10ListableUI8ListViewC06ScrollD6InsetsV7content010horizontalE008verticalE0AESo06UIEdgeF0V_A2Jtcfc" - } - ], - "key.typename" : "ListView.ScrollViewInsets.Type", - "key.typeusr" : "$s10ListableUI8ListViewC06ScrollD6InsetsVmD", - "key.usr" : "s:10ListableUI8ListViewC06ScrollD6InsetsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var customScrollViewInsets: () -> ScrollViewInsets<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12952 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This callback determines the scroll view's insets only when\n`behavior.keyboardAdjustmentMode` is `.custom`", - "key.doc.column" : 16, - "key.doc.comment" : "This callback determines the scroll view's insets only when\n`behavior.keyboardAdjustmentMode` is `.custom`", - "key.doc.declaration" : "@MainActor public var customScrollViewInsets: () -> ScrollViewInsets", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "customScrollViewInsets<\/Name>s:10ListableUI8ListViewC012customScrollD6InsetsAC0fdG0Vycvp<\/USR>@MainActor public var customScrollViewInsets: () -> ScrollViewInsets<\/Declaration>This callback determines the scroll view’s insets only when behavior.keyboardAdjustmentMode<\/codeVoice> is .custom<\/codeVoice><\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 411, - "key.doc.name" : "customScrollViewInsets", - "key.doc.type" : "Other", - "key.doclength" : 119, - "key.docoffset" : 12829, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> customScrollViewInsets<\/decl.name>: () -> ScrollViewInsets<\/ref.struct><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 64, - "key.line" : 411, - "key.modulename" : "ListableUI", - "key.name" : "customScrollViewInsets", - "key.namelength" : 22, - "key.nameoffset" : 12963, - "key.offset" : 12959, - "key.parsed_declaration" : "public var customScrollViewInsets: () -> ScrollViewInsets = { .init() }", - "key.parsed_scope.end" : 411, - "key.parsed_scope.start" : 411, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "() -> ListView.ScrollViewInsets", - "key.typeusr" : "$s10ListableUI8ListViewC06ScrollD6InsetsVycD", - "key.usr" : "s:10ListableUI8ListViewC012customScrollD6InsetsAC0fdG0Vycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func updateScrollViewInsets()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13260 - } - ], - "key.bodylength" : 842, - "key.bodyoffset" : 13302, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Call this to trigger an insets update.\nWhen the `keyboardAdjustmentMode` is `.custom`, you should set\na `customScrollViewInsets` callback and then call this method\nwhenever insets require an update.", - "key.doc.column" : 17, - "key.doc.comment" : "Call this to trigger an insets update.\nWhen the `keyboardAdjustmentMode` is `.custom`, you should set\na `customScrollViewInsets` callback and then call this method\nwhenever insets require an update.", - "key.doc.declaration" : "@MainActor public func updateScrollViewInsets()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "updateScrollViewInsets()<\/Name>s:10ListableUI8ListViewC012updateScrollD6InsetsyyF<\/USR>@MainActor public func updateScrollViewInsets()<\/Declaration>Call this to trigger an insets update. When the keyboardAdjustmentMode<\/codeVoice> is .custom<\/codeVoice>, you should set a customScrollViewInsets<\/codeVoice> callback and then call this method whenever insets require an update.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 417, - "key.doc.name" : "updateScrollViewInsets()", - "key.doc.type" : "Function", - "key.doclength" : 227, - "key.docoffset" : 13029, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateScrollViewInsets<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 878, - "key.line" : 417, - "key.modulename" : "ListableUI", - "key.name" : "updateScrollViewInsets()", - "key.namelength" : 24, - "key.nameoffset" : 13272, - "key.offset" : 13267, - "key.parsed_declaration" : "public func updateScrollViewInsets()", - "key.parsed_scope.end" : 439, - "key.parsed_scope.start" : 417, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let insets: ScrollViewInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> insets<\/decl.name>: ScrollViewInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 28, - "key.line" : 419, - "key.modulename" : "ListableUI", - "key.name" : "insets", - "key.namelength" : 6, - "key.nameoffset" : 13315, - "key.offset" : 13311, - "key.parsed_declaration" : "let insets: ScrollViewInsets", - "key.parsed_scope.end" : 419, - "key.parsed_scope.start" : 419, - "key.reusingastcontext" : false, - "key.typename" : "ListView.ScrollViewInsets", - "key.typeusr" : "$s10ListableUI8ListViewC06ScrollD6InsetsVD", - "key.usr" : "s:10ListableUI8ListViewC012updateScrollD6InsetsyyF6insetsL_AC0fdG0Vvp" - } - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC012updateScrollD6InsetsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func calculateScrollViewInsets(with keyboardFrame: KeyboardFrame<\/Type>?) -> ScrollViewInsets<\/Type><\/Declaration>", - "key.bodylength" : 1621, - "key.bodyoffset" : 14243, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> calculateScrollViewInsets<\/decl.name>(with<\/decl.var.parameter.argument_label> keyboardFrame<\/decl.var.parameter.name>: KeyboardFrame<\/ref.enum>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> ScrollViewInsets<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1714, - "key.line" : 441, - "key.modulename" : "ListableUI", - "key.name" : "calculateScrollViewInsets(with:)", - "key.namelength" : 62, - "key.nameoffset" : 14156, - "key.offset" : 14151, - "key.parsed_declaration" : "func calculateScrollViewInsets(with keyboardFrame : KeyboardFrame?) -> ScrollViewInsets", - "key.parsed_scope.end" : 493, - "key.parsed_scope.start" : 441, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let keyboardBottomInset: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> keyboardBottomInset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 874, - "key.line" : 442, - "key.modulename" : "ListableUI", - "key.name" : "keyboardBottomInset", - "key.namelength" : 19, - "key.nameoffset" : 14256, - "key.offset" : 14252, - "key.parsed_declaration" : "let keyboardBottomInset : CGFloat = {\n \n guard let keyboardFrame = keyboardFrame else {\n return 0.0\n }\n \n guard layout.wantsKeyboardInsetAdjustment else {\n return 0.0\n }\n \n switch self.behavior.keyboardAdjustmentMode {\n case .none:\n return 0.0\n \n case .adjustsWhenVisible:\n switch keyboardFrame {\n case .nonOverlapping:\n return 0.0\n \n case .overlapping(let frame):\n return (self.bounds.size.height - frame.origin.y) - self.safeAreaInsets.bottom\n }\n\n case .custom:\n fatalError(\"Shouldn't call calculateScrollViewInsets for custom case\")\n }\n}()", - "key.parsed_scope.end" : 442, - "key.parsed_scope.start" : 442, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC015calculateScrollD6Insets4withAC0fdG0V16KeyboardObserver0I5FrameOSg_tF19keyboardBottomInsetL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let scrollInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> scrollInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 127, - "key.line" : 470, - "key.modulename" : "ListableUI", - "key.name" : "scrollInsets", - "key.namelength" : 12, - "key.nameoffset" : 15140, - "key.offset" : 15136, - "key.parsed_declaration" : "let scrollInsets = modified(self.scrollIndicatorInsets) {\n $0.bottom = max($0.bottom, keyboardBottomInset)\n}", - "key.parsed_scope.end" : 470, - "key.parsed_scope.start" : 470, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC015calculateScrollD6Insets4withAC0fdG0V16KeyboardObserver0I5FrameOSg_tF06scrollG0L_So06UIEdgeG0Vvp" - }, - { - "key.annotated_decl" : "let contentInsets: UIEdgeInsets<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentInsets<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 118, - "key.line" : 474, - "key.modulename" : "ListableUI", - "key.name" : "contentInsets", - "key.namelength" : 13, - "key.nameoffset" : 15285, - "key.offset" : 15281, - "key.parsed_declaration" : "let contentInsets = modified(self.collectionView.contentInset) {\n $0.bottom = keyboardBottomInset\n}", - "key.parsed_scope.end" : 474, - "key.parsed_scope.start" : 474, - "key.reusingastcontext" : false, - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "s:10ListableUI8ListViewC015calculateScrollD6Insets4withAC0fdG0V16KeyboardObserver0I5FrameOSg_tF07contentG0L_So06UIEdgeG0Vvp" - } - ], - "key.typename" : "(ListView) -> (KeyboardFrame?) -> ListView.ScrollViewInsets", - "key.typeusr" : "$s4with10ListableUI8ListViewC06ScrollE6InsetsV16KeyboardObserver0H5FrameOSg_tcD", - "key.usr" : "s:10ListableUI8ListViewC015calculateScrollD6Insets4withAC0fdG0V16KeyboardObserver0I5FrameOSg_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 28, - "key.name" : "MARK: List State Observation", - "key.offset" : 15886 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var stateObserver: ListStateObserver<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16219 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A state observer allows you to receive callbacks when varying types\nof changes occur within the list's state, such as scroll events,\ncontent change events, frame change events, or item visibility changes.\n\nSee the `ListStateObserver` for more info.", - "key.doc.column" : 16, - "key.doc.comment" : "A state observer allows you to receive callbacks when varying types\nof changes occur within the list's state, such as scroll events,\ncontent change events, frame change events, or item visibility changes.\n\nSee the `ListStateObserver` for more info.", - "key.doc.declaration" : "@MainActor public var stateObserver: ListStateObserver", - "key.doc.discussion" : [ - { - "Para" : "See the `ListStateObserver` for more info." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "stateObserver<\/Name>s:10ListableUI8ListViewC13stateObserverAA0c5StateF0Vvp<\/USR>@MainActor public var stateObserver: ListStateObserver<\/Declaration>A state observer allows you to receive callbacks when varying types of changes occur within the list’s state, such as scroll events, content change events, frame change events, or item visibility changes.<\/Para><\/Abstract>See the ListStateObserver<\/codeVoice> for more info.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 505, - "key.doc.name" : "stateObserver", - "key.doc.type" : "Other", - "key.doclength" : 284, - "key.docoffset" : 15931, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> stateObserver<\/decl.name>: ListStateObserver<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 505, - "key.modulename" : "ListableUI", - "key.name" : "stateObserver", - "key.namelength" : 13, - "key.nameoffset" : 16230, - "key.offset" : 16226, - "key.parsed_declaration" : "public var stateObserver : ListStateObserver", - "key.parsed_scope.end" : 505, - "key.parsed_scope.start" : 505, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListStateObserver", - "key.typeusr" : "$s10ListableUI17ListStateObserverVD", - "key.usr" : "s:10ListableUI8ListViewC13stateObserverAA0c5StateF0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var actions: ListActions<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 16476 - } - ], - "key.bodylength" : 124, - "key.bodyoffset" : 16512, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows registering a `ListActions` object associated\nwith the list view that allows you to perform actions such as scrolling to\nitems, or controlling view appearance transitions.", - "key.doc.column" : 17, - "key.doc.comment" : "Allows registering a `ListActions` object associated\nwith the list view that allows you to perform actions such as scrolling to\nitems, or controlling view appearance transitions.", - "key.doc.declaration" : "@MainActor private var actions: ListActions? { get set }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI8ListViewC7actions33_A65B53D10B0C487915F0C0C4684244E8LLAA0C7ActionsCSgvp<\/USR>@MainActor private var actions: ListActions? { get set }<\/Declaration>Allows registering a ListActions<\/codeVoice> object associated with the list view that allows you to perform actions such as scrolling to items, or controlling view appearance transitions.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 510, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 199, - "key.docoffset" : 16273, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> actions<\/decl.name>: ListActions<\/ref.class>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 153, - "key.line" : 510, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 16488, - "key.offset" : 16484, - "key.parsed_declaration" : "private var actions : ListActions?", - "key.parsed_scope.end" : 516, - "key.parsed_scope.start" : 510, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ListActions?", - "key.typeusr" : "$s10ListableUI11ListActionsCSgD", - "key.usr" : "s:10ListableUI8ListViewC7actions33_A65B53D10B0C487915F0C0C4684244E8LLAA0C7ActionsCSgvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 44, - "key.name" : "MARK: Public - Scrolling To Sections & Items", - "key.offset" : 16657 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListView<\/Type>.ScrollCompletion = ListStateObserver<\/Type>.OnDidEndScrollingAnimation<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 16916 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "TODO: The below functions do not yet work for horizontal lists.\nA pass needs to be done to change math and offsets based on the `LayoutDirection`\nof the current layout.", - "key.doc.column" : 22, - "key.doc.comment" : "TODO: The below functions do not yet work for horizontal lists.\nA pass needs to be done to change math and offsets based on the `LayoutDirection`\nof the current layout.", - "key.doc.declaration" : "public typealias ListableUI.ListView.ScrollCompletion = ListStateObserver.OnDidEndScrollingAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "ScrollCompletion<\/Name>s:10ListableUI8ListViewC16ScrollCompletiona<\/USR>public typealias ListableUI.ListView.ScrollCompletion = ListStateObserver.OnDidEndScrollingAnimation<\/Declaration>TODO: The below functions do not yet work for horizontal lists. A pass needs to be done to change math and offsets based on the LayoutDirection<\/codeVoice> of the current layout.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 526, - "key.doc.name" : "ScrollCompletion", - "key.doc.type" : "Other", - "key.doclength" : 189, - "key.docoffset" : 16718, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListView<\/ref.class>.ScrollCompletion<\/decl.name> = ListStateObserver<\/ref.struct>.OnDidEndScrollingAnimation<\/ref.typealias><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 73, - "key.line" : 526, - "key.modulename" : "ListableUI", - "key.name" : "ScrollCompletion", - "key.namelength" : 16, - "key.nameoffset" : 16933, - "key.offset" : 16923, - "key.parsed_declaration" : "public typealias ScrollCompletion = ListStateObserver.OnDidEndScrollingAnimation", - "key.parsed_scope.end" : 526, - "key.parsed_scope.start" : 526, - "key.reusingastcontext" : false, - "key.typename" : "((ListStateObserver.DidEndScrollingAnimation) -> ()).Type", - "key.typeusr" : "$sy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcmD", - "key.usr" : "s:10ListableUI8ListViewC16ScrollCompletiona" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func scrollTo(item: AnyItem<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17211 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 17188 - } - ], - "key.bodylength" : 175, - "key.bodyoffset" : 17388, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the provided item, with the provided positioning.\nIf the item is contained in the list, true is returned. If it is not, false is returned.\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nScrolls to the provided item, with the provided positioning.\nIf the item is contained in the list, true is returned. If it is not, false is returned.", - "key.doc.declaration" : "@discardableResult\n@MainActor public func scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollTo(item:position:animated:completion:)<\/Name>s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA7AnyItem_p_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF<\/USR>@discardableResult\n@MainActor public func scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the provided item, with the provided positioning. If the item is contained in the list, true is returned. If it is not, false is returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 533, - "key.doc.name" : "scrollTo(item:position:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 178, - "key.docoffset" : 17006, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollTo<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 346, - "key.line" : 533, - "key.modulename" : "ListableUI", - "key.name" : "scrollTo(item:position:animated:completion:)", - "key.namelength" : 151, - "key.nameoffset" : 17223, - "key.offset" : 17218, - "key.parsed_declaration" : "public func scrollTo(\n item : AnyItem,\n position : ScrollPosition,\n animated : Bool = false,\n completion: ScrollCompletion? = nil\n) -> Bool", - "key.parsed_scope.end" : 546, - "key.parsed_scope.start" : 533, - "key.related_decls" : [ - { - "key.annotated_decl" : "scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (any AnyItem, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4item8position8animated10completionSb10ListableUI7AnyItem_p_AE14ScrollPositionVSbyAE17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA7AnyItem_p_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func scrollTo(item: AnyIdentifier<\/Type>, position: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 17899 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 17876 - } - ], - "key.bodylength" : 3510, - "key.bodyoffset" : 18082, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the item with the provided identifier, with the provided positioning.\nIf there is more than one item with the same identifier, the list scrolls to the first.\nIf the item is contained in the list, true is returned. If it is not, false is returned.\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nScrolls to the item with the provided identifier, with the provided positioning.\nIf there is more than one item with the same identifier, the list scrolls to the first.\nIf the item is contained in the list, true is returned. If it is not, false is returned.", - "key.doc.declaration" : "@discardableResult\n@MainActor public func scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollTo(item:position:animated:completion:)<\/Name>s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF<\/USR>@discardableResult\n@MainActor public func scrollTo(item: AnyIdentifier, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the item with the provided identifier, with the provided positioning. If there is more than one item with the same identifier, the list scrolls to the first. If the item is contained in the list, true is returned. If it is not, false is returned.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 554, - "key.doc.name" : "scrollTo(item:position:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 294, - "key.docoffset" : 17578, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollTo<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, position<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3687, - "key.line" : 554, - "key.modulename" : "ListableUI", - "key.name" : "scrollTo(item:position:animated:completion:)", - "key.namelength" : 157, - "key.nameoffset" : 17911, - "key.offset" : 17906, - "key.parsed_declaration" : "public func scrollTo(\n item : AnyIdentifier,\n position : ScrollPosition,\n animated : Bool = false,\n completion: ScrollCompletion? = nil\n) -> Bool", - "key.parsed_scope.end" : 636, - "key.parsed_scope.start" : 554, - "key.related_decls" : [ - { - "key.annotated_decl" : "scrollTo(item: AnyItem, position: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let shouldAnimate: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> shouldAnimate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 569, - "key.modulename" : "ListableUI", - "key.name" : "shouldAnimate", - "key.namelength" : 13, - "key.nameoffset" : 18523, - "key.offset" : 18519, - "key.parsed_declaration" : "let shouldAnimate = animated && UIView.areAnimationsEnabled", - "key.parsed_scope.end" : 569, - "key.parsed_scope.start" : 569, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF13shouldAnimateL_Sbvp" - }, - { - "key.annotated_decl" : "let toIndexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "`preparePresentationStateForScroll(to:)` is asynchronous in some\ncases, we need to re-query our section index in case it changed or is no longer valid.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> toIndexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 11, - "key.line" : 576, - "key.modulename" : "ListableUI", - "key.name" : "toIndexPath", - "key.offset" : 18911, - "key.parsed_declaration" : "guard let toIndexPath", - "key.parsed_scope.end" : 576, - "key.parsed_scope.start" : 576, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtFyycfU_11toIndexPathL_10Foundation0vW0Vvp" - } - ], - "key.typename" : "(ListView) -> (AnyIdentifier, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4item8position8animated10completionSb10ListableUI13AnyIdentifierC_AE14ScrollPositionVSbyAE17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI8ListViewC8scrollTo4item8position8animated10completionSbAA13AnyIdentifierC_AA14ScrollPositionVSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func scrollToSection(with identifier: AnyIdentifier<\/Type>, sectionPosition: SectionPosition<\/Type> = .top, scrollPosition: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 22446 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 22423 - } - ], - "key.bodylength" : 3272, - "key.bodyoffset" : 22702, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the section with the given identifier, with the provided scroll and section positioning.\n\nIf there is more than one section with the same identifier, the list scrolls to the first.\nIf the section has any content and is contained in the list, true is returned. If not, false is returned.\n\nThe list will first attempt to scroll to the section's supplementary view\n(header for `SectionPosition.top`, footer for `SectionPosition.bottom`).\n\nIf not found, the list will scroll to the adjacent item instead\n(section's first item for `.top`, last item for `.bottom`).\n\nIf none of the above are present, the list will fallback to the remaining supplementary view\n(footer for `.top`, header for `.bottom`).\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nScrolls to the section with the given identifier, with the provided scroll and section positioning.\n\nIf there is more than one section with the same identifier, the list scrolls to the first.\nIf the section has any content and is contained in the list, true is returned. If not, false is returned.\n\nThe list will first attempt to scroll to the section's supplementary view\n(header for `SectionPosition.top`, footer for `SectionPosition.bottom`).\n\nIf not found, the list will scroll to the adjacent item instead\n(section's first item for `.top`, last item for `.bottom`).\n\nIf none of the above are present, the list will fallback to the remaining supplementary view\n(footer for `.top`, header for `.bottom`).", - "key.doc.declaration" : "@discardableResult\n@MainActor public func scrollToSection(with identifier: AnyIdentifier, sectionPosition: SectionPosition = .top, scrollPosition: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool", - "key.doc.discussion" : [ - { - "Para" : "If there is more than one section with the same identifier, the list scrolls to the first. If the section has any content and is contained in the list, true is returned. If not, false is returned." - }, - { - "Para" : "The list will first attempt to scroll to the section’s supplementary view (header for `SectionPosition.top`, footer for `SectionPosition.bottom`)." - }, - { - "Para" : "If not found, the list will scroll to the adjacent item instead (section’s first item for `.top`, last item for `.bottom`)." - }, - { - "Para" : "If none of the above are present, the list will fallback to the remaining supplementary view (footer for `.top`, header for `.bottom`)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)<\/Name>s:10ListableUI8ListViewC15scrollToSection4with15sectionPosition0eJ08animated10completionSbAA13AnyIdentifierC_AA0gJ0OAA06ScrollJ0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF<\/USR>@discardableResult\n@MainActor public func scrollToSection(with identifier: AnyIdentifier, sectionPosition: SectionPosition = .top, scrollPosition: ScrollPosition, animated: Bool = false, completion: ScrollCompletion? = nil) -> Bool<\/Declaration>Scrolls to the section with the given identifier, with the provided scroll and section positioning.<\/Para><\/Abstract>If there is more than one section with the same identifier, the list scrolls to the first. If the section has any content and is contained in the list, true is returned. If not, false is returned.<\/Para>The list will first attempt to scroll to the section’s supplementary view (header for SectionPosition.top<\/codeVoice>, footer for SectionPosition.bottom<\/codeVoice>).<\/Para>If not found, the list will scroll to the adjacent item instead (section’s first item for .top<\/codeVoice>, last item for .bottom<\/codeVoice>).<\/Para>If none of the above are present, the list will fallback to the remaining supplementary view (footer for .top<\/codeVoice>, header for .bottom<\/codeVoice>).<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 654, - "key.doc.name" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 820, - "key.docoffset" : 21599, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToSection<\/decl.name>(with<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: AnyIdentifier<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, sectionPosition<\/decl.var.parameter.argument_label>: SectionPosition<\/ref.enum><\/decl.var.parameter.type> = .top<\/decl.var.parameter>, scrollPosition<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3522, - "key.line" : 654, - "key.modulename" : "ListableUI", - "key.name" : "scrollToSection(with:sectionPosition:scrollPosition:animated:completion:)", - "key.namelength" : 230, - "key.nameoffset" : 22458, - "key.offset" : 22453, - "key.parsed_declaration" : "public func scrollToSection(\n with identifier : AnyIdentifier,\n sectionPosition : SectionPosition = .top,\n scrollPosition : ScrollPosition,\n animated: Bool = false,\n completion: ScrollCompletion? = nil\n) -> Bool", - "key.parsed_scope.end" : 739, - "key.parsed_scope.start" : 654, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let storageContent: Content<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> storageContent<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 663, - "key.modulename" : "ListableUI", - "key.name" : "storageContent", - "key.namelength" : 14, - "key.nameoffset" : 22716, - "key.offset" : 22712, - "key.parsed_declaration" : "let storageContent = storage.allContent", - "key.parsed_scope.end" : 663, - "key.parsed_scope.start" : 663, - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI8ListViewC15scrollToSection4with15sectionPosition0eJ08animated10completionSbAA13AnyIdentifierC_AA0gJ0OAA06ScrollJ0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF14storageContentL_AA0W0Vvp" - }, - { - "key.annotated_decl" : "let sectionIndex: Int<\/Type><\/Declaration>", - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "`preparePresentationStateForScrollToSection` is asynchronous in some\ncases, we need to re-query our section index in case it changed or is no longer valid.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> sectionIndex<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 12, - "key.line" : 677, - "key.modulename" : "ListableUI", - "key.name" : "sectionIndex", - "key.offset" : 23373, - "key.parsed_declaration" : "guard let sectionIndex", - "key.parsed_scope.end" : 677, - "key.parsed_scope.start" : 677, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI8ListViewC15scrollToSection4with15sectionPosition0eJ08animated10completionSbAA13AnyIdentifierC_AA0gJ0OAA06ScrollJ0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtFyycfU_0I5IndexL_Sivp" - } - ], - "key.typename" : "(ListView) -> (AnyIdentifier, SectionPosition, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> Bool", - "key.typeusr" : "$s4with15sectionPosition06scrollC08animated10completionSb10ListableUI13AnyIdentifierC_AF07SectionC0OAF06ScrollC0VSbyAF17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI8ListViewC15scrollToSection4with15sectionPosition0eJ08animated10completionSbAA13AnyIdentifierC_AA0gJ0OAA06ScrollJ0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func scrollToTop(animated: Bool<\/Type> = false) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26096 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 26073 - } - ], - "key.bodylength" : 633, - "key.bodyoffset" : 26167, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the very top of the list, which includes displaying the list header.", - "key.doc.column" : 17, - "key.doc.comment" : "Scrolls to the very top of the list, which includes displaying the list header.", - "key.doc.declaration" : "@discardableResult\n@MainActor public func scrollToTop(animated: Bool = false) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollToTop(animated:)<\/Name>s:10ListableUI8ListViewC11scrollToTop8animatedS2b_tF<\/USR>@discardableResult\n@MainActor public func scrollToTop(animated: Bool = false) -> Bool<\/Declaration>Scrolls to the very top of the list, which includes displaying the list header.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 743, - "key.doc.name" : "scrollToTop(animated:)", - "key.doc.type" : "Function", - "key.doclength" : 84, - "key.docoffset" : 25985, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToTop<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 698, - "key.line" : 743, - "key.modulename" : "ListableUI", - "key.name" : "scrollToTop(animated:)", - "key.namelength" : 49, - "key.nameoffset" : 26108, - "key.offset" : 26103, - "key.parsed_declaration" : "public func scrollToTop(\n animated: Bool = false\n) -> Bool", - "key.parsed_scope.end" : 756, - "key.parsed_scope.start" : 743, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let rect: CGRect<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> rect<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 71, - "key.line" : 748, - "key.modulename" : "ListableUI", - "key.name" : "rect", - "key.namelength" : 4, - "key.nameoffset" : 26287, - "key.offset" : 26283, - "key.parsed_declaration" : "let rect = CGRect(origin: .zero, size: CGSize(width: 1.0, height: 1.0))", - "key.parsed_scope.end" : 748, - "key.parsed_scope.start" : 748, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI8ListViewC11scrollToTop8animatedS2b_tF4rectL_So6CGRectVvp" - }, - { - "key.annotated_decl" : "let shouldAnimate: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> shouldAnimate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 751, - "key.modulename" : "ListableUI", - "key.name" : "shouldAnimate", - "key.namelength" : 13, - "key.nameoffset" : 26529, - "key.offset" : 26525, - "key.parsed_declaration" : "let shouldAnimate = animated && UIView.areAnimationsEnabled", - "key.parsed_scope.end" : 751, - "key.parsed_scope.start" : 751, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC11scrollToTop8animatedS2b_tF13shouldAnimateL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (Bool) -> Bool", - "key.typeusr" : "$s8animatedS2b_tcD", - "key.usr" : "s:10ListableUI8ListViewC11scrollToTop8animatedS2b_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func scrollToLastItem(animated: Bool<\/Type> = false) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 26931 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 26908 - } - ], - "key.bodylength" : 1135, - "key.bodyoffset" : 27007, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scrolls to the last item in the list. If the list contains no items, no action is performed.", - "key.doc.column" : 17, - "key.doc.comment" : "Scrolls to the last item in the list. If the list contains no items, no action is performed.", - "key.doc.declaration" : "@discardableResult\n@MainActor public func scrollToLastItem(animated: Bool = false) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollToLastItem(animated:)<\/Name>s:10ListableUI8ListViewC16scrollToLastItem8animatedS2b_tF<\/USR>@discardableResult\n@MainActor public func scrollToLastItem(animated: Bool = false) -> Bool<\/Declaration>Scrolls to the last item in the list. If the list contains no items, no action is performed.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 760, - "key.doc.name" : "scrollToLastItem(animated:)", - "key.doc.type" : "Function", - "key.doclength" : 97, - "key.docoffset" : 26807, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> scrollToLastItem<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1205, - "key.line" : 760, - "key.modulename" : "ListableUI", - "key.name" : "scrollToLastItem(animated:)", - "key.namelength" : 54, - "key.nameoffset" : 26943, - "key.offset" : 26938, - "key.parsed_declaration" : "public func scrollToLastItem(\n animated: Bool = false\n) -> Bool", - "key.parsed_scope.end" : 788, - "key.parsed_scope.start" : 760, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let shouldAnimate: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> shouldAnimate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 771, - "key.modulename" : "ListableUI", - "key.name" : "shouldAnimate", - "key.namelength" : 13, - "key.nameoffset" : 27352, - "key.offset" : 27348, - "key.parsed_declaration" : "let shouldAnimate = animated && UIView.areAnimationsEnabled", - "key.parsed_scope.end" : 771, - "key.parsed_scope.start" : 771, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC16scrollToLastItem8animatedS2b_tF13shouldAnimateL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (Bool) -> Bool", - "key.typeusr" : "$s8animatedS2b_tcD", - "key.usr" : "s:10ListableUI8ListViewC16scrollToLastItem8animatedS2b_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Private - Scrolling", - "key.offset" : 28163 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private enum ListView<\/Type>.ScrollCompletionReason<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 28205 - } - ], - "key.bodylength" : 69, - "key.bodyoffset" : 28242, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListView<\/ref.class>.ScrollCompletionReason<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 99, - "key.line" : 794, - "key.modulename" : "ListableUI", - "key.name" : "ScrollCompletionReason", - "key.namelength" : 22, - "key.nameoffset" : 28218, - "key.offset" : 28213, - "key.parsed_declaration" : "private enum ScrollCompletionReason", - "key.parsed_scope.end" : 797, - "key.parsed_scope.start" : 794, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 28251, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case cannotScroll<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> cannotScroll<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 795, - "key.modulename" : "ListableUI", - "key.name" : "cannotScroll", - "key.namelength" : 12, - "key.nameoffset" : 28256, - "key.offset" : 28256, - "key.parsed_declaration" : "case cannotScroll", - "key.parsed_scope.end" : 795, - "key.parsed_scope.start" : 795, - "key.reusingastcontext" : false, - "key.typename" : "(ListView.ScrollCompletionReason.Type) -> ListView.ScrollCompletionReason", - "key.typeusr" : "$sy10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLOAFmcD", - "key.usr" : "s:10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLO06cannotE0yA2FmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 29, - "key.offset" : 28277, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case scrolled(animated: Bool<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrolled<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 24, - "key.line" : 796, - "key.modulename" : "ListableUI", - "key.name" : "scrolled(animated:)", - "key.namelength" : 24, - "key.nameoffset" : 28282, - "key.offset" : 28282, - "key.parsed_declaration" : "case scrolled(animated: Bool)", - "key.parsed_scope.end" : 796, - "key.parsed_scope.start" : 796, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.ScrollCompletionReason.Type) -> (Bool) -> ListView.ScrollCompletionReason", - "key.typeusr" : "$sy10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLOSb_tcAFmcD", - "key.usr" : "s:10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLO8scrolledyAFSb_tcAFmF" - } - ] - } - ], - "key.typename" : "ListView.ScrollCompletionReason.Type", - "key.typeusr" : "$s10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLOmD", - "key.usr" : "s:10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func handleScrollCompletion(reason: ScrollCompletionReason<\/Type>, completion: ScrollCompletion<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 28612 - } - ], - "key.bodylength" : 1032, - "key.bodyoffset" : 28712, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This function is used by programmatic scrolling APIs that provide a scroll\ncompletion handler. This will execute the `completion` handler after scrolling\nis finished, or it will execute immediately if scrolling is not possible or if\nanimations are disabled.", - "key.doc.column" : 18, - "key.doc.comment" : "This function is used by programmatic scrolling APIs that provide a scroll\ncompletion handler. This will execute the `completion` handler after scrolling\nis finished, or it will execute immediately if scrolling is not possible or if\nanimations are disabled.", - "key.doc.declaration" : "@MainActor private func handleScrollCompletion(reason: ScrollCompletionReason, completion: ScrollCompletion?)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "handleScrollCompletion(reason:completion:)<\/Name>s:10ListableUI8ListViewC22handleScrollCompletion33_A65B53D10B0C487915F0C0C4684244E8LL6reason10completionyAC0fG6ReasonAELLO_yAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF<\/USR>@MainActor private func handleScrollCompletion(reason: ScrollCompletionReason, completion: ScrollCompletion?)<\/Declaration>This function is used by programmatic scrolling APIs that provide a scroll completion handler. This will execute the completion<\/codeVoice> handler after scrolling is finished, or it will execute immediately if scrolling is not possible or if animations are disabled.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 803, - "key.doc.name" : "handleScrollCompletion(reason:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 286, - "key.docoffset" : 28322, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> handleScrollCompletion<\/decl.name>(reason<\/decl.var.parameter.argument_label>: ScrollCompletionReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1125, - "key.line" : 803, - "key.modulename" : "ListableUI", - "key.name" : "handleScrollCompletion(reason:completion:)", - "key.namelength" : 85, - "key.nameoffset" : 28625, - "key.offset" : 28620, - "key.parsed_declaration" : "private func handleScrollCompletion(reason: ScrollCompletionReason, completion: ScrollCompletion?)", - "key.parsed_scope.end" : 825, - "key.parsed_scope.start" : 803, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (ListView.ScrollCompletionReason, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> ()", - "key.typeusr" : "$s6reason10completiony10ListableUI8ListViewC22ScrollCompletionReason33_A65B53D10B0C487915F0C0C4684244E8LLO_yAC0E13StateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI8ListViewC22handleScrollCompletion33_A65B53D10B0C487915F0C0C4684244E8LL6reason10completionyAC0fG6ReasonAELLO_yAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> internal var scrollCompletionHandlers: [ScrollCompletion<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 29914 - } - ], - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is used to house the completion handlers of scrolling APIs. This is kept\ninternal and separate from `ListStateObserver` and its handlers.", - "key.doc.column" : 18, - "key.doc.comment" : "This is used to house the completion handlers of scrolling APIs. This is kept\ninternal and separate from `ListStateObserver` and its handlers.", - "key.doc.declaration" : "@MainActor internal var scrollCompletionHandlers: [ScrollCompletion]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "scrollCompletionHandlers<\/Name>s:10ListableUI8ListViewC24scrollCompletionHandlersSayyAA0C13StateObserverV24DidEndScrollingAnimationVcGvp<\/USR>@MainActor internal var scrollCompletionHandlers: [ScrollCompletion]<\/Declaration>This is used to house the completion handlers of scrolling APIs. This is kept internal and separate from ListStateObserver<\/codeVoice> and its handlers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 829, - "key.doc.name" : "scrollCompletionHandlers", - "key.doc.type" : "Other", - "key.doclength" : 155, - "key.docoffset" : 29755, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> internal<\/syntaxtype.keyword> var<\/syntaxtype.keyword> scrollCompletionHandlers<\/decl.name>: [ScrollCompletion<\/ref.typealias>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 53, - "key.line" : 829, - "key.modulename" : "ListableUI", - "key.name" : "scrollCompletionHandlers", - "key.namelength" : 24, - "key.nameoffset" : 29927, - "key.offset" : 29923, - "key.parsed_declaration" : "internal var scrollCompletionHandlers: [ScrollCompletion] = []", - "key.parsed_scope.end" : 829, - "key.parsed_scope.start" : 829, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "[(ListStateObserver.DidEndScrollingAnimation) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcGD", - "key.usr" : "s:10ListableUI8ListViewC24scrollCompletionHandlersSayyAA0C13StateObserverV24DidEndScrollingAnimationVcGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> internal func didEndScrolling()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 30175 - } - ], - "key.bodylength" : 1115, - "key.bodyoffset" : 30208, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is called by the `ListView.Delegate` and is used to notify the\n`scrollCompletionHandler` that scrolling finished. This does nothing if there is\nno handler set.", - "key.doc.column" : 19, - "key.doc.comment" : "This is called by the `ListView.Delegate` and is used to notify the\n`scrollCompletionHandler` that scrolling finished. This does nothing if there is\nno handler set.", - "key.doc.declaration" : "@MainActor internal func didEndScrolling()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "didEndScrolling()<\/Name>s:10ListableUI8ListViewC15didEndScrollingyyF<\/USR>@MainActor internal func didEndScrolling()<\/Declaration>This is called by the ListView.Delegate<\/codeVoice> and is used to notify the scrollCompletionHandler<\/codeVoice> that scrolling finished. This does nothing if there is no handler set.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 834, - "key.doc.name" : "didEndScrolling()", - "key.doc.type" : "Function", - "key.doclength" : 185, - "key.docoffset" : 29986, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> didEndScrolling<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1140, - "key.line" : 834, - "key.modulename" : "ListableUI", - "key.name" : "didEndScrolling()", - "key.namelength" : 17, - "key.nameoffset" : 30189, - "key.offset" : 30184, - "key.parsed_declaration" : "internal func didEndScrolling()", - "key.parsed_scope.end" : 857, - "key.parsed_scope.start" : 834, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let handlers: [ListView<\/Type>.ScrollCompletion<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> handlers<\/decl.name>: [ListView<\/ref.class>.ScrollCompletion<\/ref.typealias>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 39, - "key.line" : 837, - "key.modulename" : "ListableUI", - "key.name" : "handlers", - "key.namelength" : 8, - "key.nameoffset" : 30302, - "key.offset" : 30298, - "key.parsed_declaration" : "let handlers = scrollCompletionHandlers", - "key.parsed_scope.end" : 837, - "key.parsed_scope.start" : 837, - "key.reusingastcontext" : false, - "key.typename" : "[(ListStateObserver.DidEndScrollingAnimation) -> ()]", - "key.typeusr" : "$sSayy10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcGD", - "key.usr" : "s:10ListableUI8ListViewC15didEndScrollingyyF8handlersL_SayyAA0C13StateObserverV03DidfG9AnimationVcGvp" - }, - { - "key.annotated_decl" : "let positionInfo: ListScrollPositionInfo<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> positionInfo<\/decl.name>: ListScrollPositionInfo<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 37, - "key.line" : 853, - "key.modulename" : "ListableUI", - "key.name" : "positionInfo", - "key.namelength" : 12, - "key.nameoffset" : 31145, - "key.offset" : 31141, - "key.parsed_declaration" : "let positionInfo = scrollPositionInfo", - "key.parsed_scope.end" : 853, - "key.parsed_scope.start" : 853, - "key.reusingastcontext" : false, - "key.typename" : "ListScrollPositionInfo", - "key.typeusr" : "$s10ListableUI22ListScrollPositionInfoVD", - "key.usr" : "s:10ListableUI8ListViewC15didEndScrollingyyF12positionInfoL_AA0c14ScrollPositionI0Vvp" - } - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC15didEndScrollingyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> func willScroll(for scrollPosition: UICollectionView<\/Type>.ScrollPosition<\/Type>, itemFrame: CGRect<\/Type>, viewport: CGRect<\/Type>, contentSize: CGSize<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 1939, - "key.bodyoffset" : 31848, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This function will determine if a call to `collectionView.scrollToItem(...)`\nwill result in an adjusted content offset. This is necessary because when the\nitem is already at the expected position, `UICollectionView` will not scroll\nand will not execute its `scrollViewDidEndScrollingAnimation(_:)` delegate.", - "key.doc.column" : 10, - "key.doc.comment" : "This function will determine if a call to `collectionView.scrollToItem(...)`\nwill result in an adjusted content offset. This is necessary because when the\nitem is already at the expected position, `UICollectionView` will not scroll\nand will not execute its `scrollViewDidEndScrollingAnimation(_:)` delegate.", - "key.doc.declaration" : "@MainActor func willScroll(for scrollPosition: UICollectionView.ScrollPosition, itemFrame: CGRect, viewport: CGRect, contentSize: CGSize) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "willScroll(for:itemFrame:viewport:contentSize:)<\/Name>s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF<\/USR>@MainActor func willScroll(for scrollPosition: UICollectionView.ScrollPosition, itemFrame: CGRect, viewport: CGRect, contentSize: CGSize) -> Bool<\/Declaration>This function will determine if a call to collectionView.scrollToItem(...)<\/codeVoice> will result in an adjusted content offset. This is necessary because when the item is already at the expected position, UICollectionView<\/codeVoice> will not scroll and will not execute its scrollViewDidEndScrollingAnimation(_:)<\/codeVoice> delegate.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 863, - "key.doc.name" : "willScroll(for:itemFrame:viewport:contentSize:)", - "key.doc.type" : "Function", - "key.doclength" : 336, - "key.docoffset" : 31334, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> willScroll<\/decl.name>(for<\/decl.var.parameter.argument_label> scrollPosition<\/decl.var.parameter.name>: UICollectionView<\/ref.class>.ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, itemFrame<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, viewport<\/decl.var.parameter.argument_label>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, contentSize<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2114, - "key.line" : 863, - "key.modulename" : "ListableUI", - "key.name" : "willScroll(for:itemFrame:viewport:contentSize:)", - "key.namelength" : 159, - "key.nameoffset" : 31679, - "key.offset" : 31674, - "key.parsed_declaration" : "func willScroll(\n for scrollPosition: UICollectionView.ScrollPosition,\n itemFrame: CGRect,\n viewport: CGRect,\n contentSize: CGSize\n) -> Bool", - "key.parsed_scope.end" : 912, - "key.parsed_scope.start" : 863, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let distanceToScroll: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> distanceToScroll<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 29, - "key.line" : 869, - "key.modulename" : "ListableUI", - "key.name" : "distanceToScroll", - "key.namelength" : 16, - "key.nameoffset" : 31861, - "key.offset" : 31857, - "key.parsed_declaration" : "let distanceToScroll: CGFloat", - "key.parsed_scope.end" : 869, - "key.parsed_scope.start" : 869, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF010distanceToF0L_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let canScrollUp: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> canScrollUp<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 891, - "key.modulename" : "ListableUI", - "key.name" : "canScrollUp", - "key.namelength" : 11, - "key.nameoffset" : 32811, - "key.offset" : 32807, - "key.parsed_declaration" : "let canScrollUp = floor(viewport.minY) > 0", - "key.parsed_scope.end" : 891, - "key.parsed_scope.start" : 891, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF03canF2UpL_Sbvp" - }, - { - "key.annotated_decl" : "let canScrollLeft: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> canScrollLeft<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 44, - "key.line" : 892, - "key.modulename" : "ListableUI", - "key.name" : "canScrollLeft", - "key.namelength" : 13, - "key.nameoffset" : 32862, - "key.offset" : 32858, - "key.parsed_declaration" : "let canScrollLeft = floor(viewport.minX) > 0", - "key.parsed_scope.end" : 892, - "key.parsed_scope.start" : 892, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF03canF4LeftL_Sbvp" - }, - { - "key.annotated_decl" : "let canScrollDown: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> canScrollDown<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 893, - "key.modulename" : "ListableUI", - "key.name" : "canScrollDown", - "key.namelength" : 13, - "key.nameoffset" : 32915, - "key.offset" : 32911, - "key.parsed_declaration" : "let canScrollDown = ceil(viewport.maxY - contentSize.height) < 0", - "key.parsed_scope.end" : 893, - "key.parsed_scope.start" : 893, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF03canF4DownL_Sbvp" - }, - { - "key.annotated_decl" : "let canScrollRight: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> canScrollRight<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 64, - "key.line" : 894, - "key.modulename" : "ListableUI", - "key.name" : "canScrollRight", - "key.namelength" : 14, - "key.nameoffset" : 32988, - "key.offset" : 32984, - "key.parsed_declaration" : "let canScrollRight = ceil(viewport.maxX - contentSize.width) < 0", - "key.parsed_scope.end" : 894, - "key.parsed_scope.start" : 894, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF03canF5RightL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (UICollectionView.ScrollPosition, CGRect, CGRect, CGSize) -> Bool", - "key.typeusr" : "$s3for9itemFrame8viewport11contentSizeSbSo30UICollectionViewScrollPositionV_So6CGRectVAHSo6CGSizeVtcD", - "key.usr" : "s:10ListableUI8ListViewC10willScroll3for9itemFrame8viewport11contentSizeSbSo012UICollectiondF8PositionV_So6CGRectVALSo6CGSizeVtF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 31, - "key.name" : "MARK: Setting & Getting Content", - "key.offset" : 33808 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var environment: ListEnvironment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 34329 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The environment associated with the list, which is used to pass data through to\nthe list's layout, or through to items, headers\/footers, etc.\n\nIf you have used SwiftUI's environment, Listable's environment is similar.\n\n### Note\nSetting the environment, or a property on the environment, does **not** force a re-layout\nof the list view. The newly provided environment values will be used during the next update.", - "key.doc.column" : 16, - "key.doc.comment" : "The environment associated with the list, which is used to pass data through to\nthe list's layout, or through to items, headers\/footers, etc.\n\nIf you have used SwiftUI's environment, Listable's environment is similar.\n\n### Note\nSetting the environment, or a property on the environment, does **not** force a re-layout\nof the list view. The newly provided environment values will be used during the next update.", - "key.doc.declaration" : "@MainActor public var environment: ListEnvironment", - "key.doc.discussion" : [ - { - "Para" : "If you have used SwiftUI’s environment, Listable’s environment is similar." - }, - { - "Para" : "Setting the environment, or a property on the environment, does force a re-layout of the list view. The newly provided environment values will be used during the next update." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "environment<\/Name>s:10ListableUI8ListViewC11environmentAA0C11EnvironmentVvp<\/USR>@MainActor public var environment: ListEnvironment<\/Declaration>The environment associated with the list, which is used to pass data through to the list’s layout, or through to items, headers\/footers, etc.<\/Para><\/Abstract>If you have used SwiftUI’s environment, Listable’s environment is similar.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Setting the environment, or a property on the environment, does not<\/bold> force a re-layout of the list view. The newly provided environment values will be used during the next update.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 926, - "key.doc.name" : "environment", - "key.doc.type" : "Other", - "key.doclength" : 469, - "key.docoffset" : 33856, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> environment<\/decl.name>: ListEnvironment<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 926, - "key.modulename" : "ListableUI", - "key.name" : "environment", - "key.namelength" : 11, - "key.nameoffset" : 34340, - "key.offset" : 34336, - "key.parsed_declaration" : "public var environment : ListEnvironment", - "key.parsed_scope.end" : 926, - "key.parsed_scope.start" : 926, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ListEnvironment", - "key.typeusr" : "$s10ListableUI15ListEnvironmentVD", - "key.usr" : "s:10ListableUI8ListViewC11environmentAA0C11EnvironmentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var content: Content<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 34379 - } - ], - "key.bodylength" : 111, - "key.bodyoffset" : 34409, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 135, - "key.line" : 928, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 34390, - "key.offset" : 34386, - "key.parsed_declaration" : "public var content : Content", - "key.parsed_scope.end" : 931, - "key.parsed_scope.start" : 928, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI8ListViewC7contentAA7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func setContent(animated: Bool<\/Type> = false, _ content: Content<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 34531 - } - ], - "key.bodylength" : 156, - "key.bodyoffset" : 34605, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setContent<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 224, - "key.line" : 933, - "key.modulename" : "ListableUI", - "key.name" : "setContent(animated:_:)", - "key.namelength" : 56, - "key.nameoffset" : 34543, - "key.offset" : 34538, - "key.parsed_declaration" : "public func setContent(animated : Bool = false, _ content : Content)", - "key.parsed_scope.end" : 940, - "key.parsed_scope.start" : 933, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (Bool, Content) -> ()", - "key.typeusr" : "$s8animated_ySb_10ListableUI7ContentVtcD", - "key.usr" : "s:10ListableUI8ListViewC10setContent8animated_ySb_AA0F0VtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var sourceChangedTimer: ReloadTimer<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 34772 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sourceChangedTimer<\/decl.name>: ReloadTimer<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 942, - "key.modulename" : "ListableUI", - "key.name" : "sourceChangedTimer", - "key.namelength" : 18, - "key.nameoffset" : 34784, - "key.offset" : 34780, - "key.parsed_declaration" : "private var sourceChangedTimer : ReloadTimer? = nil", - "key.parsed_scope.end" : 942, - "key.parsed_scope.start" : 942, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ReloadTimer?", - "key.typeusr" : "$s10ListableUI11ReloadTimerCSgD", - "key.usr" : "s:10ListableUI8ListViewC18sourceChangedTimer33_A65B53D10B0C487915F0C0C4684244E8LLAA06ReloadG0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@discardableResult @MainActor<\/Type> public func set<Source>(source: Source<\/Type>, initial: Source<\/Type>.State<\/Type>, animated: Bool<\/Type> = false) -> StateAccessor<\/Type><Source<\/Type>.State<\/Type>> where Source<\/Type> : ListViewSource<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 34856 - }, - { - "key.attribute" : "source.decl.attribute.discardableResult", - "key.length" : 18, - "key.offset" : 34833 - } - ], - "key.bodylength" : 736, - "key.bodyoffset" : 34997, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@discardableResult<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name><Source<\/decl.generic_type_param.name><\/decl.generic_type_param>>(source<\/decl.var.parameter.argument_label>: Source<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, initial<\/decl.var.parameter.argument_label>: Source<\/ref.generic_type_param>.State<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>) -> StateAccessor<\/ref.class><Source<\/ref.generic_type_param>.State<\/ref.associatedtype>><\/decl.function.returntype> where<\/syntaxtype.keyword> Source<\/ref.generic_type_param> : ListViewSource<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 871, - "key.line" : 945, - "key.modulename" : "ListableUI", - "key.name" : "set(source:initial:animated:)", - "key.namelength" : 92, - "key.nameoffset" : 34868, - "key.offset" : 34863, - "key.parsed_declaration" : "public func set(source : Source, initial : Source.State, animated : Bool = false) -> StateAccessor", - "key.parsed_scope.end" : 968, - "key.parsed_scope.start" : 945, - "key.related_decls" : [ - { - "key.annotated_decl" : "set(layout:animated:completion:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Source : ListViewSource<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 34879 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "Source<\/decl.generic_type_param.name> : ListViewSource<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListViewSource" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 945, - "key.modulename" : "ListableUI", - "key.name" : "Source", - "key.namelength" : 6, - "key.nameoffset" : 34872, - "key.offset" : 34872, - "key.parsed_declaration" : "public func setlet sourcePresenter: SourcePresenter<\/Type><Source<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> sourcePresenter<\/decl.name>: SourcePresenter<\/ref.class><Source<\/ref.generic_type_param>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 408, - "key.line" : 949, - "key.modulename" : "ListableUI", - "key.name" : "sourcePresenter", - "key.namelength" : 15, - "key.nameoffset" : 35058, - "key.offset" : 35054, - "key.parsed_declaration" : "let sourcePresenter = SourcePresenter(initial: initial, source: source, didChange: { [weak self] in\n guard let self = self else { return }\n guard self.sourceChangedTimer == nil else { return }\n \n self.sourceChangedTimer = ReloadTimer {\n self.sourceChangedTimer = nil\n self.setContentFromSource(animated: true)\n }\n})", - "key.parsed_scope.end" : 949, - "key.parsed_scope.start" : 949, - "key.reusingastcontext" : false, - "key.typename" : "SourcePresenter", - "key.typeusr" : "$s10ListableUI15SourcePresenterCyxGD", - "key.usr" : "s:10ListableUI8ListViewC3set6source7initial8animatedAA13StateAccessorCy0I0QzGx_AKSbtAA0cD6SourceRzlF0F9PresenterL_AA0kL0CyxGvp" - } - ], - "key.typename" : " (ListView) -> (Source, Source.State, Bool) -> StateAccessor", - "key.typeusr" : "$s6source7initial8animated10ListableUI13StateAccessorCy0F0QzGx_AHSbtcAD14ListViewSourceRzluD", - "key.usr" : "s:10ListableUI8ListViewC3set6source7initial8animatedAA13StateAccessorCy0I0QzGx_AKSbtAA0cD6SourceRzlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func configure(with configure: ListProperties<\/Type>.Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 35744 - } - ], - "key.bodylength" : 654, - "key.bodyoffset" : 35814, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> configure<\/decl.name>(with<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: ListProperties<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 718, - "key.line" : 970, - "key.modulename" : "ListableUI", - "key.name" : "configure(with:)", - "key.namelength" : 52, - "key.nameoffset" : 35756, - "key.offset" : 35751, - "key.parsed_declaration" : "public func configure(with configure : ListProperties.Configure)", - "key.parsed_scope.end" : 987, - "key.parsed_scope.start" : 970, - "key.related_decls" : [ - { - "key.annotated_decl" : "configure(with: ListProperties)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let description: ListProperties<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> description<\/decl.name>: ListProperties<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 589, - "key.line" : 972, - "key.modulename" : "ListableUI", - "key.name" : "description", - "key.namelength" : 11, - "key.nameoffset" : 35827, - "key.offset" : 35823, - "key.parsed_declaration" : "let description = ListProperties(\n animatesChanges: true,\n animation: self.animation,\n layout: self.layout,\n appearance: self.appearance,\n scrollIndicatorInsets: self.scrollIndicatorInsets,\n behavior: self.behavior,\n autoScrollAction: self.autoScrollAction,\n onKeyboardFrameWillChange: self.onKeyboardFrameWillChange,\n accessibilityIdentifier: self.collectionView.accessibilityIdentifier,\n debuggingIdentifier: self.debuggingIdentifier,\n configure: configure\n)", - "key.parsed_scope.end" : 972, - "key.parsed_scope.start" : 972, - "key.reusingastcontext" : false, - "key.typename" : "ListProperties", - "key.typeusr" : "$s10ListableUI14ListPropertiesVD", - "key.usr" : "s:10ListableUI8ListViewC9configure4withyyAA0C10PropertiesVzXE_tF11descriptionL_AGvp" - } - ], - "key.typename" : "(ListView) -> ((inout ListProperties) -> ()) -> ()", - "key.typeusr" : "$s4withyy10ListableUI14ListPropertiesVzXE_tcD", - "key.usr" : "s:10ListableUI8ListViewC9configure4withyyAA0C10PropertiesVzXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> let updateQueue: ListChangesQueue<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> updateQueue<\/decl.name>: ListChangesQueue<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 989, - "key.modulename" : "ListableUI", - "key.name" : "updateQueue", - "key.namelength" : 11, - "key.nameoffset" : 36483, - "key.offset" : 36479, - "key.parsed_declaration" : "let updateQueue : ListChangesQueue", - "key.parsed_scope.end" : 989, - "key.parsed_scope.start" : 989, - "key.reusingastcontext" : false, - "key.typename" : "ListChangesQueue", - "key.typeusr" : "$s10ListableUI16ListChangesQueueCD", - "key.usr" : "s:10ListableUI8ListViewC11updateQueueAA0c7ChangesF0Cvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func configure(with properties: ListProperties<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 36523 - } - ], - "key.bodylength" : 1353, - "key.bodyoffset" : 36584, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> configure<\/decl.name>(with<\/decl.var.parameter.argument_label> properties<\/decl.var.parameter.name>: ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1408, - "key.line" : 991, - "key.modulename" : "ListableUI", - "key.name" : "configure(with:)", - "key.namelength" : 43, - "key.nameoffset" : 36535, - "key.offset" : 36530, - "key.parsed_declaration" : "public func configure(with properties : ListProperties)", - "key.parsed_scope.end" : 1021, - "key.parsed_scope.start" : 991, - "key.related_decls" : [ - { - "key.annotated_decl" : "configure(with: ListProperties.Configure)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (ListProperties) -> ()", - "key.typeusr" : "$s4withy10ListableUI14ListPropertiesV_tcD", - "key.usr" : "s:10ListableUI8ListViewC9configure4withyAA0C10PropertiesV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func setContentFromSource(animated: Bool<\/Type> = false)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 37948 - } - ], - "key.bodylength" : 499, - "key.bodyoffset" : 38012, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "We enqueue these changes into the update queue to ensure they are not applied\nbefore it is safe to do so. Currently, \"safe\" means \"during the application of a reorder\".\n\nSee `CollectionViewLayout.sendEndQueuingEditsAfterDelay()` for more.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setContentFromSource<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 556, - "key.line" : 1023, - "key.modulename" : "ListableUI", - "key.name" : "setContentFromSource(animated:)", - "key.namelength" : 45, - "key.nameoffset" : 37961, - "key.offset" : 37956, - "key.parsed_declaration" : "private func setContentFromSource(animated : Bool = false)", - "key.parsed_scope.end" : 1035, - "key.parsed_scope.start" : 1023, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let oldIdentifier: AnyHashable<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldIdentifier<\/decl.name>: AnyHashable<\/ref.struct>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 1025, - "key.modulename" : "ListableUI", - "key.name" : "oldIdentifier", - "key.namelength" : 13, - "key.nameoffset" : 38025, - "key.offset" : 38021, - "key.parsed_declaration" : "let oldIdentifier = self.storage.allContent.identifier", - "key.parsed_scope.end" : 1025, - "key.parsed_scope.start" : 1025, - "key.reusingastcontext" : false, - "key.typename" : "AnyHashable?", - "key.typeusr" : "$ss11AnyHashableVSgD", - "key.usr" : "s:10ListableUI8ListViewC20setContentFromSource33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF13oldIdentifierL_s11AnyHashableVSgvp" - }, - { - "key.annotated_decl" : "let newIdentifier: AnyHashable<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newIdentifier<\/decl.name>: AnyHashable<\/ref.struct>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 1029, - "key.modulename" : "ListableUI", - "key.name" : "newIdentifier", - "key.namelength" : 13, - "key.nameoffset" : 38177, - "key.offset" : 38173, - "key.parsed_declaration" : "let newIdentifier = self.storage.allContent.identifier", - "key.parsed_scope.end" : 1029, - "key.parsed_scope.start" : 1029, - "key.reusingastcontext" : false, - "key.typename" : "AnyHashable?", - "key.typeusr" : "$ss11AnyHashableVSgD", - "key.usr" : "s:10ListableUI8ListViewC20setContentFromSource33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF13newIdentifierL_s11AnyHashableVSgvp" - }, - { - "key.annotated_decl" : "let identifierChanged: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> identifierChanged<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 1030, - "key.modulename" : "ListableUI", - "key.name" : "identifierChanged", - "key.namelength" : 17, - "key.nameoffset" : 38240, - "key.offset" : 38236, - "key.parsed_declaration" : "let identifierChanged = oldIdentifier != newIdentifier", - "key.parsed_scope.end" : 1030, - "key.parsed_scope.start" : 1030, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC20setContentFromSource33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF17identifierChangedL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (Bool) -> ()", - "key.typeusr" : "$s8animatedySb_tcD", - "key.usr" : "s:10ListableUI8ListViewC20setContentFromSource33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: UIView", - "key.offset" : 38532 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 38709 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 38702 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 136, - "key.offset" : 38561 - } - ], - "key.bodylength" : 38, - "key.bodyoffset" : 38763, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 84, - "key.name" : "sizeThatFits(_:)", - "key.namelength" : 28, - "key.nameoffset" : 38723, - "key.offset" : 38718, - "key.substructure" : [ - - ], - "key.typename" : "CGSize" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 38968 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 38961 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 144, - "key.offset" : 38812 - } - ], - "key.bodylength" : 40, - "key.bodyoffset" : 39011, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 75, - "key.name" : "intrinsicContentSize", - "key.namelength" : 20, - "key.nameoffset" : 38981, - "key.offset" : 38977, - "key.typename" : "CGSize" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override var frame: CGRect<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 39069 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 39062 - } - ], - "key.bodylength" : 96, - "key.bodyoffset" : 39097, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 116, - "key.line" : 1051, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 39082, - "key.offset" : 39078, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(py)frame" - } - ], - "key.parsed_declaration" : "public override var frame: CGRect", - "key.parsed_scope.end" : 1055, - "key.parsed_scope.start" : 1051, - "key.related_decls" : [ - { - "key.annotated_decl" : "frame(forAlignmentRect:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(py)frame" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override var bounds: CGRect<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 39211 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 39204 - } - ], - "key.bodylength" : 231, - "key.bodyoffset" : 39240, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> bounds<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 252, - "key.line" : 1057, - "key.modulename" : "ListableUI", - "key.name" : "bounds", - "key.namelength" : 6, - "key.nameoffset" : 39224, - "key.offset" : 39220, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(py)bounds" - } - ], - "key.parsed_declaration" : "public override var bounds: CGRect", - "key.parsed_scope.end" : 1067, - "key.parsed_scope.start" : 1057, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(py)bounds" - }, - { - "key.annotated_decl" : "let oldValue: CGRect<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldValue<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 25, - "key.line" : 1061, - "key.modulename" : "ListableUI", - "key.name" : "oldValue", - "key.namelength" : 8, - "key.nameoffset" : 39309, - "key.offset" : 39305, - "key.parsed_declaration" : "let oldValue = self.frame", - "key.parsed_scope.end" : 1061, - "key.parsed_scope.start" : 1061, - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:10ListableUI8ListViewC6boundsSo6CGRectVvs8oldValueL_AFvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func frameDidChange(from old: CGRect<\/Type>, to new: CGRect<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 39482 - } - ], - "key.bodylength" : 1401, - "key.bodyoffset" : 39547, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> frameDidChange<\/decl.name>(from<\/decl.var.parameter.argument_label> old<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, to<\/decl.var.parameter.argument_label> new<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1459, - "key.line" : 1069, - "key.modulename" : "ListableUI", - "key.name" : "frameDidChange(from:to:)", - "key.namelength" : 50, - "key.nameoffset" : 39495, - "key.offset" : 39490, - "key.parsed_declaration" : "private func frameDidChange(from old : CGRect, to new : CGRect)", - "key.parsed_scope.end" : 1103, - "key.parsed_scope.start" : 1069, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let fromEmpty: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Once the view actually has a size, we can provide content.\n\nThere's no value in having content with no view size, as we cannot size cells otherwise.", - "key.doc.column" : 13, - "key.doc.comment" : "Once the view actually has a size, we can provide content.\n\nThere's no value in having content with no view size, as we cannot size cells otherwise.", - "key.doc.declaration" : "let fromEmpty: Bool", - "key.doc.discussion" : [ - { - "Para" : "There’s no value in having content with no view size, as we cannot size cells otherwise." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "fromEmpty<\/Name>s:10ListableUI8ListViewC14frameDidChange33_A65B53D10B0C487915F0C0C4684244E8LL4from2toySo6CGRectV_AItF0Q5EmptyL_Sbvp<\/USR>let fromEmpty: Bool<\/Declaration>Once the view actually has a size, we can provide content.<\/Para><\/Abstract>There’s no value in having content with no view size, as we cannot size cells otherwise.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 1083, - "key.doc.name" : "fromEmpty", - "key.doc.type" : "Other", - "key.doclength" : 176, - "key.docoffset" : 39916, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> fromEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 61, - "key.line" : 1083, - "key.modulename" : "ListableUI", - "key.name" : "fromEmpty", - "key.namelength" : 9, - "key.nameoffset" : 40104, - "key.offset" : 40100, - "key.parsed_declaration" : "let fromEmpty = old.size.isEmpty && new.size.isEmpty == false", - "key.parsed_scope.end" : 1083, - "key.parsed_scope.start" : 1083, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC14frameDidChange33_A65B53D10B0C487915F0C0C4684244E8LL4from2toySo6CGRectV_AItF0Q5EmptyL_Sbvp" - }, - { - "key.annotated_decl" : "let toEmpty: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> toEmpty<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 1084, - "key.modulename" : "ListableUI", - "key.name" : "toEmpty", - "key.namelength" : 7, - "key.nameoffset" : 40174, - "key.offset" : 40170, - "key.parsed_declaration" : "let toEmpty = old.size.isEmpty == false && new.size.isEmpty", - "key.parsed_scope.end" : 1084, - "key.parsed_scope.start" : 1084, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC14frameDidChange33_A65B53D10B0C487915F0C0C4684244E8LL4from2toySo6CGRectV_AItF0R5EmptyL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (CGRect, CGRect) -> ()", - "key.typeusr" : "$s4from2toySo6CGRectV_ADtcD", - "key.usr" : "s:10ListableUI8ListViewC14frameDidChange33_A65B53D10B0C487915F0C0C4684244E8LL4from2toySo6CGRectV_AItF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override var backgroundColor: UIColor<\/Type>? { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 40966 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 40959 - } - ], - "key.bodylength" : 103, - "key.bodyoffset" : 41006, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Our frame changed, update the keyboard inset in case the inset should now be different.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> backgroundColor<\/decl.name>: UIColor<\/ref.class>?<\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 135, - "key.line" : 1105, - "key.modulename" : "ListableUI", - "key.name" : "backgroundColor", - "key.namelength" : 15, - "key.nameoffset" : 40979, - "key.offset" : 40975, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(py)backgroundColor" - } - ], - "key.parsed_declaration" : "public override var backgroundColor: UIColor?", - "key.parsed_scope.end" : 1109, - "key.parsed_scope.start" : 1105, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor?", - "key.typeusr" : "$sSo7UIColorCSgD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(py)backgroundColor" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func didMoveToWindow()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 41127 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 41120 - } - ], - "key.bodylength" : 130, - "key.bodyoffset" : 41164, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> didMoveToWindow<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 159, - "key.line" : 1111, - "key.modulename" : "ListableUI", - "key.name" : "didMoveToWindow()", - "key.namelength" : 17, - "key.nameoffset" : 41141, - "key.offset" : 41136, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)didMoveToWindow" - } - ], - "key.parsed_declaration" : "public override func didMoveToWindow()", - "key.parsed_scope.end" : 1118, - "key.parsed_scope.start" : 1111, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(im)didMoveToWindow" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func didMoveToSuperview()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 41312 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 41305 - } - ], - "key.bodylength" : 136, - "key.bodyoffset" : 41352, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> didMoveToSuperview<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 168, - "key.line" : 1120, - "key.modulename" : "ListableUI", - "key.name" : "didMoveToSuperview()", - "key.namelength" : 20, - "key.nameoffset" : 41326, - "key.offset" : 41321, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)didMoveToSuperview" - } - ], - "key.parsed_declaration" : "public override func didMoveToSuperview()", - "key.parsed_scope.end" : 1127, - "key.parsed_scope.start" : 1120, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(im)didMoveToSuperview" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> override public func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 41508 - }, - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 41499 - } - ], - "key.bodylength" : 241, - "key.bodyoffset" : 41542, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 269, - "key.line" : 1129, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 41520, - "key.offset" : 41515, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "override public func layoutSubviews()", - "key.parsed_scope.end" : 1137, - "key.parsed_scope.start" : 1129, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView(im)layoutSubviews" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 43, - "key.name" : "MARK: Internal – First Responder Tracking", - "key.offset" : 41804 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func textDidBeginEditingNotification(_ notification: Notification<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 41870 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 41864 - } - ], - "key.bodylength" : 319, - "key.bodyoffset" : 41947, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Our layout changed, update the keyboard inset in case the inset should now be different.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> textDidBeginEditingNotification<\/decl.name>(_<\/decl.var.parameter.argument_label> notification<\/decl.var.parameter.name>: Notification<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 389, - "key.line" : 1143, - "key.modulename" : "ListableUI", - "key.name" : "textDidBeginEditingNotification(_:)", - "key.namelength" : 62, - "key.nameoffset" : 41883, - "key.offset" : 41878, - "key.parsed_declaration" : "@objc private func textDidBeginEditingNotification(_ notification : Notification)", - "key.parsed_scope.end" : 1152, - "key.parsed_scope.start" : 1143, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (Notification) -> ()", - "key.typeusr" : "$syy10Foundation12NotificationVcD", - "key.usr" : "s:10ListableUI8ListViewC31textDidBeginEditingNotification33_A65B53D10B0C487915F0C0C4684244E8LLyy10Foundation0I0VF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func textDidEndEditingNotification(_ notification: Notification<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 42283 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 42277 - } - ], - "key.bodylength" : 328, - "key.bodyoffset" : 42358, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> textDidEndEditingNotification<\/decl.name>(_<\/decl.var.parameter.argument_label> notification<\/decl.var.parameter.name>: Notification<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 396, - "key.line" : 1154, - "key.modulename" : "ListableUI", - "key.name" : "textDidEndEditingNotification(_:)", - "key.namelength" : 60, - "key.nameoffset" : 42296, - "key.offset" : 42291, - "key.parsed_declaration" : "@objc private func textDidEndEditingNotification(_ notification : Notification)", - "key.parsed_scope.end" : 1163, - "key.parsed_scope.start" : 1154, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (Notification) -> ()", - "key.typeusr" : "$syy10Foundation12NotificationVcD", - "key.usr" : "s:10ListableUI8ListViewC29textDidEndEditingNotification33_A65B53D10B0C487915F0C0C4684244E8LLyy10Foundation0I0VF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 34, - "key.name" : "MARK: Internal – Swipe To Delete", - "key.offset" : 42707 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let closeActiveSwipesGesture: TouchDownGestureRecognizer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 42758 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> closeActiveSwipesGesture<\/decl.name>: TouchDownGestureRecognizer<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 57, - "key.line" : 1169, - "key.modulename" : "ListableUI", - "key.name" : "closeActiveSwipesGesture", - "key.namelength" : 24, - "key.nameoffset" : 42770, - "key.offset" : 42766, - "key.parsed_declaration" : "private let closeActiveSwipesGesture : TouchDownGestureRecognizer", - "key.parsed_scope.end" : 1169, - "key.parsed_scope.start" : 1169, - "key.reusingastcontext" : false, - "key.typename" : "TouchDownGestureRecognizer", - "key.typeusr" : "$s10ListableUI26TouchDownGestureRecognizerCD", - "key.usr" : "s:10ListableUI8ListViewC24closeActiveSwipesGesture33_A65B53D10B0C487915F0C0C4684244E8LLAA09TouchDownH10RecognizerCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func shouldRecognizeCloseSwipeTouch(_ touch: UITouch<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 42839 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 42833 - } - ], - "key.bodylength" : 265, - "key.bodyoffset" : 42911, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> shouldRecognizeCloseSwipeTouch<\/decl.name>(_<\/decl.var.parameter.argument_label> touch<\/decl.var.parameter.name>: UITouch<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 330, - "key.line" : 1171, - "key.modulename" : "ListableUI", - "key.name" : "shouldRecognizeCloseSwipeTouch(_:)", - "key.namelength" : 49, - "key.nameoffset" : 42852, - "key.offset" : 42847, - "key.parsed_declaration" : "@objc private func shouldRecognizeCloseSwipeTouch(_ touch : UITouch) -> Bool", - "key.parsed_scope.end" : 1177, - "key.parsed_scope.start" : 1171, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (UITouch) -> Bool", - "key.typeusr" : "$sySbSo7UITouchCcD", - "key.usr" : "s:10ListableUI8ListViewC30shouldRecognizeCloseSwipeTouch33_A65B53D10B0C487915F0C0C4684244E8LLySbSo7UITouchCF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@objc @MainActor<\/Type> private func closeActiveSwipeGestureIfNeeded(with recognizer: UIGestureRecognizer<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 43193 - }, - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 43187 - } - ], - "key.bodylength" : 128, - "key.bodyoffset" : 43278, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> closeActiveSwipeGestureIfNeeded<\/decl.name>(with<\/decl.var.parameter.argument_label> recognizer<\/decl.var.parameter.name>: UIGestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 206, - "key.line" : 1179, - "key.modulename" : "ListableUI", - "key.name" : "closeActiveSwipeGestureIfNeeded(with:)", - "key.namelength" : 70, - "key.nameoffset" : 43206, - "key.offset" : 43201, - "key.parsed_declaration" : "@objc private func closeActiveSwipeGestureIfNeeded(with recognizer : UIGestureRecognizer)", - "key.parsed_scope.end" : 1184, - "key.parsed_scope.start" : 1179, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (UIGestureRecognizer) -> ()", - "key.typeusr" : "$s4withySo19UIGestureRecognizerC_tcD", - "key.usr" : "s:10ListableUI8ListViewC31closeActiveSwipeGestureIfNeeded33_A65B53D10B0C487915F0C0C4684244E8LL4withySo19UIGestureRecognizerC_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 33, - "key.name" : "MARK: Internal - Updating Content", - "key.offset" : 43427 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> internal func setPresentationStateItemPositions()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 43477 - } - ], - "key.bodylength" : 184, - "key.bodyoffset" : 43532, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> setPresentationStateItemPositions<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 231, - "key.line" : 1190, - "key.modulename" : "ListableUI", - "key.name" : "setPresentationStateItemPositions()", - "key.namelength" : 35, - "key.nameoffset" : 43491, - "key.offset" : 43486, - "key.parsed_declaration" : "internal func setPresentationStateItemPositions()", - "key.parsed_scope.end" : 1195, - "key.parsed_scope.start" : 1190, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC33setPresentationStateItemPositionsyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateCollectionViewSelections(animated: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 43727 - } - ], - "key.bodylength" : 854, - "key.bodyoffset" : 43793, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateCollectionViewSelections<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 913, - "key.line" : 1197, - "key.modulename" : "ListableUI", - "key.name" : "updateCollectionViewSelections(animated:)", - "key.namelength" : 47, - "key.nameoffset" : 43740, - "key.offset" : 43735, - "key.parsed_declaration" : "private func updateCollectionViewSelections(animated : Bool)", - "key.parsed_scope.end" : 1219, - "key.parsed_scope.start" : 1197, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let oldSelected: Set<\/Type><IndexPath<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> oldSelected<\/decl.name>: Set<\/ref.struct><IndexPath<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 92, - "key.line" : 1199, - "key.modulename" : "ListableUI", - "key.name" : "oldSelected", - "key.namelength" : 11, - "key.nameoffset" : 43806, - "key.offset" : 43802, - "key.parsed_declaration" : "let oldSelected : Set = Set(self.collectionView.indexPathsForSelectedItems ?? [])", - "key.parsed_scope.end" : 1199, - "key.parsed_scope.start" : 1199, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF11oldSelectedL_Shy10Foundation9IndexPathVGvp" - }, - { - "key.annotated_decl" : "let newSelected: Set<\/Type><IndexPath<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> newSelected<\/decl.name>: Set<\/ref.struct><IndexPath<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 89, - "key.line" : 1200, - "key.modulename" : "ListableUI", - "key.name" : "newSelected", - "key.namelength" : 11, - "key.nameoffset" : 43907, - "key.offset" : 43903, - "key.parsed_declaration" : "let newSelected : Set = Set(self.storage.presentationState.selectedIndexPaths)", - "key.parsed_scope.end" : 1200, - "key.parsed_scope.start" : 1200, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF11newSelectedL_Shy10Foundation9IndexPathVGvp" - }, - { - "key.annotated_decl" : "let removed: Set<\/Type><IndexPath<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> removed<\/decl.name>: Set<\/ref.struct><IndexPath<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 50, - "key.line" : 1202, - "key.modulename" : "ListableUI", - "key.name" : "removed", - "key.namelength" : 7, - "key.nameoffset" : 44014, - "key.offset" : 44010, - "key.parsed_declaration" : "let removed = oldSelected.subtracting(newSelected)", - "key.parsed_scope.end" : 1202, - "key.parsed_scope.start" : 1202, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF7removedL_Shy10Foundation9IndexPathVGvp" - }, - { - "key.annotated_decl" : "let added: Set<\/Type><IndexPath<\/Type>><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> added<\/decl.name>: Set<\/ref.struct><IndexPath<\/ref.struct>><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 48, - "key.line" : 1203, - "key.modulename" : "ListableUI", - "key.name" : "added", - "key.namelength" : 5, - "key.nameoffset" : 44073, - "key.offset" : 44069, - "key.parsed_declaration" : "let added = newSelected.subtracting(oldSelected)", - "key.parsed_scope.end" : 1203, - "key.parsed_scope.start" : 1203, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF5addedL_Shy10Foundation9IndexPathVGvp" - }, - { - "key.annotated_decl" : "let view: CollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: CollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 30, - "key.line" : 1205, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 44139, - "key.offset" : 44135, - "key.parsed_declaration" : "let view = self.collectionView", - "key.parsed_scope.end" : 1205, - "key.parsed_scope.start" : 1205, - "key.reusingastcontext" : false, - "key.typename" : "CollectionView", - "key.typeusr" : "$s10ListableUI14CollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF4viewL_AA0fD0Cvp" - }, - { - "key.annotated_decl" : "let state: PresentationState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> state<\/decl.name>: PresentationState<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 1206, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 44178, - "key.offset" : 44174, - "key.parsed_declaration" : "let state = self.storage.presentationState", - "key.parsed_scope.end" : 1206, - "key.parsed_scope.start" : 1206, - "key.reusingastcontext" : false, - "key.typename" : "PresentationState", - "key.typeusr" : "$s10ListableUI17PresentationStateCD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF5stateL_AA17PresentationStateCvp" - } - ], - "key.typename" : "(ListView) -> (Bool) -> ()", - "key.typeusr" : "$s8animatedySb_tcD", - "key.usr" : "s:10ListableUI8ListViewC016updateCollectionD10Selections33_A65B53D10B0C487915F0C0C4684244E8LL8animatedySb_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 44, - "key.name" : "MARK: Internal - Updating Presentation State", - "key.offset" : 44668 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var updateOverrideIndexPath: IndexPath<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 45001 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An index path we store in order to ensure if multiple updates are processed in quick succession, we do not\nend up overriding a previous attempt to programmatically trigger a scroll event.\n\nhttps:\/\/github.com\/square\/Listable\/pull\/557\n", - "key.doc.column" : 17, - "key.doc.comment" : "An index path we store in order to ensure if multiple updates are processed in quick succession, we do not\nend up overriding a previous attempt to programmatically trigger a scroll event.\n\nhttps:\/\/github.com\/square\/Listable\/pull\/557", - "key.doc.declaration" : "@MainActor private var updateOverrideIndexPath: IndexPath?", - "key.doc.discussion" : [ - { - "Para" : "https:\/\/github.com\/square\/Listable\/pull\/557" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "updateOverrideIndexPath<\/Name>s:10ListableUI8ListViewC23updateOverrideIndexPath33_A65B53D10B0C487915F0C0C4684244E8LL10Foundation0gH0VSgvp<\/USR>@MainActor private var updateOverrideIndexPath: IndexPath?<\/Declaration>An index path we store in order to ensure if multiple updates are processed in quick succession, we do not end up overriding a previous attempt to programmatically trigger a scroll event.<\/Para><\/Abstract>https:\/\/github.com\/square\/Listable\/pull\/557<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 1230, - "key.doc.name" : "updateOverrideIndexPath", - "key.doc.type" : "Other", - "key.doclength" : 268, - "key.docoffset" : 44729, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> updateOverrideIndexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 1230, - "key.modulename" : "ListableUI", - "key.name" : "updateOverrideIndexPath", - "key.namelength" : 23, - "key.nameoffset" : 45013, - "key.offset" : 45009, - "key.parsed_declaration" : "private var updateOverrideIndexPath : IndexPath? = nil", - "key.parsed_scope.end" : 1230, - "key.parsed_scope.start" : 1230, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI8ListViewC23updateOverrideIndexPath33_A65B53D10B0C487915F0C0C4684244E8LL10Foundation0gH0VSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var firstVisibleIndexPath: IndexPath<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 45065 - } - ], - "key.bodylength" : 388, - "key.bodyoffset" : 45113, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> firstVisibleIndexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 429, - "key.line" : 1232, - "key.modulename" : "ListableUI", - "key.name" : "firstVisibleIndexPath", - "key.namelength" : 21, - "key.nameoffset" : 45077, - "key.offset" : 45073, - "key.parsed_declaration" : "private var firstVisibleIndexPath : IndexPath?", - "key.parsed_scope.end" : 1247, - "key.parsed_scope.start" : 1232, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI8ListViewC21firstVisibleIndexPath33_A65B53D10B0C487915F0C0C4684244E8LL10Foundation0gH0VSgvp" - }, - { - "key.annotated_decl" : "let visibleIndexPaths: [IndexPath<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "1) Get the first visible index path.", - "key.doc.column" : 13, - "key.doc.comment" : "1) Get the first visible index path.", - "key.doc.declaration" : "let visibleIndexPaths: [IndexPath]", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "visibleIndexPaths<\/Name>s:10ListableUI8ListViewC21firstVisibleIndexPath33_A65B53D10B0C487915F0C0C4684244E8LL10Foundation0gH0VSgvg07visibleG5PathsL_SayAHGvp<\/USR>let visibleIndexPaths: [IndexPath]<\/Declaration>Get the first visible index path.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 1236, - "key.doc.name" : "visibleIndexPaths", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 45123, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> visibleIndexPaths<\/decl.name>: [IndexPath<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 83, - "key.line" : 1236, - "key.modulename" : "ListableUI", - "key.name" : "visibleIndexPaths", - "key.namelength" : 17, - "key.nameoffset" : 45177, - "key.offset" : 45173, - "key.parsed_declaration" : "let visibleIndexPaths = self.collectionView.indexPathsForVisibleItems.sorted(by: <)", - "key.parsed_scope.end" : 1236, - "key.parsed_scope.start" : 1236, - "key.reusingastcontext" : false, - "key.typename" : "[IndexPath]", - "key.typeusr" : "$sSay10Foundation9IndexPathVGD", - "key.usr" : "s:10ListableUI8ListViewC21firstVisibleIndexPath33_A65B53D10B0C487915F0C0C4684244E8LL10Foundation0gH0VSgvg07visibleG5PathsL_SayAHGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> internal func updatePresentationState(for reason: PresentationState<\/Type>.UpdateReason<\/Type>, completion callerCompletion: @escaping (Bool<\/Type>) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 45508 - } - ], - "key.bodylength" : 2483, - "key.bodyoffset" : 45679, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "2) Pick the largest index path of two to return.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updatePresentationState<\/decl.name>(for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: PresentationState<\/ref.class>.UpdateReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label> callerCompletion<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2646, - "key.line" : 1249, - "key.modulename" : "ListableUI", - "key.name" : "updatePresentationState(for:completion:)", - "key.namelength" : 155, - "key.nameoffset" : 45522, - "key.offset" : 45517, - "key.parsed_declaration" : "internal func updatePresentationState(\n for reason : PresentationState.UpdateReason,\n completion callerCompletion : @escaping (Bool) -> () = { _ in }\n)", - "key.parsed_scope.end" : 1310, - "key.parsed_scope.start" : 1249, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let completion: (_ completed: Bool<\/Type>) -> ()<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> completion<\/decl.name>: (_ completed<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 180, - "key.line" : 1255, - "key.modulename" : "ListableUI", - "key.name" : "completion", - "key.namelength" : 10, - "key.nameoffset" : 45789, - "key.offset" : 45785, - "key.parsed_declaration" : "let completion = { (completed : Bool) in\n callerCompletion(completed)\n SignpostLogger.log(.end, log: .updateContent, name: \"List Update\", for: self)\n}", - "key.parsed_scope.end" : 1255, - "key.parsed_scope.start" : 1255, - "key.reusingastcontext" : false, - "key.typename" : "(Bool) -> ()", - "key.typeusr" : "$syySbcD", - "key.usr" : "s:10ListableUI8ListViewC23updatePresentationState3for10completionyAA0fG0C12UpdateReasonO_ySbctFAFL_yySbcvp" - }, - { - "key.annotated_decl" : "let indexPath: IndexPath<\/Type>?<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct>?<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 37, - "key.line" : 1260, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 45995, - "key.offset" : 45991, - "key.parsed_declaration" : "let indexPath = firstVisibleIndexPath", - "key.parsed_scope.end" : 1260, - "key.parsed_scope.start" : 1260, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath?", - "key.typeusr" : "$s10Foundation9IndexPathVSgD", - "key.usr" : "s:10ListableUI8ListViewC23updatePresentationState3for10completionyAA0fG0C12UpdateReasonO_ySbctF9indexPathL_10Foundation05IndexM0VSgvp" - }, - { - "key.annotated_decl" : "let presentationStateTruncated: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> presentationStateTruncated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 89, - "key.line" : 1262, - "key.modulename" : "ListableUI", - "key.name" : "presentationStateTruncated", - "key.namelength" : 26, - "key.nameoffset" : 46050, - "key.offset" : 46046, - "key.parsed_declaration" : "let presentationStateTruncated = self.storage.presentationState.containsAllItems == false", - "key.parsed_scope.end" : 1262, - "key.parsed_scope.start" : 1262, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC23updatePresentationState3for10completionyAA0fG0C12UpdateReasonO_ySbctF012presentationG9TruncatedL_Sbvp" - } - ], - "key.typename" : "(ListView) -> (PresentationState.UpdateReason, @escaping (Bool) -> ()) -> ()", - "key.typeusr" : "$s3for10completiony10ListableUI17PresentationStateC12UpdateReasonO_ySbctcD", - "key.usr" : "s:10ListableUI8ListViewC23updatePresentationState3for10completionyAA0fG0C12UpdateReasonO_ySbctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updatePresentationStateWith(firstVisibleIndexPath indexPath: IndexPath<\/Type>?, for reason: PresentationState<\/Type>.UpdateReason<\/Type>, completion callerCompletion: @escaping (Bool<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 48177 - } - ], - "key.bodylength" : 4486, - "key.bodyoffset" : 48393, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Verify this is the same as inputted index path – if it's not, that means\n_another_ `programaticScrollDownTo` has occurred and thus has\noverridden this value, so we shouldn't clear it out.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updatePresentationStateWith<\/decl.name>(firstVisibleIndexPath<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: PresentationState<\/ref.class>.UpdateReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label> callerCompletion<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 4695, - "key.line" : 1312, - "key.modulename" : "ListableUI", - "key.name" : "updatePresentationStateWith(firstVisibleIndexPath:for:completion:)", - "key.namelength" : 201, - "key.nameoffset" : 48190, - "key.offset" : 48185, - "key.parsed_declaration" : "private func updatePresentationStateWith(\n firstVisibleIndexPath indexPath: IndexPath?,\n for reason : PresentationState.UpdateReason,\n completion callerCompletion : @escaping (Bool) -> ()\n)", - "key.parsed_scope.end" : 1419, - "key.parsed_scope.start" : 1312, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (IndexPath?, PresentationState.UpdateReason, @escaping (Bool) -> ()) -> ()", - "key.typeusr" : "$s21firstVisibleIndexPath3for10completiony10Foundation0cD0VSg_10ListableUI17PresentationStateC12UpdateReasonOySbctcD", - "key.usr" : "s:10ListableUI8ListViewC27updatePresentationStateWith33_A65B53D10B0C487915F0C0C4684244E8LL21firstVisibleIndexPath3for10completiony10Foundation0tU0VSg_AA0fG0C12UpdateReasonOySbctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func newVisibleSlice(to indexPath: IndexPath<\/Type>) -> Content<\/Type>.Slice<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 52890 - } - ], - "key.bodylength" : 719, - "key.bodyoffset" : 52967, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Update Refresh Control\n\nNote: Must be called *OUTSIDE* of CollectionView's `performBatchUpdates:`, otherwise\nwe trigger a bug where updated indexes are calculated incorrectly.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> newVisibleSlice<\/decl.name>(to<\/decl.var.parameter.argument_label> indexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Content<\/ref.struct>.Slice<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 789, - "key.line" : 1421, - "key.modulename" : "ListableUI", - "key.name" : "newVisibleSlice(to:)", - "key.namelength" : 41, - "key.nameoffset" : 52903, - "key.offset" : 52898, - "key.parsed_declaration" : "private func newVisibleSlice(to indexPath : IndexPath) -> Content.Slice", - "key.parsed_scope.end" : 1442, - "key.parsed_scope.start" : 1421, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (IndexPath) -> Content.Slice", - "key.typeusr" : "$s2to10ListableUI7ContentV5SliceV10Foundation9IndexPathV_tcD", - "key.usr" : "s:10ListableUI8ListViewC15newVisibleSlice33_A65B53D10B0C487915F0C0C4684244E8LL2toAA7ContentV0G0V10Foundation9IndexPathV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func updateContentOffset(for reason: PresentationState<\/Type>.UpdateReason<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 53693 - } - ], - "key.bodylength" : 354, - "key.bodyoffset" : 53771, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateContentOffset<\/decl.name>(for<\/decl.var.parameter.argument_label> reason<\/decl.var.parameter.name>: PresentationState<\/ref.class>.UpdateReason<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 425, - "key.line" : 1444, - "key.modulename" : "ListableUI", - "key.name" : "updateContentOffset(for:)", - "key.namelength" : 63, - "key.nameoffset" : 53706, - "key.offset" : 53701, - "key.parsed_declaration" : "private func updateContentOffset(for reason: PresentationState.UpdateReason)", - "key.parsed_scope.end" : 1454, - "key.parsed_scope.start" : 1444, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (PresentationState.UpdateReason) -> ()", - "key.typeusr" : "$s3fory10ListableUI17PresentationStateC12UpdateReasonO_tcD", - "key.usr" : "s:10ListableUI8ListViewC19updateContentOffset33_A65B53D10B0C487915F0C0C4684244E8LL3foryAA17PresentationStateC12UpdateReasonO_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performAutoScrollAction(with addedItems: Set<\/Type><AnyIdentifier<\/Type>>, animated: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 54132 - } - ], - "key.bodylength" : 3085, - "key.bodyoffset" : 54229, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performAutoScrollAction<\/decl.name>(with<\/decl.var.parameter.argument_label> addedItems<\/decl.var.parameter.name>: Set<\/ref.struct><AnyIdentifier<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 3175, - "key.line" : 1456, - "key.modulename" : "ListableUI", - "key.name" : "performAutoScrollAction(with:animated:)", - "key.namelength" : 78, - "key.nameoffset" : 54145, - "key.offset" : 54140, - "key.parsed_declaration" : "private func performAutoScrollAction(with addedItems : Set, animated : Bool)", - "key.parsed_scope.end" : 1515, - "key.parsed_scope.start" : 1456, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> func autoScroll(with info: AutoScrollAction<\/Type>.Configuration<\/Type>)<\/Declaration>", - "key.bodylength" : 2643, - "key.bodyoffset" : 54665, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> autoScroll<\/decl.name>(with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: AutoScrollAction<\/ref.enum>.Configuration<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.free>", - "key.kind" : "source.lang.swift.decl.function.free", - "key.length" : 2704, - "key.line" : 1471, - "key.modulename" : "ListableUI", - "key.name" : "autoScroll(with:)", - "key.namelength" : 53, - "key.nameoffset" : 54610, - "key.offset" : 54605, - "key.parsed_declaration" : "func autoScroll(with info: AutoScrollAction.Configuration)", - "key.parsed_scope.end" : 1514, - "key.parsed_scope.start" : 1471, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let animated: Bool<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Only animate the scroll if both the update **and** the scroll action are animated.", - "key.doc.column" : 21, - "key.doc.comment" : "Only animate the scroll if both the update **and** the scroll action are animated.", - "key.doc.declaration" : "let animated: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "animated<\/Name>s:10ListableUI8ListViewC23performAutoScrollAction33_A65B53D10B0C487915F0C0C4684244E8LL4with8animatedyShyAA13AnyIdentifierCG_SbtF04autoG0L_AFyAA0fgH0O13Configuration_p_tFAGL_Sbvp<\/USR>let animated: Bool<\/Declaration>Only animate the scroll if both the update and<\/bold> the scroll action are animated.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 1475, - "key.doc.name" : "animated", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> animated<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 8, - "key.line" : 1475, - "key.modulename" : "ListableUI", - "key.name" : "animated", - "key.offset" : 54867, - "key.parsed_declaration" : "let animated", - "key.parsed_scope.end" : 1475, - "key.parsed_scope.start" : 1475, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC23performAutoScrollAction33_A65B53D10B0C487915F0C0C4684244E8LL4with8animatedyShyAA13AnyIdentifierCG_SbtF04autoG0L_AFyAA0fgH0O13Configuration_p_tFAGL_Sbvp" - } - ], - "key.typename" : "(any AutoScrollAction.Configuration) -> ()", - "key.typeusr" : "$s4withy10ListableUI16AutoScrollActionO13Configuration_p_tcD", - "key.usr" : "s:10ListableUI8ListViewC23performAutoScrollAction33_A65B53D10B0C487915F0C0C4684244E8LL4with8animatedyShyAA13AnyIdentifierCG_SbtF04autoG0L_AFyAA0fgH0O13Configuration_p_tF" - } - ], - "key.typename" : "(ListView) -> (Set, Bool) -> ()", - "key.typeusr" : "$s4with8animatedyShy10ListableUI13AnyIdentifierCG_SbtcD", - "key.usr" : "s:10ListableUI8ListViewC23performAutoScrollAction33_A65B53D10B0C487915F0C0C4684244E8LL4with8animatedyShyAA13AnyIdentifierCG_SbtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performScroll(to targetFrame: CGRect<\/Type>, scrollPosition: ScrollPosition<\/Type>, animated: Bool<\/Type> = false, completion: ScrollCompletion<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 57321 - } - ], - "key.bodylength" : 2197, - "key.bodyoffset" : 57506, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "Perform an update after an animationless scroll so that `CollectionViewLayout`'s\n`prepare()` function will synchronously execute before calling `didPerform`. Otherwise,\nthe list's `visibleContent` and the resulting `scrollPositionInfo.visibleItems` will\nbe stale.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performScroll<\/decl.name>(to<\/decl.var.parameter.argument_label> targetFrame<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, scrollPosition<\/decl.var.parameter.argument_label>: ScrollPosition<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2375, - "key.line" : 1517, - "key.modulename" : "ListableUI", - "key.name" : "performScroll(to:scrollPosition:animated:completion:)", - "key.namelength" : 170, - "key.nameoffset" : 57334, - "key.offset" : 57329, - "key.parsed_declaration" : "private func performScroll(\n to targetFrame : CGRect,\n scrollPosition : ScrollPosition,\n animated: Bool = false,\n completion: ScrollCompletion? = nil\n)", - "key.parsed_scope.end" : 1572, - "key.parsed_scope.start" : 1517, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let isAlreadyVisible: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> isAlreadyVisible<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 79, - "key.line" : 1525, - "key.modulename" : "ListableUI", - "key.name" : "isAlreadyVisible", - "key.namelength" : 16, - "key.nameoffset" : 57594, - "key.offset" : 57590, - "key.parsed_declaration" : "let isAlreadyVisible = collectionView.visibleContentFrame.contains(targetFrame)", - "key.parsed_scope.end" : 1525, - "key.parsed_scope.start" : 1525, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF16isAlreadyVisibleL_Sbvp" - }, - { - "key.annotated_decl" : "let shouldAnimate: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> shouldAnimate<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 59, - "key.line" : 1532, - "key.modulename" : "ListableUI", - "key.name" : "shouldAnimate", - "key.namelength" : 13, - "key.nameoffset" : 58034, - "key.offset" : 58030, - "key.parsed_declaration" : "let shouldAnimate = animated && UIView.areAnimationsEnabled", - "key.parsed_scope.end" : 1532, - "key.parsed_scope.start" : 1532, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF13shouldAnimateL_Sbvp" - }, - { - "key.annotated_decl" : "let topInset: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> topInset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 54, - "key.line" : 1534, - "key.modulename" : "ListableUI", - "key.name" : "topInset", - "key.namelength" : 8, - "key.nameoffset" : 58103, - "key.offset" : 58099, - "key.parsed_declaration" : "let topInset = collectionView.adjustedContentInset.top", - "key.parsed_scope.end" : 1534, - "key.parsed_scope.start" : 1534, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF8topInsetL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let contentFrameHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> contentFrameHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 66, - "key.line" : 1535, - "key.modulename" : "ListableUI", - "key.name" : "contentFrameHeight", - "key.namelength" : 18, - "key.nameoffset" : 58166, - "key.offset" : 58162, - "key.parsed_declaration" : "let contentFrameHeight = collectionView.visibleContentFrame.height", - "key.parsed_scope.end" : 1535, - "key.parsed_scope.start" : 1535, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF18contentFrameHeightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let adjustedOriginY: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> adjustedOriginY<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 1536, - "key.modulename" : "ListableUI", - "key.name" : "adjustedOriginY", - "key.namelength" : 15, - "key.nameoffset" : 58241, - "key.offset" : 58237, - "key.parsed_declaration" : "let adjustedOriginY = targetFrame.origin.y - topInset", - "key.parsed_scope.end" : 1536, - "key.parsed_scope.start" : 1536, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF15adjustedOriginYL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "var resultOffset: CGPoint<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> resultOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 47, - "key.line" : 1538, - "key.modulename" : "ListableUI", - "key.name" : "resultOffset", - "key.namelength" : 12, - "key.nameoffset" : 58304, - "key.offset" : 58300, - "key.parsed_declaration" : "var resultOffset = collectionView.contentOffset", - "key.parsed_scope.end" : 1538, - "key.parsed_scope.start" : 1538, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF12resultOffsetL_So7CGPointVvp" - }, - { - "key.annotated_decl" : "let maxOffsetHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> maxOffsetHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 107, - "key.line" : 1551, - "key.modulename" : "ListableUI", - "key.name" : "maxOffsetHeight", - "key.namelength" : 15, - "key.nameoffset" : 58773, - "key.offset" : 58769, - "key.parsed_declaration" : "let maxOffsetHeight = collectionViewLayout.collectionViewContentSize.height - contentFrameHeight - topInset", - "key.parsed_scope.end" : 1551, - "key.parsed_scope.start" : 1551, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF15maxOffsetHeightL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let roundedResultOffset: CGPoint<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> roundedResultOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 119, - "key.line" : 1558, - "key.modulename" : "ListableUI", - "key.name" : "roundedResultOffset", - "key.namelength" : 19, - "key.nameoffset" : 59070, - "key.offset" : 59066, - "key.parsed_declaration" : "let roundedResultOffset = CGPoint(\n x: round(resultOffset.x),\n y: round(resultOffset.y)\n)", - "key.parsed_scope.end" : 1558, - "key.parsed_scope.start" : 1558, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF19roundedResultOffsetL_So7CGPointVvp" - }, - { - "key.annotated_decl" : "let roundedCurrentOffset: CGPoint<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> roundedCurrentOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 152, - "key.line" : 1562, - "key.modulename" : "ListableUI", - "key.name" : "roundedCurrentOffset", - "key.namelength" : 20, - "key.nameoffset" : 59198, - "key.offset" : 59194, - "key.parsed_declaration" : "let roundedCurrentOffset = CGPoint(\n x: round(collectionView.contentOffset.x),\n y: round(collectionView.contentOffset.y)\n)", - "key.parsed_scope.end" : 1562, - "key.parsed_scope.start" : 1562, - "key.reusingastcontext" : false, - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF20roundedCurrentOffsetL_So7CGPointVvp" - } - ], - "key.typename" : "(ListView) -> (CGRect, ScrollPosition, Bool, ((ListStateObserver.DidEndScrollingAnimation) -> ())?) -> ()", - "key.typeusr" : "$s2to14scrollPosition8animated10completionySo6CGRectV_10ListableUI06ScrollC0VSbyAG17ListStateObserverV24DidEndScrollingAnimationVcSgtcD", - "key.usr" : "s:10ListableUI8ListViewC13performScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to14scrollPosition8animated10completionySo6CGRectV_AA0fR0VSbyAA0C13StateObserverV24DidEndScrollingAnimationVcSgtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func preparePresentationStateForScroll(to toIndexPath: IndexPath<\/Type>, handlerWhenFailed: ScrollCompletion<\/Type>?, scroll: @escaping () -> Void<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 59710 - } - ], - "key.bodylength" : 588, - "key.bodyoffset" : 59861, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preparePresentationStateForScroll<\/decl.name>(to<\/decl.var.parameter.argument_label> toIndexPath<\/decl.var.parameter.name>: IndexPath<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, handlerWhenFailed<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type><\/decl.var.parameter>, scroll<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 732, - "key.line" : 1574, - "key.modulename" : "ListableUI", - "key.name" : "preparePresentationStateForScroll(to:handlerWhenFailed:scroll:)", - "key.namelength" : 128, - "key.nameoffset" : 59723, - "key.offset" : 59718, - "key.parsed_declaration" : "private func preparePresentationStateForScroll(to toIndexPath: IndexPath, handlerWhenFailed: ScrollCompletion?, scroll: @escaping () -> Void) -> Bool", - "key.parsed_scope.end" : 1594, - "key.parsed_scope.start" : 1574, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (IndexPath, ((ListStateObserver.DidEndScrollingAnimation) -> ())?, @escaping () -> ()) -> Bool", - "key.typeusr" : "$s2to17handlerWhenFailed6scrollSb10Foundation9IndexPathV_y10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcSgyyctcD", - "key.usr" : "s:10ListableUI8ListViewC33preparePresentationStateForScroll33_A65B53D10B0C487915F0C0C4684244E8LL2to17handlerWhenFailed6scrollSb10Foundation9IndexPathV_yAA0cG8ObserverV24DidEndScrollingAnimationVcSgyyctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func preparePresentationStateForScrollToSection(index: Int<\/Type>, handlerWhenFailed: ScrollCompletion<\/Type>?, scroll: @escaping () -> Void<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 60456 - } - ], - "key.bodylength" : 647, - "key.bodyoffset" : 60601, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> preparePresentationStateForScrollToSection<\/decl.name>(index<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, handlerWhenFailed<\/decl.var.parameter.argument_label>: ScrollCompletion<\/ref.typealias>?<\/decl.var.parameter.type><\/decl.var.parameter>, scroll<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 785, - "key.line" : 1596, - "key.modulename" : "ListableUI", - "key.name" : "preparePresentationStateForScrollToSection(index:handlerWhenFailed:scroll:)", - "key.namelength" : 122, - "key.nameoffset" : 60469, - "key.offset" : 60464, - "key.parsed_declaration" : "private func preparePresentationStateForScrollToSection(index: Int, handlerWhenFailed: ScrollCompletion?, scroll: @escaping () -> Void) -> Bool", - "key.parsed_scope.end" : 1617, - "key.parsed_scope.start" : 1596, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (Int, ((ListStateObserver.DidEndScrollingAnimation) -> ())?, @escaping () -> ()) -> Bool", - "key.typeusr" : "$s5index17handlerWhenFailed6scrollSbSi_y10ListableUI17ListStateObserverV24DidEndScrollingAnimationVcSgyyctcD", - "key.usr" : "s:10ListableUI8ListViewC42preparePresentationStateForScrollToSection33_A65B53D10B0C487915F0C0C4684244E8LL5index17handlerWhenFailed6scrollSbSi_yAA0cG8ObserverV24DidEndScrollingAnimationVcSgyyctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performEmptyBatchUpdates()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 61425 - } - ], - "key.bodylength" : 158, - "key.bodyoffset" : 61466, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "This is similar to calling `collectionView.performBatchUpdates(nil)`, but\nit also includes workarounds for first responder bugs on iOS 16.4 and 17.0.", - "key.doc.column" : 18, - "key.doc.comment" : "This is similar to calling `collectionView.performBatchUpdates(nil)`, but\nit also includes workarounds for first responder bugs on iOS 16.4 and 17.0.", - "key.doc.declaration" : "@MainActor private func performEmptyBatchUpdates()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "performEmptyBatchUpdates()<\/Name>s:10ListableUI8ListViewC24performEmptyBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LLyyF<\/USR>@MainActor private func performEmptyBatchUpdates()<\/Declaration>This is similar to calling collectionView.performBatchUpdates(nil)<\/codeVoice>, but it also includes workarounds for first responder bugs on iOS 16.4 and 17.0.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 1621, - "key.doc.name" : "performEmptyBatchUpdates()", - "key.doc.type" : "Function", - "key.doclength" : 162, - "key.docoffset" : 61259, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performEmptyBatchUpdates<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 192, - "key.line" : 1621, - "key.modulename" : "ListableUI", - "key.name" : "performEmptyBatchUpdates()", - "key.namelength" : 26, - "key.nameoffset" : 61438, - "key.offset" : 61433, - "key.parsed_declaration" : "private func performEmptyBatchUpdates()", - "key.parsed_scope.end" : 1627, - "key.parsed_scope.start" : 1621, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC24performEmptyBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LLyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private func performBatchUpdates(with diff: SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>>, animated: Bool<\/Type>, updateBackingData: @escaping () -> (), collectionViewUpdateCompletion callerCollectionViewUpdateCompletion: @escaping () -> (), animationCompletion callerAnimationCompletion: @escaping (Bool<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 61635 - } - ], - "key.bodylength" : 2340, - "key.bodyoffset" : 62012, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> performBatchUpdates<\/decl.name>(with<\/decl.var.parameter.argument_label> diff<\/decl.var.parameter.name>: SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>><\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, updateBackingData<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, collectionViewUpdateCompletion<\/decl.var.parameter.argument_label> callerCollectionViewUpdateCompletion<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, animationCompletion<\/decl.var.parameter.argument_label> callerAnimationCompletion<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2710, - "key.line" : 1629, - "key.modulename" : "ListableUI", - "key.name" : "performBatchUpdates(with:animated:updateBackingData:collectionViewUpdateCompletion:animationCompletion:)", - "key.namelength" : 358, - "key.nameoffset" : 61648, - "key.offset" : 61643, - "key.parsed_declaration" : "private func performBatchUpdates(\n with diff : SectionedDiff,\n animated: Bool,\n updateBackingData : @escaping () -> (),\n collectionViewUpdateCompletion callerCollectionViewUpdateCompletion : @escaping () -> (),\n animationCompletion callerAnimationCompletion : @escaping (Bool) -> ()\n)", - "key.parsed_scope.end" : 1702, - "key.parsed_scope.start" : 1629, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let animationCompletion: (_ completed: Bool<\/Type>) -> ()<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> animationCompletion<\/decl.name>: (_ completed<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 210, - "key.line" : 1639, - "key.modulename" : "ListableUI", - "key.name" : "animationCompletion", - "key.namelength" : 19, - "key.nameoffset" : 62134, - "key.offset" : 62130, - "key.parsed_declaration" : "let animationCompletion = { (completed : Bool) in\n callerAnimationCompletion(completed)\n SignpostLogger.log(.end, log: .updateContent, name: \"Update UICollectionView\", for: self)\n}", - "key.parsed_scope.end" : 1639, - "key.parsed_scope.start" : 1639, - "key.reusingastcontext" : false, - "key.typename" : "(Bool) -> ()", - "key.typeusr" : "$syySbcD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctFAJL_yySbcvp" - }, - { - "key.annotated_decl" : "let view: CollectionView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> view<\/decl.name>: CollectionView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 30, - "key.line" : 1644, - "key.modulename" : "ListableUI", - "key.name" : "view", - "key.namelength" : 4, - "key.nameoffset" : 62362, - "key.offset" : 62358, - "key.parsed_declaration" : "let view = self.collectionView", - "key.parsed_scope.end" : 1644, - "key.parsed_scope.start" : 1644, - "key.reusingastcontext" : false, - "key.typename" : "CollectionView", - "key.typeusr" : "$s10ListableUI14CollectionViewCD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctF4viewL_AA010CollectionD0Cvp" - }, - { - "key.annotated_decl" : "let changes: ListView<\/Type>.CollectionViewChanges<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> changes<\/decl.name>: ListView<\/ref.class>.CollectionViewChanges<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 65, - "key.line" : 1646, - "key.modulename" : "ListableUI", - "key.name" : "changes", - "key.namelength" : 7, - "key.nameoffset" : 62410, - "key.offset" : 62406, - "key.parsed_declaration" : "let changes = CollectionViewChanges(sectionChanges: diff.changes)", - "key.parsed_scope.end" : 1646, - "key.parsed_scope.start" : 1646, - "key.reusingastcontext" : false, - "key.typename" : "ListView.CollectionViewChanges", - "key.typeusr" : "$s10ListableUI8ListViewC010CollectionD7ChangesVD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctF7changesL_AC010CollectionD7ChangesVvp" - }, - { - "key.annotated_decl" : "let batchUpdates: () -> ()<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> batchUpdates<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 798, - "key.line" : 1648, - "key.modulename" : "ListableUI", - "key.name" : "batchUpdates", - "key.namelength" : 12, - "key.nameoffset" : 62497, - "key.offset" : 62493, - "key.parsed_declaration" : "let batchUpdates = {\n updateBackingData()\n \n \/\/ Sections\n\n view.deleteSections(IndexSet(changes.deletedSections.map { $0.oldIndex }))\n view.insertSections(IndexSet(changes.insertedSections.map { $0.newIndex }))\n \n changes.movedSections.forEach {\n view.moveSection($0.oldIndex, toSection: $0.newIndex)\n }\n\n \/\/ Items\n \n view.deleteItems(at: changes.deletedItems.map { $0.oldIndex })\n view.insertItems(at: changes.insertedItems.map { $0.newIndex })\n \n changes.movedItems.forEach {\n view.moveItem(at: $0.oldIndex, to: $0.newIndex)\n }\n \n callerCollectionViewUpdateCompletion()\n}", - "key.parsed_scope.end" : 1648, - "key.parsed_scope.start" : 1648, - "key.reusingastcontext" : false, - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctF05batchG0L_yycvp" - }, - { - "key.annotated_decl" : "let performUpdates: () -> ()<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> performUpdates<\/decl.name>: () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 196, - "key.line" : 1689, - "key.modulename" : "ListableUI", - "key.name" : "performUpdates", - "key.namelength" : 14, - "key.nameoffset" : 63987, - "key.offset" : 63983, - "key.parsed_declaration" : "let performUpdates = {\n view.performBatchUpdates(\n batchUpdates,\n changes: changes,\n completion: animationCompletion\n )\n}", - "key.parsed_scope.end" : 1689, - "key.parsed_scope.start" : 1689, - "key.reusingastcontext" : false, - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctF0eG0L_yycvp" - } - ], - "key.typename" : "(ListView) -> (SectionedDiff, Bool, @escaping () -> (), @escaping () -> (), @escaping (Bool) -> ()) -> ()", - "key.typeusr" : "$s4with8animated17updateBackingData30collectionViewUpdateCompletion09animationI0y10ListableUI13SectionedDiffVyAF7SectionVAF13AnyIdentifierCAF0P4Item_pALG_SbyycyycySbctcD", - "key.usr" : "s:10ListableUI8ListViewC19performBatchUpdates33_A65B53D10B0C487915F0C0C4684244E8LL4with8animated17updateBackingData010collectionD16UpdateCompletion09animationX0yAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA7AnyItem_pAPG_SbyycyycySbctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private static func diffWith(old: [Section<\/Type>], new: [Section<\/Type>]) -> SectionedDiff<\/Type><Section<\/Type>, AnyIdentifier<\/Type>, AnyItem<\/Type>, AnyIdentifier<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 64363 - } - ], - "key.bodylength" : 605, - "key.bodyoffset" : 64496, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> diffWith<\/decl.name>(old<\/decl.var.parameter.argument_label>: [Section<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>, new<\/decl.var.parameter.argument_label>: [Section<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> SectionedDiff<\/ref.struct><Section<\/ref.struct>, AnyIdentifier<\/ref.class>, AnyItem<\/ref.protocol>, AnyIdentifier<\/ref.class>><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 731, - "key.line" : 1704, - "key.modulename" : "ListableUI", - "key.name" : "diffWith(old:new:)", - "key.namelength" : 42, - "key.nameoffset" : 64383, - "key.offset" : 64371, - "key.parsed_declaration" : "private static func diffWith(old : [Section], new : [Section]) -> SectionedDiff", - "key.parsed_scope.end" : 1722, - "key.parsed_scope.start" : 1704, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView.Type) -> ([Section], [Section]) -> SectionedDiff", - "key.typeusr" : "$s3old3new10ListableUI13SectionedDiffVyAC7SectionVAC13AnyIdentifierCAC0H4Item_pAIGSayAGG_ALtcD", - "key.usr" : "s:10ListableUI8ListViewC8diffWith33_A65B53D10B0C487915F0C0C4684244E8LL3old3newAA13SectionedDiffVyAA7SectionVAA13AnyIdentifierCAA0U4Item_pAMGSayAKG_APtFZ" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 65107 - } - ], - "key.bodylength" : 698, - "key.bodyoffset" : 65134, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 719, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 65124, - "key.offset" : 65114, - "key.parsed_declaration" : "public extension ListView", - "key.parsed_scope.end" : 1744, - "key.parsed_scope.start" : 1726, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> func testing_forceLayoutUpdateNow()<\/Declaration>", - "key.bodylength" : 232, - "key.bodyoffset" : 65598, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Call this method to force an immediate, synchronous re-render of the list\nand its content when writing unit or snapshot tests. This avoids needing to\nspin the runloop or needing to use test expectations to wait for content\nto be rendered asynchronously.\n\n**WARNING**: You must **not** call this method outside of tests. Doing so will cause a fatal error.\n", - "key.doc.column" : 10, - "key.doc.comment" : "\nCall this method to force an immediate, synchronous re-render of the list\nand its content when writing unit or snapshot tests. This avoids needing to\nspin the runloop or needing to use test expectations to wait for content\nto be rendered asynchronously.\n\n**WARNING**: You must **not** call this method outside of tests. Doing so will cause a fatal error.", - "key.doc.declaration" : "@MainActor func testing_forceLayoutUpdateNow()", - "key.doc.discussion" : [ - { - "Para" : ": You must call this method outside of tests. Doing so will cause a fatal error." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "testing_forceLayoutUpdateNow()<\/Name>s:10ListableUI8ListViewC28testing_forceLayoutUpdateNowyyF<\/USR>@MainActor func testing_forceLayoutUpdateNow()<\/Declaration>Call this method to force an immediate, synchronous re-render of the list and its content when writing unit or snapshot tests. This avoids needing to spin the runloop or needing to use test expectations to wait for content to be rendered asynchronously.<\/Para><\/Abstract>WARNING<\/bold>: You must not<\/bold> call this method outside of tests. Doing so will cause a fatal error.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 1736, - "key.doc.name" : "testing_forceLayoutUpdateNow()", - "key.doc.type" : "Function", - "key.doclength" : 414, - "key.docoffset" : 65139, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> testing_forceLayoutUpdateNow<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 274, - "key.line" : 1736, - "key.modulename" : "ListableUI", - "key.name" : "testing_forceLayoutUpdateNow()", - "key.namelength" : 30, - "key.nameoffset" : 65562, - "key.offset" : 65557, - "key.parsed_declaration" : "func testing_forceLayoutUpdateNow()", - "key.parsed_scope.end" : 1743, - "key.parsed_scope.start" : 1736, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC28testing_forceLayoutUpdateNowyyF" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 802, - "key.bodyoffset" : 65883, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 24, - "key.offset" : 65857 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "KeyboardObserverDelegate" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 850, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 65846, - "key.offset" : 65836, - "key.parsed_declaration" : "extension ListView : KeyboardObserverDelegate", - "key.parsed_scope.end" : 1773, - "key.parsed_scope.start" : 1747, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func keyboardFrameWillChange(for observer: KeyboardObserver<\/Type>, animationDuration: Double<\/Type>, animationCurve: UIView<\/Type>.AnimationCurve<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 65888 - } - ], - "key.bodylength" : 660, - "key.bodyoffset" : 66023, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> keyboardFrameWillChange<\/decl.name>(for<\/decl.var.parameter.argument_label> observer<\/decl.var.parameter.name>: KeyboardObserver<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, animationDuration<\/decl.var.parameter.argument_label>: Double<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, animationCurve<\/decl.var.parameter.argument_label>: UIView<\/ref.class>.AnimationCurve<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 789, - "key.line" : 1749, - "key.modulename" : "ListableUI", - "key.name" : "keyboardFrameWillChange(for:animationDuration:animationCurve:)", - "key.namelength" : 121, - "key.nameoffset" : 65900, - "key.offset" : 65895, - "key.overrides" : [ - { - "key.usr" : "s:16KeyboardObserver0aB8DelegateP23keyboardFrameWillChange3for17animationDuration0I5CurveyA2AC_SdSo015UIViewAnimationK0VtF" - } - ], - "key.parsed_declaration" : "public func keyboardFrameWillChange(for observer: KeyboardObserver, animationDuration: Double, animationCurve: UIView.AnimationCurve)", - "key.parsed_scope.end" : 1772, - "key.parsed_scope.start" : 1749, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (KeyboardObserver, Double, UIView.AnimationCurve) -> ()", - "key.typeusr" : "$s3for17animationDuration0B5Curvey16KeyboardObserverADC_SdSo015UIViewAnimationD0VtcD", - "key.usr" : "s:10ListableUI8ListViewC23keyboardFrameWillChange3for17animationDuration0J5Curvey16KeyboardObserverAHC_SdSo015UIViewAnimationL0VtF" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 154, - "key.bodyoffset" : 66742, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 30, - "key.offset" : 66710 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContentCoordinatorDelegate" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 208, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 66699, - "key.offset" : 66689, - "key.parsed_declaration" : "extension ListView : ItemContentCoordinatorDelegate", - "key.parsed_scope.end" : 1783, - "key.parsed_scope.start" : 1776, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> func coordinatorUpdated(for: AnyItem<\/Type>)<\/Declaration>", - "key.bodylength" : 103, - "key.bodyoffset" : 66791, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> coordinatorUpdated<\/decl.name>(for<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 148, - "key.line" : 1778, - "key.modulename" : "ListableUI", - "key.name" : "coordinatorUpdated(for:)", - "key.namelength" : 33, - "key.nameoffset" : 66752, - "key.offset" : 66747, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI30ItemContentCoordinatorDelegateP18coordinatorUpdated3foryAA03AnyC0_p_tF" - } - ], - "key.parsed_declaration" : "func coordinatorUpdated(for : AnyItem)", - "key.parsed_scope.end" : 1782, - "key.parsed_scope.start" : 1778, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (any AnyItem) -> ()", - "key.typeusr" : "$s3fory10ListableUI7AnyItem_p_tcD", - "key.usr" : "s:10ListableUI8ListViewC18coordinatorUpdated3foryAA7AnyItem_p_tF" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 4827, - "key.bodyoffset" : 66948, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 25, - "key.offset" : 66921 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ReorderingActionsDelegate" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 4876, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 66910, - "key.offset" : 66900, - "key.parsed_declaration" : "extension ListView : ReorderingActionsDelegate", - "key.parsed_scope.end" : 1907, - "key.parsed_scope.start" : 1786, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 29, - "key.name" : "MARK: Internal - Moving Items", - "key.offset" : 66963 - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func beginReorder(for item: AnyPresentationItemState<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 378, - "key.bodyoffset" : 67077, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> beginReorder<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 447, - "key.line" : 1792, - "key.modulename" : "ListableUI", - "key.name" : "beginReorder(for:)", - "key.namelength" : 49, - "key.nameoffset" : 67014, - "key.offset" : 67009, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP12beginReorder3forSbAA24AnyPresentationItemState_p_tF" - } - ], - "key.parsed_declaration" : "func beginReorder(for item : AnyPresentationItemState) -> Bool", - "key.parsed_scope.end" : 1805, - "key.parsed_scope.start" : 1792, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (any AnyPresentationItemState) -> Bool", - "key.typeusr" : "$s3forSb10ListableUI24AnyPresentationItemState_p_tcD", - "key.usr" : "s:10ListableUI8ListViewC12beginReorder3forSbAA24AnyPresentationItemState_p_tF" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func updateReorderTargetPosition(with recognizer: ItemReordering<\/Type>.GestureRecognizer<\/Type>, for item: AnyPresentationItemState<\/Type>)<\/Declaration>", - "key.bodylength" : 209, - "key.bodyoffset" : 67615, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> updateReorderTargetPosition<\/decl.name>(with<\/decl.var.parameter.argument_label> recognizer<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 359, - "key.line" : 1807, - "key.modulename" : "ListableUI", - "key.name" : "updateReorderTargetPosition(with:for:)", - "key.namelength" : 138, - "key.nameoffset" : 67471, - "key.offset" : 67466, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP27updateReorderTargetPosition4with3foryAA04ItemC0V17GestureRecognizerC_AA015AnyPresentationL5State_ptF" - } - ], - "key.parsed_declaration" : "func updateReorderTargetPosition(\n with recognizer : ItemReordering.GestureRecognizer,\n for item : AnyPresentationItemState\n)", - "key.parsed_scope.end" : 1817, - "key.parsed_scope.start" : 1807, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (ItemReordering.GestureRecognizer, any AnyPresentationItemState) -> ()", - "key.typeusr" : "$s4with3fory10ListableUI14ItemReorderingV17GestureRecognizerC_AC015AnyPresentationE5State_ptcD", - "key.usr" : "s:10ListableUI8ListViewC27updateReorderTargetPosition4with3foryAA14ItemReorderingV17GestureRecognizerC_AA015AnyPresentationK5State_ptF" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func endReorder(for item: AnyPresentationItemState<\/Type>, with result: ReorderingActions<\/Type>.Result<\/Type>)<\/Declaration>", - "key.bodylength" : 278, - "key.bodyoffset" : 67933, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> endReorder<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ReorderingActions<\/ref.class>.Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 377, - "key.line" : 1819, - "key.modulename" : "ListableUI", - "key.name" : "endReorder(for:with:)", - "key.namelength" : 87, - "key.nameoffset" : 67840, - "key.offset" : 67835, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP10endReorder3for4withyAA24AnyPresentationItemState_p_AA0cD0C6ResultOtF" - } - ], - "key.parsed_declaration" : "func endReorder(for item : AnyPresentationItemState, with result : ReorderingActions.Result)", - "key.parsed_scope.end" : 1829, - "key.parsed_scope.start" : 1819, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> (any AnyPresentationItemState, ReorderingActions.Result) -> ()", - "key.typeusr" : "$s3for4withy10ListableUI24AnyPresentationItemState_p_AC17ReorderingActionsC6ResultOtcD", - "key.usr" : "s:10ListableUI8ListViewC10endReorder3for4withyAA24AnyPresentationItemState_p_AA17ReorderingActionsC6ResultOtF" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func accessibilityMove(item: AnyPresentationItemState<\/Type>, direction: ReorderingActions<\/Type>.AccessibilityMoveDirection<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 2843, - "key.bodyoffset" : 68343, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> accessibilityMove<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class>.AccessibilityMoveDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 2965, - "key.line" : 1831, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityMove(item:direction:)", - "key.namelength" : 106, - "key.nameoffset" : 68227, - "key.offset" : 68222, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP17accessibilityMove4item9directionSbAA24AnyPresentationItemState_p_AA0cD0C013AccessibilityG9DirectionOtF" - } - ], - "key.parsed_declaration" : "func accessibilityMove(item: AnyPresentationItemState, direction: ReorderingActions.AccessibilityMoveDirection) -> Bool", - "key.parsed_scope.end" : 1884, - "key.parsed_scope.start" : 1831, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let destinationPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> destinationPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 31, - "key.line" : 1837, - "key.modulename" : "ListableUI", - "key.name" : "destinationPath", - "key.namelength" : 15, - "key.nameoffset" : 68568, - "key.offset" : 68564, - "key.parsed_declaration" : "let destinationPath : IndexPath", - "key.parsed_scope.end" : 1837, - "key.parsed_scope.start" : 1837, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC17accessibilityMove4item9directionSbAA24AnyPresentationItemState_p_AA17ReorderingActionsC013AccessibilityF9DirectionOtF15destinationPathL_10Foundation05IndexR0Vvp" - }, - { - "key.annotated_decl" : "let targetPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> targetPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 149, - "key.line" : 1871, - "key.modulename" : "ListableUI", - "key.name" : "targetPath", - "key.namelength" : 10, - "key.nameoffset" : 70175, - "key.offset" : 70171, - "key.parsed_declaration" : "let targetPath = self.delegate.collectionView(self.collectionView, targetIndexPathForMoveFromItemAt: indexPath, toProposedIndexPath: destinationPath)", - "key.parsed_scope.end" : 1871, - "key.parsed_scope.start" : 1871, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI8ListViewC17accessibilityMove4item9directionSbAA24AnyPresentationItemState_p_AA17ReorderingActionsC013AccessibilityF9DirectionOtF10targetPathL_10Foundation05IndexR0Vvp" - } - ], - "key.typename" : "(ListView) -> (any AnyPresentationItemState, ReorderingActions.AccessibilityMoveDirection) -> Bool", - "key.typeusr" : "$s4item9directionSb10ListableUI24AnyPresentationItemState_p_AC17ReorderingActionsC26AccessibilityMoveDirectionOtcD", - "key.usr" : "s:10ListableUI8ListViewC17accessibilityMove4item9directionSbAA24AnyPresentationItemState_p_AA17ReorderingActionsC013AccessibilityF9DirectionOtF" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> func cancelAllInProgressReorders()<\/Declaration>", - "key.bodylength" : 225, - "key.bodyoffset" : 71233, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> cancelAllInProgressReorders<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 262, - "key.line" : 1886, - "key.modulename" : "ListableUI", - "key.name" : "cancelAllInProgressReorders()", - "key.namelength" : 29, - "key.nameoffset" : 71202, - "key.offset" : 71197, - "key.parsed_declaration" : "func cancelAllInProgressReorders()", - "key.parsed_scope.end" : 1893, - "key.parsed_scope.start" : 1886, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI8ListViewC27cancelAllInProgressReordersyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var hasInProgressReorders: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 71469 - } - ], - "key.bodylength" : 262, - "key.bodyoffset" : 71511, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasInProgressReorders<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 297, - "key.line" : 1895, - "key.modulename" : "ListableUI", - "key.name" : "hasInProgressReorders", - "key.namelength" : 21, - "key.nameoffset" : 71481, - "key.offset" : 71477, - "key.parsed_declaration" : "private var hasInProgressReorders : Bool", - "key.parsed_scope.end" : 1906, - "key.parsed_scope.start" : 1895, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI8ListViewC21hasInProgressReorders33_A65B53D10B0C487915F0C0C4684244E8LLSbvp" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.bodylength" : 229, - "key.bodyoffset" : 71818, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 71800 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "SignpostLoggable" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 269, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 71789, - "key.offset" : 71779, - "key.parsed_declaration" : "extension ListView : SignpostLoggable", - "key.parsed_scope.end" : 1918, - "key.parsed_scope.start" : 1910, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> var signpostInfo: SignpostLoggingInfo<\/Type> { get }<\/Declaration>", - "key.bodylength" : 182, - "key.bodyoffset" : 71863, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> signpostInfo<\/decl.name>: SignpostLoggingInfo<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 223, - "key.line" : 1912, - "key.modulename" : "ListableUI", - "key.name" : "signpostInfo", - "key.namelength" : 12, - "key.nameoffset" : 71827, - "key.offset" : 71823, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI16SignpostLoggableP12signpostInfoAA0c7LoggingF0Vvp" - } - ], - "key.parsed_declaration" : "var signpostInfo : SignpostLoggingInfo", - "key.parsed_scope.end" : 1917, - "key.parsed_scope.start" : 1912, - "key.reusingastcontext" : false, - "key.typename" : "SignpostLoggingInfo", - "key.typeusr" : "$s10ListableUI19SignpostLoggingInfoVD", - "key.usr" : "s:10ListableUI8ListViewC12signpostInfoAA015SignpostLoggingF0Vvp" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIScrollView : UIView<\/Type>, NSCoding<\/Type>, UIFocusItemScrollableContainer<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 72051 - } - ], - "key.bodylength" : 273, - "key.bodyoffset" : 72087, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIScrollView.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIScrollView<\/decl.name> : UIView<\/ref.class>, NSCoding<\/ref.protocol>, UIFocusItemScrollableContainer<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 298, - "key.line" : 87, - "key.modulename" : "UIKit.UIScrollView", - "key.name" : "UIScrollView", - "key.namelength" : 12, - "key.nameoffset" : 72073, - "key.offset" : 72063, - "key.parsed_declaration" : "fileprivate extension UIScrollView", - "key.parsed_scope.end" : 1931, - "key.parsed_scope.start" : 1921, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "@MainActor<\/Type> func isScrolledNearBottom() -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 224, - "key.bodyoffset" : 72134, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> isScrolledNearBottom<\/decl.name>() -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 266, - "key.line" : 1924, - "key.modulename" : "ListableUI", - "key.name" : "isScrolledNearBottom()", - "key.namelength" : 22, - "key.nameoffset" : 72098, - "key.offset" : 72093, - "key.parsed_declaration" : "func isScrolledNearBottom() -> Bool", - "key.parsed_scope.end" : 1930, - "key.parsed_scope.start" : 1924, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIScrollView" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let viewHeight: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> viewHeight<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 40, - "key.line" : 1926, - "key.modulename" : "ListableUI", - "key.name" : "viewHeight", - "key.namelength" : 10, - "key.nameoffset" : 72147, - "key.offset" : 72143, - "key.parsed_declaration" : "let viewHeight = self.bounds.size.height", - "key.parsed_scope.end" : 1926, - "key.parsed_scope.start" : 1926, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:So12UIScrollViewC10ListableUIE20isScrolledNearBottom33_A65B53D10B0C487915F0C0C4684244E8LLSbyF10viewHeightL_14CoreFoundation7CGFloatVvp" - } - ], - "key.typename" : "(UIScrollView) -> () -> Bool", - "key.typeusr" : "$sSbycD", - "key.usr" : "s:So12UIScrollViewC10ListableUIE20isScrolledNearBottom33_A65B53D10B0C487915F0C0C4684244E8LLSbyF" - } - ], - "key.typename" : "UIScrollView.Type", - "key.typeusr" : "$sSo12UIScrollViewCmD", - "key.usr" : "c:objc(cs)UIScrollView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> final class CollectionView : ListView<\/Type>.IOS16_4_First_Responder_Bug_CollectionView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 72364 - } - ], - "key.bodylength" : 4067, - "key.bodyoffset" : 72446, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 51, - "key.offset" : 72393 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> CollectionView<\/decl.name> : ListView<\/ref.class>.IOS16_4_First_Responder_Bug_CollectionView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListView.IOS16_4_First_Responder_Bug_CollectionView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 4144, - "key.line" : 1934, - "key.modulename" : "ListableUI", - "key.name" : "CollectionView", - "key.namelength" : 14, - "key.nameoffset" : 72376, - "key.offset" : 72370, - "key.parsed_declaration" : "final class CollectionView : ListView.IOS16_4_First_Responder_Bug_CollectionView", - "key.parsed_scope.end" : 2030, - "key.parsed_scope.start" : 1934, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var verticalLayoutGravity: Behavior<\/Type>.VerticalLayoutGravity<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> verticalLayoutGravity<\/decl.name>: Behavior<\/ref.struct>.VerticalLayoutGravity<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 65, - "key.line" : 1936, - "key.modulename" : "ListableUI", - "key.name" : "verticalLayoutGravity", - "key.namelength" : 21, - "key.nameoffset" : 72460, - "key.offset" : 72456, - "key.parsed_declaration" : "var verticalLayoutGravity : Behavior.VerticalLayoutGravity = .top", - "key.parsed_scope.end" : 1936, - "key.parsed_scope.start" : 1936, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Behavior.VerticalLayoutGravity", - "key.typeusr" : "$s10ListableUI8BehaviorV21VerticalLayoutGravityOD", - "key.usr" : "s:10ListableUI14CollectionViewC21verticalLayoutGravityAA8BehaviorV08VerticalfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var layoutDirection: LayoutDirection<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> layoutDirection<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 1937, - "key.modulename" : "ListableUI", - "key.name" : "layoutDirection", - "key.namelength" : 15, - "key.nameoffset" : 72530, - "key.offset" : 72526, - "key.parsed_declaration" : "var layoutDirection: LayoutDirection = .vertical", - "key.parsed_scope.end" : 1937, - "key.parsed_scope.start" : 1937, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI14CollectionViewC15layoutDirectionAA06LayoutF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var ignoreBottomGravityOffsetOverride: Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Normally, using `VerticalLayoutGravity.bottom` will keep the viewport anchored at the bottom.\nThis happens in overrides of `contentSize`, `contentInset`, and `frame`. When this variable is\n`true`, the logic in those overrides is ignored. This can be used to ensure `AutoScrollAction`\nhas a chance to scroll to the desired item when mixing it with `VerticalLayoutGravity.bottom`.", - "key.doc.column" : 9, - "key.doc.comment" : "Normally, using `VerticalLayoutGravity.bottom` will keep the viewport anchored at the bottom.\nThis happens in overrides of `contentSize`, `contentInset`, and `frame`. When this variable is\n`true`, the logic in those overrides is ignored. This can be used to ensure `AutoScrollAction`\nhas a chance to scroll to the desired item when mixing it with `VerticalLayoutGravity.bottom`.", - "key.doc.declaration" : "@MainActor var ignoreBottomGravityOffsetOverride: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "ignoreBottomGravityOffsetOverride<\/Name>s:10ListableUI14CollectionViewC33ignoreBottomGravityOffsetOverrideSbvp<\/USR>@MainActor var ignoreBottomGravityOffsetOverride: Bool<\/Declaration>Normally, using VerticalLayoutGravity.bottom<\/codeVoice> will keep the viewport anchored at the bottom. This happens in overrides of contentSize<\/codeVoice>, contentInset<\/codeVoice>, and frame<\/codeVoice>. When this variable is true<\/codeVoice>, the logic in those overrides is ignored. This can be used to ensure AutoScrollAction<\/codeVoice> has a chance to scroll to the desired item when mixing it with VerticalLayoutGravity.bottom<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 1943, - "key.doc.name" : "ignoreBottomGravityOffsetOverride", - "key.doc.type" : "Other", - "key.doclength" : 407, - "key.docoffset" : 72584, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> ignoreBottomGravityOffsetOverride<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 51, - "key.line" : 1943, - "key.modulename" : "ListableUI", - "key.name" : "ignoreBottomGravityOffsetOverride", - "key.namelength" : 33, - "key.nameoffset" : 72999, - "key.offset" : 72995, - "key.parsed_declaration" : "var ignoreBottomGravityOffsetOverride: Bool = false", - "key.parsed_scope.end" : 1943, - "key.parsed_scope.start" : 1943, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14CollectionViewC33ignoreBottomGravityOffsetOverrideSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var contentSize: CGSize<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 73052 - } - ], - "key.bodylength" : 1178, - "key.bodyoffset" : 73086, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 1204, - "key.line" : 1945, - "key.modulename" : "ListableUI", - "key.name" : "contentSize", - "key.namelength" : 11, - "key.nameoffset" : 73065, - "key.offset" : 73061, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIScrollView(py)contentSize" - } - ], - "key.parsed_declaration" : "override var contentSize: CGSize", - "key.parsed_scope.end" : 1969, - "key.parsed_scope.start" : 1945, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionView(py)contentSize" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var contentInset: UIEdgeInsets<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 74272 - } - ], - "key.bodylength" : 906, - "key.bodyoffset" : 74313, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentInset<\/decl.name>: UIEdgeInsets<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 939, - "key.line" : 1971, - "key.modulename" : "ListableUI", - "key.name" : "contentInset", - "key.namelength" : 12, - "key.nameoffset" : 74285, - "key.offset" : 74281, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIScrollView(py)contentInset" - } - ], - "key.parsed_declaration" : "override var contentInset: UIEdgeInsets", - "key.parsed_scope.end" : 1990, - "key.parsed_scope.start" : 1971, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "UIEdgeInsets", - "key.typeusr" : "$sSo12UIEdgeInsetsVD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionView(py)contentInset" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var previousContentOffset: CGPoint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 75226 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> previousContentOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 42, - "key.line" : 1992, - "key.modulename" : "ListableUI", - "key.name" : "previousContentOffset", - "key.namelength" : 21, - "key.nameoffset" : 75238, - "key.offset" : 75234, - "key.parsed_declaration" : "private var previousContentOffset: CGPoint = .zero", - "key.parsed_scope.end" : 1992, - "key.parsed_scope.start" : 1992, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "s:10ListableUI14CollectionViewC21previousContentOffset33_A65B53D10B0C487915F0C0C4684244E8LLSo7CGPointVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var contentOffset: CGPoint<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 75281 - } - ], - "key.bodylength" : 77, - "key.bodyoffset" : 75318, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> contentOffset<\/decl.name>: CGPoint<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 106, - "key.line" : 1993, - "key.modulename" : "ListableUI", - "key.name" : "contentOffset", - "key.namelength" : 13, - "key.nameoffset" : 75294, - "key.offset" : 75290, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIScrollView(py)contentOffset" - } - ], - "key.parsed_declaration" : "override var contentOffset: CGPoint", - "key.parsed_scope.end" : 1997, - "key.parsed_scope.start" : 1993, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGPoint", - "key.typeusr" : "$sSo7CGPointVD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionView(py)contentOffset" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> var isContentScrollable: Bool<\/Type> { get }<\/Declaration>", - "key.bodylength" : 231, - "key.bodyoffset" : 75576, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns true when the content size is large enough that scrolling is possible\nwithout bouncing back to it's original position.", - "key.doc.column" : 9, - "key.doc.comment" : "Returns true when the content size is large enough that scrolling is possible\nwithout bouncing back to it's original position.", - "key.doc.declaration" : "@MainActor var isContentScrollable: Bool { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.doc.full_as_xml" : "isContentScrollable<\/Name>s:10ListableUI14CollectionViewC19isContentScrollableSbvp<\/USR>@MainActor var isContentScrollable: Bool { get }<\/Declaration>Returns true when the content size is large enough that scrolling is possible without bouncing back to it’s original position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 2001, - "key.doc.name" : "isContentScrollable", - "key.doc.type" : "Other", - "key.doclength" : 139, - "key.docoffset" : 75402, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> isContentScrollable<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 263, - "key.line" : 2001, - "key.modulename" : "ListableUI", - "key.name" : "isContentScrollable", - "key.namelength" : 19, - "key.nameoffset" : 75549, - "key.offset" : 75545, - "key.parsed_declaration" : "var isContentScrollable: Bool", - "key.parsed_scope.end" : 2009, - "key.parsed_scope.start" : 2001, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14CollectionViewC19isContentScrollableSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@MainActor<\/Type> override var frame: CGRect<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 75814 - } - ], - "key.bodylength" : 669, - "key.bodyoffset" : 75842, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> frame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 689, - "key.line" : 2011, - "key.modulename" : "ListableUI", - "key.name" : "frame", - "key.namelength" : 5, - "key.nameoffset" : 75827, - "key.offset" : 75823, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(py)frame" - } - ], - "key.parsed_declaration" : "override var frame: CGRect", - "key.parsed_scope.end" : 2029, - "key.parsed_scope.start" : 2011, - "key.related_decls" : [ - { - "key.annotated_decl" : "frame(forAlignmentRect:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionView(py)frame" - } - ], - "key.typename" : "CollectionView.Type", - "key.typeusr" : "$s10ListableUI14CollectionViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)CollectionView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1216, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class UpdateCallbacks<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 133 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 126 - } - ], - "key.bodylength" : 1052, - "key.bodyoffset" : 162, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> UpdateCallbacks<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1076, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "UpdateCallbacks", - "key.namelength" : 15, - "key.nameoffset" : 145, - "key.offset" : 139, - "key.parsed_declaration" : "public final class UpdateCallbacks", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let executionType: ExecutionType<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> executionType<\/decl.name>: ExecutionType<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 33, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "executionType", - "key.namelength" : 13, - "key.nameoffset" : 176, - "key.offset" : 172, - "key.parsed_declaration" : "let executionType : ExecutionType", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.typename" : "UpdateCallbacks.ExecutionType", - "key.typeusr" : "$s10ListableUI15UpdateCallbacksC13ExecutionTypeOD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC13executionTypeAC09ExecutionF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let wantsAnimations: Bool<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> wantsAnimations<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "wantsAnimations", - "key.namelength" : 15, - "key.nameoffset" : 214, - "key.offset" : 210, - "key.parsed_declaration" : "let wantsAnimations : Bool", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC15wantsAnimationsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(_ executionType: ExecutionType<\/Type>, wantsAnimations: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 95, - "key.bodyoffset" : 309, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> executionType<\/decl.var.parameter.name>: ExecutionType<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, wantsAnimations<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 159, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "init(_:wantsAnimations:)", - "key.namelength" : 61, - "key.nameoffset" : 246, - "key.offset" : 246, - "key.parsed_declaration" : "init(_ executionType : ExecutionType, wantsAnimations : Bool)", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UpdateCallbacks.Type) -> (UpdateCallbacks.ExecutionType, Bool) -> UpdateCallbacks", - "key.typeusr" : "$s_15wantsAnimations10ListableUI15UpdateCallbacksCAD13ExecutionTypeO_SbtcD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC_15wantsAnimationsA2C13ExecutionTypeO_Sbtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "deinit<\/Declaration>", - "key.bodylength" : 46, - "key.bodyoffset" : 423, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "deinit<\/syntaxtype.keyword><\/decl.function.destructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 55, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "deinit", - "key.namelength" : 6, - "key.nameoffset" : 415, - "key.offset" : 415, - "key.parsed_declaration" : "deinit", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UpdateCallbacks) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI15UpdateCallbacksCfd" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "private(set) var calls: [() -> ()] { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 476 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> calls<\/decl.name>: [() -> ()<\/tuple><\/decl.function.returntype>]<\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "calls", - "key.namelength" : 5, - "key.nameoffset" : 493, - "key.offset" : 489, - "key.parsed_declaration" : "private(set) var calls : [() -> ()] = []", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "[() -> ()]", - "key.typeusr" : "$sSayyycGD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC5callsSayyycGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func add(if performsCallbacks: Bool<\/Type>, _ call: @escaping () -> ())<\/Declaration>", - "key.bodylength" : 214, - "key.bodyoffset" : 598, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> add<\/decl.name>(if<\/decl.var.parameter.argument_label> performsCallbacks<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> call<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 283, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "add(if:_:)", - "key.namelength" : 61, - "key.nameoffset" : 535, - "key.offset" : 530, - "key.parsed_declaration" : "func add(if performsCallbacks : Bool, _ call : @escaping () -> ())", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UpdateCallbacks) -> (Bool, @escaping () -> ()) -> ()", - "key.typeusr" : "$s2if_ySb_yyctcD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC3add2if_ySb_yyctF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func performAnimation(_ animations: @escaping () -> ())<\/Declaration>", - "key.bodylength" : 161, - "key.bodyoffset" : 881, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> performAnimation<\/decl.name>(_<\/decl.var.parameter.argument_label> animations<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 220, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "performAnimation(_:)", - "key.namelength" : 51, - "key.nameoffset" : 828, - "key.offset" : 823, - "key.parsed_declaration" : "func performAnimation(_ animations : @escaping () -> ())", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UpdateCallbacks) -> (@escaping () -> ()) -> ()", - "key.typeusr" : "$syyyyccD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC16performAnimationyyyycF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func perform()<\/Declaration>", - "key.bodylength" : 65, - "key.bodyoffset" : 1069, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> perform<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 82, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "perform()", - "key.namelength" : 9, - "key.nameoffset" : 1058, - "key.offset" : 1053, - "key.parsed_declaration" : "func perform()", - "key.parsed_scope.end" : 51, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(UpdateCallbacks) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC7performyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "enum UpdateCallbacks<\/Type>.ExecutionType<\/Declaration>", - "key.bodylength" : 47, - "key.bodyoffset" : 1165, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "enum<\/syntaxtype.keyword> UpdateCallbacks<\/ref.class>.ExecutionType<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 68, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "ExecutionType", - "key.namelength" : 13, - "key.nameoffset" : 1150, - "key.offset" : 1145, - "key.parsed_declaration" : "enum ExecutionType", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 1174, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case immediate<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> immediate<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "immediate", - "key.namelength" : 9, - "key.nameoffset" : 1179, - "key.offset" : 1179, - "key.parsed_declaration" : "case immediate", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.typename" : "(UpdateCallbacks.ExecutionType.Type) -> UpdateCallbacks.ExecutionType", - "key.typeusr" : "$sy10ListableUI15UpdateCallbacksC13ExecutionTypeOAEmcD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC13ExecutionTypeO9immediateyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 10, - "key.offset" : 1197, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "case queue<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/UpdateCallbacks.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> queue<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 5, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "queue", - "key.namelength" : 5, - "key.nameoffset" : 1202, - "key.offset" : 1202, - "key.parsed_declaration" : "case queue", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "(UpdateCallbacks.ExecutionType.Type) -> UpdateCallbacks.ExecutionType", - "key.typeusr" : "$sy10ListableUI15UpdateCallbacksC13ExecutionTypeOAEmcD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC13ExecutionTypeO5queueyA2EmF" - } - ] - } - ], - "key.typename" : "UpdateCallbacks.ExecutionType.Type", - "key.typeusr" : "$s10ListableUI15UpdateCallbacksC13ExecutionTypeOmD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC13ExecutionTypeO" - } - ], - "key.typename" : "UpdateCallbacks.Type", - "key.typeusr" : "$s10ListableUI15UpdateCallbacksCmD", - "key.usr" : "s:10ListableUI15UpdateCallbacksC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 6108, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.open", - "key.annotated_decl" : "@MainActor<\/Type> open class ListViewController : UIViewController<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.open", - "key.length" : 4, - "key.offset" : 848 - } - ], - "key.bodylength" : 2993, - "key.bodyoffset" : 898, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A class which provides an easy way to set up and display a `ListView`,\nThe `ListViewController` itself manages setup and presentation of the `ListView`.\n\nAs a consumer of the API, all you need to do is override one method:\n```\nfunc configure(list : inout ListProperties) {\n ...\n}\n```\nIn which you set up and configure the list as needed.\n\nIn order to reload the list when content changes or other display changes are required, call\n```\nfunc reload(animated : Bool = false)\n```\nWhich will update the list with the new contents returned from your `configure` method.\nIf the `ListViewController`'s view is not loaded, this method has no effect.\n", - "key.doc.column" : 12, - "key.doc.comment" : "\nA class which provides an easy way to set up and display a `ListView`,\nThe `ListViewController` itself manages setup and presentation of the `ListView`.\n\nAs a consumer of the API, all you need to do is override one method:\n```\nfunc configure(list : inout ListProperties) {\n ...\n}\n```\nIn which you set up and configure the list as needed.\n\nIn order to reload the list when content changes or other display changes are required, call\n```\nfunc reload(animated : Bool = false)\n```\nWhich will update the list with the new contents returned from your `configure` method.\nIf the `ListViewController`'s view is not loaded, this method has no effect.", - "key.doc.declaration" : "@MainActor open class ListViewController : UIViewController", - "key.doc.discussion" : [ - { - "Para" : "As a consumer of the API, all you need to do is override one method:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "In which you set up and configure the list as needed." - }, - { - "Para" : "In order to reload the list when content changes or other display changes are required, call" - }, - { - "CodeListing" : "" - }, - { - "Para" : "Which will update the list with the new contents returned from your `configure` method. If the `ListViewController`’s view is not loaded, this method has no effect." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.doc.full_as_xml" : "ListViewController<\/Name>c:@M@ListableUI@objc(cs)ListViewController<\/USR>@MainActor open class ListViewController : UIViewController<\/Declaration>A class which provides an easy way to set up and display a ListView<\/codeVoice>, The ListViewController<\/codeVoice> itself manages setup and presentation of the ListView<\/codeVoice>.<\/Para><\/Abstract>As a consumer of the API, all you need to do is override one method:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>In which you set up and configure the list as needed.<\/Para>In order to reload the list when content changes or other display changes are required, call<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Which will update the list with the new contents returned from your configure<\/codeVoice> method. If the ListViewController<\/codeVoice>’s view is not loaded, this method has no effect.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 31, - "key.doc.name" : "ListViewController", - "key.doc.type" : "Class", - "key.doclength" : 719, - "key.docoffset" : 129, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 16, - "key.offset" : 880 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> open<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListViewController<\/decl.name> : UIViewController<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIViewController" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3039, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "ListViewController", - "key.namelength" : 18, - "key.nameoffset" : 859, - "key.offset" : 853, - "key.parsed_declaration" : "open class ListViewController : UIViewController", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 19, - "key.name" : "MARK: Configuration", - "key.offset" : 913 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var clearsSelectionOnViewWillAppear: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1183 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value for `clearsSelectionOnViewWillAppear` is true.\nThis parameter allows mirroring the `clearsSelectionOnViewWillAppear`\nas available from `UITableViewController` or `UICollectionViewController`.", - "key.doc.column" : 16, - "key.doc.comment" : "The default value for `clearsSelectionOnViewWillAppear` is true.\nThis parameter allows mirroring the `clearsSelectionOnViewWillAppear`\nas available from `UITableViewController` or `UICollectionViewController`.", - "key.doc.declaration" : "@MainActor public var clearsSelectionOnViewWillAppear: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.doc.full_as_xml" : "clearsSelectionOnViewWillAppear<\/Name>s:10ListableUI18ListViewControllerC017clearsSelectionOnD10WillAppearSbvp<\/USR>@MainActor public var clearsSelectionOnViewWillAppear: Bool<\/Declaration>The default value for clearsSelectionOnViewWillAppear<\/codeVoice> is true. This parameter allows mirroring the clearsSelectionOnViewWillAppear<\/codeVoice> as available from UITableViewController<\/codeVoice> or UICollectionViewController<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 40, - "key.doc.name" : "clearsSelectionOnViewWillAppear", - "key.doc.type" : "Other", - "key.doclength" : 230, - "key.docoffset" : 949, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> clearsSelectionOnViewWillAppear<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 49, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "clearsSelectionOnViewWillAppear", - "key.namelength" : 31, - "key.nameoffset" : 1194, - "key.offset" : 1190, - "key.parsed_declaration" : "public var clearsSelectionOnViewWillAppear : Bool = true", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI18ListViewControllerC017clearsSelectionOnD10WillAppearSbvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Methods To Override", - "key.offset" : 1259 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.open", - "key.annotated_decl" : "@MainActor<\/Type> open func configure(list: inout ListProperties<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.open", - "key.length" : 4, - "key.offset" : 2278 - } - ], - "key.bodylength" : 140, - "key.bodyoffset" : 2332, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Override this method to configure your list how you'd like to.\nThe properties on `ListProperties` closely mirror those on `ListView`\nitself, allowing you to fully configure and work with a list without needing to maintain\nand manage the view instance yourself.\n\nExample\n-------\n```\noverride func configure(list : inout ListProperties)\n{\n list.appearance = .myAppearance\n\n list.layout = .table { appearance in\n \/\/ Configure the appearance.\n }\n\n list.stateObserver.onContentChanged { info in\n MyLogger.log(...)\n }\n\n list(\"first-section\") { section in\n section += self.myPodcasts.map { podcast in\n PodcastItem(podcast)\n }\n }\n}\n```\nYou should not call super in your overridden implementation.\n", - "key.doc.column" : 15, - "key.doc.comment" : "Override this method to configure your list how you'd like to.\nThe properties on `ListProperties` closely mirror those on `ListView`\nitself, allowing you to fully configure and work with a list without needing to maintain\nand manage the view instance yourself.\n\nExample\n-------\n```\noverride func configure(list : inout ListProperties)\n{\n list.appearance = .myAppearance\n\n list.layout = .table { appearance in\n \/\/ Configure the appearance.\n }\n\n list.stateObserver.onContentChanged { info in\n MyLogger.log(...)\n }\n\n list(\"first-section\") { section in\n section += self.myPodcasts.map { podcast in\n PodcastItem(podcast)\n }\n }\n}\n```\nYou should not call super in your overridden implementation.", - "key.doc.declaration" : "@MainActor open func configure(list: inout ListProperties)", - "key.doc.discussion" : [ - { - "CodeListing" : "" - }, - { - "Para" : "You should not call super in your overridden implementation." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.doc.full_as_xml" : "configure(list:)<\/Name>s:10ListableUI18ListViewControllerC9configure4listyAA0C10PropertiesVz_tF<\/USR>@MainActor open func configure(list: inout ListProperties)<\/Declaration>Override this method to configure your list how you’d like to. The properties on ListProperties<\/codeVoice> closely mirror those on ListView<\/codeVoice> itself, allowing you to fully configure and work with a list without needing to maintain and manage the view instance yourself.<\/Para><\/Abstract>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You should not call super in your overridden implementation.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 75, - "key.doc.name" : "configure(list:)", - "key.doc.type" : "Function", - "key.doclength" : 973, - "key.docoffset" : 1301, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> open<\/syntaxtype.keyword> func<\/syntaxtype.keyword> configure<\/decl.name>(list<\/decl.var.parameter.argument_label>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 190, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "configure(list:)", - "key.namelength" : 38, - "key.nameoffset" : 2288, - "key.offset" : 2283, - "key.parsed_declaration" : "open func configure(list : inout ListProperties)", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 75, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListViewController) -> (inout ListProperties) -> ()", - "key.typeusr" : "$s4listy10ListableUI14ListPropertiesVz_tcD", - "key.usr" : "s:10ListableUI18ListViewControllerC9configure4listyAA0C10PropertiesVz_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: Updating Content", - "key.offset" : 2493 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func reload(animated: Bool<\/Type> = false)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2532 - } - ], - "key.bodylength" : 216, - "key.bodyoffset" : 2581, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> reload<\/decl.name>(animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 259, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "reload(animated:)", - "key.namelength" : 31, - "key.nameoffset" : 2544, - "key.offset" : 2539, - "key.parsed_declaration" : "public func reload(animated : Bool = false)", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 84, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListViewController) -> (Bool) -> ()", - "key.typeusr" : "$s8animatedySb_tcD", - "key.usr" : "s:10ListableUI18ListViewControllerC6reload8animatedySb_tF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 36, - "key.name" : "MARK: - Internal & Private Methods -", - "key.offset" : 2819 - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 2880 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override init(nibName nibNameOrNil: String<\/Type>?, bundle nibBundleOrNil: Bundle<\/Type>?)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 2917 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2910 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 2999, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(nibName<\/decl.var.parameter.argument_label> nibNameOrNil<\/decl.var.parameter.name>: String<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, bundle<\/decl.var.parameter.argument_label> nibBundleOrNil<\/decl.var.parameter.name>: Bundle<\/ref.class>?<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "init(nibName:bundle:)", - "key.namelength" : 67, - "key.nameoffset" : 2926, - "key.offset" : 2926, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIViewController(im)initWithNibName:bundle:" - } - ], - "key.parsed_declaration" : "public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)", - "key.parsed_scope.end" : 107, - "key.parsed_scope.start" : 104, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListViewController.Type) -> (String?, Bundle?) -> ListViewController", - "key.typeusr" : "$s7nibName6bundle10ListableUI18ListViewControllerCSSSg_So8NSBundleCSgtcD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController(im)initWithNibName:bundle:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3097 - }, - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 3088 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 3061 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 3127, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 3104, - "key.offset" : 3104, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 22, - "key.name" : "MARK: UIViewController", - "key.offset" : 3155 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var listView: ListView<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3187 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 113, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 3199, - "key.offset" : 3195, - "key.parsed_declaration" : "private var listView : ListView?", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 113, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ListView?", - "key.typeusr" : "$s10ListableUI8ListViewCSgD", - "key.usr" : "s:10ListableUI18ListViewControllerC04listD033_DC99612B3D31C7F2F5DBD5D5F3AE042ELLAA0cD0CSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func loadView()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3236 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3229 - } - ], - "key.bodylength" : 110, - "key.bodyoffset" : 3262, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> loadView<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 128, - "key.line" : 115, - "key.modulename" : "ListableUI", - "key.name" : "loadView()", - "key.namelength" : 10, - "key.nameoffset" : 3250, - "key.offset" : 3245, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIViewController(im)loadView" - } - ], - "key.parsed_declaration" : "public override func loadView()", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 115, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let listView: ListView<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 25, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 3275, - "key.offset" : 3271, - "key.parsed_declaration" : "let listView = ListView()", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.typename" : "ListView", - "key.typeusr" : "$s10ListableUI8ListViewCD", - "key.usr" : "s:10ListableUI18ListViewControllerC04loadD0yyF04listD0L_AA0cD0Cvp" - } - ], - "key.typename" : "(ListViewController) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController(im)loadView" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var hasViewAppeared: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3383 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> hasViewAppeared<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "hasViewAppeared", - "key.namelength" : 15, - "key.nameoffset" : 3395, - "key.offset" : 3391, - "key.parsed_declaration" : "private var hasViewAppeared : Bool = false", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 122, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI18ListViewControllerC03hasD8Appeared33_DC99612B3D31C7F2F5DBD5D5F3AE042ELLSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.open", - "key.annotated_decl" : "@MainActor<\/Type> open override func viewWillAppear(_ animated: Bool<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3440 - }, - { - "key.attribute" : "source.decl.attribute.open", - "key.length" : 4, - "key.offset" : 3435 - } - ], - "key.bodylength" : 397, - "key.bodyoffset" : 3492, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> open<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> viewWillAppear<\/decl.name>(_<\/decl.var.parameter.argument_label> animated<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 441, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "viewWillAppear(_:)", - "key.namelength" : 32, - "key.nameoffset" : 3454, - "key.offset" : 3449, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIViewController(im)viewWillAppear:" - } - ], - "key.parsed_declaration" : "open override func viewWillAppear(_ animated: Bool)", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 124, - "key.receivers" : [ - { - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ListViewController) -> (Bool) -> ()", - "key.typeusr" : "$syySbcD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController(im)viewWillAppear:" - } - ], - "key.typename" : "ListViewController.Type", - "key.typeusr" : "$s10ListableUI18ListViewControllerCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListViewController" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public final class ListView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3895 - } - ], - "key.bodylength" : 2184, - "key.bodyoffset" : 3922, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListView\/ListView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ListView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 2205, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ListView", - "key.namelength" : 8, - "key.nameoffset" : 3912, - "key.offset" : 3902, - "key.parsed_declaration" : "public extension ListView", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 140, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator<\/Type>?, animated: Bool<\/Type>)<\/Declaration>", - "key.bodylength" : 1301, - "key.bodyoffset" : 4803, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A method which provides `Behavior.SelectionMode.single`'s `clearsSelectionOnViewWillAppear` behaviour.\nBy default, this method is called by `ListViewController`. However if you are not using `ListViewController` you\nwill need to call this method yourself one of two ways:\n\n1) If subclassing `UIViewController`: within your view controller's `viewWillAppear` method.\n\n2) By invoking this same method on your `ListActions` that you have wired up to your list view. Use this\nin the case that you do not have access to your list view at all, such as when using `BlueprintUILists`.\n\n\/\/ Behaviour from UIKit Eng: https:\/\/twitter.com\/smileyborg\/status\/1279473615553982464\n", - "key.doc.column" : 10, - "key.doc.comment" : "A method which provides `Behavior.SelectionMode.single`'s `clearsSelectionOnViewWillAppear` behaviour.\nBy default, this method is called by `ListViewController`. However if you are not using `ListViewController` you\nwill need to call this method yourself one of two ways:\n\n1) If subclassing `UIViewController`: within your view controller's `viewWillAppear` method.\n\n2) By invoking this same method on your `ListActions` that you have wired up to your list view. Use this\nin the case that you do not have access to your list view at all, such as when using `BlueprintUILists`.\n\n\/\/ Behaviour from UIKit Eng: https:\/\/twitter.com\/smileyborg\/status\/1279473615553982464", - "key.doc.declaration" : "@MainActor func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator?, animated: Bool)", - "key.doc.discussion" : [ - { - "List-Number" : "" - }, - { - "Para" : "\/\/ Behaviour from UIKit Eng: https:\/\/twitter.com\/smileyborg\/status\/1279473615553982464" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.doc.full_as_xml" : "clearSelectionDuringViewWillAppear(alongside:animated:)<\/Name>s:10ListableUI8ListViewC020clearSelectionDuringD10WillAppear9alongside8animatedySo37UIViewControllerTransitionCoordinator_pSg_SbtF<\/USR>@MainActor func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator?, animated: Bool)<\/Declaration>A method which provides Behavior.SelectionMode.single<\/codeVoice>’s clearsSelectionOnViewWillAppear<\/codeVoice> behaviour. By default, this method is called by ListViewController<\/codeVoice>. However if you are not using ListViewController<\/codeVoice> you will need to call this method yourself one of two ways:<\/Para><\/Abstract>If subclassing UIViewController<\/codeVoice>: within your view controller’s viewWillAppear<\/codeVoice> method.<\/Para><\/Item>By invoking this same method on your ListActions<\/codeVoice> that you have wired up to your list view. Use this in the case that you do not have access to your list view at all, such as when using BlueprintUILists<\/codeVoice>.<\/Para><\/Item><\/List-Number>\/\/ Behaviour from UIKit Eng: https:\/\/twitter.com\/smileyborg\/status\/1279473615553982464<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 153, - "key.doc.name" : "clearSelectionDuringViewWillAppear(alongside:animated:)", - "key.doc.type" : "Function", - "key.doclength" : 746, - "key.docoffset" : 3932, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> clearSelectionDuringViewWillAppear<\/decl.name>(alongside<\/decl.var.parameter.argument_label> coordinator<\/decl.var.parameter.name>: UIViewControllerTransitionCoordinator<\/ref.protocol>?<\/decl.var.parameter.type><\/decl.var.parameter>, animated<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1423, - "key.line" : 153, - "key.modulename" : "ListableUI", - "key.name" : "clearSelectionDuringViewWillAppear(alongside:animated:)", - "key.namelength" : 114, - "key.nameoffset" : 4687, - "key.offset" : 4682, - "key.parsed_declaration" : "func clearSelectionDuringViewWillAppear(alongside coordinator: UIViewControllerTransitionCoordinator?, animated : Bool)", - "key.parsed_scope.end" : 185, - "key.parsed_scope.start" : 153, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let item: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewController.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 56, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5062, - "key.offset" : 5058, - "key.parsed_declaration" : "let item = storage.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 163, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI8ListViewC020clearSelectionDuringD10WillAppear9alongside8animatedySo37UIViewControllerTransitionCoordinator_pSg_SbtF4itemL_AA24AnyPresentationItemState_pvp" - } - ], - "key.typename" : "(ListView) -> ((any UIViewControllerTransitionCoordinator)?, Bool) -> ()", - "key.typeusr" : "$s9alongside8animatedySo37UIViewControllerTransitionCoordinator_pSg_SbtcD", - "key.usr" : "s:10ListableUI8ListViewC020clearSelectionDuringD10WillAppear9alongside8animatedySo37UIViewControllerTransitionCoordinator_pSg_SbtF" - } - ], - "key.typename" : "ListView.Type", - "key.typeusr" : "$s10ListableUI8ListViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ListView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4165, - "key.offset" : 0, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 41, - "key.name" : "TODO: Rename this all to ContentProvider?", - "key.offset" : 110 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListViewSource<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 154 - } - ], - "key.bodylength" : 182, - "key.bodyoffset" : 186, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListViewSource<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 208, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "ListViewSource", - "key.namelength" : 14, - "key.nameoffset" : 170, - "key.offset" : 161, - "key.parsed_declaration" : "public protocol ListViewSource", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "associatedtype State : Equatable<\/Type><\/Declaration>", - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "associatedtype<\/syntaxtype.keyword> State<\/decl.name> : Equatable<\/ref.protocol><\/decl.associatedtype>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.associatedtype", - "key.length" : 30, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "State", - "key.namelength" : 5, - "key.nameoffset" : 206, - "key.offset" : 191, - "key.parsed_declaration" : "associatedtype State:Equatable", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self.State.Type", - "key.typeusr" : "$s5StateQzmD", - "key.usr" : "s:10ListableUI14ListViewSourceP5StateQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func content(with state: SourceState<\/Type><State<\/Type>>, content: inout Content<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><State<\/ref.associatedtype>><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 70, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "content(with:content:)", - "key.namelength" : 65, - "key.nameoffset" : 236, - "key.offset" : 231, - "key.parsed_declaration" : "func content(with state : SourceState, content : inout Content)", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "content(with: SourceState<State>) -> Content<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with: SourceState<State>) -> Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (SourceState, inout Content) -> ()", - "key.typeusr" : "$s4with7contenty10ListableUI11SourceStateCy0F0QzG_AC7ContentVztcD", - "key.usr" : "s:10ListableUI14ListViewSourceP7content4withADyAA0E5StateCy0H0QzG_AA7ContentVztF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func content(with state: SourceState<\/Type><State<\/Type>>) -> Content<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><State<\/ref.associatedtype>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Content<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 56, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "content(with:)", - "key.namelength" : 40, - "key.nameoffset" : 316, - "key.offset" : 311, - "key.parsed_declaration" : "func content(with state : SourceState) -> Content", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "content(with:content:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with: SourceState<State>) -> Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (SourceState) -> Content", - "key.typeusr" : "$s4with10ListableUI7ContentVAB11SourceStateCy0F0QzG_tcD", - "key.usr" : "s:10ListableUI14ListViewSourceP7content4withAA7ContentVAA0E5StateCy0I0QzG_tF" - } - ], - "key.typename" : "ListViewSource.Type", - "key.typeusr" : "$s10ListableUI14ListViewSource_pmD", - "key.usr" : "s:10ListableUI14ListViewSourceP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol ListViewSource<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 372 - } - ], - "key.bodylength" : 179, - "key.bodyoffset" : 405, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> ListViewSource<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 206, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "ListViewSource", - "key.namelength" : 14, - "key.nameoffset" : 389, - "key.offset" : 379, - "key.parsed_declaration" : "public extension ListViewSource", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "func content(with state: SourceState<\/Type><State<\/Type>>) -> Content<\/Type><\/Declaration>", - "key.bodylength" : 110, - "key.bodyoffset" : 472, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><State<\/ref.associatedtype>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Content<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 173, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "content(with:)", - "key.namelength" : 40, - "key.nameoffset" : 415, - "key.offset" : 410, - "key.parsed_declaration" : "func content(with state : SourceState) -> Content", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 26, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP" - } - ], - "key.related_decls" : [ - { - "key.annotated_decl" : "content(with:content:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with: SourceState<State>) -> Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (SourceState) -> Content", - "key.typeusr" : "$s4with10ListableUI7ContentVAB11SourceStateCy0F0QzG_tcD", - "key.usr" : "s:10ListableUI14ListViewSourcePAAE7content4withAA7ContentVAA0E5StateCy0I0QzG_tF" - } - ], - "key.typename" : "ListViewSource.Type", - "key.typeusr" : "$s10ListableUI14ListViewSource_pmD", - "key.usr" : "s:10ListableUI14ListViewSourceP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal protocol AnySourcePresenter<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 588 - } - ], - "key.bodylength" : 61, - "key.bodyoffset" : 626, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnySourcePresenter<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 91, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "AnySourcePresenter", - "key.namelength" : 18, - "key.nameoffset" : 606, - "key.offset" : 597, - "key.parsed_declaration" : "internal protocol AnySourcePresenter", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func discard()<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> discard<\/decl.name>()<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 14, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "discard()", - "key.namelength" : 9, - "key.nameoffset" : 636, - "key.offset" : 631, - "key.parsed_declaration" : "func discard()", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI18AnySourcePresenterP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI18AnySourcePresenterP7discardyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func reloadContent() -> Content<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> reloadContent<\/decl.name>() -> Content<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 31, - "key.line" : 39, - "key.modulename" : "ListableUI", - "key.name" : "reloadContent()", - "key.namelength" : 15, - "key.nameoffset" : 660, - "key.offset" : 655, - "key.parsed_declaration" : "func reloadContent() -> Content", - "key.parsed_scope.end" : 39, - "key.parsed_scope.start" : 39, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI18AnySourcePresenterP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : " (Self) -> () -> Content", - "key.typeusr" : "$s10ListableUI7ContentVycD", - "key.usr" : "s:10ListableUI18AnySourcePresenterP13reloadContentAA0G0VyF" - } - ], - "key.typename" : "AnySourcePresenter.Type", - "key.typeusr" : "$s10ListableUI18AnySourcePresenter_pmD", - "key.usr" : "s:10ListableUI18AnySourcePresenterP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal final class SourcePresenter<Source> : AnySourcePresenter<\/Type> where Source<\/Type> : ListViewSource<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 700 - }, - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 691 - } - ], - "key.bodylength" : 681, - "key.bodyoffset" : 773, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 18, - "key.offset" : 753 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SourcePresenter<\/decl.name><Source<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnySourcePresenter<\/ref.protocol> where<\/syntaxtype.keyword> Source<\/ref.generic_type_param> : ListViewSource<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "AnySourcePresenter" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 749, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "SourcePresenter", - "key.namelength" : 15, - "key.nameoffset" : 712, - "key.offset" : 706, - "key.parsed_declaration" : "internal final class SourcePresenter : AnySourcePresenter", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Source : ListViewSource<\/Type><\/Declaration>", - "key.column" : 38, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 735 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "Source<\/decl.generic_type_param.name> : ListViewSource<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ListViewSource" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 21, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "Source", - "key.namelength" : 6, - "key.nameoffset" : 728, - "key.offset" : 728, - "key.parsed_declaration" : "internal final class SourcePresenterlet source: Source<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> source<\/decl.name>: Source<\/ref.generic_type_param><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "source", - "key.namelength" : 6, - "key.nameoffset" : 782, - "key.offset" : 778, - "key.parsed_declaration" : "let source : Source", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 45, - "key.reusingastcontext" : false, - "key.typename" : "Source", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI15SourcePresenterC6sourcexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var state: Source<\/Type>.State<\/Type> { get set }<\/Declaration>", - "key.bodylength" : 101, - "key.bodyoffset" : 833, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> state<\/decl.name>: Source<\/ref.generic_type_param>.State<\/ref.associatedtype><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 128, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 811, - "key.offset" : 807, - "key.parsed_declaration" : "var state : Source.State", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Source.State", - "key.typeusr" : "$s5StateQzD", - "key.usr" : "s:10ListableUI15SourcePresenterC5state5StateQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var sourceState: SourceState<\/Type><Source<\/Type>.State<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 945 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sourceState<\/decl.name>: SourceState<\/ref.class><Source<\/ref.generic_type_param>.State<\/ref.associatedtype>><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "sourceState", - "key.namelength" : 11, - "key.nameoffset" : 957, - "key.offset" : 953, - "key.parsed_declaration" : "private var sourceState : SourceState", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "SourceState", - "key.typeusr" : "$s10ListableUI11SourceStateCy0D0QzGD", - "key.usr" : "s:10ListableUI15SourcePresenterC11sourceState33_CF25259F06308DE512677216FCD79C8DLLAA0cF0Cy0F0QzGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(initial: Source<\/Type>.State<\/Type>, source: Source<\/Type>, didChange: @escaping () -> () = {})<\/Declaration>", - "key.bodylength" : 122, - "key.bodyoffset" : 1094, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(initial<\/decl.var.parameter.argument_label>: Source<\/ref.generic_type_param>.State<\/ref.associatedtype><\/decl.var.parameter.type><\/decl.var.parameter>, source<\/decl.var.parameter.argument_label>: Source<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, didChange<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = {}<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 211, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "init(initial:source:didChange:)", - "key.namelength" : 82, - "key.nameoffset" : 1006, - "key.offset" : 1006, - "key.parsed_declaration" : "init(initial : Source.State, source : Source, didChange : @escaping () -> () = {})", - "key.parsed_scope.end" : 59, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SourcePresenter.Type) -> (Source.State, Source, @escaping () -> ()) -> SourcePresenter", - "key.typeusr" : "$s7initial6source9didChange10ListableUI15SourcePresenterCyxG5StateQz_xyyctcD", - "key.usr" : "s:10ListableUI15SourcePresenterC7initial6source9didChangeACyxG5StateQz_xyyctcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 31, - "key.name" : "MARK: TableViewSourceController", - "key.offset" : 1230 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func discard()<\/Declaration>", - "key.bodylength" : 40, - "key.bodyoffset" : 1291, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> discard<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 61, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "discard()", - "key.namelength" : 9, - "key.nameoffset" : 1276, - "key.offset" : 1271, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18AnySourcePresenterP7discardyyF" - } - ], - "key.parsed_declaration" : "func discard()", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SourcePresenter) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI15SourcePresenterC7discardyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func reloadContent() -> Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 1342 - } - ], - "key.bodylength" : 64, - "key.bodyoffset" : 1388, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> reloadContent<\/decl.name>() -> Content<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 102, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "reloadContent()", - "key.namelength" : 15, - "key.nameoffset" : 1356, - "key.offset" : 1351, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI18AnySourcePresenterP13reloadContentAA0G0VyF" - } - ], - "key.parsed_declaration" : "internal func reloadContent() -> Content", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SourcePresenter) -> () -> Content", - "key.typeusr" : "$s10ListableUI7ContentVycD", - "key.usr" : "s:10ListableUI15SourcePresenterC13reloadContentAA0F0VyF" - } - ], - "key.typename" : "SourcePresenter.Type", - "key.typeusr" : "$s10ListableUI15SourcePresenterCyxGmD", - "key.usr" : "s:10ListableUI15SourcePresenterC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class StateAccessor<State> where State<\/Type> : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 1465 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1458 - } - ], - "key.bodylength" : 323, - "key.bodyoffset" : 1509, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> StateAccessor<\/decl.name><State<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> State<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 362, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "StateAccessor", - "key.namelength" : 13, - "key.nameoffset" : 1477, - "key.offset" : 1471, - "key.parsed_declaration" : "public final class StateAccessor", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "State : Equatable<\/Type><\/Declaration>", - "key.column" : 34, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1497 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "State<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 15, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "State", - "key.namelength" : 5, - "key.nameoffset" : 1491, - "key.offset" : 1491, - "key.parsed_declaration" : "public final class StateAccessorpublic var value: State<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1514 - } - ], - "key.bodylength" : 74, - "key.bodyoffset" : 1540, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> value<\/decl.name>: State<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 94, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 1525, - "key.offset" : 1521, - "key.parsed_declaration" : "public var value : State", - "key.parsed_scope.end" : 80, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "State", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI13StateAccessorC5valuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let get: () -> State<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1625 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> get<\/decl.name>: () -> State<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "get", - "key.namelength" : 3, - "key.nameoffset" : 1637, - "key.offset" : 1633, - "key.parsed_declaration" : "private let get : () -> State", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.typename" : "() -> State", - "key.typeusr" : "$sxycD", - "key.usr" : "s:10ListableUI13StateAccessorC3get33_CF25259F06308DE512677216FCD79C8DLLxycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private let set: (State<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1659 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> set<\/decl.name>: (State<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "set", - "key.namelength" : 3, - "key.nameoffset" : 1671, - "key.offset" : 1667, - "key.parsed_declaration" : "private let set : (State) -> ()", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.typename" : "(State) -> ()", - "key.typeusr" : "$syyxcD", - "key.usr" : "s:10ListableUI13StateAccessorC3set33_CF25259F06308DE512677216FCD79C8DLLyyxcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal init(get: @escaping () -> State<\/Type>, set: @escaping (State<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 1700 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 1779, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(get<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> State<\/ref.generic_type_param><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, set<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (State<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 122, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "init(get:set:)", - "key.namelength" : 64, - "key.nameoffset" : 1709, - "key.offset" : 1709, - "key.parsed_declaration" : "internal init(get : @escaping () -> State, set : @escaping (State) -> ())", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (StateAccessor.Type) -> (@escaping () -> State, @escaping (State) -> ()) -> StateAccessor", - "key.typeusr" : "$s3get3set10ListableUI13StateAccessorCyxGxyc_yxctcD", - "key.usr" : "s:10ListableUI13StateAccessorC3get3setACyxGxyc_yxctcfc" - } - ], - "key.typename" : "StateAccessor.Type", - "key.typeusr" : "$s10ListableUI13StateAccessorCyxGmD", - "key.usr" : "s:10ListableUI13StateAccessorC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class SourceState<Value> where Value<\/Type> : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 1843 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1836 - } - ], - "key.bodylength" : 601, - "key.bodyoffset" : 1885, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> SourceState<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Value<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 638, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "SourceState", - "key.namelength" : 11, - "key.nameoffset" : 1855, - "key.offset" : 1849, - "key.parsed_declaration" : "public final class SourceState", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value : Equatable<\/Type><\/Declaration>", - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1873 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 15, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 1867, - "key.offset" : 1867, - "key.parsed_declaration" : "public final class SourceStatepublic var value: Value<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1890 - } - ], - "key.bodylength" : 132, - "key.bodyoffset" : 1916, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> value<\/decl.name>: Value<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 152, - "key.line" : 95, - "key.modulename" : "ListableUI", - "key.name" : "value", - "key.namelength" : 5, - "key.nameoffset" : 1901, - "key.offset" : 1897, - "key.parsed_declaration" : "public var value : Value", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 95, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Value", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI11SourceStateC5valuexvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func set(_ block: (inout Value<\/Type>) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2059 - } - ], - "key.bodylength" : 97, - "key.bodyoffset" : 2111, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> set<\/decl.name>(_<\/decl.var.parameter.argument_label> block<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 143, - "key.line" : 103, - "key.modulename" : "ListableUI", - "key.name" : "set(_:)", - "key.namelength" : 34, - "key.nameoffset" : 2071, - "key.offset" : 2066, - "key.parsed_declaration" : "public func set(_ block : (inout Value) -> ())", - "key.parsed_scope.end" : 110, - "key.parsed_scope.start" : 103, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "var new: Value<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> new<\/decl.name>: Value<\/ref.generic_type_param><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 20, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "new", - "key.namelength" : 3, - "key.nameoffset" : 2124, - "key.offset" : 2120, - "key.parsed_declaration" : "var new = self.value", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.typename" : "Value", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI11SourceStateC3setyyyxzXEF3newL_xvp" - } - ], - "key.typename" : " (SourceState) -> ((inout Value) -> ()) -> ()", - "key.typeusr" : "$syyyxzXEcD", - "key.usr" : "s:10ListableUI11SourceStateC3setyyyxzXEF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(initial value: Value<\/Type>, didChange: @escaping () -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2219 - } - ], - "key.bodylength" : 76, - "key.bodyoffset" : 2291, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(initial<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, didChange<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 142, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "init(initial:didChange:)", - "key.namelength" : 59, - "key.nameoffset" : 2226, - "key.offset" : 2226, - "key.parsed_declaration" : "public init(initial value : Value, didChange : @escaping () -> ())", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 112, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (SourceState.Type) -> (Value, @escaping () -> ()) -> SourceState", - "key.typeusr" : "$s7initial9didChange10ListableUI11SourceStateCyxGx_yyctcD", - "key.usr" : "s:10ListableUI11SourceStateC7initial9didChangeACyxGx_yyctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func discard()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2378 - } - ], - "key.bodylength" : 34, - "key.bodyoffset" : 2405, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> discard<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 55, - "key.line" : 119, - "key.modulename" : "ListableUI", - "key.name" : "discard()", - "key.namelength" : 9, - "key.nameoffset" : 2390, - "key.offset" : 2385, - "key.parsed_declaration" : "public func discard()", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 119, - "key.reusingastcontext" : false, - "key.typename" : " (SourceState) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI11SourceStateC7discardyyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var didChange: (() -> ())?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 2450 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> didChange<\/decl.name>: (() -> ()<\/tuple><\/decl.function.returntype><\/tuple.element.type><\/tuple.element>)<\/tuple>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 124, - "key.modulename" : "ListableUI", - "key.name" : "didChange", - "key.namelength" : 9, - "key.nameoffset" : 2462, - "key.offset" : 2458, - "key.parsed_declaration" : "private var didChange : (() -> ())?", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 124, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(() -> ())?", - "key.typeusr" : "$syycSgD", - "key.usr" : "s:10ListableUI11SourceStateC9didChange33_CF25259F06308DE512677216FCD79C8DLLyycSgvp" - } - ], - "key.typename" : "SourceState.Type", - "key.typeusr" : "$s10ListableUI11SourceStateCyxGmD", - "key.usr" : "s:10ListableUI11SourceStateC" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 26, - "key.name" : "MARK: Block-Driven Sources", - "key.offset" : 2496 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class DynamicSource<Input> : ListViewSource<\/Type> where Input<\/Type> : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 2535 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2528 - } - ], - "key.bodylength" : 338, - "key.bodyoffset" : 2596, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 2580 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> DynamicSource<\/decl.name><Input<\/decl.generic_type_param.name><\/decl.generic_type_param>> : ListViewSource<\/ref.protocol> where<\/syntaxtype.keyword> Input<\/ref.generic_type_param> : Equatable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListViewSource" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 394, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "DynamicSource", - "key.namelength" : 13, - "key.nameoffset" : 2547, - "key.offset" : 2541, - "key.parsed_declaration" : "public final class DynamicSource : ListViewSource", - "key.parsed_scope.end" : 148, - "key.parsed_scope.start" : 133, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Input : Equatable<\/Type><\/Declaration>", - "key.column" : 34, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2567 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "Input<\/decl.generic_type_param.name> : Equatable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 15, - "key.line" : 133, - "key.modulename" : "ListableUI", - "key.name" : "Input", - "key.namelength" : 5, - "key.nameoffset" : 2561, - "key.offset" : 2561, - "key.parsed_declaration" : "public final class DynamicSourcepublic typealias DynamicSource<\/Type><Input<\/Type>>.Builder = (SourceState<\/Type><Input<\/Type>>, inout Content<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2601 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> DynamicSource<\/ref.class><Input<\/ref.generic_type_param>>.Builder<\/decl.name> = (SourceState<\/ref.class><Input<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 61, - "key.line" : 135, - "key.modulename" : "ListableUI", - "key.name" : "Builder", - "key.namelength" : 7, - "key.nameoffset" : 2618, - "key.offset" : 2608, - "key.parsed_declaration" : "public typealias Builder = (SourceState, inout Content) -> ()", - "key.parsed_scope.end" : 135, - "key.parsed_scope.start" : 135, - "key.reusingastcontext" : false, - "key.typename" : "((SourceState, inout Content) -> ()).Type", - "key.typeusr" : "$sy10ListableUI11SourceStateCyxG_AA7ContentVztcmD", - "key.usr" : "s:10ListableUI13DynamicSourceC7Buildera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let builder: Builder<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> builder<\/decl.name>: Builder<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 137, - "key.modulename" : "ListableUI", - "key.name" : "builder", - "key.namelength" : 7, - "key.nameoffset" : 2683, - "key.offset" : 2679, - "key.parsed_declaration" : "let builder : Builder", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 137, - "key.reusingastcontext" : false, - "key.typename" : "(SourceState, inout Content) -> ()", - "key.typeusr" : "$syy10ListableUI11SourceStateCyxG_AA7ContentVztcD", - "key.usr" : "s:10ListableUI13DynamicSourceC7builderyyAA0D5StateCyxG_AA7ContentVztcvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(with builder: @escaping Builder<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2710 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 2761, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> builder<\/decl.var.parameter.name>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> Builder<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 81, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "init(with:)", - "key.namelength" : 38, - "key.nameoffset" : 2717, - "key.offset" : 2717, - "key.parsed_declaration" : "public init(with builder : @escaping Builder)", - "key.parsed_scope.end" : 142, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DynamicSource.Type) -> (@escaping (SourceState, inout Content) -> ()) -> DynamicSource", - "key.typeusr" : "$s4with10ListableUI13DynamicSourceCyxGyAB0E5StateCyxG_AB7ContentVztc_tcD", - "key.usr" : "s:10ListableUI13DynamicSourceC4withACyxGyAA0D5StateCyxG_AA7ContentVztc_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func content(with state: SourceState<\/Type><Input<\/Type>>, content: inout Content<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2808 - } - ], - "key.bodylength" : 43, - "key.bodyoffset" : 2889, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><Input<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 118, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "content(with:content:)", - "key.namelength" : 63, - "key.nameoffset" : 2820, - "key.offset" : 2815, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP7content4withADyAA0E5StateCy0H0QzG_AA7ContentVztF" - } - ], - "key.parsed_declaration" : "public func content(with state: SourceState, content: inout Content)", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (DynamicSource) -> (SourceState, inout Content) -> ()", - "key.typeusr" : "$s4with7contenty10ListableUI11SourceStateCyxG_AC7ContentVztcD", - "key.usr" : "s:10ListableUI13DynamicSourceC7content4withADyAA0D5StateCyxG_AA7ContentVztF" - } - ], - "key.typename" : "DynamicSource.Type", - "key.typeusr" : "$s10ListableUI13DynamicSourceCyxGmD", - "key.usr" : "s:10ListableUI13DynamicSourceC" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Immutable Sources", - "key.offset" : 2944 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class StaticSource : ListViewSource<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 2980 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2973 - } - ], - "key.bodylength" : 606, - "key.bodyoffset" : 3023, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 14, - "key.offset" : 3007 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> StaticSource<\/decl.name> : ListViewSource<\/ref.protocol><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "ListViewSource" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 644, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "StaticSource", - "key.namelength" : 12, - "key.nameoffset" : 2992, - "key.offset" : 2986, - "key.parsed_declaration" : "public final class StaticSource : ListViewSource", - "key.parsed_scope.end" : 184, - "key.parsed_scope.start" : 156, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct StaticSource<\/Type>.State : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3028 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 3065, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3050 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> StaticSource<\/ref.class>.State<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 61, - "key.line" : 158, - "key.modulename" : "ListableUI", - "key.name" : "State", - "key.namelength" : 5, - "key.nameoffset" : 3042, - "key.offset" : 3035, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP5StateQa" - } - ], - "key.parsed_declaration" : "public struct State : Equatable", - "key.parsed_scope.end" : 161, - "key.parsed_scope.start" : 158, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3074 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 3089, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 3081, - "key.offset" : 3081, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.typename" : "(StaticSource.State.Type) -> () -> StaticSource.State", - "key.typeusr" : "$s10ListableUI12StaticSourceC5StateVycD", - "key.usr" : "s:10ListableUI12StaticSourceC5StateVAEycfc" - } - ], - "key.typename" : "StaticSource.State.Type", - "key.typeusr" : "$s10ListableUI12StaticSourceC5StateVmD", - "key.usr" : "s:10ListableUI12StaticSourceC5StateV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let content: Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3106 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> content<\/decl.name>: Content<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 163, - "key.modulename" : "ListableUI", - "key.name" : "content", - "key.namelength" : 7, - "key.nameoffset" : 3117, - "key.offset" : 3113, - "key.parsed_declaration" : "public let content : Content", - "key.parsed_scope.end" : 163, - "key.parsed_scope.start" : 163, - "key.related_decls" : [ - { - "key.annotated_decl" : "content(with:content:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content", - "key.typeusr" : "$s10ListableUI7ContentVD", - "key.usr" : "s:10ListableUI12StaticSourceC7contentAA7ContentVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(with content: Content<\/Type> = Content())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3144 - } - ], - "key.bodylength" : 36, - "key.bodyoffset" : 3197, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> content<\/decl.var.parameter.name>: Content<\/ref.struct><\/decl.var.parameter.type> = Content()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 83, - "key.line" : 165, - "key.modulename" : "ListableUI", - "key.name" : "init(with:)", - "key.namelength" : 40, - "key.nameoffset" : 3151, - "key.offset" : 3151, - "key.parsed_declaration" : "public init(with content : Content = Content())", - "key.parsed_scope.end" : 168, - "key.parsed_scope.start" : 165, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(with: Content.Configure)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(StaticSource.Type) -> (Content) -> StaticSource", - "key.typeusr" : "$s4with10ListableUI12StaticSourceCAB7ContentV_tcD", - "key.usr" : "s:10ListableUI12StaticSourceC4withAcA7ContentV_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public convenience init(with builder: Content<\/Type>.Configure<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.convenience", - "key.length" : 11, - "key.offset" : 3251 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3244 - } - ], - "key.bodylength" : 53, - "key.bodyoffset" : 3307, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> convenience<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> builder<\/decl.var.parameter.name>: Content<\/ref.struct>.Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 98, - "key.line" : 170, - "key.modulename" : "ListableUI", - "key.name" : "init(with:)", - "key.namelength" : 38, - "key.nameoffset" : 3263, - "key.offset" : 3263, - "key.parsed_declaration" : "public convenience init(with builder : Content.Configure)", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 170, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(with: Content = Content())<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(StaticSource.Type) -> ((inout Content) -> ()) -> StaticSource", - "key.typeusr" : "$s4with10ListableUI12StaticSourceCyAB7ContentVzXE_tcD", - "key.usr" : "s:10ListableUI12StaticSourceC4withACyAA7ContentVzXE_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func content(with state: SourceState<\/Type><StaticSource<\/Type>.State<\/Type>>, content: inout Content<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3371 - } - ], - "key.bodylength" : 37, - "key.bodyoffset" : 3465, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><StaticSource<\/ref.class>.State<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>, content<\/decl.var.parameter.argument_label>: inout<\/syntaxtype.keyword> Content<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 125, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "content(with:content:)", - "key.namelength" : 76, - "key.nameoffset" : 3383, - "key.offset" : 3378, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP7content4withADyAA0E5StateCy0H0QzG_AA7ContentVztF" - } - ], - "key.parsed_declaration" : "public func content(with state: SourceState, content: inout Content)", - "key.parsed_scope.end" : 178, - "key.parsed_scope.start" : 175, - "key.related_decls" : [ - { - "key.annotated_decl" : "content<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(StaticSource) -> (SourceState, inout Content) -> ()", - "key.typeusr" : "$s4with7contenty10ListableUI11SourceStateCyAC06StaticE0C0F0VG_AC7ContentVztcD", - "key.usr" : "s:10ListableUI12StaticSourceC7content4withADyAA0D5StateCyAC0G0VG_AA7ContentVztF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func content(with state: SourceState<\/Type><StaticSource<\/Type>.State<\/Type>>) -> Content<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3513 - } - ], - "key.bodylength" : 33, - "key.bodyoffset" : 3594, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> content<\/decl.name>(with<\/decl.var.parameter.argument_label> state<\/decl.var.parameter.name>: SourceState<\/ref.class><StaticSource<\/ref.class>.State<\/ref.struct>><\/decl.var.parameter.type><\/decl.var.parameter>) -> Content<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 108, - "key.line" : 180, - "key.modulename" : "ListableUI", - "key.name" : "content(with:)", - "key.namelength" : 52, - "key.nameoffset" : 3525, - "key.offset" : 3520, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI14ListViewSourceP7content4withAA7ContentVAA0E5StateCy0I0QzG_tF" - } - ], - "key.parsed_declaration" : "public func content(with state: SourceState) -> Content", - "key.parsed_scope.end" : 183, - "key.parsed_scope.start" : 180, - "key.related_decls" : [ - { - "key.annotated_decl" : "content<\/RelatedName>" - }, - { - "key.annotated_decl" : "content(with:content:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(StaticSource) -> (SourceState) -> Content", - "key.typeusr" : "$s4with10ListableUI7ContentVAB11SourceStateCyAB06StaticE0C0F0VG_tcD", - "key.usr" : "s:10ListableUI12StaticSourceC7content4withAA7ContentVAA0D5StateCyAC0H0VG_tF" - } - ], - "key.typename" : "StaticSource.Type", - "key.typeusr" : "$s10ListableUI12StaticSourceCmD", - "key.usr" : "s:10ListableUI12StaticSourceC" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 25, - "key.name" : "MARK: Timer For Reloading", - "key.offset" : 3639 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal final class ReloadTimer<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 3678 - }, - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 3669 - } - ], - "key.bodylength" : 460, - "key.bodyoffset" : 3703, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReloadTimer<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 480, - "key.line" : 191, - "key.modulename" : "ListableUI", - "key.name" : "ReloadTimer", - "key.namelength" : 11, - "key.nameoffset" : 3690, - "key.offset" : 3684, - "key.parsed_declaration" : "internal final class ReloadTimer", - "key.parsed_scope.end" : 212, - "key.parsed_scope.start" : 191, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var timer: Timer<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3708 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> timer<\/decl.name>: Timer<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "timer", - "key.namelength" : 5, - "key.nameoffset" : 3720, - "key.offset" : 3716, - "key.parsed_declaration" : "private var timer : Timer?", - "key.parsed_scope.end" : 193, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Timer?", - "key.typeusr" : "$sSo7NSTimerCSgD", - "key.usr" : "s:10ListableUI11ReloadTimerC5timer33_CF25259F06308DE512677216FCD79C8DLLSo7NSTimerCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "typealias ReloadTimer<\/Type>.OnFire = () -> ()<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "typealias<\/syntaxtype.keyword> ReloadTimer<\/ref.class>.OnFire<\/decl.name> = () -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 27, - "key.line" : 195, - "key.modulename" : "ListableUI", - "key.name" : "OnFire", - "key.namelength" : 6, - "key.nameoffset" : 3754, - "key.offset" : 3744, - "key.parsed_declaration" : "typealias OnFire = () -> ()", - "key.parsed_scope.end" : 195, - "key.parsed_scope.start" : 195, - "key.reusingastcontext" : false, - "key.typename" : "(() -> ()).Type", - "key.typeusr" : "$syycmD", - "key.usr" : "s:10ListableUI11ReloadTimerC6OnFirea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var onFire: OnFire<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 3776 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onFire<\/decl.name>: OnFire<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 196, - "key.modulename" : "ListableUI", - "key.name" : "onFire", - "key.namelength" : 6, - "key.nameoffset" : 3788, - "key.offset" : 3784, - "key.parsed_declaration" : "private var onFire : OnFire?", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 196, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "(() -> ())?", - "key.typeusr" : "$syycSgD", - "key.usr" : "s:10ListableUI11ReloadTimerC6onFire33_CF25259F06308DE512677216FCD79C8DLLyycSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(onFire: @escaping OnFire<\/Type>)<\/Declaration>", - "key.bodylength" : 182, - "key.bodyoffset" : 3851, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(onFire<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnFire<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 220, - "key.line" : 198, - "key.modulename" : "ListableUI", - "key.name" : "init(onFire:)", - "key.namelength" : 31, - "key.nameoffset" : 3814, - "key.offset" : 3814, - "key.parsed_declaration" : "init(onFire : @escaping OnFire)", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 198, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReloadTimer.Type) -> (@escaping () -> ()) -> ReloadTimer", - "key.typeusr" : "$s6onFire10ListableUI11ReloadTimerCyyc_tcD", - "key.usr" : "s:10ListableUI11ReloadTimerC6onFireACyyc_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@objc func timerFired()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 4044 - } - ], - "key.bodylength" : 88, - "key.bodyoffset" : 4073, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListViewSource.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> func<\/syntaxtype.keyword> timerFired<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 112, - "key.line" : 205, - "key.modulename" : "ListableUI", - "key.name" : "timerFired()", - "key.namelength" : 12, - "key.nameoffset" : 4055, - "key.offset" : 4050, - "key.parsed_declaration" : "@objc func timerFired()", - "key.parsed_scope.end" : 211, - "key.parsed_scope.start" : 205, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReloadTimer) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI11ReloadTimerC10timerFiredyyF" - } - ], - "key.typename" : "ReloadTimer.Type", - "key.typeusr" : "$s10ListableUI11ReloadTimerCmD", - "key.usr" : "s:10ListableUI11ReloadTimerC" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3439, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@resultBuilder public enum ListableBuilder<ContentType><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 849 - }, - { - "key.attribute" : "source.decl.attribute.resultBuilder", - "key.length" : 14, - "key.offset" : 834 - } - ], - "key.bodylength" : 2546, - "key.bodyoffset" : 891, - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A result builder which can be used to provide a SwiftUI-like DSL for building arrays of content.\n\nYou provide a result builder in an API by specifying it as a method parameter, like so:\n\n```\ninit(@ListableBuilder contents : () -> [SomeContent]) {\n self.contents = contents()\n}\n```\n\n## Links & Videos\nhttps:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md\nhttps:\/\/developer.apple.com\/videos\/play\/wwdc2021\/10253\/\nhttps:\/\/www.swiftbysundell.com\/articles\/deep-dive-into-swift-function-builders\/\nhttps:\/\/www.avanderlee.com\/swift\/result-builders\/\n\n### Note\nMost comments on methods come from the result builders SE proposal.\n", - "key.doc.column" : 28, - "key.doc.comment" : "\nA result builder which can be used to provide a SwiftUI-like DSL for building arrays of content.\n\nYou provide a result builder in an API by specifying it as a method parameter, like so:\n\n```\ninit(@ListableBuilder contents : () -> [SomeContent]) {\n self.contents = contents()\n}\n```\n\n## Links & Videos\nhttps:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md\nhttps:\/\/developer.apple.com\/videos\/play\/wwdc2021\/10253\/\nhttps:\/\/www.swiftbysundell.com\/articles\/deep-dive-into-swift-function-builders\/\nhttps:\/\/www.avanderlee.com\/swift\/result-builders\/\n\n### Note\nMost comments on methods come from the result builders SE proposal.", - "key.doc.declaration" : "@resultBuilder public enum ListableBuilder", - "key.doc.discussion" : [ - { - "Para" : "You provide a result builder in an API by specifying it as a method parameter, like so:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md https:\/\/developer.apple.com\/videos\/play\/wwdc2021\/10253\/ https:\/\/www.swiftbysundell.com\/articles\/deep-dive-into-swift-function-builders\/ https:\/\/www.avanderlee.com\/swift\/result-builders\/" - }, - { - "Para" : "Most comments on methods come from the result builders SE proposal." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "ListableBuilder<\/Name>s:10ListableUI0A7BuilderO<\/USR>@resultBuilder public enum ListableBuilder<ContentType><\/Declaration>A result builder which can be used to provide a SwiftUI-like DSL for building arrays of content.<\/Para><\/Abstract>You provide a result builder in an API by specifying it as a method parameter, like so:<\/Para> contents : () -> [SomeContent]) {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Links & Videos]]><\/rawHTML>https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md https:\/\/developer.apple.com\/videos\/play\/wwdc2021\/10253\/ https:\/\/www.swiftbysundell.com\/articles\/deep-dive-into-swift-function-builders\/ https:\/\/www.avanderlee.com\/swift\/result-builders\/<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>Most comments on methods come from the result builders SE proposal.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "ListableBuilder", - "key.doc.type" : "Other", - "key.doclength" : 741, - "key.docoffset" : 93, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "@resultBuilder<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ListableBuilder<\/decl.name><ContentType<\/decl.generic_type_param.name><\/decl.generic_type_param>><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 2582, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "ListableBuilder", - "key.namelength" : 15, - "key.nameoffset" : 861, - "key.offset" : 856, - "key.parsed_declaration" : "@resultBuilder public enum ListableBuilder", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "ContentType<\/Declaration>", - "key.column" : 44, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "ContentType<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 11, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "ContentType", - "key.namelength" : 11, - "key.nameoffset" : 877, - "key.offset" : 877, - "key.parsed_declaration" : "@resultBuilder public enum ListableBuilderpublic typealias ListableBuilder<\/Type><ContentType<\/Type>>.Expression = ContentType<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 983 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of individual statement expressions in the transformed function.", - "key.doc.column" : 22, - "key.doc.comment" : "The type of individual statement expressions in the transformed function.", - "key.doc.declaration" : "public typealias ListableUI.ListableBuilder.Expression = ContentType", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "Expression<\/Name>s:10ListableUI0A7BuilderO10Expressiona<\/USR>public typealias ListableUI.ListableBuilder<ContentType>.Expression = ContentType<\/Declaration>The type of individual statement expressions in the transformed function.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 31, - "key.doc.name" : "Expression", - "key.doc.type" : "Other", - "key.doclength" : 78, - "key.docoffset" : 901, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListableBuilder<\/ref.enum><ContentType<\/ref.generic_type_param>>.Expression<\/decl.name> = ContentType<\/ref.generic_type_param><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 34, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "Expression", - "key.namelength" : 10, - "key.nameoffset" : 1000, - "key.offset" : 990, - "key.parsed_declaration" : "public typealias Expression = ContentType", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.typename" : "ContentType.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI0A7BuilderO10Expressiona" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListableBuilder<\/Type><ContentType<\/Type>>.Component = [ContentType<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1068 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of a partial result.", - "key.doc.column" : 22, - "key.doc.comment" : "The type of a partial result.", - "key.doc.declaration" : "public typealias ListableUI.ListableBuilder.Component = [ContentType]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "Component<\/Name>s:10ListableUI0A7BuilderO9Componenta<\/USR>public typealias ListableUI.ListableBuilder<ContentType>.Component = [ContentType]<\/Declaration>The type of a partial result.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 34, - "key.doc.name" : "Component", - "key.doc.type" : "Other", - "key.doclength" : 34, - "key.docoffset" : 1030, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListableBuilder<\/ref.enum><ContentType<\/ref.generic_type_param>>.Component<\/decl.name> = [ContentType<\/ref.generic_type_param>]<\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 35, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "Component", - "key.namelength" : 9, - "key.nameoffset" : 1085, - "key.offset" : 1075, - "key.parsed_declaration" : "public typealias Component = [ContentType]", - "key.parsed_scope.end" : 34, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.typename" : "[ContentType].Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:10ListableUI0A7BuilderO9Componenta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ListableBuilder<\/Type><ContentType<\/Type>>.FinalResult = [ContentType<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1163 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of the final returned result.", - "key.doc.column" : 22, - "key.doc.comment" : "The type of the final returned result.", - "key.doc.declaration" : "public typealias ListableUI.ListableBuilder.FinalResult = [ContentType]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "FinalResult<\/Name>s:10ListableUI0A7BuilderO11FinalResulta<\/USR>public typealias ListableUI.ListableBuilder<ContentType>.FinalResult = [ContentType]<\/Declaration>The type of the final returned result.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 37, - "key.doc.name" : "FinalResult", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 1116, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ListableBuilder<\/ref.enum><ContentType<\/ref.generic_type_param>>.FinalResult<\/decl.name> = [ContentType<\/ref.generic_type_param>]<\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 37, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "FinalResult", - "key.namelength" : 11, - "key.nameoffset" : 1180, - "key.offset" : 1170, - "key.parsed_declaration" : "public typealias FinalResult = [ContentType]", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.typename" : "[ContentType].Type", - "key.typeusr" : "$sSayxGmD", - "key.usr" : "s:10ListableUI0A7BuilderO11FinalResulta" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildBlock() -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1282 - } - ], - "key.bodylength" : 16, - "key.bodyoffset" : 1328, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If an empty closure is provided, returns an empty array.", - "key.doc.column" : 24, - "key.doc.comment" : "If an empty closure is provided, returns an empty array.", - "key.doc.declaration" : "public static func buildBlock() -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildBlock()<\/Name>s:10ListableUI0A7BuilderO10buildBlockSayxGyFZ<\/USR>public static func buildBlock() -> Component<\/Declaration>If an empty closure is provided, returns an empty array.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 40, - "key.doc.name" : "buildBlock()", - "key.doc.type" : "Function", - "key.doclength" : 61, - "key.docoffset" : 1217, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildBlock<\/decl.name>() -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 56, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "buildBlock()", - "key.namelength" : 12, - "key.nameoffset" : 1301, - "key.offset" : 1289, - "key.parsed_declaration" : "public static func buildBlock() -> Component", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 40, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildBlock(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> () -> [ContentType]", - "key.typeusr" : "$sSayxGycD", - "key.usr" : "s:10ListableUI0A7BuilderO10buildBlockSayxGyFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildBlock(_ components: Component<\/Type>...) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1445 - } - ], - "key.bodylength" : 54, - "key.bodyoffset" : 1517, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Required by every result builder to build combined results from statement blocks.", - "key.doc.column" : 24, - "key.doc.comment" : "Required by every result builder to build combined results from statement blocks.", - "key.doc.declaration" : "public static func buildBlock(_ components: Component...) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildBlock(_:)<\/Name>s:10ListableUI0A7BuilderO10buildBlockySayxGAEd_tFZ<\/USR>public static func buildBlock(_ components: Component...) -> Component<\/Declaration>Required by every result builder to build combined results from statement blocks.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 45, - "key.doc.name" : "buildBlock(_:)", - "key.doc.type" : "Function", - "key.doclength" : 86, - "key.docoffset" : 1355, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildBlock<\/decl.name>(_<\/decl.var.parameter.argument_label> components<\/decl.var.parameter.name>: Component<\/ref.typealias>...<\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 120, - "key.line" : 45, - "key.modulename" : "ListableUI", - "key.name" : "buildBlock(_:)", - "key.namelength" : 38, - "key.nameoffset" : 1464, - "key.offset" : 1452, - "key.parsed_declaration" : "public static func buildBlock(_ components: Component...) -> Component", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 45, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildBlock()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]...) -> [ContentType]", - "key.typeusr" : "$sySayxGAAd_tcD", - "key.usr" : "s:10ListableUI0A7BuilderO10buildBlockySayxGAEd_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildExpression(_ expression: Expression<\/Type>) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1702 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 1777, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If declared, provides contextual type information for statement expressions to translate them into partial results.", - "key.doc.column" : 24, - "key.doc.comment" : "If declared, provides contextual type information for statement expressions to translate them into partial results.", - "key.doc.declaration" : "public static func buildExpression(_ expression: Expression) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildExpression(_:)<\/Name>s:10ListableUI0A7BuilderO15buildExpressionySayxGxFZ<\/USR>public static func buildExpression(_ expression: Expression) -> Component<\/Declaration>If declared, provides contextual type information for statement expressions to translate them into partial results.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 50, - "key.doc.name" : "buildExpression(_:)", - "key.doc.type" : "Function", - "key.doclength" : 120, - "key.docoffset" : 1578, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildExpression<\/decl.name>(_<\/decl.var.parameter.argument_label> expression<\/decl.var.parameter.name>: Expression<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 95, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "buildExpression(_:)", - "key.namelength" : 41, - "key.nameoffset" : 1721, - "key.offset" : 1709, - "key.parsed_declaration" : "public static func buildExpression(_ expression: Expression) -> Component", - "key.parsed_scope.end" : 52, - "key.parsed_scope.start" : 50, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildExpression(_: [Expression]) -> Component<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> (ContentType) -> [ContentType]", - "key.typeusr" : "$sySayxGxcD", - "key.usr" : "s:10ListableUI0A7BuilderO15buildExpressionySayxGxFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildExpression(_ expression: [Expression<\/Type>]) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1938 - } - ], - "key.bodylength" : 24, - "key.bodyoffset" : 2015, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If declared, provides contextual type information for statement expressions to translate them into partial results.", - "key.doc.column" : 24, - "key.doc.comment" : "If declared, provides contextual type information for statement expressions to translate them into partial results.", - "key.doc.declaration" : "public static func buildExpression(_ expression: [Expression]) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildExpression(_:)<\/Name>s:10ListableUI0A7BuilderO15buildExpressionySayxGAEFZ<\/USR>public static func buildExpression(_ expression: [Expression]) -> Component<\/Declaration>If declared, provides contextual type information for statement expressions to translate them into partial results.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 55, - "key.doc.name" : "buildExpression(_:)", - "key.doc.type" : "Function", - "key.doclength" : 120, - "key.docoffset" : 1814, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildExpression<\/decl.name>(_<\/decl.var.parameter.argument_label> expression<\/decl.var.parameter.name>: [Expression<\/ref.typealias>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 95, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "buildExpression(_:)", - "key.namelength" : 43, - "key.nameoffset" : 1957, - "key.offset" : 1945, - "key.parsed_declaration" : "public static func buildExpression(_ expression: [Expression]) -> Component", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 55, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildExpression(_: Expression) -> Component<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]) -> [ContentType]", - "key.typeusr" : "$sySayxGAAcD", - "key.usr" : "s:10ListableUI0A7BuilderO15buildExpressionySayxGAEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildOptional(_ component: Component<\/Type>?) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2118 - } - ], - "key.bodylength" : 29, - "key.bodyoffset" : 2190, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Enables support for `if` statements that do not have an `else`.", - "key.doc.column" : 24, - "key.doc.comment" : "Enables support for `if` statements that do not have an `else`.", - "key.doc.declaration" : "public static func buildOptional(_ component: Component?) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildOptional(_:)<\/Name>s:10ListableUI0A7BuilderO13buildOptionalySayxGAESgFZ<\/USR>public static func buildOptional(_ component: Component?) -> Component<\/Declaration>Enables support for if<\/codeVoice> statements that do not have an else<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 60, - "key.doc.name" : "buildOptional(_:)", - "key.doc.type" : "Function", - "key.doclength" : 68, - "key.docoffset" : 2046, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildOptional<\/decl.name>(_<\/decl.var.parameter.argument_label> component<\/decl.var.parameter.name>: Component<\/ref.typealias>?<\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 95, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "buildOptional(_:)", - "key.namelength" : 38, - "key.nameoffset" : 2137, - "key.offset" : 2125, - "key.parsed_declaration" : "public static func buildOptional(_ component: Component?) -> Component", - "key.parsed_scope.end" : 62, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]?) -> [ContentType]", - "key.typeusr" : "$sySayxGAASgcD", - "key.usr" : "s:10ListableUI0A7BuilderO13buildOptionalySayxGAESgFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildEither(first component: Component<\/Type>) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2368 - } - ], - "key.bodylength" : 23, - "key.bodyoffset" : 2441, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "With buildEither(second:), enables support for 'if-else' and 'switch' statements by folding conditional results into a single result.", - "key.doc.column" : 24, - "key.doc.comment" : "With buildEither(second:), enables support for 'if-else' and 'switch' statements by folding conditional results into a single result.", - "key.doc.declaration" : "public static func buildEither(first component: Component) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildEither(first:)<\/Name>s:10ListableUI0A7BuilderO11buildEither5firstSayxGAF_tFZ<\/USR>public static func buildEither(first component: Component) -> Component<\/Declaration>With buildEither(second:), enables support for ‘if-else’ and ‘switch’ statements by folding conditional results into a single result.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 65, - "key.doc.name" : "buildEither(first:)", - "key.doc.type" : "Function", - "key.doclength" : 138, - "key.docoffset" : 2226, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildEither<\/decl.name>(first<\/decl.var.parameter.argument_label> component<\/decl.var.parameter.name>: Component<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 90, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "buildEither(first:)", - "key.namelength" : 39, - "key.nameoffset" : 2387, - "key.offset" : 2375, - "key.parsed_declaration" : "public static func buildEither(first component: Component) -> Component", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 65, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildEither(second:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]) -> [ContentType]", - "key.typeusr" : "$s5firstSayxGAB_tcD", - "key.usr" : "s:10ListableUI0A7BuilderO11buildEither5firstSayxGAF_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildEither(second component: Component<\/Type>) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2612 - } - ], - "key.bodylength" : 23, - "key.bodyoffset" : 2686, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "With buildEither(first:), enables support for 'if-else' and 'switch' statements by folding conditional results into a single result.", - "key.doc.column" : 24, - "key.doc.comment" : "With buildEither(first:), enables support for 'if-else' and 'switch' statements by folding conditional results into a single result.", - "key.doc.declaration" : "public static func buildEither(second component: Component) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildEither(second:)<\/Name>s:10ListableUI0A7BuilderO11buildEither6secondSayxGAF_tFZ<\/USR>public static func buildEither(second component: Component) -> Component<\/Declaration>With buildEither(first:), enables support for ‘if-else’ and ‘switch’ statements by folding conditional results into a single result.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 70, - "key.doc.name" : "buildEither(second:)", - "key.doc.type" : "Function", - "key.doclength" : 137, - "key.docoffset" : 2471, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildEither<\/decl.name>(second<\/decl.var.parameter.argument_label> component<\/decl.var.parameter.name>: Component<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 91, - "key.line" : 70, - "key.modulename" : "ListableUI", - "key.name" : "buildEither(second:)", - "key.namelength" : 40, - "key.nameoffset" : 2631, - "key.offset" : 2619, - "key.parsed_declaration" : "public static func buildEither(second component: Component) -> Component", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 70, - "key.related_decls" : [ - { - "key.annotated_decl" : "buildEither(first:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]) -> [ContentType]", - "key.typeusr" : "$s6secondSayxGAB_tcD", - "key.usr" : "s:10ListableUI0A7BuilderO11buildEither6secondSayxGAF_tFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildArray(_ components: [Component<\/Type>]) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2825 - } - ], - "key.bodylength" : 39, - "key.bodyoffset" : 2896, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Enables support for 'for..in' loops by combining the results of all iterations into a single result.", - "key.doc.column" : 24, - "key.doc.comment" : "Enables support for 'for..in' loops by combining the results of all iterations into a single result.", - "key.doc.declaration" : "public static func buildArray(_ components: [Component]) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildArray(_:)<\/Name>s:10ListableUI0A7BuilderO10buildArrayySayxGSayAEGFZ<\/USR>public static func buildArray(_ components: [Component]) -> Component<\/Declaration>Enables support for ‘for..in’ loops by combining the results of all iterations into a single result.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 75, - "key.doc.name" : "buildArray(_:)", - "key.doc.type" : "Function", - "key.doclength" : 105, - "key.docoffset" : 2716, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildArray<\/decl.name>(_<\/decl.var.parameter.argument_label> components<\/decl.var.parameter.name>: [Component<\/ref.typealias>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 104, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "buildArray(_:)", - "key.namelength" : 37, - "key.nameoffset" : 2844, - "key.offset" : 2832, - "key.parsed_declaration" : "public static func buildArray(_ components: [Component]) -> Component", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([[ContentType]]) -> [ContentType]", - "key.typeusr" : "$sySayxGSayAAGcD", - "key.usr" : "s:10ListableUI0A7BuilderO10buildArrayySayxGSayAEGFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildLimitedAvailability(_ component: Component<\/Type>) -> Component<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3088 - } - ], - "key.bodylength" : 23, - "key.bodyoffset" : 3170, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If declared, this will be called on the partial result of an `if #available` block to allow the result builder to erase type information.", - "key.doc.column" : 24, - "key.doc.comment" : "If declared, this will be called on the partial result of an `if #available` block to allow the result builder to erase type information.", - "key.doc.declaration" : "public static func buildLimitedAvailability(_ component: Component) -> Component", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildLimitedAvailability(_:)<\/Name>s:10ListableUI0A7BuilderO24buildLimitedAvailabilityySayxGAEFZ<\/USR>public static func buildLimitedAvailability(_ component: Component) -> Component<\/Declaration>If declared, this will be called on the partial result of an if #available<\/codeVoice> block to allow the result builder to erase type information.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 80, - "key.doc.name" : "buildLimitedAvailability(_:)", - "key.doc.type" : "Function", - "key.doclength" : 142, - "key.docoffset" : 2942, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildLimitedAvailability<\/decl.name>(_<\/decl.var.parameter.argument_label> component<\/decl.var.parameter.name>: Component<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Component<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 99, - "key.line" : 80, - "key.modulename" : "ListableUI", - "key.name" : "buildLimitedAvailability(_:)", - "key.namelength" : 48, - "key.nameoffset" : 3107, - "key.offset" : 3095, - "key.parsed_declaration" : "public static func buildLimitedAvailability(_ component: Component) -> Component", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 80, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]) -> [ContentType]", - "key.typeusr" : "$sySayxGAAcD", - "key.usr" : "s:10ListableUI0A7BuilderO24buildLimitedAvailabilityySayxGAEFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func buildFinalResult(_ component: Component<\/Type>) -> FinalResult<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3336 - } - ], - "key.bodylength" : 23, - "key.bodyoffset" : 3412, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If declared, this will be called on the partial result from the outermost block statement to produce the final returned result.", - "key.doc.column" : 24, - "key.doc.comment" : "If declared, this will be called on the partial result from the outermost block statement to produce the final returned result.", - "key.doc.declaration" : "public static func buildFinalResult(_ component: Component) -> FinalResult", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.doc.full_as_xml" : "buildFinalResult(_:)<\/Name>s:10ListableUI0A7BuilderO16buildFinalResultySayxGAEFZ<\/USR>public static func buildFinalResult(_ component: Component) -> FinalResult<\/Declaration>If declared, this will be called on the partial result from the outermost block statement to produce the final returned result.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 85, - "key.doc.name" : "buildFinalResult(_:)", - "key.doc.type" : "Function", - "key.doclength" : 132, - "key.docoffset" : 3200, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableBuilder.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> buildFinalResult<\/decl.name>(_<\/decl.var.parameter.argument_label> component<\/decl.var.parameter.name>: Component<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> FinalResult<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 93, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "buildFinalResult(_:)", - "key.namelength" : 40, - "key.nameoffset" : 3355, - "key.offset" : 3343, - "key.parsed_declaration" : "public static func buildFinalResult(_ component: Component) -> FinalResult", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (ListableBuilder.Type) -> ([ContentType]) -> [ContentType]", - "key.typeusr" : "$sySayxGAAcD", - "key.usr" : "s:10ListableUI0A7BuilderO16buildFinalResultySayxGAEFZ" - } - ], - "key.typename" : "ListableBuilder.Type", - "key.typeusr" : "$s10ListableUI0A7BuilderOyxGmD", - "key.usr" : "s:10ListableUI0A7BuilderO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2375, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListableLocalizedStrings<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 119 - } - ], - "key.bodylength" : 2213, - "key.bodyoffset" : 159, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListableLocalizedStrings<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2247, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "ListableLocalizedStrings", - "key.namelength" : 24, - "key.nameoffset" : 133, - "key.offset" : 126, - "key.parsed_declaration" : "public struct ListableLocalizedStrings", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ListableLocalizedStrings<\/Type>.ReorderGesture<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 169 - } - ], - "key.bodylength" : 2167, - "key.bodyoffset" : 198, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ListableLocalizedStrings<\/ref.struct>.ReorderGesture<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2190, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "ReorderGesture", - "key.namelength" : 14, - "key.nameoffset" : 183, - "key.offset" : 176, - "key.parsed_declaration" : "public struct ReorderGesture", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let accessibilityLabel: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 210 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> accessibilityLabel<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 471, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityLabel", - "key.namelength" : 18, - "key.nameoffset" : 228, - "key.offset" : 217, - "key.parsed_declaration" : "public static let accessibilityLabel = NSLocalizedString(\"reorder.AccessibilityLabel\",\n tableName: nil,\n bundle: .listableUIResources,\n value: \"Reorder\",\n comment: \"Accessibility label for the reorder control on an item\")", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV14ReorderGestureV18accessibilityLabelSSvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let accessibilityHint: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 714 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> accessibilityHint<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 521, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityHint", - "key.namelength" : 17, - "key.nameoffset" : 732, - "key.offset" : 721, - "key.parsed_declaration" : "public static let accessibilityHint = NSLocalizedString(\"reorder.AccessibilityHint\",\n tableName: nil,\n bundle: .listableUIResources,\n value: \"Double tap and hold, wait for the sound, then drag to rearrange.\",\n comment: \"Accessibility hint for the reorder control in an item\")", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV14ReorderGestureV17accessibilityHintSSvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let accessibilityMoveUp: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1269 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> accessibilityMoveUp<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 522, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityMoveUp", - "key.namelength" : 19, - "key.nameoffset" : 1287, - "key.offset" : 1276, - "key.parsed_declaration" : "public static let accessibilityMoveUp = NSLocalizedString(\"reorder.AccessibilityAction.MoveUp\",\n tableName: nil,\n bundle: .listableUIResources,\n value: \"Move up\",\n comment:\"title for an accessibility action that will move a selected cell up one position in the list.\")", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV14ReorderGestureV19accessibilityMoveUpSSvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let accessibilityMoveDown: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1816 - } - ], - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ListableLocalizedStrings.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> accessibilityMoveDown<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 537, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityMoveDown", - "key.namelength" : 21, - "key.nameoffset" : 1834, - "key.offset" : 1823, - "key.parsed_declaration" : "public static let accessibilityMoveDown = NSLocalizedString(\"reorder.AccessibilityAction.MoveDown\",\n tableName: nil,\n bundle: .listableUIResources,\n value:\"Move down\",\n comment:\"title for an accessibility action that will move a selected cell down one position in the list.\")", - "key.parsed_scope.end" : 35, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV14ReorderGestureV21accessibilityMoveDownSSvpZ" - } - ], - "key.typename" : "ListableLocalizedStrings.ReorderGesture.Type", - "key.typeusr" : "$s10ListableUI0A16LocalizedStringsV14ReorderGestureVmD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV14ReorderGestureV" - } - ], - "key.typename" : "ListableLocalizedStrings.Type", - "key.typeusr" : "$s10ListableUI0A16LocalizedStringsVmD", - "key.usr" : "s:10ListableUI0A16LocalizedStringsV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 7251, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol LocalizedCollatableItemContent : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 716 - } - ], - "key.bodylength" : 148, - "key.bodyoffset" : 778, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If you would like to make your `ItemContent` work with the `LocalizedItemCollator`,\nyou should make it conform to this protocol, and then return a `collationString` that\nrepresents the primary content of your `ItemContent`; usually a name or title.\n\nUpon collation, the `ItemContent` will then be grouped into sections according to its\nfirst \"character\" in a localized manner.\n```\nstruct MyContent : ItemContent, LocalizedCollatableItemContent {\n\n var title : String\n\n var collationString : String {\n self.title\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "\nIf you would like to make your `ItemContent` work with the `LocalizedItemCollator`,\nyou should make it conform to this protocol, and then return a `collationString` that\nrepresents the primary content of your `ItemContent`; usually a name or title.\n\nUpon collation, the `ItemContent` will then be grouped into sections according to its\nfirst \"character\" in a localized manner.\n```\nstruct MyContent : ItemContent, LocalizedCollatableItemContent {\n\n var title : String\n\n var collationString : String {\n self.title\n }\n}\n```", - "key.doc.declaration" : "public protocol LocalizedCollatableItemContent : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "Upon collation, the `ItemContent` will then be grouped into sections according to its first “character” in a localized manner." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "LocalizedCollatableItemContent<\/Name>s:10ListableUI30LocalizedCollatableItemContentP<\/USR>public protocol LocalizedCollatableItemContent : ListableUI.ItemContent<\/Declaration>If you would like to make your ItemContent<\/codeVoice> work with the LocalizedItemCollator<\/codeVoice>, you should make it conform to this protocol, and then return a collationString<\/codeVoice> that represents the primary content of your ItemContent<\/codeVoice>; usually a name or title.<\/Para><\/Abstract>Upon collation, the ItemContent<\/codeVoice> will then be grouped into sections according to its first “character” in a localized manner.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 28, - "key.doc.name" : "LocalizedCollatableItemContent", - "key.doc.type" : "Class", - "key.doclength" : 602, - "key.docoffset" : 114, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 765 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> LocalizedCollatableItemContent<\/decl.name> : ItemContent<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 204, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "LocalizedCollatableItemContent", - "key.namelength" : 30, - "key.nameoffset" : 732, - "key.offset" : 723, - "key.parsed_declaration" : "public protocol LocalizedCollatableItemContent : ItemContent", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var collationString: String<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 919, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A string that represents the primary content of your `ItemContent`; usually a name or title.", - "key.doc.column" : 9, - "key.doc.comment" : "A string that represents the primary content of your `ItemContent`; usually a name or title.", - "key.doc.declaration" : "var collationString: String { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "collationString<\/Name>s:10ListableUI30LocalizedCollatableItemContentP15collationStringSSvp<\/USR>var collationString: String { get }<\/Declaration>A string that represents the primary content of your ItemContent<\/codeVoice>; usually a name or title.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 31, - "key.doc.name" : "collationString", - "key.doc.type" : "Other", - "key.doclength" : 97, - "key.docoffset" : 788, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> collationString<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "collationString", - "key.namelength" : 15, - "key.nameoffset" : 893, - "key.offset" : 889, - "key.parsed_declaration" : "var collationString : String", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI30LocalizedCollatableItemContentP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI30LocalizedCollatableItemContentP15collationStringSSvp" - } - ], - "key.typename" : "LocalizedCollatableItemContent.Type", - "key.typeusr" : "$s10ListableUI30LocalizedCollatableItemContent_pmD", - "key.usr" : "s:10ListableUI30LocalizedCollatableItemContentP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol AnyLocalizedCollatableItem : AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1245 - } - ], - "key.bodylength" : 42, - "key.bodyoffset" : 1299, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents an `AnyItem` which can be collated, via its vended `collationString`.\n\n`Item` (and by extension `AnyItem`) is conditionally conformed to this protocol\nwhen its `Content` conforms to `LocalizedCollatableItemContent`,\nto allow vending homogenous lists of content to be collated.\n", - "key.doc.column" : 17, - "key.doc.comment" : "\nRepresents an `AnyItem` which can be collated, via its vended `collationString`.\n\n`Item` (and by extension `AnyItem`) is conditionally conformed to this protocol\nwhen its `Content` conforms to `LocalizedCollatableItemContent`,\nto allow vending homogenous lists of content to be collated.", - "key.doc.declaration" : "public protocol AnyLocalizedCollatableItem : ListableUI.AnyItem", - "key.doc.discussion" : [ - { - "Para" : "`Item` (and by extension `AnyItem`) is conditionally conformed to this protocol when its `Content` conforms to `LocalizedCollatableItemContent`, to allow vending homogenous lists of content to be collated." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "AnyLocalizedCollatableItem<\/Name>s:10ListableUI26AnyLocalizedCollatableItemP<\/USR>public protocol AnyLocalizedCollatableItem : ListableUI.AnyItem<\/Declaration>Represents an AnyItem<\/codeVoice> which can be collated, via its vended collationString<\/codeVoice>.<\/Para><\/Abstract>Item<\/codeVoice> (and by extension AnyItem<\/codeVoice>) is conditionally conformed to this protocol when its Content<\/codeVoice> conforms to LocalizedCollatableItemContent<\/codeVoice>, to allow vending homogenous lists of content to be collated.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 42, - "key.doc.name" : "AnyLocalizedCollatableItem", - "key.doc.type" : "Class", - "key.doclength" : 315, - "key.docoffset" : 930, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 7, - "key.offset" : 1290 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> AnyLocalizedCollatableItem<\/decl.name> : AnyItem<\/ref.protocol><\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyItem" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 90, - "key.line" : 42, - "key.modulename" : "ListableUI", - "key.name" : "AnyLocalizedCollatableItem", - "key.namelength" : 26, - "key.nameoffset" : 1261, - "key.offset" : 1252, - "key.parsed_declaration" : "public protocol AnyLocalizedCollatableItem : AnyItem", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 42, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var collationString: String<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 1334, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> collationString<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "collationString", - "key.namelength" : 15, - "key.nameoffset" : 1308, - "key.offset" : 1304, - "key.parsed_declaration" : "var collationString : String", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 43, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI26AnyLocalizedCollatableItemP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI26AnyLocalizedCollatableItemP15collationStringSSvp" - } - ], - "key.typename" : "AnyLocalizedCollatableItem.Type", - "key.typeusr" : "$s10ListableUI26AnyLocalizedCollatableItem_pmD", - "key.usr" : "s:10ListableUI26AnyLocalizedCollatableItemP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct LocalizedItemCollator<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2859 - } - ], - "key.bodylength" : 3442, - "key.bodyoffset" : 2896, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If you're looking for the equivalent of `UILocalizedIndexedCollation` for lists,\nyou have come to the right place.\n\n`LocalizedItemCollator` takes in a list of unsorted content, and sorts and then\npartitions the content into sections, returning you a list of collated sections for display.\n\nJust like `UILocalizedIndexedCollation`, `LocalizedItemCollator` takes\ninto account the localization settings of the device, using different collation for the various\nsupported iOS languages.\n\nExample\n-------\n```\nList { list in\n list += LocalizedItemCollator.sections(with: items) { collated, section in\n\n \/\/\/ You are passed a pre-populated section on which you may\n \/\/\/ customize the header and footer, or mutate the content.\n\n section.header = DemoHeader(title: collated.title)\n section.footer = DemoFooter(title: collated.title)\n }\n}\n\n```\nWarning\n-------\nSorting and partitioning thousands and thousands of `Items` each\ntime a list updates can be expensive, especially on slower devices.\n\nIf you have a list that you wish to collate that may contain thousands of items,\nit is recommended that you store the list pre-collated outside of Listable,\nso each recreation of the list's view model does not re-partake in an expensive sort operation.\nInstead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc).\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nIf you're looking for the equivalent of `UILocalizedIndexedCollation` for lists,\nyou have come to the right place.\n\n`LocalizedItemCollator` takes in a list of unsorted content, and sorts and then\npartitions the content into sections, returning you a list of collated sections for display.\n\nJust like `UILocalizedIndexedCollation`, `LocalizedItemCollator` takes\ninto account the localization settings of the device, using different collation for the various\nsupported iOS languages.\n\nExample\n-------\n```\nList { list in\n list += LocalizedItemCollator.sections(with: items) { collated, section in\n\n \/\/\/ You are passed a pre-populated section on which you may\n \/\/\/ customize the header and footer, or mutate the content.\n\n section.header = DemoHeader(title: collated.title)\n section.footer = DemoFooter(title: collated.title)\n }\n}\n\n```\nWarning\n-------\nSorting and partitioning thousands and thousands of `Items` each\ntime a list updates can be expensive, especially on slower devices.\n\nIf you have a list that you wish to collate that may contain thousands of items,\nit is recommended that you store the list pre-collated outside of Listable,\nso each recreation of the list's view model does not re-partake in an expensive sort operation.\nInstead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc).", - "key.doc.declaration" : "public struct LocalizedItemCollator", - "key.doc.discussion" : [ - { - "Para" : "`LocalizedItemCollator` takes in a list of unsorted content, and sorts and then partitions the content into sections, returning you a list of collated sections for display." - }, - { - "Para" : "Just like `UILocalizedIndexedCollation`, `LocalizedItemCollator` takes into account the localization settings of the device, using different collation for the various supported iOS languages." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Sorting and partitioning thousands and thousands of `Items` each time a list updates can be expensive, especially on slower devices." - }, - { - "Para" : "If you have a list that you wish to collate that may contain thousands of items, it is recommended that you store the list pre-collated outside of Listable, so each recreation of the list’s view model does not re-partake in an expensive sort operation. Instead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "LocalizedItemCollator<\/Name>s:10ListableUI21LocalizedItemCollatorV<\/USR>public struct LocalizedItemCollator<\/Declaration>If you’re looking for the equivalent of UILocalizedIndexedCollation<\/codeVoice> for lists, you have come to the right place.<\/Para><\/Abstract>LocalizedItemCollator<\/codeVoice> takes in a list of unsorted content, and sorts and then partitions the content into sections, returning you a list of collated sections for display.<\/Para>Just like UILocalizedIndexedCollation<\/codeVoice>, LocalizedItemCollator<\/codeVoice> takes into account the localization settings of the device, using different collation for the various supported iOS languages.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Warning]]><\/rawHTML>Sorting and partitioning thousands and thousands of Items<\/codeVoice> each time a list updates can be expensive, especially on slower devices.<\/Para>If you have a list that you wish to collate that may contain thousands of items, it is recommended that you store the list pre-collated outside of Listable, so each recreation of the list’s view model does not re-partake in an expensive sort operation. Instead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 83, - "key.doc.name" : "LocalizedItemCollator", - "key.doc.type" : "Class", - "key.doclength" : 1514, - "key.docoffset" : 1345, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LocalizedItemCollator<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 3473, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "LocalizedItemCollator", - "key.namelength" : 21, - "key.nameoffset" : 2873, - "key.offset" : 2866, - "key.parsed_declaration" : "public struct LocalizedItemCollator", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 83, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: Public", - "key.offset" : 2916 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func sections(collation: UILocalizedIndexedCollation<\/Type> = .current(), with items: [AnyLocalizedCollatableItem<\/Type>], _ modify: (CollatedSection<\/Type>, inout Section<\/Type>) -> () = { _, _ in }) -> [Section<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3413 - } - ], - "key.bodylength" : 303, - "key.bodyoffset" : 3651, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Collates and returns the set of items into list `Sections`,\nallowing you to customize each `Section` via the provided `modify`\nclosure.\n\n```\nList { list in\n list += LocalizedItemCollator.sections(with: items) { collated, section in\n section.header = DemoHeader(title: collated.title)\n section.footer = DemoFooter(title: collated.title)\n }\n}\n\n```", - "key.doc.column" : 24, - "key.doc.comment" : "Collates and returns the set of items into list `Sections`,\nallowing you to customize each `Section` via the provided `modify`\nclosure.\n\n```\nList { list in\n list += LocalizedItemCollator.sections(with: items) { collated, section in\n section.header = DemoHeader(title: collated.title)\n section.footer = DemoFooter(title: collated.title)\n }\n}\n\n```", - "key.doc.declaration" : "public static func sections(collation: UILocalizedIndexedCollation = .current(), with items: [AnyLocalizedCollatableItem], _ modify: (CollatedSection, inout Section) -> () = { _, _ in }) -> [Section]", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "sections(collation:with:_:)<\/Name>s:10ListableUI21LocalizedItemCollatorV8sections9collation4with_SayAA7SectionVGSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGyAC08CollatedI0V_AHztXEtFZ<\/USR>public static func sections(collation: UILocalizedIndexedCollation = .current(), with items: [AnyLocalizedCollatableItem], _ modify: (CollatedSection, inout Section) -> () = { _, _ in }) -> [Section]<\/Declaration>Collates and returns the set of items into list Sections<\/codeVoice>, allowing you to customize each Section<\/codeVoice> via the provided modify<\/codeVoice> closure.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 102, - "key.doc.name" : "sections(collation:with:_:)", - "key.doc.type" : "Function", - "key.doclength" : 464, - "key.docoffset" : 2945, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sections<\/decl.name>(collation<\/decl.var.parameter.argument_label>: UILocalizedIndexedCollation<\/ref.class><\/decl.var.parameter.type> = .current()<\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> items<\/decl.var.parameter.name>: [AnyLocalizedCollatableItem<\/ref.protocol>]<\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> modify<\/decl.var.parameter.name>: (CollatedSection<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _, _ in }<\/decl.var.parameter>) -> [Section<\/ref.struct>]<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 535, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "sections(collation:with:_:)", - "key.namelength" : 200, - "key.nameoffset" : 3432, - "key.offset" : 3420, - "key.parsed_declaration" : "public static func sections(\n collation : UILocalizedIndexedCollation = .current(),\n with items : [AnyLocalizedCollatableItem],\n _ modify : (CollatedSection, inout Section) -> () = { _, _ in }\n) -> [Section]", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let collated: [LocalizedItemCollator<\/Type>.CollatedSection<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> collated<\/decl.name>: [LocalizedItemCollator<\/ref.struct>.CollatedSection<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 63, - "key.line" : 108, - "key.modulename" : "ListableUI", - "key.name" : "collated", - "key.namelength" : 8, - "key.nameoffset" : 3664, - "key.offset" : 3660, - "key.parsed_declaration" : "let collated = Self.collate(collation: collation, items: items)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 108, - "key.reusingastcontext" : false, - "key.typename" : "[LocalizedItemCollator.CollatedSection]", - "key.typeusr" : "$sSay10ListableUI21LocalizedItemCollatorV15CollatedSectionVGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8sections9collation4with_SayAA7SectionVGSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGyAC08CollatedI0V_AHztXEtFZ8collatedL_SayAOGvp" - } - ], - "key.typename" : "(LocalizedItemCollator.Type) -> (UILocalizedIndexedCollation, [any AnyLocalizedCollatableItem], (LocalizedItemCollator.CollatedSection, inout Section) -> ()) -> [Section]", - "key.typeusr" : "$s9collation4with_Say10ListableUI7SectionVGSo27UILocalizedIndexedCollationC_SayAC26AnyLocalizedCollatableItem_pGyAC0jL8CollatorV08CollatedE0V_AEztXEtcD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8sections9collation4with_SayAA7SectionVGSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGyAC08CollatedI0V_AHztXEtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func collate(collation: UILocalizedIndexedCollation<\/Type> = .current(), items: [AnyLocalizedCollatableItem<\/Type>]) -> [CollatedSection<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4113 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 4280, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Collates and returns the set of items into `CollatedSection`s.\nYou may then convert these into list `Section`s, or for another use.", - "key.doc.column" : 24, - "key.doc.comment" : "Collates and returns the set of items into `CollatedSection`s.\nYou may then convert these into list `Section`s, or for another use.", - "key.doc.declaration" : "public static func collate(collation: UILocalizedIndexedCollation = .current(), items: [AnyLocalizedCollatableItem]) -> [CollatedSection]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "collate(collation:items:)<\/Name>s:10ListableUI21LocalizedItemCollatorV7collate9collation5itemsSayAC15CollatedSectionVGSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtFZ<\/USR>public static func collate(collation: UILocalizedIndexedCollation = .current(), items: [AnyLocalizedCollatableItem]) -> [CollatedSection]<\/Declaration>Collates and returns the set of items into CollatedSection<\/codeVoice>s. You may then convert these into list Section<\/codeVoice>s, or for another use.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 121, - "key.doc.name" : "collate(collation:items:)", - "key.doc.type" : "Function", - "key.doclength" : 144, - "key.docoffset" : 3965, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> collate<\/decl.name>(collation<\/decl.var.parameter.argument_label>: UILocalizedIndexedCollation<\/ref.class><\/decl.var.parameter.type> = .current()<\/decl.var.parameter>, items<\/decl.var.parameter.argument_label>: [AnyLocalizedCollatableItem<\/ref.protocol>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> [CollatedSection<\/ref.struct>]<\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 263, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "collate(collation:items:)", - "key.namelength" : 121, - "key.nameoffset" : 4132, - "key.offset" : 4120, - "key.parsed_declaration" : "public static func collate(\n collation : UILocalizedIndexedCollation = .current(),\n items : [AnyLocalizedCollatableItem]\n) -> [CollatedSection]", - "key.parsed_scope.end" : 130, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LocalizedItemCollator.Type) -> (UILocalizedIndexedCollation, [any AnyLocalizedCollatableItem]) -> [LocalizedItemCollator.CollatedSection]", - "key.typeusr" : "$s9collation5itemsSay10ListableUI21LocalizedItemCollatorV15CollatedSectionVGSo27UILocalizedIndexedCollationC_SayAC03Anye10CollatableF0_pGtcD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV7collate9collation5itemsSayAC15CollatedSectionVGSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 14, - "key.name" : "MARK: Internal", - "key.offset" : 4403 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let collated: [CollatedSection<\/Type>]<\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> collated<\/decl.name>: [CollatedSection<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 136, - "key.modulename" : "ListableUI", - "key.name" : "collated", - "key.namelength" : 8, - "key.nameoffset" : 4438, - "key.offset" : 4434, - "key.parsed_declaration" : "let collated : [CollatedSection]", - "key.parsed_scope.end" : 136, - "key.parsed_scope.start" : 136, - "key.reusingastcontext" : false, - "key.typename" : "[LocalizedItemCollator.CollatedSection]", - "key.typeusr" : "$sSay10ListableUI21LocalizedItemCollatorV15CollatedSectionVGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8collatedSayAC15CollatedSectionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(collation: UILocalizedIndexedCollation<\/Type> = .current(), items: [AnyLocalizedCollatableItem<\/Type>])<\/Declaration>", - "key.bodylength" : 1186, - "key.bodyoffset" : 4596, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(collation<\/decl.var.parameter.argument_label>: UILocalizedIndexedCollation<\/ref.class><\/decl.var.parameter.type> = .current()<\/decl.var.parameter>, items<\/decl.var.parameter.argument_label>: [AnyLocalizedCollatableItem<\/ref.protocol>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1307, - "key.line" : 138, - "key.modulename" : "ListableUI", - "key.name" : "init(collation:items:)", - "key.namelength" : 118, - "key.nameoffset" : 4476, - "key.offset" : 4476, - "key.parsed_declaration" : "init(\n collation : UILocalizedIndexedCollation = .current(),\n items : [AnyLocalizedCollatableItem]\n)", - "key.parsed_scope.end" : 171, - "key.parsed_scope.start" : 138, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let providers: [LocalizedItemCollator<\/Type>.Provider<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "1) Convert to providers so we can leverage `collationStringSelector`, which is Objective-C only.", - "key.doc.column" : 13, - "key.doc.comment" : "1) Convert to providers so we can leverage `collationStringSelector`, which is Objective-C only.", - "key.doc.declaration" : "let providers: [ListableUI.LocalizedItemCollator.Provider]", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "providers<\/Name>s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc9providersL_SayAC8Provider33_7EA791928592DFF016E56E231602D101LLCGvp<\/USR>let providers: [ListableUI.LocalizedItemCollator.Provider]<\/Declaration>Convert to providers so we can leverage collationStringSelector<\/codeVoice>, which is Objective-C only.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 144, - "key.doc.name" : "providers", - "key.doc.type" : "Other", - "key.doclength" : 101, - "key.docoffset" : 4605, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> providers<\/decl.name>: [LocalizedItemCollator<\/ref.struct>.Provider<\/ref.class>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 68, - "key.line" : 144, - "key.modulename" : "ListableUI", - "key.name" : "providers", - "key.namelength" : 9, - "key.nameoffset" : 4727, - "key.offset" : 4723, - "key.parsed_declaration" : "let providers = items.map {\n Provider(item: $0)\n}", - "key.parsed_scope.end" : 144, - "key.parsed_scope.start" : 144, - "key.reusingastcontext" : false, - "key.typename" : "[LocalizedItemCollator.Provider]", - "key.typeusr" : "$sSay10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLCGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc9providersL_SayAC8Provider33_7EA791928592DFF016E56E231602D101LLCGvp" - }, - { - "key.annotated_decl" : "var collated: [LocalizedItemCollator<\/Type>.CollatedSection<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "2) Convert the titles from the collation into sections.", - "key.doc.column" : 13, - "key.doc.comment" : "2) Convert the titles from the collation into sections.", - "key.doc.declaration" : "var collated: [ListableUI.LocalizedItemCollator.CollatedSection]", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "collated<\/Name>s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc8collatedL_SayAC15CollatedSectionVGvp<\/USR>var collated: [ListableUI.LocalizedItemCollator.CollatedSection]<\/Declaration>Convert the titles from the collation into sections.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 150, - "key.doc.name" : "collated", - "key.doc.type" : "Other", - "key.doclength" : 60, - "key.docoffset" : 4809, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> collated<\/decl.name>: [LocalizedItemCollator<\/ref.struct>.CollatedSection<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 105, - "key.line" : 150, - "key.modulename" : "ListableUI", - "key.name" : "collated", - "key.namelength" : 8, - "key.nameoffset" : 4890, - "key.offset" : 4886, - "key.parsed_declaration" : "var collated = collation.sectionTitles.map { title in\n CollatedSection(title: title)\n}", - "key.parsed_scope.end" : 150, - "key.parsed_scope.start" : 150, - "key.reusingastcontext" : false, - "key.typename" : "[LocalizedItemCollator.CollatedSection]", - "key.typeusr" : "$sSay10ListableUI21LocalizedItemCollatorV15CollatedSectionVGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc8collatedL_SayAC15CollatedSectionVGvp" - }, - { - "key.annotated_decl" : "let sorted: [Any]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "3) Sort all of the provided content based on the `collationString`.", - "key.doc.column" : 13, - "key.doc.comment" : "3) Sort all of the provided content based on the `collationString`.", - "key.doc.declaration" : "let sorted: [Any]", - "key.doc.discussion" : [ - { - "List-Number" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "sorted<\/Name>s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc6sortedL_SayypGvp<\/USR>let sorted: [Any]<\/Declaration>Sort all of the provided content based on the collationString<\/codeVoice>.<\/Para><\/Item><\/List-Number><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 156, - "key.doc.name" : "sorted", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 5009, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> sorted<\/decl.name>: [Any<\/syntaxtype.keyword>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 121, - "key.line" : 156, - "key.modulename" : "ListableUI", - "key.name" : "sorted", - "key.namelength" : 6, - "key.nameoffset" : 5102, - "key.offset" : 5098, - "key.parsed_declaration" : "let sorted = collation.sortedArray(from: providers, collationStringSelector: #selector(getter: Provider.collationString))", - "key.parsed_scope.end" : 156, - "key.parsed_scope.start" : 156, - "key.reusingastcontext" : false, - "key.typename" : "[Any]", - "key.typeusr" : "$sSayypGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc6sortedL_SayypGvp" - }, - { - "key.annotated_decl" : "let provider: Any<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc.comment" : "4) Insert the sorted content into the correct section's items.", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> provider<\/decl.name>: Any<\/syntaxtype.keyword><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 8, - "key.line" : 160, - "key.modulename" : "ListableUI", - "key.name" : "provider", - "key.offset" : 5325, - "key.parsed_declaration" : "for provider", - "key.parsed_scope.end" : 160, - "key.parsed_scope.start" : 160, - "key.reusingastcontext" : false, - "key.typename" : "Any", - "key.typeusr" : "$sypD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc8providerL_ypvp" - } - ], - "key.typename" : "(LocalizedItemCollator.Type) -> (UILocalizedIndexedCollation, [any AnyLocalizedCollatableItem]) -> LocalizedItemCollator", - "key.typeusr" : "$s9collation5items10ListableUI21LocalizedItemCollatorVSo27UILocalizedIndexedCollationC_SayAC03Anye10CollatableF0_pGtcD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV9collation5itemsACSo27UILocalizedIndexedCollationC_SayAA03Anyc10CollatableD0_pGtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private final class LocalizedItemCollator<\/Type>.Provider<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 5920 - }, - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5912 - } - ], - "key.bodylength" : 394, - "key.bodyoffset" : 5942, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A private wrapper that is used to ensure we have an Objective-C selector to vend to `collationStringSelector`.", - "key.doc.column" : 25, - "key.doc.comment" : "A private wrapper that is used to ensure we have an Objective-C selector to vend to `collationStringSelector`.", - "key.doc.declaration" : "private final class ListableUI.LocalizedItemCollator.Provider", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "Provider<\/Name>s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC<\/USR>private final class ListableUI.LocalizedItemCollator.Provider<\/Declaration>A private wrapper that is used to ensure we have an Objective-C selector to vend to collationStringSelector<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 174, - "key.doc.name" : "Provider", - "key.doc.type" : "Class", - "key.doclength" : 115, - "key.docoffset" : 5793, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> LocalizedItemCollator<\/ref.struct>.Provider<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 411, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "Provider", - "key.namelength" : 8, - "key.nameoffset" : 5932, - "key.offset" : 5926, - "key.parsed_declaration" : "private final class Provider", - "key.parsed_scope.end" : 186, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "let item: AnyLocalizedCollatableItem<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item backing the provider, to vend the `collationString`.", - "key.doc.column" : 13, - "key.doc.comment" : "The item backing the provider, to vend the `collationString`.", - "key.doc.declaration" : "let item: AnyLocalizedCollatableItem", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "item<\/Name>s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC4itemAA03Anyc10CollatableD0_pvp<\/USR>let item: AnyLocalizedCollatableItem<\/Declaration>The item backing the provider, to vend the collationString<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 177, - "key.doc.name" : "item", - "key.doc.type" : "Other", - "key.doclength" : 66, - "key.docoffset" : 5960, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> item<\/decl.name>: AnyLocalizedCollatableItem<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 37, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 6038, - "key.offset" : 6034, - "key.parsed_declaration" : "let item : AnyLocalizedCollatableItem", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.typename" : "any AnyLocalizedCollatableItem", - "key.typeusr" : "$s10ListableUI26AnyLocalizedCollatableItem_pD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC4itemAA03Anyc10CollatableD0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "@objc let collationString: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.objc", - "key.length" : 5, - "key.offset" : 6139 - } - ], - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The string used to collate all items.", - "key.doc.column" : 19, - "key.doc.comment" : "The string used to collate all items.", - "key.doc.declaration" : "@objc let collationString: String", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "collationString<\/Name>s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC15collationStringSSvp<\/USR>@objc let collationString: String<\/Declaration>The string used to collate all items.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 180, - "key.doc.name" : "collationString", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 6089, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "@objc<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> let<\/syntaxtype.keyword> collationString<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 180, - "key.modulename" : "ListableUI", - "key.name" : "collationString", - "key.namelength" : 15, - "key.nameoffset" : 6149, - "key.offset" : 6145, - "key.parsed_declaration" : "@objc let collationString : String", - "key.parsed_scope.end" : 180, - "key.parsed_scope.start" : 180, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC15collationStringSSvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init(item: AnyLocalizedCollatableItem<\/Type>)<\/Declaration>", - "key.bodylength" : 99, - "key.bodyoffset" : 6231, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>(item<\/decl.var.parameter.argument_label>: AnyLocalizedCollatableItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 140, - "key.line" : 182, - "key.modulename" : "ListableUI", - "key.name" : "init(item:)", - "key.namelength" : 38, - "key.nameoffset" : 6191, - "key.offset" : 6191, - "key.parsed_declaration" : "init(item: AnyLocalizedCollatableItem)", - "key.parsed_scope.end" : 185, - "key.parsed_scope.start" : 182, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(LocalizedItemCollator.Provider.Type) -> (any AnyLocalizedCollatableItem) -> LocalizedItemCollator.Provider", - "key.typeusr" : "$s4item10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLCAB03Anyd10CollatableE0_p_tcD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC4itemAfA03Anyc10CollatableD0_p_tcfc" - } - ], - "key.typename" : "LocalizedItemCollator.Provider.Type", - "key.typeusr" : "$s10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLCmD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV8Provider33_7EA791928592DFF016E56E231602D101LLC" - } - ], - "key.typename" : "LocalizedItemCollator.Type", - "key.typeusr" : "$s10ListableUI21LocalizedItemCollatorVmD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV" - }, - { - "key.annotated_decl" : "public struct LocalizedItemCollator<\/Declaration>", - "key.bodylength" : 523, - "key.bodyoffset" : 6375, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If you're looking for the equivalent of `UILocalizedIndexedCollation` for lists,\nyou have come to the right place.\n\n`LocalizedItemCollator` takes in a list of unsorted content, and sorts and then\npartitions the content into sections, returning you a list of collated sections for display.\n\nJust like `UILocalizedIndexedCollation`, `LocalizedItemCollator` takes\ninto account the localization settings of the device, using different collation for the various\nsupported iOS languages.\n\nExample\n-------\n```\nList { list in\n list += LocalizedItemCollator.sections(with: items) { collated, section in\n\n \/\/\/ You are passed a pre-populated section on which you may\n \/\/\/ customize the header and footer, or mutate the content.\n\n section.header = DemoHeader(title: collated.title)\n section.footer = DemoFooter(title: collated.title)\n }\n}\n\n```\nWarning\n-------\nSorting and partitioning thousands and thousands of `Items` each\ntime a list updates can be expensive, especially on slower devices.\n\nIf you have a list that you wish to collate that may contain thousands of items,\nit is recommended that you store the list pre-collated outside of Listable,\nso each recreation of the list's view model does not re-partake in an expensive sort operation.\nInstead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc).\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct LocalizedItemCollator", - "key.doc.discussion" : [ - { - "Para" : "`LocalizedItemCollator` takes in a list of unsorted content, and sorts and then partitions the content into sections, returning you a list of collated sections for display." - }, - { - "Para" : "Just like `UILocalizedIndexedCollation`, `LocalizedItemCollator` takes into account the localization settings of the device, using different collation for the various supported iOS languages." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Sorting and partitioning thousands and thousands of `Items` each time a list updates can be expensive, especially on slower devices." - }, - { - "Para" : "If you have a list that you wish to collate that may contain thousands of items, it is recommended that you store the list pre-collated outside of Listable, so each recreation of the list’s view model does not re-partake in an expensive sort operation. Instead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "LocalizedItemCollator<\/Name>s:10ListableUI21LocalizedItemCollatorV<\/USR>public struct LocalizedItemCollator<\/Declaration>If you’re looking for the equivalent of UILocalizedIndexedCollation<\/codeVoice> for lists, you have come to the right place.<\/Para><\/Abstract>LocalizedItemCollator<\/codeVoice> takes in a list of unsorted content, and sorts and then partitions the content into sections, returning you a list of collated sections for display.<\/Para>Just like UILocalizedIndexedCollation<\/codeVoice>, LocalizedItemCollator<\/codeVoice> takes into account the localization settings of the device, using different collation for the various supported iOS languages.<\/Para>]]><\/rawHTML>Example]]><\/rawHTML><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Warning]]><\/rawHTML>Sorting and partitioning thousands and thousands of Items<\/codeVoice> each time a list updates can be expensive, especially on slower devices.<\/Para>If you have a list that you wish to collate that may contain thousands of items, it is recommended that you store the list pre-collated outside of Listable, so each recreation of the list’s view model does not re-partake in an expensive sort operation. Instead only re-collate when the underlying list receives an update (from Core Data, an API callback, etc).<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 83, - "key.doc.name" : "LocalizedItemCollator", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> LocalizedItemCollator<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 557, - "key.line" : 83, - "key.modulename" : "ListableUI", - "key.name" : "LocalizedItemCollator", - "key.namelength" : 21, - "key.nameoffset" : 6352, - "key.offset" : 6342, - "key.parsed_declaration" : "extension LocalizedItemCollator", - "key.parsed_scope.end" : 204, - "key.parsed_scope.start" : 190, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct CollatedSection<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6504 - } - ], - "key.bodylength" : 361, - "key.bodyoffset" : 6535, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The output of the collator, with the collated title and items\nthat should be added to a given section.", - "key.doc.column" : 19, - "key.doc.comment" : "The output of the collator, with the collated title and items\nthat should be added to a given section.", - "key.doc.declaration" : "public struct CollatedSection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "CollatedSection<\/Name>s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV<\/USR>public struct CollatedSection<\/Declaration>The output of the collator, with the collated title and items that should be added to a given section.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 194, - "key.doc.name" : "CollatedSection", - "key.doc.type" : "Class", - "key.doclength" : 115, - "key.docoffset" : 6385, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> CollatedSection<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 386, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "CollatedSection", - "key.namelength" : 15, - "key.nameoffset" : 6518, - "key.offset" : 6511, - "key.parsed_declaration" : "public struct CollatedSection", - "key.parsed_scope.end" : 203, - "key.parsed_scope.start" : 194, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var title: String<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6760 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The title of section – a single letter like A, B, C, D, E, etc.\nLocalized depending on locale.\nSee https:\/\/nshipster.com\/uilocalizedindexedcollation\/ for more examples.", - "key.doc.column" : 20, - "key.doc.comment" : "The title of section – a single letter like A, B, C, D, E, etc.\nLocalized depending on locale.\nSee https:\/\/nshipster.com\/uilocalizedindexedcollation\/ for more examples.", - "key.doc.declaration" : "public var title: String", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "title<\/Name>s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV5titleSSvp<\/USR>public var title: String<\/Declaration>The title of section – a single letter like A, B, C, D, E, etc. Localized depending on locale. See https:\/\/nshipster.com\/uilocalizedindexedcollation\/ for more examples.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 199, - "key.doc.name" : "title", - "key.doc.type" : "Other", - "key.doclength" : 199, - "key.docoffset" : 6553, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> title<\/decl.name>: String<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 199, - "key.modulename" : "ListableUI", - "key.name" : "title", - "key.namelength" : 5, - "key.nameoffset" : 6771, - "key.offset" : 6767, - "key.parsed_declaration" : "public var title : String", - "key.parsed_scope.end" : 199, - "key.parsed_scope.start" : 199, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV5titleSSvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var items: [AnyItem<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6858 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The sorted items in the collated sections.", - "key.doc.column" : 20, - "key.doc.comment" : "The sorted items in the collated sections.", - "key.doc.declaration" : "public var items: [AnyItem]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.doc.full_as_xml" : "items<\/Name>s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV5itemsSayAA03AnyD0_pGvp<\/USR>public var items: [AnyItem]<\/Declaration>The sorted items in the collated sections.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 202, - "key.doc.name" : "items", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 6803, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> items<\/decl.name>: [AnyItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 26, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 6869, - "key.offset" : 6865, - "key.parsed_declaration" : "public var items : [AnyItem] = []", - "key.parsed_scope.end" : 202, - "key.parsed_scope.start" : 202, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "[any AnyItem]", - "key.typeusr" : "$sSay10ListableUI7AnyItem_pGD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV5itemsSayAA03AnyD0_pGvp" - } - ], - "key.typename" : "LocalizedItemCollator.CollatedSection.Type", - "key.typeusr" : "$s10ListableUI21LocalizedItemCollatorV15CollatedSectionVmD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV15CollatedSectionV" - } - ], - "key.typename" : "LocalizedItemCollator.Type", - "key.typeusr" : "$s10ListableUI21LocalizedItemCollatorVmD", - "key.usr" : "s:10ListableUI21LocalizedItemCollatorV" - }, - { - "key.annotated_decl" : "public struct Item<Content> : AnyItem<\/Type>, AnyItemConvertible<\/Type> where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.bodylength" : 90, - "key.bodyoffset" : 7159, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An `Item` is one of the core types deployed by Listable, allowing you to specify\nand control many of the behaviors, appearance options, and callbacks for interacting\nwith rows within a list.\n\n`Item` wraps an `ItemContent` struct (a protocol you implement to provide content),\nwhich drives the primary content of the row the `Item` displays.\n\nIf you are used to working with a collection view or table view, you can think of `ItemContent`\nas what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional\noptions of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.\n\nOnce added to a section, `Item` is type erased to`AnyItem`,\nto allow for mixed collections of content within a section.", - "key.doc.column" : 15, - "key.doc.comment" : "Ensures that `Item` (and by extension, `AnyItem`) will conform to `LocalizedCollatableItem`\nwhen its `content` conforms to `LocalizedCollatableItemContent`.", - "key.doc.declaration" : "public struct Item : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent", - "key.doc.discussion" : [ - { - "Para" : "`Item` wraps an `ItemContent` struct (a protocol you implement to provide content), which drives the primary content of the row the `Item` displays." - }, - { - "Para" : "If you are used to working with a collection view or table view, you can think of `ItemContent` as what you put in the `contentView` of your cell, and you can think of `Item` as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc." - }, - { - "Para" : "Once added to a section, `Item` is type erased to`AnyItem`, to allow for mixed collections of content within a section." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.doc.full_as_xml" : "Item<\/Name>s:10ListableUI4ItemV<\/USR>public struct Item<Content> : AnyItem, AnyItemConvertible where Content : ListableUI.ItemContent<\/Declaration>An Item<\/codeVoice> is one of the core types deployed by Listable, allowing you to specify and control many of the behaviors, appearance options, and callbacks for interacting with rows within a list.<\/Para><\/Abstract>Item<\/codeVoice> wraps an ItemContent<\/codeVoice> struct (a protocol you implement to provide content), which drives the primary content of the row the Item<\/codeVoice> displays.<\/Para>If you are used to working with a collection view or table view, you can think of ItemContent<\/codeVoice> as what you put in the contentView<\/codeVoice> of your cell, and you can think of Item<\/codeVoice> as all of the additional options of a row\/cell: sizing, swipe to delete actions, reordering controls, callbacks, etc.<\/Para>Once added to a section, Item<\/codeVoice> is type erased toAnyItem<\/codeVoice>, to allow for mixed collections of content within a section.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 22, - "key.doc.name" : "Item", - "key.doc.type" : "Class", - "key.doclength" : 165, - "key.docoffset" : 6902, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 26, - "key.offset" : 7084 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Item\/Item.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Item<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>> : AnyItem<\/ref.protocol>, AnyItemConvertible<\/ref.protocol> where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyLocalizedCollatableItem" - } - ], - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 183, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "Item", - "key.namelength" : 4, - "key.nameoffset" : 7077, - "key.offset" : 7067, - "key.parsed_declaration" : "extension Item : AnyLocalizedCollatableItem where Content : LocalizedCollatableItemContent", - "key.parsed_scope.end" : 214, - "key.parsed_scope.start" : 209, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var collationString: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7169 - } - ], - "key.bodylength" : 42, - "key.bodyoffset" : 7205, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/LocalizedItemCollator.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> collationString<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 72, - "key.line" : 211, - "key.modulename" : "ListableUI", - "key.name" : "collationString", - "key.namelength" : 15, - "key.nameoffset" : 7180, - "key.offset" : 7176, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI26AnyLocalizedCollatableItemP15collationStringSSvp" - } - ], - "key.parsed_declaration" : "public var collationString: String", - "key.parsed_scope.end" : 213, - "key.parsed_scope.start" : 211, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI4ItemVA2A019LocalizedCollatableC7ContentRzrlE15collationStringSSvp" - } - ], - "key.typename" : "Item.Type", - "key.typeusr" : "$s10ListableUI4ItemVyxGmD", - "key.usr" : "s:10ListableUI4ItemV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5984, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public struct ItemPreview : View<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 705 - } - ], - "key.bodylength" : 5235, - "key.bodyoffset" : 739, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A SwiftUI view that you can use to preview your `Item` or `ItemContent`\nwith Xcode's built in preview functionality.\n\nPlace code similar to the below in your source file alongside your `ItemContent`,\nand then open the Xcode editor's canvas.\n\n```\nstruct ElementPreview : PreviewProvider {\n static var previews: some View {\n ItemPreview.withAllItemStates(\n for: Item(XcodePreviewDemoContent(\n text: \"Lorem ipsum dolor sit amet (...)\"\n ))\n )\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\n A SwiftUI view that you can use to preview your `Item` or `ItemContent`\n with Xcode's built in preview functionality.\n\n Place code similar to the below in your source file alongside your `ItemContent`,\n and then open the Xcode editor's canvas.\n\n```\n struct ElementPreview : PreviewProvider {\n static var previews: some View {\n ItemPreview.withAllItemStates(\n for: Item(XcodePreviewDemoContent(\n text: \"Lorem ipsum dolor sit amet (...)\"\n ))\n )\n }\n }\n ```", - "key.doc.declaration" : "@MainActor public struct ItemPreview : View", - "key.doc.discussion" : [ - { - "Para" : "Place code similar to the below in your source file alongside your `ItemContent`, and then open the Xcode editor’s canvas." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "ItemPreview<\/Name>s:10ListableUI11ItemPreviewV<\/USR>@MainActor public struct ItemPreview : View<\/Declaration>A SwiftUI view that you can use to preview your Item<\/codeVoice> or ItemContent<\/codeVoice> with Xcode’s built in preview functionality.<\/Para><\/Abstract>Place code similar to the below in your source file alongside your ItemContent<\/codeVoice>, and then open the Xcode editor’s canvas.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 34, - "key.doc.name" : "ItemPreview", - "key.doc.type" : "Class", - "key.doclength" : 574, - "key.docoffset" : 131, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 4, - "key.offset" : 733 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemPreview<\/decl.name> : View<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "View" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 5263, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "ItemPreview", - "key.namelength" : 11, - "key.nameoffset" : 719, - "key.offset" : 712, - "key.parsed_declaration" : "public struct ItemPreview : View", - "key.parsed_scope.end" : 192, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var item: AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 793 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The item being previewed by the preview.", - "key.doc.column" : 16, - "key.doc.comment" : "The item being previewed by the preview.", - "key.doc.declaration" : "@MainActor public var item: AnyItem", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "item<\/Name>s:10ListableUI11ItemPreviewV4itemAA03AnyC0_pvp<\/USR>@MainActor public var item: AnyItem<\/Declaration>The item being previewed by the preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 37, - "key.doc.name" : "item", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 744, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 804, - "key.offset" : 800, - "key.parsed_declaration" : "public var item : AnyItem", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI11ItemPreviewV4itemAA03AnyC0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var properties: Properties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 875 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The properties of the current preview.", - "key.doc.column" : 16, - "key.doc.comment" : "The properties of the current preview.", - "key.doc.declaration" : "@MainActor public var properties: Properties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "properties<\/Name>s:10ListableUI11ItemPreviewV10propertiesAC10PropertiesVvp<\/USR>@MainActor public var properties: Properties<\/Declaration>The properties of the current preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 40, - "key.doc.name" : "properties", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 828, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> properties<\/decl.name>: Properties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 886, - "key.offset" : 882, - "key.parsed_declaration" : "public var properties : Properties", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemPreview.Properties", - "key.typeusr" : "$s10ListableUI11ItemPreviewV10PropertiesVD", - "key.usr" : "s:10ListableUI11ItemPreviewV10propertiesAC10PropertiesVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemPreview<\/Type>.Properties<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 956 - } - ], - "key.bodylength" : 707, - "key.bodyoffset" : 986, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The properties of a preview.", - "key.doc.column" : 19, - "key.doc.comment" : "The properties of a preview.", - "key.doc.declaration" : "public struct ListableUI.ItemPreview.Properties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "Properties<\/Name>s:10ListableUI11ItemPreviewV10PropertiesV<\/USR>public struct ListableUI.ItemPreview.Properties<\/Declaration>The properties of a preview.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 43, - "key.doc.name" : "Properties", - "key.doc.type" : "Class", - "key.doclength" : 33, - "key.docoffset" : 919, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemPreview<\/ref.struct>.Properties<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 731, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "Properties", - "key.namelength" : 10, - "key.nameoffset" : 970, - "key.offset" : 963, - "key.parsed_declaration" : "public struct Properties", - "key.parsed_scope.end" : 62, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1033 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width of the preview.", - "key.doc.column" : 20, - "key.doc.comment" : "The width of the preview.", - "key.doc.declaration" : "public var width: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI11ItemPreviewV10PropertiesV5width14CoreFoundation7CGFloatVvp<\/USR>public var width: CGFloat<\/Declaration>The width of the preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 46, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 30, - "key.docoffset" : 995, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 46, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 1044, - "key.offset" : 1040, - "key.parsed_declaration" : "public var width : CGFloat", - "key.parsed_scope.end" : 46, - "key.parsed_scope.start" : 46, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI11ItemPreviewV10PropertiesV5width14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var state: ItemState<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1119 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `ItemState` to use in the preview.", - "key.doc.column" : 20, - "key.doc.comment" : "The `ItemState` to use in the preview.", - "key.doc.declaration" : "public var state: ItemState", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "state<\/Name>s:10ListableUI11ItemPreviewV10PropertiesV5stateAA0C5StateVvp<\/USR>public var state: ItemState<\/Declaration>The ItemState<\/codeVoice> to use in the preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 48, - "key.doc.name" : "state", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 1068, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> state<\/decl.name>: ItemState<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "state", - "key.namelength" : 5, - "key.nameoffset" : 1130, - "key.offset" : 1126, - "key.parsed_declaration" : "public var state : ItemState", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 48, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemState", - "key.typeusr" : "$s10ListableUI9ItemStateVD", - "key.usr" : "s:10ListableUI11ItemPreviewV10PropertiesV5stateAA0C5StateVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var appearance: ItemPreviewAppearance<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1207 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The desired appearance of the preview.", - "key.doc.column" : 20, - "key.doc.comment" : "The desired appearance of the preview.", - "key.doc.declaration" : "public var appearance: ItemPreviewAppearance", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "appearance<\/Name>s:10ListableUI11ItemPreviewV10PropertiesV10appearanceAA0cD10AppearanceVvp<\/USR>public var appearance: ItemPreviewAppearance<\/Declaration>The desired appearance of the preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 50, - "key.doc.name" : "appearance", - "key.doc.type" : "Other", - "key.doclength" : 43, - "key.docoffset" : 1156, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> appearance<\/decl.name>: ItemPreviewAppearance<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "appearance", - "key.namelength" : 10, - "key.nameoffset" : 1218, - "key.offset" : 1214, - "key.parsed_declaration" : "public var appearance : ItemPreviewAppearance", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemPreviewAppearance", - "key.typeusr" : "$s10ListableUI21ItemPreviewAppearanceVD", - "key.usr" : "s:10ListableUI11ItemPreviewV10PropertiesV10appearanceAA0cD10AppearanceVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(with width: CGFloat<\/Type> = UIScreen.main.bounds.width, state: ItemState<\/Type> = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance<\/Type> = .init())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1330 - } - ], - "key.bodylength" : 112, - "key.bodyoffset" : 1575, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new preview with the desired options.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new preview with the desired options.", - "key.doc.declaration" : "public init(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "init(with:state:appearance:)<\/Name>s:10ListableUI11ItemPreviewV10PropertiesV4with5state10appearanceAE14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVtcfc<\/USR>public init(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init())<\/Declaration>Creates a new preview with the desired options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 53, - "key.doc.name" : "init(with:state:appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 52, - "key.docoffset" : 1270, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> width<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = UIScreen.main.bounds.width<\/decl.var.parameter>, state<\/decl.var.parameter.argument_label>: ItemState<\/ref.struct><\/decl.var.parameter.type> = .init(isSelected: false, isHighlighted: false, isReordering: false)<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: ItemPreviewAppearance<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 351, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "init(with:state:appearance:)", - "key.namelength" : 236, - "key.nameoffset" : 1337, - "key.offset" : 1337, - "key.parsed_declaration" : "public init(\n with width : CGFloat = UIScreen.main.bounds.width,\n state : ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false),\n appearance : ItemPreviewAppearance = .init()\n)", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreview.Properties.Type) -> (CGFloat, ItemState, ItemPreviewAppearance) -> ItemPreview.Properties", - "key.typeusr" : "$s4with5state10appearance10ListableUI11ItemPreviewV10PropertiesV14CoreFoundation7CGFloatV_AD0F5StateVAD0fG10AppearanceVtcD", - "key.usr" : "s:10ListableUI11ItemPreviewV10PropertiesV4with5state10appearanceAE14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVtcfc" - } - ], - "key.typename" : "ItemPreview.Properties.Type", - "key.typeusr" : "$s10ListableUI11ItemPreviewV10PropertiesVmD", - "key.usr" : "s:10ListableUI11ItemPreviewV10PropertiesV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public static func previews(for item: AnyItem<\/Type>, with properties: [Properties<\/Type>]) -> some View<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1908 - } - ], - "key.bodylength" : 705, - "key.bodyoffset" : 2006, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates and returns a SwiftUI view that contains individual previews for each of the provided\nproperties. Use this if you'd like to preview your `Item` across multiple sizes, states, etc.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates and returns a SwiftUI view that contains individual previews for each of the provided\nproperties. Use this if you'd like to preview your `Item` across multiple sizes, states, etc.", - "key.doc.declaration" : "@MainActor public static func previews(for item: AnyItem, with properties: [Properties]) -> some View", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "previews(for:with:)<\/Name>s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ<\/USR>@MainActor public static func previews(for item: AnyItem, with properties: [Properties]) -> some View<\/Declaration>Creates and returns a SwiftUI view that contains individual previews for each of the provided properties. Use this if you’d like to preview your Item<\/codeVoice> across multiple sizes, states, etc.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 66, - "key.doc.name" : "previews(for:with:)", - "key.doc.type" : "Function", - "key.doclength" : 200, - "key.docoffset" : 1704, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> previews<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> properties<\/decl.var.parameter.name>: [Properties<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> some<\/syntaxtype.keyword> View<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 797, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "previews(for:with:)", - "key.namelength" : 60, - "key.nameoffset" : 1927, - "key.offset" : 1915, - "key.parsed_declaration" : "public static func previews(for item : AnyItem, with properties : [Properties]) -> some View", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "struct PreviewsItem<\/Declaration>", - "key.bodylength" : 269, - "key.bodyoffset" : 2044, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> PreviewsItem<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 299, - "key.line" : 68, - "key.modulename" : "ListableUI", - "key.name" : "PreviewsItem", - "key.namelength" : 12, - "key.nameoffset" : 2022, - "key.offset" : 2015, - "key.parsed_declaration" : "struct PreviewsItem", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 68, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var item: AnyItem<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> item<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 70, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 2061, - "key.offset" : 2057, - "key.parsed_declaration" : "var item : AnyItem", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 70, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V4itemAaG_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var properties: Properties<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> properties<\/decl.name>: Properties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 2092, - "key.offset" : 2088, - "key.parsed_declaration" : "var properties : Properties", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ItemPreview.Properties", - "key.typeusr" : "$s10ListableUI11ItemPreviewV10PropertiesVD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10propertiesAIvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var identifierValue: Identifier<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> identifierValue<\/decl.name>: Identifier<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 73, - "key.modulename" : "ListableUI", - "key.name" : "identifierValue", - "key.namelength" : 15, - "key.nameoffset" : 2137, - "key.offset" : 2133, - "key.parsed_declaration" : "var identifierValue : Identifier", - "key.parsed_scope.end" : 73, - "key.parsed_scope.start" : 73, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "PreviewsItem.Identifier", - "key.typeusr" : "$s10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10IdentifierVD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V15identifierValueAL10IdentifierVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "struct PreviewsItem<\/Type>.Identifier : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 82, - "key.bodyoffset" : 2221, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 2211 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "struct<\/syntaxtype.keyword> PreviewsItem<\/ref.struct>.Identifier<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 113, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 2198, - "key.offset" : 2191, - "key.parsed_declaration" : "struct Identifier : Hashable", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var index: Int<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> index<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 15, - "key.line" : 76, - "key.modulename" : "ListableUI", - "key.name" : "index", - "key.namelength" : 5, - "key.nameoffset" : 2242, - "key.offset" : 2238, - "key.parsed_declaration" : "var index : Int", - "key.parsed_scope.end" : 76, - "key.parsed_scope.start" : 76, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10IdentifierV5indexSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var totalCount: Int<\/Type><\/Declaration>", - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> totalCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "totalCount", - "key.namelength" : 10, - "key.nameoffset" : 2274, - "key.offset" : 2270, - "key.parsed_declaration" : "var totalCount : Int", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10IdentifierV10totalCountSivp" - } - ], - "key.typename" : "PreviewsItem.Identifier.Type", - "key.typeusr" : "$s10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10IdentifierVmD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V10IdentifierV" - } - ], - "key.typename" : "PreviewsItem.Type", - "key.typeusr" : "$s10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_VmD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_V" - }, - { - "key.annotated_decl" : "let previewsItems: [PreviewsItem<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> previewsItems<\/decl.name>: [PreviewsItem<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 235, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "previewsItems", - "key.namelength" : 13, - "key.nameoffset" : 2336, - "key.offset" : 2332, - "key.parsed_declaration" : "let previewsItems = properties.mapWithIndex {\n PreviewsItem(\n item: item,\n properties: $2,\n identifierValue: .init(index: $0, totalCount: properties.count)\n )\n}", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.typename" : "[PreviewsItem]", - "key.typeusr" : "$sSay10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ08PreviewsC0L_VGD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ0E5ItemsL_SayAcdeFQrAaG_p_AJtFZ08PreviewsC0L_VGvp" - } - ], - "key.typename" : "(ItemPreview.Type) -> (any AnyItem, [ItemPreview.Properties]) -> some View", - "key.typeusr" : "$s3for4withQr10ListableUI7AnyItem_p_SayAC0F7PreviewV10PropertiesVGtcD", - "key.usr" : "s:10ListableUI11ItemPreviewV8previews3for4withQrAA03AnyC0_p_SayAC10PropertiesVGtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public static func withAllItemStates(for item: AnyItem<\/Type>, width: CGFloat<\/Type> = UIScreen.main.bounds.width, appearance: ItemPreviewAppearance<\/Type> = .init()) -> some View<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3251 - } - ], - "key.bodylength" : 622, - "key.bodyoffset" : 3448, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates and returns a SwiftUI view that contains individual previews for all the possible\nstates of `ItemState`. This allows you to see your `Item` across the possible\nselected and highlighted states it can appear in:\n\n```\nisSelected: false, isHighlighted: false\nisSelected: false, isHighlighted: true\nisSelected: true, isHighlighted: false\nisSelected: true, isHighlighted: true\nisSelected: false, isHighlighted: true, isReordering: true\n```", - "key.doc.column" : 24, - "key.doc.comment" : "Creates and returns a SwiftUI view that contains individual previews for all the possible\nstates of `ItemState`. This allows you to see your `Item` across the possible\nselected and highlighted states it can appear in:\n\n```\nisSelected: false, isHighlighted: false\nisSelected: false, isHighlighted: true\nisSelected: true, isHighlighted: false\nisSelected: true, isHighlighted: true\nisSelected: false, isHighlighted: true, isReordering: true\n```", - "key.doc.declaration" : "@MainActor public static func withAllItemStates(for item: AnyItem, width: CGFloat = UIScreen.main.bounds.width, appearance: ItemPreviewAppearance = .init()) -> some View", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "withAllItemStates(for:width:appearance:)<\/Name>s:10ListableUI11ItemPreviewV07withAllC6States3for5width10appearanceQrAA03AnyC0_p_14CoreFoundation7CGFloatVAA0cD10AppearanceVtFZ<\/USR>@MainActor public static func withAllItemStates(for item: AnyItem, width: CGFloat = UIScreen.main.bounds.width, appearance: ItemPreviewAppearance = .init()) -> some View<\/Declaration>Creates and returns a SwiftUI view that contains individual previews for all the possible states of ItemState<\/codeVoice>. This allows you to see your Item<\/codeVoice> across the possible selected and highlighted states it can appear in:<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 105, - "key.doc.name" : "withAllItemStates(for:width:appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 525, - "key.docoffset" : 2722, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> withAllItemStates<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = UIScreen.main.bounds.width<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: ItemPreviewAppearance<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>) -> some<\/syntaxtype.keyword> View<\/ref.protocol><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 813, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "withAllItemStates(for:width:appearance:)", - "key.namelength" : 159, - "key.nameoffset" : 3270, - "key.offset" : 3258, - "key.parsed_declaration" : "public static func withAllItemStates(\n for item : AnyItem,\n width : CGFloat = UIScreen.main.bounds.width,\n appearance : ItemPreviewAppearance = .init()\n) -> some View", - "key.parsed_scope.end" : 122, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let states: [ItemState<\/Type>]<\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> states<\/decl.name>: [ItemState<\/ref.struct>]<\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 458, - "key.line" : 111, - "key.modulename" : "ListableUI", - "key.name" : "states", - "key.namelength" : 6, - "key.nameoffset" : 3461, - "key.offset" : 3457, - "key.parsed_declaration" : "let states : [ItemState] = [\n ItemState(isSelected: false, isHighlighted: false, isReordering: false),\n ItemState(isSelected: false, isHighlighted: true, isReordering: false),\n ItemState(isSelected: true, isHighlighted: false, isReordering: false),\n ItemState(isSelected: true, isHighlighted: true, isReordering: false),\n ItemState(isSelected: false, isHighlighted: false, isReordering: true),\n]", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 111, - "key.reusingastcontext" : false, - "key.typename" : "[ItemState]", - "key.typeusr" : "$sSay10ListableUI9ItemStateVGD", - "key.usr" : "s:10ListableUI11ItemPreviewV07withAllC6States3for5width10appearanceQrAA03AnyC0_p_14CoreFoundation7CGFloatVAA0cD10AppearanceVtFZ6statesL_SayAA0C5StateVGvp" - } - ], - "key.typename" : "(ItemPreview.Type) -> (any AnyItem, CGFloat, ItemPreviewAppearance) -> some View", - "key.typeusr" : "$s3for5width10appearanceQr10ListableUI7AnyItem_p_14CoreFoundation7CGFloatVAD0G17PreviewAppearanceVtcD", - "key.usr" : "s:10ListableUI11ItemPreviewV07withAllC6States3for5width10appearanceQrAA03AnyC0_p_14CoreFoundation7CGFloatVAA0cD10AppearanceVtFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 4091 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public init(_ item: AnyItem<\/Type>, width: CGFloat<\/Type> = UIScreen.main.bounds.width, state: ItemState<\/Type> = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance<\/Type> = .init())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4188 - } - ], - "key.bodylength" : 200, - "key.bodyoffset" : 4438, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new preview with the provided properties.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new preview with the provided properties.", - "key.doc.declaration" : "@MainActor public init(_ item: AnyItem, width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init())", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "init(_:width:state:appearance:)<\/Name>s:10ListableUI11ItemPreviewV_5width5state10appearanceAcA03AnyC0_p_14CoreFoundation7CGFloatVAA0C5StateVAA0cD10AppearanceVtcfc<\/USR>@MainActor public init(_ item: AnyItem, width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init())<\/Declaration>Creates a new preview with the provided properties.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 129, - "key.doc.name" : "init(_:width:state:appearance:)", - "key.doc.type" : "Function", - "key.doclength" : 56, - "key.docoffset" : 4128, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = UIScreen.main.bounds.width<\/decl.var.parameter>, state<\/decl.var.parameter.argument_label>: ItemState<\/ref.struct><\/decl.var.parameter.type> = .init(isSelected: false, isHighlighted: false, isReordering: false)<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: ItemPreviewAppearance<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 444, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "init(_:width:state:appearance:)", - "key.namelength" : 241, - "key.nameoffset" : 4195, - "key.offset" : 4195, - "key.parsed_declaration" : "public init(\n _ item : AnyItem,\n width : CGFloat = UIScreen.main.bounds.width,\n state : ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false),\n appearance : ItemPreviewAppearance = .init()\n)", - "key.parsed_scope.end" : 143, - "key.parsed_scope.start" : 129, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:properties:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreview.Type) -> (any AnyItem, CGFloat, ItemState, ItemPreviewAppearance) -> ItemPreview", - "key.typeusr" : "$s_5width5state10appearance10ListableUI11ItemPreviewVAD03AnyF0_p_14CoreFoundation7CGFloatVAD0F5StateVAD0fG10AppearanceVtcD", - "key.usr" : "s:10ListableUI11ItemPreviewV_5width5state10appearanceAcA03AnyC0_p_14CoreFoundation7CGFloatVAA0C5StateVAA0cD10AppearanceVtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public init(_ item: AnyItem<\/Type>, properties: Properties<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4709 - } - ], - "key.bodylength" : 76, - "key.bodyoffset" : 4787, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new preview with the provided properties.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new preview with the provided properties.", - "key.doc.declaration" : "@MainActor public init(_ item: AnyItem, properties: Properties)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.doc.full_as_xml" : "init(_:properties:)<\/Name>s:10ListableUI11ItemPreviewV_10propertiesAcA03AnyC0_p_AC10PropertiesVtcfc<\/USR>@MainActor public init(_ item: AnyItem, properties: Properties)<\/Declaration>Creates a new preview with the provided properties.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 146, - "key.doc.name" : "init(_:properties:)", - "key.doc.type" : "Function", - "key.doclength" : 56, - "key.docoffset" : 4649, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, properties<\/decl.var.parameter.argument_label>: Properties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 148, - "key.line" : 146, - "key.modulename" : "ListableUI", - "key.name" : "init(_:properties:)", - "key.namelength" : 69, - "key.nameoffset" : 4716, - "key.offset" : 4716, - "key.parsed_declaration" : "public init(\n _ item : AnyItem,\n properties : Properties\n)", - "key.parsed_scope.end" : 153, - "key.parsed_scope.start" : 146, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:width:state:appearance:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreview.Type) -> (any AnyItem, ItemPreview.Properties) -> ItemPreview", - "key.typeusr" : "$s_10properties10ListableUI11ItemPreviewVAB03AnyD0_p_AD10PropertiesVtcD", - "key.usr" : "s:10ListableUI11ItemPreviewV_10propertiesAcA03AnyC0_p_AC10PropertiesVtcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 18, - "key.name" : "MARK: SwiftUI.View", - "key.offset" : 4884 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var body: some View<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4919 - } - ], - "key.bodylength" : 211, - "key.bodyoffset" : 4947, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The content and behavior of the view.\n\nWhen you implement a custom view, you must implement a computed\n`body` property to provide the content for your view. Return a view\nthat's composed of built-in views that SwiftUI provides, plus other\ncomposite views that you've already defined:\n\n struct MyView: View {\n var body: some View {\n Text(\"Hello, World!\")\n }\n }\n\nFor more information about composing views and a view hierarchy,\nsee .", - "key.doc.declaration" : "@ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }", - "key.doc.discussion" : [ - { - "Para" : "When you implement a custom view, you must implement a computed `body` property to provide the content for your view. Return a view that’s composed of built-in views that SwiftUI provides, plus other composite views that you’ve already defined:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "For more information about composing views and a view hierarchy, see ." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "body<\/Name>s:7SwiftUI4ViewP4body4BodyQzvp<\/USR>@ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }<\/Declaration>The content and behavior of the view.<\/Para><\/Abstract>When you implement a custom view, you must implement a computed body<\/codeVoice> property to provide the content for your view. Return a view that’s composed of built-in views that SwiftUI provides, plus other composite views that you’ve already defined:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>For more information about composing views and a view hierarchy, see doc:Declaring-a-Custom-View<\/Link>.<\/Para>This documentation comment was inherited from View<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "body", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> body<\/decl.name>: some<\/syntaxtype.keyword> View<\/ref.protocol><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 233, - "key.line" : 159, - "key.modulename" : "ListableUI", - "key.name" : "body", - "key.namelength" : 4, - "key.nameoffset" : 4930, - "key.offset" : 4926, - "key.overrides" : [ - { - "key.usr" : "s:7SwiftUI4ViewP4body4BodyQzvp" - } - ], - "key.parsed_declaration" : "public var body: some View", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 159, - "key.reusingastcontext" : false, - "key.typename" : "some View", - "key.typeusr" : "$sQrD", - "key.usr" : "s:7SwiftUI4ViewP4body4BodyQzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private var previewDisplayName: String<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5169 - } - ], - "key.bodylength" : 114, - "key.bodyoffset" : 5210, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> previewDisplayName<\/decl.name>: String<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 148, - "key.line" : 168, - "key.modulename" : "ListableUI", - "key.name" : "previewDisplayName", - "key.namelength" : 18, - "key.nameoffset" : 5181, - "key.offset" : 5177, - "key.parsed_declaration" : "private var previewDisplayName : String", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 168, - "key.reusingastcontext" : false, - "key.typename" : "String", - "key.typeusr" : "$sSSD", - "key.usr" : "s:10ListableUI11ItemPreviewV18previewDisplayName33_F9C4BD5BF772FC170B515C3EF40454DBLLSSvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private struct ItemPreview<\/Type>.ItemPreviewWrapper : UIViewRepresentable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 5335 - } - ], - "key.bodylength" : 576, - "key.bodyoffset" : 5396, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 5371 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemPreview<\/ref.struct>.ItemPreviewWrapper<\/decl.name> : UIViewRepresentable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "UIViewRepresentable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 630, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "ItemPreviewWrapper", - "key.namelength" : 18, - "key.nameoffset" : 5350, - "key.offset" : 5343, - "key.parsed_declaration" : "private struct ItemPreviewWrapper : UIViewRepresentable", - "key.parsed_scope.end" : 191, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var item: AnyItem<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5405 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: AnyItem<\/ref.protocol><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 174, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 5416, - "key.offset" : 5412, - "key.parsed_declaration" : "public var item : AnyItem", - "key.parsed_scope.end" : 174, - "key.parsed_scope.start" : 174, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "any AnyItem", - "key.typeusr" : "$s10ListableUI7AnyItem_pD", - "key.usr" : "s:10ListableUI11ItemPreviewV0cD7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLV4itemAA03AnyC0_pvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public var properties: Properties<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5439 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> properties<\/decl.name>: Properties<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "properties", - "key.namelength" : 10, - "key.nameoffset" : 5450, - "key.offset" : 5446, - "key.parsed_declaration" : "public var properties : Properties", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 175, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ItemPreview.Properties", - "key.typeusr" : "$s10ListableUI11ItemPreviewV10PropertiesVD", - "key.usr" : "s:10ListableUI11ItemPreviewV0cD7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLV10propertiesAC10PropertiesVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias ItemPreview<\/Type>.ItemPreviewWrapper<\/Type>.UIViewType = ItemPreviewView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5491 - } - ], - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The type of view to present.", - "key.doc.declaration" : "associatedtype UIViewType : UIView", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "UIViewType<\/Name>s:7SwiftUI19UIViewRepresentableP0C4TypeQa<\/USR>associatedtype UIViewType : UIView<\/Declaration>The type of view to present.<\/Para><\/Abstract>This documentation comment was inherited from UIViewRepresentable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "UIViewType", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> ItemPreview<\/ref.struct>.ItemPreviewWrapper<\/ref.struct>.UIViewType<\/decl.name> = ItemPreviewView<\/ref.class><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 38, - "key.line" : 177, - "key.modulename" : "ListableUI", - "key.name" : "UIViewType", - "key.namelength" : 10, - "key.nameoffset" : 5508, - "key.offset" : 5498, - "key.overrides" : [ - { - "key.usr" : "s:7SwiftUI19UIViewRepresentableP0C4TypeQa" - } - ], - "key.parsed_declaration" : "public typealias UIViewType = ItemPreviewView", - "key.parsed_scope.end" : 177, - "key.parsed_scope.start" : 177, - "key.reusingastcontext" : false, - "key.typename" : "ItemPreviewView.Type", - "key.typeusr" : "$s10ListableUI15ItemPreviewViewCmD", - "key.usr" : "s:7SwiftUI19UIViewRepresentableP0C4TypeQa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func makeUIView(context: Context<\/Type>) -> UIViewType<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5554 - } - ], - "key.bodylength" : 46, - "key.bodyoffset" : 5610, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates the view object and configures its initial state.\n\nYou must implement this method and use it to create your view object.\nConfigure the view using your app's current data and contents of the\n`context` parameter. The system calls this method only once, when it\ncreates your view for the first time. For all subsequent updates, the\nsystem calls the ``UIViewRepresentable\/updateUIView(_:context:)``\nmethod.\n\n- Parameter context: A context structure containing information about\n the current state of the system.\n\n- Returns: Your UIKit view configured with the provided information.", - "key.doc.declaration" : "@MainActor @preconcurrency func makeUIView(context: Self.Context) -> Self.UIViewType", - "key.doc.discussion" : [ - { - "Para" : "You must implement this method and use it to create your view object. Configure the view using your app’s current data and contents of the `context` parameter. The system calls this method only once, when it creates your view for the first time. For all subsequent updates, the system calls the `UIViewRepresentable\/updateUIView(_:context:)` method." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "makeUIView(context:)<\/Name>s:7SwiftUI19UIViewRepresentableP04makeC07context0C4TypeQzAA0cD7ContextVyxG_tF<\/USR>@MainActor @preconcurrency func makeUIView(context: Self.Context) -> Self.UIViewType<\/Declaration>Creates the view object and configures its initial state.<\/Para><\/Abstract>context<\/Name>in<\/Direction>A context structure containing information about the current state of the system.<\/Para><\/Discussion><\/Parameter><\/Parameters>Your UIKit view configured with the provided information.<\/Para><\/ResultDiscussion>You must implement this method and use it to create your view object. Configure the view using your app’s current data and contents of the context<\/codeVoice> parameter. The system calls this method only once, when it creates your view for the first time. For all subsequent updates, the system calls the UIViewRepresentable\/updateUIView(_:context:)<\/codeVoice> method.<\/Para>This documentation comment was inherited from UIViewRepresentable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "makeUIView(context:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "A context structure containing information about the current state of the system." - } - ], - "name" : "context" - } - ], - "key.doc.result_discussion" : [ - { - "Para" : "Your UIKit view configured with the provided information." - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> makeUIView<\/decl.name>(context<\/decl.var.parameter.argument_label>: Context<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> UIViewType<\/ref.typealias><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 96, - "key.line" : 179, - "key.modulename" : "ListableUI", - "key.name" : "makeUIView(context:)", - "key.namelength" : 28, - "key.nameoffset" : 5566, - "key.offset" : 5561, - "key.overrides" : [ - { - "key.usr" : "s:7SwiftUI19UIViewRepresentableP04makeC07context0C4TypeQzAA0cD7ContextVyxG_tF" - } - ], - "key.parsed_declaration" : "public func makeUIView(context: Context) -> UIViewType", - "key.parsed_scope.end" : 181, - "key.parsed_scope.start" : 179, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreview.ItemPreviewWrapper) -> (UIViewRepresentableContext) -> ItemPreviewView", - "key.typeusr" : "$s7context10ListableUI15ItemPreviewViewC05SwiftC026UIViewRepresentableContextVyAB0dE0V0dE7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLVG_tcD", - "key.usr" : "s:7SwiftUI19UIViewRepresentableP04makeC07context0C4TypeQzAA0cD7ContextVyxG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func updateUIView(_ view: UIViewType<\/Type>, context: Context<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5675 - } - ], - "key.bodylength" : 227, - "key.bodyoffset" : 5739, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Updates the state of the specified view with new information from\nSwiftUI.\n\nWhen the state of your app changes, SwiftUI updates the portions of your\ninterface affected by those changes. SwiftUI calls this method for any\nchanges affecting the corresponding UIKit view. Use this method to\nupdate the configuration of your view to match the new state information\nprovided in the `context` parameter.\n\n- Parameters:\n - uiView: Your custom view object.\n - context: A context structure containing information about the current\n state of the system.", - "key.doc.declaration" : "@MainActor @preconcurrency func updateUIView(_ uiView: Self.UIViewType, context: Self.Context)", - "key.doc.discussion" : [ - { - "Para" : "When the state of your app changes, SwiftUI updates the portions of your interface affected by those changes. SwiftUI calls this method for any changes affecting the corresponding UIKit view. Use this method to update the configuration of your view to match the new state information provided in the `context` parameter." - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "updateUIView(_:context:)<\/Name>s:7SwiftUI19UIViewRepresentableP06updateC0_7contexty0C4TypeQz_AA0cD7ContextVyxGtF<\/USR>@MainActor @preconcurrency func updateUIView(_ uiView: Self.UIViewType, context: Self.Context)<\/Declaration>Updates the state of the specified view with new information from SwiftUI.<\/Para><\/Abstract>uiView<\/Name>in<\/Direction>Your custom view object.<\/Para><\/Discussion><\/Parameter>context<\/Name>in<\/Direction>A context structure containing information about the current state of the system.<\/Para><\/Discussion><\/Parameter><\/Parameters>When the state of your app changes, SwiftUI updates the portions of your interface affected by those changes. SwiftUI calls this method for any changes affecting the corresponding UIKit view. Use this method to update the configuration of your view to match the new state information provided in the context<\/codeVoice> parameter.<\/Para>This documentation comment was inherited from UIViewRepresentable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "updateUIView(_:context:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "Your custom view object." - } - ], - "name" : "uiView" - }, - { - "discussion" : [ - { - "Para" : "A context structure containing information about the current state of the system." - } - ], - "name" : "context" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreview.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> updateUIView<\/decl.name>(_<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIViewType<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>, context<\/decl.var.parameter.argument_label>: Context<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 285, - "key.line" : 183, - "key.modulename" : "ListableUI", - "key.name" : "updateUIView(_:context:)", - "key.namelength" : 50, - "key.nameoffset" : 5687, - "key.offset" : 5682, - "key.overrides" : [ - { - "key.usr" : "s:7SwiftUI19UIViewRepresentableP06updateC0_7contexty0C4TypeQz_AA0cD7ContextVyxGtF" - } - ], - "key.parsed_declaration" : "public func updateUIView(_ view: UIViewType, context: Context)", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 183, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreview.ItemPreviewWrapper) -> (ItemPreviewView, UIViewRepresentableContext) -> ()", - "key.typeusr" : "$s_7contexty10ListableUI15ItemPreviewViewC_05SwiftC026UIViewRepresentableContextVyAB0dE0V0dE7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLVGtcD", - "key.usr" : "s:7SwiftUI19UIViewRepresentableP06updateC0_7contexty0C4TypeQz_AA0cD7ContextVyxGtF" - } - ], - "key.typename" : "ItemPreview.ItemPreviewWrapper.Type", - "key.typeusr" : "$s10ListableUI11ItemPreviewV0cD7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLVmD", - "key.usr" : "s:10ListableUI11ItemPreviewV0cD7Wrapper33_F9C4BD5BF772FC170B515C3EF40454DBLLV" - } - ], - "key.typename" : "ItemPreview.Type", - "key.typeusr" : "$s10ListableUI11ItemPreviewVmD", - "key.usr" : "s:10ListableUI11ItemPreviewV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1099, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ItemPreviewAppearance : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 161 - } - ], - "key.bodylength" : 887, - "key.bodyoffset" : 210, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The appearance options for a preview item.", - "key.doc.column" : 15, - "key.doc.comment" : "The appearance options for a preview item.", - "key.doc.declaration" : "public struct ItemPreviewAppearance : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.doc.full_as_xml" : "ItemPreviewAppearance<\/Name>s:10ListableUI21ItemPreviewAppearanceV<\/USR>public struct ItemPreviewAppearance : Equatable<\/Declaration>The appearance options for a preview item.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 12, - "key.doc.name" : "ItemPreviewAppearance", - "key.doc.type" : "Class", - "key.doclength" : 47, - "key.docoffset" : 114, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 199 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ItemPreviewAppearance<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 930, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ItemPreviewAppearance", - "key.namelength" : 21, - "key.nameoffset" : 175, - "key.offset" : 168, - "key.parsed_declaration" : "public struct ItemPreviewAppearance : Equatable", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var padding: CGFloat<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The padding to show around an item.", - "key.doc.column" : 9, - "key.doc.comment" : "The padding to show around an item.", - "key.doc.declaration" : "var padding: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.doc.full_as_xml" : "padding<\/Name>s:10ListableUI21ItemPreviewAppearanceV7padding14CoreFoundation7CGFloatVvp<\/USR>var padding: CGFloat<\/Declaration>The padding to show around an item.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "padding", - "key.doc.type" : "Other", - "key.doclength" : 40, - "key.docoffset" : 215, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> padding<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "padding", - "key.namelength" : 7, - "key.nameoffset" : 263, - "key.offset" : 259, - "key.parsed_declaration" : "var padding : CGFloat", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI21ItemPreviewAppearanceV7padding14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var backgroundColor: UIColor<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The background color to show behind an item.\nDefaults to white.", - "key.doc.column" : 9, - "key.doc.comment" : "The background color to show behind an item.\nDefaults to white.", - "key.doc.declaration" : "var backgroundColor: UIColor", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.doc.full_as_xml" : "backgroundColor<\/Name>s:10ListableUI21ItemPreviewAppearanceV15backgroundColorSo7UIColorCvp<\/USR>var backgroundColor: UIColor<\/Declaration>The background color to show behind an item. Defaults to white.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 19, - "key.doc.name" : "backgroundColor", - "key.doc.type" : "Other", - "key.doclength" : 76, - "key.docoffset" : 290, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> backgroundColor<\/decl.name>: UIColor<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "backgroundColor", - "key.namelength" : 15, - "key.nameoffset" : 374, - "key.offset" : 370, - "key.parsed_declaration" : "var backgroundColor : UIColor", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "UIColor", - "key.typeusr" : "$sSo7UIColorCD", - "key.usr" : "s:10ListableUI21ItemPreviewAppearanceV15backgroundColorSo7UIColorCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(padding: CGFloat<\/Type> = 20.0, backgroundColor: UIColor<\/Type> = .white)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 451 - } - ], - "key.bodylength" : 83, - "key.bodyoffset" : 548, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new preview appearance.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new preview appearance.", - "key.doc.declaration" : "public init(padding: CGFloat = 20.0, backgroundColor: UIColor = .white)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.doc.full_as_xml" : "init(padding:backgroundColor:)<\/Name>s:10ListableUI21ItemPreviewAppearanceV7padding15backgroundColorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc<\/USR>public init(padding: CGFloat = 20.0, backgroundColor: UIColor = .white)<\/Declaration>Creates a new preview appearance.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 22, - "key.doc.name" : "init(padding:backgroundColor:)", - "key.doc.type" : "Function", - "key.doclength" : 38, - "key.docoffset" : 409, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(padding<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 20.0<\/decl.var.parameter>, backgroundColor<\/decl.var.parameter.argument_label>: UIColor<\/ref.class><\/decl.var.parameter.type> = .white<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 174, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "init(padding:backgroundColor:)", - "key.namelength" : 88, - "key.nameoffset" : 458, - "key.offset" : 458, - "key.parsed_declaration" : "public init(\n padding : CGFloat = 20.0,\n backgroundColor : UIColor = .white\n)", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewAppearance.Type) -> (CGFloat, UIColor) -> ItemPreviewAppearance", - "key.typeusr" : "$s7padding15backgroundColor10ListableUI21ItemPreviewAppearanceV14CoreFoundation7CGFloatV_So7UIColorCtcD", - "key.usr" : "s:10ListableUI21ItemPreviewAppearanceV7padding15backgroundColorAC14CoreFoundation7CGFloatV_So7UIColorCtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func configure(list properties: inout ListProperties<\/Type>)<\/Declaration>", - "key.bodylength" : 393, - "key.bodyoffset" : 702, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewAppearance.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> configure<\/decl.name>(list<\/decl.var.parameter.argument_label> properties<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> ListProperties<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 454, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "configure(list:)", - "key.namelength" : 49, - "key.nameoffset" : 647, - "key.offset" : 642, - "key.parsed_declaration" : "func configure(list properties : inout ListProperties)", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewAppearance) -> (inout ListProperties) -> ()", - "key.typeusr" : "$s4listy10ListableUI14ListPropertiesVz_tcD", - "key.usr" : "s:10ListableUI21ItemPreviewAppearanceV9configure4listyAA14ListPropertiesVz_tF" - } - ], - "key.typename" : "ItemPreviewAppearance.Type", - "key.typeusr" : "$s10ListableUI21ItemPreviewAppearanceVmD", - "key.usr" : "s:10ListableUI21ItemPreviewAppearanceV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 4180, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public final class ItemPreviewView : UIView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 718 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 711 - } - ], - "key.bodylength" : 3422, - "key.bodyoffset" : 756, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A view you can use to test the various possible states that your `ItemContent` can be in.\n\nThis view is usually used alongside snapshot tests, to capture your `ItemContent` in\nits selected or highlighted, or to see how it reacts to different sizing configuration.\n\nIf you'd like to use this view alongside Xcode previews, see `ItemPreview`.\n\nNote\n----\nThis view sizes itself to fit the provided `Item` when you call its `view.update(..)` method.\nYou do not need to call `layoutIfNeeded()` or `sizeToFit()`, etc, to properly size\nand lay out the view.\n", - "key.doc.column" : 20, - "key.doc.comment" : "\nA view you can use to test the various possible states that your `ItemContent` can be in.\n\nThis view is usually used alongside snapshot tests, to capture your `ItemContent` in\nits selected or highlighted, or to see how it reacts to different sizing configuration.\n\nIf you'd like to use this view alongside Xcode previews, see `ItemPreview`.\n\nNote\n----\nThis view sizes itself to fit the provided `Item` when you call its `view.update(..)` method.\nYou do not need to call `layoutIfNeeded()` or `sizeToFit()`, etc, to properly size\nand lay out the view.", - "key.doc.declaration" : "@MainActor public final class ItemPreviewView : UIView", - "key.doc.discussion" : [ - { - "Para" : "This view is usually used alongside snapshot tests, to capture your `ItemContent` in its selected or highlighted, or to see how it reacts to different sizing configuration." - }, - { - "Para" : "If you’d like to use this view alongside Xcode previews, see `ItemPreview`." - }, - { - "Para" : "This view sizes itself to fit the provided `Item` when you call its `view.update(..)` method. You do not need to call `layoutIfNeeded()` or `sizeToFit()`, etc, to properly size and lay out the view." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "ItemPreviewView<\/Name>c:@M@ListableUI@objc(cs)ItemPreviewView<\/USR>@MainActor public final class ItemPreviewView : UIView<\/Declaration>A view you can use to test the various possible states that your ItemContent<\/codeVoice> can be in.<\/Para><\/Abstract>This view is usually used alongside snapshot tests, to capture your ItemContent<\/codeVoice> in its selected or highlighted, or to see how it reacts to different sizing configuration.<\/Para>If you’d like to use this view alongside Xcode previews, see ItemPreview<\/codeVoice>.<\/Para>]]><\/rawHTML>Note]]><\/rawHTML>This view sizes itself to fit the provided Item<\/codeVoice> when you call its view.update(..)<\/codeVoice> method. You do not need to call layoutIfNeeded()<\/codeVoice> or sizeToFit()<\/codeVoice>, etc, to properly size and lay out the view.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 25, - "key.doc.name" : "ItemPreviewView", - "key.doc.type" : "Class", - "key.doclength" : 604, - "key.docoffset" : 107, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 6, - "key.offset" : 748 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ItemPreviewView<\/decl.name> : UIView<\/ref.class><\/decl.class>", - "key.inheritedtypes" : [ - { - "key.name" : "UIView" - } - ], - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 3455, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "ItemPreviewView", - "key.namelength" : 15, - "key.nameoffset" : 730, - "key.offset" : 724, - "key.parsed_declaration" : "public final class ItemPreviewView : UIView", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "@MainActor<\/Type> private let listView: ListView<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 813 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The list used to render the content.", - "key.doc.column" : 17, - "key.doc.comment" : "The list used to render the content.", - "key.doc.declaration" : "@MainActor private let listView: ListView", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "listView<\/Name>s:10ListableUI15ItemPreviewViewC04listE033_0518A7150E42BD8A8926F15465CA97DDLLAA04ListE0Cvp<\/USR>@MainActor private let listView: ListView<\/Declaration>The list used to render the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "listView", - "key.doc.type" : "Other", - "key.doclength" : 41, - "key.docoffset" : 768, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> private<\/syntaxtype.keyword> let<\/syntaxtype.keyword> listView<\/decl.name>: ListView<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "listView", - "key.namelength" : 8, - "key.nameoffset" : 825, - "key.offset" : 821, - "key.parsed_declaration" : "private let listView : ListView", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.typename" : "ListView", - "key.typeusr" : "$s10ListableUI8ListViewCD", - "key.usr" : "s:10ListableUI15ItemPreviewViewC04listE033_0518A7150E42BD8A8926F15465CA97DDLLAA04ListE0Cvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 864 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 948 - } - ], - "key.bodylength" : 279, - "key.bodyoffset" : 967, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a preview for the given width.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a preview for the given width.", - "key.doc.declaration" : "@MainActor public init()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "init()<\/Name>c:@M@ListableUI@objc(cs)ItemPreviewView(im)init<\/USR>@MainActor public init()<\/Declaration>Creates a preview for the given width.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 35, - "key.doc.name" : "init()", - "key.doc.type" : "Function", - "key.doclength" : 43, - "key.docoffset" : 901, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 292, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 955, - "key.offset" : 955, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)init" - }, - { - "key.usr" : "c:objc(cs)NSObject(im)init" - } - ], - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 35, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(with:state:appearance:item:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewView.Type) -> () -> ItemPreviewView", - "key.typeusr" : "$s10ListableUI15ItemPreviewViewCycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ItemPreviewView(im)init" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public convenience init(with width: CGFloat<\/Type> = UIScreen.main.bounds.width, state: ItemState<\/Type> = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance<\/Type> = .init(), item: AnyItem<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.convenience", - "key.length" : 11, - "key.offset" : 1361 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1354 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 1619, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a preview for the given item and parameters, and then lays out the preview view.", - "key.doc.column" : 24, - "key.doc.comment" : "Creates a preview for the given item and parameters, and then lays out the preview view.", - "key.doc.declaration" : "@MainActor public convenience init(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init(), item: AnyItem)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "init(with:state:appearance:item:)<\/Name>s:10ListableUI15ItemPreviewViewC4with5state10appearance4itemAC14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptcfc<\/USR>@MainActor public convenience init(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init(), item: AnyItem)<\/Declaration>Creates a preview for the given item and parameters, and then lays out the preview view.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 48, - "key.doc.name" : "init(with:state:appearance:item:)", - "key.doc.type" : "Function", - "key.doclength" : 93, - "key.docoffset" : 1257, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> convenience<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(with<\/decl.var.parameter.argument_label> width<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = UIScreen.main.bounds.width<\/decl.var.parameter>, state<\/decl.var.parameter.argument_label>: ItemState<\/ref.struct><\/decl.var.parameter.type> = .init(isSelected: false, isHighlighted: false, isReordering: false)<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: ItemPreviewAppearance<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, item<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 364, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "init(with:state:appearance:item:)", - "key.namelength" : 244, - "key.nameoffset" : 1373, - "key.offset" : 1373, - "key.parsed_declaration" : "public convenience init(\n with width : CGFloat = UIScreen.main.bounds.width,\n state : ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false),\n appearance : ItemPreviewAppearance = .init(),\n item : AnyItem\n)", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 48, - "key.related_decls" : [ - { - "key.annotated_decl" : "init()<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewView.Type) -> (CGFloat, ItemState, ItemPreviewAppearance, any AnyItem) -> ItemPreviewView", - "key.typeusr" : "$s4with5state10appearance4item10ListableUI15ItemPreviewViewC14CoreFoundation7CGFloatV_AE0G5StateVAE0gH10AppearanceVAE03AnyG0_ptcD", - "key.usr" : "s:10ListableUI15ItemPreviewViewC4with5state10appearance4itemAC14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptcfc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 21, - "key.name" : "MARK: Setting Content", - "key.offset" : 1757 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public func update(with width: CGFloat<\/Type> = UIScreen.main.bounds.width, state: ItemState<\/Type> = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance<\/Type> = .init(), item: AnyItem<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1947 - } - ], - "key.bodylength" : 1490, - "key.bodyoffset" : 2207, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Updates the item for the given parameters.\nThis method changes the view's size; you dont need to resize the view after setting an item.", - "key.doc.column" : 17, - "key.doc.comment" : "Updates the item for the given parameters.\nThis method changes the view's size; you dont need to resize the view after setting an item.", - "key.doc.declaration" : "@MainActor public func update(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init(), item: AnyItem)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "update(with:state:appearance:item:)<\/Name>s:10ListableUI15ItemPreviewViewC6update4with5state10appearance4itemy14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptF<\/USR>@MainActor public func update(with width: CGFloat = UIScreen.main.bounds.width, state: ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false), appearance: ItemPreviewAppearance = .init(), item: AnyItem)<\/Declaration>Updates the item for the given parameters. This method changes the view’s size; you dont need to resize the view after setting an item.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 65, - "key.doc.name" : "update(with:state:appearance:item:)", - "key.doc.type" : "Function", - "key.doclength" : 148, - "key.docoffset" : 1795, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> update<\/decl.name>(with<\/decl.var.parameter.argument_label> width<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = UIScreen.main.bounds.width<\/decl.var.parameter>, state<\/decl.var.parameter.argument_label>: ItemState<\/ref.struct><\/decl.var.parameter.type> = .init(isSelected: false, isHighlighted: false, isReordering: false)<\/decl.var.parameter>, appearance<\/decl.var.parameter.argument_label>: ItemPreviewAppearance<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, item<\/decl.var.parameter.argument_label>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1744, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "update(with:state:appearance:item:)", - "key.namelength" : 246, - "key.nameoffset" : 1959, - "key.offset" : 1954, - "key.parsed_declaration" : "public func update(\n with width : CGFloat = UIScreen.main.bounds.width,\n state : ItemState = .init(isSelected: false, isHighlighted: false, isReordering: false),\n appearance : ItemPreviewAppearance = .init(),\n item : AnyItem\n)", - "key.parsed_scope.end" : 108, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let indexPath: IndexPath<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Update the cell for the preview.", - "key.doc.column" : 13, - "key.doc.comment" : "Update the cell for the preview.", - "key.doc.declaration" : "let indexPath: IndexPath", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.doc.full_as_xml" : "indexPath<\/Name>s:10ListableUI15ItemPreviewViewC6update4with5state10appearance4itemy14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptF9indexPathL_0L005IndexR0Vvp<\/USR>let indexPath: IndexPath<\/Declaration>Update the cell for the preview.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 96, - "key.doc.name" : "indexPath", - "key.doc.type" : "Other", - "key.doclength" : 37, - "key.docoffset" : 3056, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> indexPath<\/decl.name>: IndexPath<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 46, - "key.line" : 96, - "key.modulename" : "ListableUI", - "key.name" : "indexPath", - "key.namelength" : 9, - "key.nameoffset" : 3114, - "key.offset" : 3110, - "key.parsed_declaration" : "let indexPath = IndexPath(item: 0, section: 0)", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 96, - "key.reusingastcontext" : false, - "key.typename" : "IndexPath", - "key.typeusr" : "$s10Foundation9IndexPathVD", - "key.usr" : "s:10ListableUI15ItemPreviewViewC6update4with5state10appearance4itemy14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptF9indexPathL_0L005IndexR0Vvp" - }, - { - "key.annotated_decl" : "let presentationState: any AnyPresentationItemState<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> presentationState<\/decl.name>: any AnyPresentationItemState<\/ref.protocol><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 83, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "presentationState", - "key.namelength" : 17, - "key.nameoffset" : 3396, - "key.offset" : 3392, - "key.parsed_declaration" : "let presentationState = self.listView.storage.presentationState.item(at: indexPath)", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 102, - "key.reusingastcontext" : false, - "key.typename" : "any AnyPresentationItemState", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pD", - "key.usr" : "s:10ListableUI15ItemPreviewViewC6update4with5state10appearance4itemy14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptF012presentationN0L_AA0p12PresentationcN0_pvp" - } - ], - "key.typename" : "(ItemPreviewView) -> (CGFloat, ItemState, ItemPreviewAppearance, any AnyItem) -> ()", - "key.typeusr" : "$s4with5state10appearance4itemy14CoreFoundation7CGFloatV_10ListableUI9ItemStateVAH0J17PreviewAppearanceVAH03AnyJ0_ptcD", - "key.usr" : "s:10ListableUI15ItemPreviewViewC6update4with5state10appearance4itemy14CoreFoundation7CGFloatV_AA0C5StateVAA0cD10AppearanceVAA03AnyC0_ptF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.required", - "key.length" : 8, - "key.offset" : 3735 - }, - { - "key.attribute" : "source.decl.attribute.available", - "key.length" : 26, - "key.offset" : 3708 - } - ], - "key.bodylength" : 14, - "key.bodyoffset" : 3767, - "key.internal_diagnostic" : "Unavailable in the current compilation context.", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 38, - "key.name" : "init(coder:)", - "key.namelength" : 21, - "key.nameoffset" : 3744, - "key.offset" : 3744, - "key.substructure" : [ - - ] - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 12, - "key.name" : "MARK: UIView", - "key.offset" : 3802 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func layoutSubviews()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3838 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3831 - } - ], - "key.bodylength" : 95, - "key.bodyoffset" : 3870, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> layoutSubviews<\/decl.name>()<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 119, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "layoutSubviews()", - "key.namelength" : 16, - "key.nameoffset" : 3852, - "key.offset" : 3847, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)layoutSubviews" - } - ], - "key.parsed_declaration" : "public override func layoutSubviews()", - "key.parsed_scope.end" : 120, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewView) -> () -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "c:@M@ListableUI@objc(cs)ItemPreviewView(im)layoutSubviews" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override func sizeThatFits(_ size: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 3983 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3976 - } - ], - "key.bodylength" : 39, - "key.bodyoffset" : 4037, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> func<\/syntaxtype.keyword> sizeThatFits<\/decl.name>(_<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 85, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "sizeThatFits(_:)", - "key.namelength" : 28, - "key.nameoffset" : 3997, - "key.offset" : 3992, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(im)sizeThatFits:" - } - ], - "key.parsed_declaration" : "public override func sizeThatFits(_ size: CGSize) -> CGSize", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 122, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ItemPreviewView) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "c:@M@ListableUI@objc(cs)ItemPreviewView(im)sizeThatFits:" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "@MainActor<\/Type> public override var intrinsicContentSize: CGSize<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.override", - "key.length" : 8, - "key.offset" : 4094 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4087 - } - ], - "key.bodylength" : 39, - "key.bodyoffset" : 4137, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Previews\/ItemPreviewView.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> public<\/syntaxtype.keyword> override<\/syntaxtype.keyword> var<\/syntaxtype.keyword> intrinsicContentSize<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 74, - "key.line" : 126, - "key.modulename" : "ListableUI", - "key.name" : "intrinsicContentSize", - "key.namelength" : 20, - "key.nameoffset" : 4107, - "key.offset" : 4103, - "key.overrides" : [ - { - "key.usr" : "c:objc(cs)UIView(py)intrinsicContentSize" - } - ], - "key.parsed_declaration" : "public override var intrinsicContentSize: CGSize", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 126, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "c:@M@ListableUI@objc(cs)ItemPreviewView(py)intrinsicContentSize" - } - ], - "key.typename" : "ItemPreviewView.Type", - "key.typeusr" : "$s10ListableUI15ItemPreviewViewCmD", - "key.usr" : "c:@M@ListableUI@objc(cs)ItemPreviewView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2845, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ReappliesToVisibleView<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2091 - } - ], - "key.bodylength" : 716, - "key.bodyoffset" : 2127, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A rule to determine when an ``ItemContent`` or ``HeaderFooterContent`` should be re-applied\nto the visible view currently representing the content on screen. If the content is not on\nscreen, then no application is done regardless of the rule (because there is no view).\n\nThe default value is ``ReappliesToVisibleView\/always``. You may want to change the value to\n``ReappliesToVisibleView\/ifNotEquivalent`` if applying your content is expensive. However,\nkeep in mind that your `isEquivalent(to:)` method will then need to check any potentially embedded references\nto objects, eg references in a callback closure, to ensure a reference does not become out of date:\n\n```\n struct MyContent : BlueprintItemContent {\n\n var theme : MyTheme\n var title : String\n var myController : MyController\n\n func element(with info : ApplyItemContentInfo) -> Element {\n MyLabel(text: self.title, style: theme.labelStyle)\n .inset(uniform: 20.0)\n .onLongPress {\n myController.didLongPress()\n }\n }\n\n func isEquivalent(to other : Self) -> Bool {\n theme == other.theme &&\n title == other.title &&\n myController === other.myController\n }\n }\n```\n\n### Note\nWhen using `.ifNotEquivalent` it is not recommended that your content holds onto closures\ndirectly – there is no way for you to check them for equivalency, and thus, only the `.always`\napplication method will be correct. Instead, model callbacks explicitly by taking in an object or\nclass-bound protocol that you can then perform callbacks on, so you can compare the identity of the object.\n\nFurther, for tappable items in a list, leverage ``Item\/onSelect-swift.property`` on your `Item`,\ninstead of implementing tappable items manually (which is a common source of callback closures in item content).\n", - "key.doc.column" : 13, - "key.doc.comment" : "A rule to determine when an ``ItemContent`` or ``HeaderFooterContent`` should be re-applied\nto the visible view currently representing the content on screen. If the content is not on\nscreen, then no application is done regardless of the rule (because there is no view).\n\nThe default value is ``ReappliesToVisibleView\/always``. You may want to change the value to\n``ReappliesToVisibleView\/ifNotEquivalent`` if applying your content is expensive. However,\nkeep in mind that your `isEquivalent(to:)` method will then need to check any potentially embedded references\nto objects, eg references in a callback closure, to ensure a reference does not become out of date:\n\n```\n struct MyContent : BlueprintItemContent {\n\n var theme : MyTheme\n var title : String\n var myController : MyController\n\n func element(with info : ApplyItemContentInfo) -> Element {\n MyLabel(text: self.title, style: theme.labelStyle)\n .inset(uniform: 20.0)\n .onLongPress {\n myController.didLongPress()\n }\n }\n\n func isEquivalent(to other : Self) -> Bool {\n theme == other.theme &&\n title == other.title &&\n myController === other.myController\n }\n }\n```\n\n### Note\nWhen using `.ifNotEquivalent` it is not recommended that your content holds onto closures\ndirectly – there is no way for you to check them for equivalency, and thus, only the `.always`\napplication method will be correct. Instead, model callbacks explicitly by taking in an object or\nclass-bound protocol that you can then perform callbacks on, so you can compare the identity of the object.\n\nFurther, for tappable items in a list, leverage ``Item\/onSelect-swift.property`` on your `Item`,\ninstead of implementing tappable items manually (which is a common source of callback closures in item content).", - "key.doc.declaration" : "public enum ReappliesToVisibleView", - "key.doc.discussion" : [ - { - "Para" : "The default value is `ReappliesToVisibleView\/always`. You may want to change the value to `ReappliesToVisibleView\/ifNotEquivalent` if applying your content is expensive. However, keep in mind that your `isEquivalent(to:)` method will then need to check any potentially embedded references to objects, eg references in a callback closure, to ensure a reference does not become out of date:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When using `.ifNotEquivalent` it is not recommended that your content holds onto closures directly – there is no way for you to check them for equivalency, and thus, only the `.always` application method will be correct. Instead, model callbacks explicitly by taking in an object or class-bound protocol that you can then perform callbacks on, so you can compare the identity of the object." - }, - { - "Para" : "Further, for tappable items in a list, leverage `Item\/onSelect-swift.property` on your `Item`, instead of implementing tappable items manually (which is a common source of callback closures in item content)." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.doc.full_as_xml" : "ReappliesToVisibleView<\/Name>s:10ListableUI22ReappliesToVisibleViewO<\/USR>public enum ReappliesToVisibleView<\/Declaration>A rule to determine when an ItemContent<\/codeVoice> or HeaderFooterContent<\/codeVoice> should be re-applied to the visible view currently representing the content on screen. If the content is not on screen, then no application is done regardless of the rule (because there is no view).<\/Para><\/Abstract>The default value is ReappliesToVisibleView\/always<\/codeVoice>. You may want to change the value to ReappliesToVisibleView\/ifNotEquivalent<\/codeVoice> if applying your content is expensive. However, keep in mind that your isEquivalent(to:)<\/codeVoice> method will then need to check any potentially embedded references to objects, eg references in a callback closure, to ensure a reference does not become out of date:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Element {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered> Bool {]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When using .ifNotEquivalent<\/codeVoice> it is not recommended that your content holds onto closures directly – there is no way for you to check them for equivalency, and thus, only the .always<\/codeVoice> application method will be correct. Instead, model callbacks explicitly by taking in an object or class-bound protocol that you can then perform callbacks on, so you can compare the identity of the object.<\/Para>Further, for tappable items in a list, leverage Item\/onSelect-swift.property<\/codeVoice> on your Item<\/codeVoice>, instead of implementing tappable items manually (which is a common source of callback closures in item content).<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 52, - "key.doc.name" : "ReappliesToVisibleView", - "key.doc.type" : "Other", - "key.doclength" : 1972, - "key.docoffset" : 119, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ReappliesToVisibleView<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 746, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "ReappliesToVisibleView", - "key.namelength" : 22, - "key.nameoffset" : 2103, - "key.offset" : 2098, - "key.parsed_declaration" : "public enum ReappliesToVisibleView", - "key.parsed_scope.end" : 75, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 2267, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case always<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The visible view will always be re-applied during updates, regardless of the result of ``ItemContent\/isEquivalent(to:)``.", - "key.doc.column" : 10, - "key.doc.comment" : "The visible view will always be re-applied during updates, regardless of the result of ``ItemContent\/isEquivalent(to:)``.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.doc.full_as_xml" : "always<\/Name>s:10ListableUI22ReappliesToVisibleViewO6alwaysyA2CmF<\/USR><\/Declaration>The visible view will always be re-applied during updates, regardless of the result of ItemContent\/isEquivalent(to:)<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 55, - "key.doc.name" : "always", - "key.doc.type" : "Other", - "key.doclength" : 126, - "key.docoffset" : 2137, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> always<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "always", - "key.namelength" : 6, - "key.nameoffset" : 2272, - "key.offset" : 2272, - "key.parsed_declaration" : "case always", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.typename" : "(ReappliesToVisibleView.Type) -> ReappliesToVisibleView", - "key.typeusr" : "$sy10ListableUI22ReappliesToVisibleViewOACmcD", - "key.usr" : "s:10ListableUI22ReappliesToVisibleViewO6alwaysyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 20, - "key.offset" : 2419, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case ifNotEquivalent<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The visible view will only have its contents re-applied during updates if ``ItemContent\/isEquivalent(to:)`` returns false.", - "key.doc.column" : 10, - "key.doc.comment" : "The visible view will only have its contents re-applied during updates if ``ItemContent\/isEquivalent(to:)`` returns false.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.doc.full_as_xml" : "ifNotEquivalent<\/Name>s:10ListableUI22ReappliesToVisibleViewO15ifNotEquivalentyA2CmF<\/USR><\/Declaration>The visible view will only have its contents re-applied during updates if ItemContent\/isEquivalent(to:)<\/codeVoice> returns false.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 58, - "key.doc.name" : "ifNotEquivalent", - "key.doc.type" : "Other", - "key.doclength" : 127, - "key.docoffset" : 2288, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> ifNotEquivalent<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 15, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "ifNotEquivalent", - "key.namelength" : 15, - "key.nameoffset" : 2424, - "key.offset" : 2424, - "key.parsed_declaration" : "case ifNotEquivalent", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.typename" : "(ReappliesToVisibleView.Type) -> ReappliesToVisibleView", - "key.typeusr" : "$sy10ListableUI22ReappliesToVisibleViewOACmcD", - "key.usr" : "s:10ListableUI22ReappliesToVisibleViewO15ifNotEquivalentyA2CmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func shouldReapply(comparing other: `Self`, isEquivalent: Bool<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 319, - "key.bodyoffset" : 2522, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReappliesToVisibleView.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> shouldReapply<\/decl.name>(comparing<\/decl.var.parameter.argument_label> other<\/decl.var.parameter.name>: `Self`<\/decl.var.parameter.type><\/decl.var.parameter>, isEquivalent<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 393, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "shouldReapply(comparing:isEquivalent:)", - "key.namelength" : 58, - "key.nameoffset" : 2454, - "key.offset" : 2449, - "key.parsed_declaration" : "func shouldReapply(comparing other : Self, isEquivalent : Bool) -> Bool", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReappliesToVisibleView) -> (ReappliesToVisibleView, Bool) -> Bool", - "key.typeusr" : "$s9comparing12isEquivalentSb10ListableUI22ReappliesToVisibleViewO_SbtcD", - "key.usr" : "s:10ListableUI22ReappliesToVisibleViewO13shouldReapply9comparing12isEquivalentSbAC_SbtF" - } - ], - "key.typename" : "ReappliesToVisibleView.Type", - "key.typeusr" : "$s10ListableUI22ReappliesToVisibleViewOmD", - "key.usr" : "s:10ListableUI22ReappliesToVisibleViewO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 1955, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct RefreshControl<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 300 - } - ], - "key.bodylength" : 824, - "key.bodyoffset" : 330, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents a standard UIKit refresh control that is shown at the top\nof a list to indicate that the list is refreshing. If you've used Mail.app, you know what this is!", - "key.doc.column" : 15, - "key.doc.comment" : "Represents a standard UIKit refresh control that is shown at the top\nof a list to indicate that the list is refreshing. If you've used Mail.app, you know what this is!", - "key.doc.declaration" : "public struct RefreshControl", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "RefreshControl<\/Name>s:10ListableUI14RefreshControlV<\/USR>public struct RefreshControl<\/Declaration>Represents a standard UIKit refresh control that is shown at the top of a list to indicate that the list is refreshing. If you’ve used Mail.app, you know what this is!<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "RefreshControl", - "key.doc.type" : "Class", - "key.doclength" : 176, - "key.docoffset" : 124, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> RefreshControl<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 848, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "RefreshControl", - "key.namelength" : 14, - "key.nameoffset" : 314, - "key.offset" : 307, - "key.parsed_declaration" : "public struct RefreshControl", - "key.parsed_scope.end" : 44, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isRefreshing: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 378 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the list is current refreshing.", - "key.doc.column" : 16, - "key.doc.comment" : "If the list is current refreshing.", - "key.doc.declaration" : "public var isRefreshing: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "isRefreshing<\/Name>s:10ListableUI14RefreshControlV12isRefreshingSbvp<\/USR>public var isRefreshing: Bool<\/Declaration>If the list is current refreshing.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "isRefreshing", - "key.doc.type" : "Other", - "key.doclength" : 39, - "key.docoffset" : 335, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isRefreshing<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "isRefreshing", - "key.namelength" : 12, - "key.nameoffset" : 389, - "key.offset" : 385, - "key.parsed_declaration" : "public var isRefreshing : Bool", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14RefreshControlV12isRefreshingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var offsetAdjustmentBehavior: OffsetAdjustmentBehavior<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 492 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how the refresh control affects the list when it is visible.", - "key.doc.column" : 16, - "key.doc.comment" : "Controls how the refresh control affects the list when it is visible.", - "key.doc.declaration" : "public var offsetAdjustmentBehavior: OffsetAdjustmentBehavior", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "offsetAdjustmentBehavior<\/Name>s:10ListableUI14RefreshControlV24offsetAdjustmentBehaviorAC06OffsetfG0Ovp<\/USR>public var offsetAdjustmentBehavior: OffsetAdjustmentBehavior<\/Declaration>Controls how the refresh control affects the list when it is visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "offsetAdjustmentBehavior", - "key.doc.type" : "Other", - "key.doclength" : 74, - "key.docoffset" : 414, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> offsetAdjustmentBehavior<\/decl.name>: OffsetAdjustmentBehavior<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 54, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "offsetAdjustmentBehavior", - "key.namelength" : 24, - "key.nameoffset" : 503, - "key.offset" : 499, - "key.parsed_declaration" : "public var offsetAdjustmentBehavior: OffsetAdjustmentBehavior", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "RefreshControl.OffsetAdjustmentBehavior", - "key.typeusr" : "$s10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorOD", - "key.usr" : "s:10ListableUI14RefreshControlV24offsetAdjustmentBehaviorAC06OffsetfG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var title: Title<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 593 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The title of the control.", - "key.doc.column" : 16, - "key.doc.comment" : "The title of the control.", - "key.doc.declaration" : "public var title: Title?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "title<\/Name>s:10ListableUI14RefreshControlV5titleAC5TitleOSgvp<\/USR>public var title: Title?<\/Declaration>The title of the control.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "title", - "key.doc.type" : "Other", - "key.doclength" : 30, - "key.docoffset" : 559, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> title<\/decl.name>: Title<\/ref.enum>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "title", - "key.namelength" : 5, - "key.nameoffset" : 604, - "key.offset" : 600, - "key.parsed_declaration" : "public var title : Title?", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "RefreshControl.Title?", - "key.typeusr" : "$s10ListableUI14RefreshControlV5TitleOSgD", - "key.usr" : "s:10ListableUI14RefreshControlV5titleAC5TitleOSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias RefreshControl<\/Type>.OnRefresh = () -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 628 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> RefreshControl<\/ref.struct>.OnRefresh<\/decl.name> = () -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 30, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "OnRefresh", - "key.namelength" : 9, - "key.nameoffset" : 645, - "key.offset" : 635, - "key.parsed_declaration" : "public typealias OnRefresh = () -> ()", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.typename" : "(() -> ()).Type", - "key.typeusr" : "$syycmD", - "key.usr" : "s:10ListableUI14RefreshControlV02OnC0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onRefresh: OnRefresh<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 733 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Invoked when a customer triggers a refresh event.", - "key.doc.column" : 16, - "key.doc.comment" : "Invoked when a customer triggers a refresh event.", - "key.doc.declaration" : "public var onRefresh: OnRefresh", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "onRefresh<\/Name>s:10ListableUI14RefreshControlV02onC0yycvp<\/USR>public var onRefresh: OnRefresh<\/Declaration>Invoked when a customer triggers a refresh event.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "onRefresh", - "key.doc.type" : "Other", - "key.doclength" : 54, - "key.docoffset" : 675, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onRefresh<\/decl.name>: OnRefresh<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "onRefresh", - "key.namelength" : 9, - "key.nameoffset" : 744, - "key.offset" : 740, - "key.parsed_declaration" : "public var onRefresh : OnRefresh", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "() -> ()", - "key.typeusr" : "$syycD", - "key.usr" : "s:10ListableUI14RefreshControlV02onC0yycvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(isRefreshing: Bool<\/Type>, offsetAdjustmentBehavior: OffsetAdjustmentBehavior<\/Type> = .none, title: Title<\/Type>? = nil, onRefresh: @escaping OnRefresh<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 775 - } - ], - "key.bodylength" : 183, - "key.bodyoffset" : 969, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(isRefreshing<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, offsetAdjustmentBehavior<\/decl.var.parameter.argument_label>: OffsetAdjustmentBehavior<\/ref.enum><\/decl.var.parameter.type> = .none<\/decl.var.parameter>, title<\/decl.var.parameter.argument_label>: Title<\/ref.enum>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onRefresh<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnRefresh<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 371, - "key.line" : 30, - "key.modulename" : "ListableUI", - "key.name" : "init(isRefreshing:offsetAdjustmentBehavior:title:onRefresh:)", - "key.namelength" : 181, - "key.nameoffset" : 782, - "key.offset" : 782, - "key.parsed_declaration" : "public init(\n isRefreshing: Bool,\n offsetAdjustmentBehavior: OffsetAdjustmentBehavior = .none,\n title : Title? = nil,\n onRefresh : @escaping OnRefresh\n )", - "key.parsed_scope.end" : 43, - "key.parsed_scope.start" : 30, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(RefreshControl.Type) -> (Bool, RefreshControl.OffsetAdjustmentBehavior, RefreshControl.Title?, @escaping () -> ()) -> RefreshControl", - "key.typeusr" : "$s12isRefreshing24offsetAdjustmentBehavior5title9onRefresh10ListableUI0H7ControlVSb_AG06OffsetdE0OAG5TitleOSgyyctcD", - "key.usr" : "s:10ListableUI14RefreshControlV12isRefreshing24offsetAdjustmentBehavior5title02onC0ACSb_AC06OffsethI0OAC5TitleOSgyyctcfc" - } - ], - "key.typename" : "RefreshControl.Type", - "key.typeusr" : "$s10ListableUI14RefreshControlVmD", - "key.usr" : "s:10ListableUI14RefreshControlV" - }, - { - "key.annotated_decl" : "public struct RefreshControl<\/Declaration>", - "key.bodylength" : 769, - "key.bodyoffset" : 1184, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents a standard UIKit refresh control that is shown at the top\nof a list to indicate that the list is refreshing. If you've used Mail.app, you know what this is!", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct RefreshControl", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "RefreshControl<\/Name>s:10ListableUI14RefreshControlV<\/USR>public struct RefreshControl<\/Declaration>Represents a standard UIKit refresh control that is shown at the top of a list to indicate that the list is refreshing. If you’ve used Mail.app, you know what this is!<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "RefreshControl", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> RefreshControl<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 796, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "RefreshControl", - "key.namelength" : 14, - "key.nameoffset" : 1168, - "key.offset" : 1158, - "key.parsed_declaration" : "extension RefreshControl", - "key.parsed_scope.end" : 68, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum OffsetAdjustmentBehavior : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1258 - } - ], - "key.bodylength" : 287, - "key.bodyoffset" : 1312, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls the visibility and position of the refresh control.", - "key.doc.column" : 17, - "key.doc.comment" : "Controls the visibility and position of the refresh control.", - "key.doc.declaration" : "public enum OffsetAdjustmentBehavior : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "OffsetAdjustmentBehavior<\/Name>s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO<\/USR>public enum OffsetAdjustmentBehavior : Equatable<\/Declaration>Controls the visibility and position of the refresh control.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 50, - "key.doc.name" : "OffsetAdjustmentBehavior", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 1189, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1297 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> OffsetAdjustmentBehavior<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 335, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "OffsetAdjustmentBehavior", - "key.namelength" : 24, - "key.nameoffset" : 1270, - "key.offset" : 1265, - "key.parsed_declaration" : "public enum OffsetAdjustmentBehavior : Equatable", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 1404, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Does not apply any visibility or offset change to the refresh control.", - "key.doc.column" : 14, - "key.doc.comment" : "Does not apply any visibility or offset change to the refresh control.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO4noneyA2EmF<\/USR><\/Declaration>Does not apply any visibility or offset change to the refresh control.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 53, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 75, - "key.docoffset" : 1321, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 1409, - "key.offset" : 1409, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.typename" : "(RefreshControl.OffsetAdjustmentBehavior.Type) -> RefreshControl.OffsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorOAEmcD", - "key.usr" : "s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO4noneyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 60, - "key.offset" : 1534, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case displayWhenRefreshing(animate: Bool<\/Type>, scrollToTop: Bool<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If a refresh starts, the list will be scrolled to the top to reveal the refresh indicator.", - "key.doc.column" : 14, - "key.doc.comment" : "If a refresh starts, the list will be scrolled to the top to reveal the refresh indicator.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "displayWhenRefreshing(animate:scrollToTop:)<\/Name>s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO21displayWhenRefreshingyAESb_SbtcAEmF<\/USR><\/Declaration>If a refresh starts, the list will be scrolled to the top to reveal the refresh indicator.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 56, - "key.doc.name" : "displayWhenRefreshing(animate:scrollToTop:)", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 1431, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> displayWhenRefreshing<\/decl.name>(animate<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, scrollToTop<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 55, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "displayWhenRefreshing(animate:scrollToTop:)", - "key.namelength" : 55, - "key.nameoffset" : 1539, - "key.offset" : 1539, - "key.parsed_declaration" : "case displayWhenRefreshing(animate: Bool, scrollToTop: Bool)", - "key.parsed_scope.end" : 56, - "key.parsed_scope.start" : 56, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(RefreshControl.OffsetAdjustmentBehavior.Type) -> (Bool, Bool) -> RefreshControl.OffsetAdjustmentBehavior", - "key.typeusr" : "$sy10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorOSb_SbtcAEmcD", - "key.usr" : "s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO21displayWhenRefreshingyAESb_SbtcAEmF" - } - ] - } - ], - "key.typename" : "RefreshControl.OffsetAdjustmentBehavior.Type", - "key.typeusr" : "$s10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorOmD", - "key.usr" : "s:10ListableUI14RefreshControlV24OffsetAdjustmentBehaviorO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Title : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1665 - } - ], - "key.bodylength" : 252, - "key.bodyoffset" : 1699, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the title of the refresh control is displayed.", - "key.doc.column" : 17, - "key.doc.comment" : "How the title of the refresh control is displayed.", - "key.doc.declaration" : "public enum Title : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "Title<\/Name>s:10ListableUI14RefreshControlV5TitleO<\/USR>public enum Title : Hashable<\/Declaration>How the title of the refresh control is displayed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 60, - "key.doc.name" : "Title", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 1606, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 1685 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Title<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 280, - "key.line" : 60, - "key.modulename" : "ListableUI", - "key.name" : "Title", - "key.namelength" : 5, - "key.nameoffset" : 1677, - "key.offset" : 1672, - "key.parsed_declaration" : "public enum Title : Hashable", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 60, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 1786, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case string(String<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A standard string is displayed according to iOS appearance rules.", - "key.doc.column" : 14, - "key.doc.comment" : "A standard string is displayed according to iOS appearance rules.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "string(_:)<\/Name>s:10ListableUI14RefreshControlV5TitleO6stringyAESScAEmF<\/USR><\/Declaration>A standard string is displayed according to iOS appearance rules.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "string(_:)", - "key.doc.type" : "Other", - "key.doclength" : 70, - "key.docoffset" : 1708, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> string<\/decl.name>(String<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "string(_:)", - "key.namelength" : 14, - "key.nameoffset" : 1791, - "key.offset" : 1791, - "key.parsed_declaration" : "case string(String)", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(RefreshControl.Title.Type) -> (String) -> RefreshControl.Title", - "key.typeusr" : "$sy10ListableUI14RefreshControlV5TitleOSScAEmcD", - "key.usr" : "s:10ListableUI14RefreshControlV5TitleO6stringyAESScAEmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 35, - "key.offset" : 1911, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case attributed(NSAttributedString<\/Type>)<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An attributed string is displayed which provides specific appearance rules.", - "key.doc.column" : 14, - "key.doc.comment" : "An attributed string is displayed which provides specific appearance rules.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.doc.full_as_xml" : "attributed(_:)<\/Name>s:10ListableUI14RefreshControlV5TitleO10attributedyAESo18NSAttributedStringCcAEmF<\/USR><\/Declaration>An attributed string is displayed which provides specific appearance rules.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 66, - "key.doc.name" : "attributed(_:)", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 1823, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/RefreshControl.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> attributed<\/decl.name>(NSAttributedString<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 30, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "attributed(_:)", - "key.namelength" : 30, - "key.nameoffset" : 1916, - "key.offset" : 1916, - "key.parsed_declaration" : "case attributed(NSAttributedString)", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(RefreshControl.Title.Type) -> (NSAttributedString) -> RefreshControl.Title", - "key.typeusr" : "$sy10ListableUI14RefreshControlV5TitleOSo18NSAttributedStringCcAEmcD", - "key.usr" : "s:10ListableUI14RefreshControlV5TitleO10attributedyAESo18NSAttributedStringCcAEmF" - } - ] - } - ], - "key.typename" : "RefreshControl.Title.Type", - "key.typeusr" : "$s10ListableUI14RefreshControlV5TitleOmD", - "key.usr" : "s:10ListableUI14RefreshControlV5TitleO" - } - ], - "key.typename" : "RefreshControl.Type", - "key.typeusr" : "$s10ListableUI14RefreshControlVmD", - "key.usr" : "s:10ListableUI14RefreshControlV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2880, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public final class ReorderingActions<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.final", - "key.length" : 5, - "key.offset" : 104 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 97 - } - ], - "key.bodylength" : 1602, - "key.bodyoffset" : 135, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReorderingActions<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.class", - "key.length" : 1628, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "ReorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 116, - "key.offset" : 110, - "key.parsed_declaration" : "public final class ReorderingActions", - "key.parsed_scope.end" : 79, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public private(set) var isMoving: Bool<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.setter_access.private", - "key.length" : 12, - "key.offset" : 147 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 140 - } - ], - "key.column" : 29, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> private<\/syntaxtype.keyword>(set) var<\/syntaxtype.keyword> isMoving<\/decl.name>: Bool<\/ref.struct><\/decl.var.type> { get }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 11, - "key.modulename" : "ListableUI", - "key.name" : "isMoving", - "key.namelength" : 8, - "key.nameoffset" : 164, - "key.offset" : 160, - "key.parsed_declaration" : "public private(set) var isMoving : Bool", - "key.parsed_scope.end" : 11, - "key.parsed_scope.start" : 11, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI17ReorderingActionsC8isMovingSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var item: AnyPresentationItemState<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 189 - } - ], - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> item<\/decl.name>: AnyPresentationItemState<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 36, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "item", - "key.namelength" : 4, - "key.nameoffset" : 198, - "key.offset" : 194, - "key.parsed_declaration" : "weak var item : AnyPresentationItemState?", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(any AnyPresentationItemState)?", - "key.typeusr" : "$s10ListableUI24AnyPresentationItemState_pSgD", - "key.usr" : "s:10ListableUI17ReorderingActionsC4itemAA24AnyPresentationItemState_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "weak var delegate: ReorderingActionsDelegate<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.weak", - "key.length" : 4, - "key.offset" : 235 - } - ], - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "weak<\/syntaxtype.keyword> var<\/syntaxtype.keyword> delegate<\/decl.name>: ReorderingActionsDelegate<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 41, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "delegate", - "key.namelength" : 8, - "key.nameoffset" : 244, - "key.offset" : 240, - "key.parsed_declaration" : "weak var delegate : ReorderingActionsDelegate?", - "key.parsed_scope.end" : 14, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "(any ReorderingActionsDelegate)?", - "key.typeusr" : "$s10ListableUI25ReorderingActionsDelegate_pSgD", - "key.usr" : "s:10ListableUI17ReorderingActionsC8delegateAA0cD8Delegate_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "init()<\/Declaration>", - "key.bodylength" : 35, - "key.bodyoffset" : 303, - "key.column" : 5, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 48, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 291, - "key.offset" : 291, - "key.parsed_declaration" : "init()", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(ReorderingActions.Type) -> () -> ReorderingActions", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCycD", - "key.usr" : "s:10ListableUI17ReorderingActionsCACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func start() -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 349 - } - ], - "key.bodylength" : 440, - "key.bodyoffset" : 382, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> start<\/decl.name>() -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 467, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "start()", - "key.namelength" : 7, - "key.nameoffset" : 361, - "key.offset" : 356, - "key.parsed_declaration" : "public func start() -> Bool", - "key.parsed_scope.end" : 42, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReorderingActions) -> () -> Bool", - "key.typeusr" : "$sSbycD", - "key.usr" : "s:10ListableUI17ReorderingActionsC5startSbyF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func moved(with recognizer: ItemReordering<\/Type>.GestureRecognizer<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 833 - } - ], - "key.bodylength" : 238, - "key.bodyoffset" : 908, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> moved<\/decl.name>(with<\/decl.var.parameter.argument_label> recognizer<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 307, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "moved(with:)", - "key.namelength" : 57, - "key.nameoffset" : 845, - "key.offset" : 840, - "key.parsed_declaration" : "public func moved(with recognizer : ItemReordering.GestureRecognizer)", - "key.parsed_scope.end" : 55, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReorderingActions) -> (ItemReordering.GestureRecognizer) -> ()", - "key.typeusr" : "$s4withy10ListableUI14ItemReorderingV17GestureRecognizerC_tcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC5moved4withyAA04ItemC0V17GestureRecognizerC_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func end(_ result: Result<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1157 - } - ], - "key.bodylength" : 256, - "key.bodyoffset" : 1197, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> end<\/decl.name>(_<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 290, - "key.line" : 57, - "key.modulename" : "ListableUI", - "key.name" : "end(_:)", - "key.namelength" : 22, - "key.nameoffset" : 1169, - "key.offset" : 1164, - "key.parsed_declaration" : "public func end(_ result : Result)", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 57, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReorderingActions) -> (ReorderingActions.Result) -> ()", - "key.typeusr" : "$syy10ListableUI17ReorderingActionsC6ResultOcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC3endyyAC6ResultOF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func accessibilityMove(direction: AccessibilityMoveDirection<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1464 - } - ], - "key.bodylength" : 188, - "key.bodyoffset" : 1542, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> accessibilityMove<\/decl.name>(direction<\/decl.var.parameter.argument_label>: AccessibilityMoveDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 260, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityMove(direction:)", - "key.namelength" : 56, - "key.nameoffset" : 1476, - "key.offset" : 1471, - "key.parsed_declaration" : "public func accessibilityMove(direction: AccessibilityMoveDirection) -> Bool", - "key.parsed_scope.end" : 77, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ReorderingActions) -> (ReorderingActions.AccessibilityMoveDirection) -> Bool", - "key.typeusr" : "$s9directionSb10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionO_tcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC17accessibilityMove9directionSbAC013AccessibilityF9DirectionO_tF" - } - ], - "key.typename" : "ReorderingActions.Type", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCmD", - "key.usr" : "s:10ListableUI17ReorderingActionsC" - }, - { - "key.annotated_decl" : "public final class ReorderingActions<\/Declaration>", - "key.bodylength" : 94, - "key.bodyoffset" : 1770, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReorderingActions<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 124, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "ReorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 1751, - "key.offset" : 1741, - "key.parsed_declaration" : "extension ReorderingActions", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 82, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Result : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1780 - } - ], - "key.bodylength" : 50, - "key.bodyoffset" : 1812, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1801 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Result<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 76, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "Result", - "key.namelength" : 6, - "key.nameoffset" : 1792, - "key.offset" : 1787, - "key.parsed_declaration" : "public enum Result : Equatable", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 1821, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case finished<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> finished<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "finished", - "key.namelength" : 8, - "key.nameoffset" : 1826, - "key.offset" : 1826, - "key.parsed_declaration" : "case finished", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.typename" : "(ReorderingActions.Result.Type) -> ReorderingActions.Result", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC6ResultOAEmcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC6ResultO8finishedyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 1843, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case cancelled<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> cancelled<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "cancelled", - "key.namelength" : 9, - "key.nameoffset" : 1848, - "key.offset" : 1848, - "key.parsed_declaration" : "case cancelled", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "(ReorderingActions.Result.Type) -> ReorderingActions.Result", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC6ResultOAEmcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC6ResultO9cancelledyA2EmF" - } - ] - } - ], - "key.typename" : "ReorderingActions.Result.Type", - "key.typeusr" : "$s10ListableUI17ReorderingActionsC6ResultOmD", - "key.usr" : "s:10ListableUI17ReorderingActionsC6ResultO" - } - ], - "key.typename" : "ReorderingActions.Type", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCmD", - "key.usr" : "s:10ListableUI17ReorderingActionsC" - }, - { - "key.annotated_decl" : "public final class ReorderingActions<\/Declaration>", - "key.bodylength" : 242, - "key.bodyoffset" : 1896, - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> final<\/syntaxtype.keyword> class<\/syntaxtype.keyword> ReorderingActions<\/decl.name><\/decl.class>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 272, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "ReorderingActions", - "key.namelength" : 17, - "key.nameoffset" : 1877, - "key.offset" : 1867, - "key.parsed_declaration" : "extension ReorderingActions", - "key.parsed_scope.end" : 96, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum AccessibilityMoveDirection<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2057 - } - ], - "key.bodylength" : 39, - "key.bodyoffset" : 2097, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Used with the accessibilityMove(item: direction:) delegate method to indicate the direction a selected item should be moved in the collection view.", - "key.doc.column" : 17, - "key.doc.comment" : "Used with the accessibilityMove(item: direction:) delegate method to indicate the direction a selected item should be moved in the collection view.", - "key.doc.declaration" : "public enum AccessibilityMoveDirection", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.doc.full_as_xml" : "AccessibilityMoveDirection<\/Name>s:10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionO<\/USR>public enum AccessibilityMoveDirection<\/Declaration>Used with the accessibilityMove(item: direction:) delegate method to indicate the direction a selected item should be moved in the collection view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 92, - "key.doc.name" : "AccessibilityMoveDirection", - "key.doc.type" : "Other", - "key.doclength" : 152, - "key.docoffset" : 1901, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> AccessibilityMoveDirection<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 73, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "AccessibilityMoveDirection", - "key.namelength" : 26, - "key.nameoffset" : 2069, - "key.offset" : 2064, - "key.parsed_declaration" : "public enum AccessibilityMoveDirection", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 7, - "key.offset" : 2106, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case up<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> up<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 2, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "up", - "key.namelength" : 2, - "key.nameoffset" : 2111, - "key.offset" : 2111, - "key.parsed_declaration" : "case up", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "(ReorderingActions.AccessibilityMoveDirection.Type) -> ReorderingActions.AccessibilityMoveDirection", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionOAEmcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionO2upyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 2122, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case down<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> down<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 94, - "key.modulename" : "ListableUI", - "key.name" : "down", - "key.namelength" : 4, - "key.nameoffset" : 2127, - "key.offset" : 2127, - "key.parsed_declaration" : "case down", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 94, - "key.reusingastcontext" : false, - "key.typename" : "(ReorderingActions.AccessibilityMoveDirection.Type) -> ReorderingActions.AccessibilityMoveDirection", - "key.typeusr" : "$sy10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionOAEmcD", - "key.usr" : "s:10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionO4downyA2EmF" - } - ] - } - ], - "key.typename" : "ReorderingActions.AccessibilityMoveDirection.Type", - "key.typeusr" : "$s10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionOmD", - "key.usr" : "s:10ListableUI17ReorderingActionsC26AccessibilityMoveDirectionO" - } - ], - "key.typename" : "ReorderingActions.Type", - "key.typeusr" : "$s10ListableUI17ReorderingActionsCmD", - "key.usr" : "s:10ListableUI17ReorderingActionsC" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "protocol ReorderingActionsDelegate : AnyObject<\/Declaration>", - "key.bodylength" : 689, - "key.bodyoffset" : 2189, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2178 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "protocol<\/syntaxtype.keyword> ReorderingActionsDelegate<\/decl.name> : AnyObject<\/decl.protocol>", - "key.inheritedtypes" : [ - { - "key.name" : "AnyObject" - } - ], - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 738, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "ReorderingActionsDelegate", - "key.namelength" : 25, - "key.nameoffset" : 2150, - "key.offset" : 2141, - "key.parsed_declaration" : "protocol ReorderingActionsDelegate : AnyObject", - "key.parsed_scope.end" : 106, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func beginReorder(for item: AnyPresentationItemState<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> beginReorder<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 62, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "beginReorder(for:)", - "key.namelength" : 49, - "key.nameoffset" : 2199, - "key.offset" : 2194, - "key.parsed_declaration" : "func beginReorder(for item : AnyPresentationItemState) -> Bool", - "key.parsed_scope.end" : 100, - "key.parsed_scope.start" : 100, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyPresentationItemState) -> Bool", - "key.typeusr" : "$s3forSb10ListableUI24AnyPresentationItemState_p_tcD", - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP12beginReorder3forSbAA24AnyPresentationItemState_p_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func updateReorderTargetPosition(with recognizer: ItemReordering<\/Type>.GestureRecognizer<\/Type>, for item: AnyPresentationItemState<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> updateReorderTargetPosition<\/decl.name>(with<\/decl.var.parameter.argument_label> recognizer<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.GestureRecognizer<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 121, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "updateReorderTargetPosition(with:for:)", - "key.namelength" : 116, - "key.nameoffset" : 2266, - "key.offset" : 2261, - "key.parsed_declaration" : "func updateReorderTargetPosition(with recognizer : ItemReordering.GestureRecognizer, for item : AnyPresentationItemState)", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (ItemReordering.GestureRecognizer, any AnyPresentationItemState) -> ()", - "key.typeusr" : "$s4with3fory10ListableUI14ItemReorderingV17GestureRecognizerC_AC015AnyPresentationE5State_ptcD", - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP27updateReorderTargetPosition4with3foryAA04ItemC0V17GestureRecognizerC_AA015AnyPresentationL5State_ptF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func endReorder(for item: AnyPresentationItemState<\/Type>, with result: ReorderingActions<\/Type>.Result<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> endReorder<\/decl.name>(for<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ReorderingActions<\/ref.class>.Result<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 92, - "key.line" : 102, - "key.modulename" : "ListableUI", - "key.name" : "endReorder(for:with:)", - "key.namelength" : 87, - "key.nameoffset" : 2392, - "key.offset" : 2387, - "key.parsed_declaration" : "func endReorder(for item : AnyPresentationItemState, with result : ReorderingActions.Result)", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 102, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyPresentationItemState, ReorderingActions.Result) -> ()", - "key.typeusr" : "$s3for4withy10ListableUI24AnyPresentationItemState_p_AC17ReorderingActionsC6ResultOtcD", - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP10endReorder3for4withyAA24AnyPresentationItemState_p_AA0cD0C6ResultOtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func accessibilityMove(item: AnyPresentationItemState<\/Type>, direction: ReorderingActions<\/Type>.AccessibilityMoveDirection<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ReorderingActions.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> accessibilityMove<\/decl.name>(item<\/decl.var.parameter.argument_label>: AnyPresentationItemState<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: ReorderingActions<\/ref.class>.AccessibilityMoveDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 119, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityMove(item:direction:)", - "key.namelength" : 106, - "key.nameoffset" : 2763, - "key.offset" : 2758, - "key.parsed_declaration" : "func accessibilityMove(item: AnyPresentationItemState, direction: ReorderingActions.AccessibilityMoveDirection) -> Bool", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : " (Self) -> (any AnyPresentationItemState, ReorderingActions.AccessibilityMoveDirection) -> Bool", - "key.typeusr" : "$s4item9directionSb10ListableUI24AnyPresentationItemState_p_AC17ReorderingActionsC26AccessibilityMoveDirectionOtcD", - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP17accessibilityMove4item9directionSbAA24AnyPresentationItemState_p_AA0cD0C013AccessibilityG9DirectionOtF" - } - ], - "key.typename" : "ReorderingActionsDelegate.Type", - "key.typeusr" : "$s10ListableUI25ReorderingActionsDelegate_pmD", - "key.usr" : "s:10ListableUI25ReorderingActionsDelegateP" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2460, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ScrollPosition : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 381 - } - ], - "key.bodylength" : 639, - "key.bodyoffset" : 423, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies how to position an item in a list when requesting the list scrolls to it.\n\nYou can specify a position (top, center, bottom), what to do if the\nitem is already visible on screen, and any additional custom offset\nto apply to the scroll event.\n", - "key.doc.column" : 15, - "key.doc.comment" : "Specifies how to position an item in a list when requesting the list scrolls to it.\n\nYou can specify a position (top, center, bottom), what to do if the\nitem is already visible on screen, and any additional custom offset\nto apply to the scroll event.", - "key.doc.declaration" : "public struct ScrollPosition : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You can specify a position (top, center, bottom), what to do if the item is already visible on screen, and any additional custom offset to apply to the scroll event." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "ScrollPosition<\/Name>s:10ListableUI14ScrollPositionV<\/USR>public struct ScrollPosition : Equatable<\/Declaration>Specifies how to position an item in a list when requesting the list scrolls to it.<\/Para><\/Abstract>You can specify a position (top, center, bottom), what to do if the item is already visible on screen, and any additional custom offset to apply to the scroll event.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 17, - "key.doc.name" : "ScrollPosition", - "key.doc.type" : "Class", - "key.doclength" : 274, - "key.docoffset" : 107, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 412 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ScrollPosition<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 675, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "ScrollPosition", - "key.namelength" : 14, - "key.nameoffset" : 395, - "key.offset" : 388, - "key.parsed_declaration" : "public struct ScrollPosition : Equatable", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var position: Position<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The position to scroll to within the list.", - "key.doc.column" : 9, - "key.doc.comment" : "The position to scroll to within the list.", - "key.doc.declaration" : "var position: Position", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "position<\/Name>s:10ListableUI14ScrollPositionV8positionAC0D0Ovp<\/USR>var position: Position<\/Declaration>The position to scroll to within the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "position", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 428, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> position<\/decl.name>: Position<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "position", - "key.namelength" : 8, - "key.nameoffset" : 483, - "key.offset" : 479, - "key.parsed_declaration" : "var position : Position", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ScrollPosition.Position", - "key.typeusr" : "$s10ListableUI14ScrollPositionV0D0OD", - "key.usr" : "s:10ListableUI14ScrollPositionV8positionAC0D0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var ifAlreadyVisible: IfAlreadyVisible<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The rule to apply if the item is already partially visible within the list.", - "key.doc.column" : 9, - "key.doc.comment" : "The rule to apply if the item is already partially visible within the list.", - "key.doc.declaration" : "var ifAlreadyVisible: IfAlreadyVisible", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "ifAlreadyVisible<\/Name>s:10ListableUI14ScrollPositionV16ifAlreadyVisibleAC02IffG0Ovp<\/USR>var ifAlreadyVisible: IfAlreadyVisible<\/Declaration>The rule to apply if the item is already partially visible within the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "ifAlreadyVisible", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 512, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> ifAlreadyVisible<\/decl.name>: IfAlreadyVisible<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 39, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "ifAlreadyVisible", - "key.namelength" : 16, - "key.nameoffset" : 600, - "key.offset" : 596, - "key.parsed_declaration" : "var ifAlreadyVisible : IfAlreadyVisible", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "ScrollPosition.IfAlreadyVisible", - "key.typeusr" : "$s10ListableUI14ScrollPositionV16IfAlreadyVisibleOD", - "key.usr" : "s:10ListableUI14ScrollPositionV16ifAlreadyVisibleAC02IffG0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var offset: CGFloat<\/Type><\/Declaration>", - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The offset to apply when scrolling to the item in the list.", - "key.doc.column" : 9, - "key.doc.comment" : "The offset to apply when scrolling to the item in the list.", - "key.doc.declaration" : "var offset: CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "offset<\/Name>s:10ListableUI14ScrollPositionV6offset14CoreFoundation7CGFloatVvp<\/USR>var offset: CGFloat<\/Declaration>The offset to apply when scrolling to the item in the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 26, - "key.doc.name" : "offset", - "key.doc.type" : "Other", - "key.doclength" : 64, - "key.docoffset" : 644, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> offset<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 26, - "key.modulename" : "ListableUI", - "key.name" : "offset", - "key.namelength" : 6, - "key.nameoffset" : 716, - "key.offset" : 712, - "key.parsed_declaration" : "var offset : CGFloat", - "key.parsed_scope.end" : 26, - "key.parsed_scope.start" : 26, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.internal", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14ScrollPositionV6offset14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(position: Position<\/Type>, ifAlreadyVisible: IfAlreadyVisible<\/Type> = .doNothing, offset: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 806 - } - ], - "key.bodylength" : 116, - "key.bodyoffset" : 944, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new scroll position with the provided values.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new scroll position with the provided values.", - "key.doc.declaration" : "public init(position: Position, ifAlreadyVisible: IfAlreadyVisible = .doNothing, offset: CGFloat = 0.0)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "init(position:ifAlreadyVisible:offset:)<\/Name>s:10ListableUI14ScrollPositionV8position16ifAlreadyVisible6offsetA2C0D0O_AC02IfgH0O14CoreFoundation7CGFloatVtcfc<\/USR>public init(position: Position, ifAlreadyVisible: IfAlreadyVisible = .doNothing, offset: CGFloat = 0.0)<\/Declaration>Creates a new scroll position with the provided values.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 29, - "key.doc.name" : "init(position:ifAlreadyVisible:offset:)", - "key.doc.type" : "Function", - "key.doclength" : 60, - "key.docoffset" : 742, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(position<\/decl.var.parameter.argument_label>: Position<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, ifAlreadyVisible<\/decl.var.parameter.argument_label>: IfAlreadyVisible<\/ref.enum><\/decl.var.parameter.type> = .doNothing<\/decl.var.parameter>, offset<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 248, - "key.line" : 29, - "key.modulename" : "ListableUI", - "key.name" : "init(position:ifAlreadyVisible:offset:)", - "key.namelength" : 129, - "key.nameoffset" : 813, - "key.offset" : 813, - "key.parsed_declaration" : "public init(\n position : Position,\n ifAlreadyVisible : IfAlreadyVisible = .doNothing,\n offset : CGFloat = 0.0\n)", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 29, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ScrollPosition.Type) -> (ScrollPosition.Position, ScrollPosition.IfAlreadyVisible, CGFloat) -> ScrollPosition", - "key.typeusr" : "$s8position16ifAlreadyVisible6offset10ListableUI14ScrollPositionVAF0I0O_AF02IfcD0O14CoreFoundation7CGFloatVtcD", - "key.usr" : "s:10ListableUI14ScrollPositionV8position16ifAlreadyVisible6offsetA2C0D0O_AC02IfgH0O14CoreFoundation7CGFloatVtcfc" - } - ], - "key.typename" : "ScrollPosition.Type", - "key.typeusr" : "$s10ListableUI14ScrollPositionVmD", - "key.usr" : "s:10ListableUI14ScrollPositionV" - }, - { - "key.annotated_decl" : "public struct ScrollPosition : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 1366, - "key.bodyoffset" : 1092, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies how to position an item in a list when requesting the list scrolls to it.\n\nYou can specify a position (top, center, bottom), what to do if the\nitem is already visible on screen, and any additional custom offset\nto apply to the scroll event.\n", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ScrollPosition : Equatable", - "key.doc.discussion" : [ - { - "Para" : "You can specify a position (top, center, bottom), what to do if the item is already visible on screen, and any additional custom offset to apply to the scroll event." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "ScrollPosition<\/Name>s:10ListableUI14ScrollPositionV<\/USR>public struct ScrollPosition : Equatable<\/Declaration>Specifies how to position an item in a list when requesting the list scrolls to it.<\/Para><\/Abstract>You can specify a position (top, center, bottom), what to do if the item is already visible on screen, and any additional custom offset to apply to the scroll event.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 17, - "key.doc.name" : "ScrollPosition", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ScrollPosition<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1393, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "ScrollPosition", - "key.namelength" : 14, - "key.nameoffset" : 1076, - "key.offset" : 1066, - "key.parsed_declaration" : "extension ScrollPosition", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 41, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Position : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1156 - } - ], - "key.bodylength" : 866, - "key.bodyoffset" : 1194, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How the item should be positioned within the list.", - "key.doc.column" : 17, - "key.doc.comment" : "How the item should be positioned within the list.", - "key.doc.declaration" : "public enum Position : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "Position<\/Name>s:10ListableUI14ScrollPositionV0D0O<\/USR>public enum Position : Equatable<\/Declaration>How the item should be positioned within the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 44, - "key.doc.name" : "Position", - "key.doc.type" : "Other", - "key.doclength" : 55, - "key.docoffset" : 1097, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1179 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Position<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 898, - "key.line" : 44, - "key.modulename" : "ListableUI", - "key.name" : "Position", - "key.namelength" : 8, - "key.nameoffset" : 1168, - "key.offset" : 1163, - "key.parsed_declaration" : "public enum Position : Equatable", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 44, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 1255, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case top<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll the item to the top of the list.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll the item to the top of the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "top<\/Name>s:10ListableUI14ScrollPositionV0D0O3topyA2EmF<\/USR><\/Declaration>Scroll the item to the top of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 47, - "key.doc.name" : "top", - "key.doc.type" : "Other", - "key.doclength" : 44, - "key.docoffset" : 1203, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> top<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 1260, - "key.offset" : 1260, - "key.parsed_declaration" : "case top", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 47, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollPosition.Position.Type) -> ScrollPosition.Position", - "key.typeusr" : "$sy10ListableUI14ScrollPositionV0D0OAEmcD", - "key.usr" : "s:10ListableUI14ScrollPositionV0D0O3topyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 1336, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case centered<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll the item to the middle of the list.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll the item to the middle of the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "centered<\/Name>s:10ListableUI14ScrollPositionV0D0O8centeredyA2EmF<\/USR><\/Declaration>Scroll the item to the middle of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 50, - "key.doc.name" : "centered", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 1281, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> centered<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 50, - "key.modulename" : "ListableUI", - "key.name" : "centered", - "key.namelength" : 8, - "key.nameoffset" : 1341, - "key.offset" : 1341, - "key.parsed_declaration" : "case centered", - "key.parsed_scope.end" : 50, - "key.parsed_scope.start" : 50, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollPosition.Position.Type) -> ScrollPosition.Position", - "key.typeusr" : "$sy10ListableUI14ScrollPositionV0D0OAEmcD", - "key.usr" : "s:10ListableUI14ScrollPositionV0D0O8centeredyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 1422, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case bottom<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll the item to the bottom of the list.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll the item to the bottom of the list.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "bottom<\/Name>s:10ListableUI14ScrollPositionV0D0O6bottomyA2EmF<\/USR><\/Declaration>Scroll the item to the bottom of the list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 53, - "key.doc.name" : "bottom", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 1367, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> bottom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 53, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 1427, - "key.offset" : 1427, - "key.parsed_declaration" : "case bottom", - "key.parsed_scope.end" : 53, - "key.parsed_scope.start" : 53, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollPosition.Position.Type) -> ScrollPosition.Position", - "key.typeusr" : "$sy10ListableUI14ScrollPositionV0D0OAEmcD", - "key.usr" : "s:10ListableUI14ScrollPositionV0D0O6bottomyA2EmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func toUICollectionViewScrollPosition(for direction: LayoutDirection<\/Type>) -> UICollectionView<\/Type>.ScrollPosition<\/Type><\/Declaration>", - "key.bodylength" : 496, - "key.bodyoffset" : 1558, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> toUICollectionViewScrollPosition<\/decl.name>(for<\/decl.var.parameter.argument_label> direction<\/decl.var.parameter.name>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> UICollectionView<\/ref.class>.ScrollPosition<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 604, - "key.line" : 55, - "key.modulename" : "ListableUI", - "key.name" : "toUICollectionViewScrollPosition(for:)", - "key.namelength" : 65, - "key.nameoffset" : 1456, - "key.offset" : 1451, - "key.parsed_declaration" : "func toUICollectionViewScrollPosition(for direction : LayoutDirection) -> UICollectionView.ScrollPosition", - "key.parsed_scope.end" : 70, - "key.parsed_scope.start" : 55, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ScrollPosition.Position) -> (LayoutDirection) -> UICollectionView.ScrollPosition", - "key.typeusr" : "$s3forSo30UICollectionViewScrollPositionV10ListableUI15LayoutDirectionO_tcD", - "key.usr" : "s:10ListableUI14ScrollPositionV0D0O018toUICollectionViewcD03forSo0fgcD0VAA15LayoutDirectionO_tF" - } - ], - "key.typename" : "ScrollPosition.Position.Type", - "key.typeusr" : "$s10ListableUI14ScrollPositionV0D0OmD", - "key.usr" : "s:10ListableUI14ScrollPositionV0D0O" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum IfAlreadyVisible : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2167 - } - ], - "key.bodylength" : 243, - "key.bodyoffset" : 2213, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "What action should be taken if an item is already partially visible within a list.", - "key.doc.column" : 17, - "key.doc.comment" : "What action should be taken if an item is already partially visible within a list.", - "key.doc.declaration" : "public enum IfAlreadyVisible : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "IfAlreadyVisible<\/Name>s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO<\/USR>public enum IfAlreadyVisible : Equatable<\/Declaration>What action should be taken if an item is already partially visible within a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 75, - "key.doc.name" : "IfAlreadyVisible", - "key.doc.type" : "Other", - "key.doclength" : 87, - "key.docoffset" : 2076, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2198 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> IfAlreadyVisible<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 283, - "key.line" : 75, - "key.modulename" : "ListableUI", - "key.name" : "IfAlreadyVisible", - "key.namelength" : 16, - "key.nameoffset" : 2179, - "key.offset" : 2174, - "key.parsed_declaration" : "public enum IfAlreadyVisible : Equatable", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 75, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 2302, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case doNothing<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Do not perform any action if the item is already partially visible.", - "key.doc.column" : 14, - "key.doc.comment" : "Do not perform any action if the item is already partially visible.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "doNothing<\/Name>s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO9doNothingyA2EmF<\/USR><\/Declaration>Do not perform any action if the item is already partially visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 78, - "key.doc.name" : "doNothing", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 2222, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> doNothing<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "doNothing", - "key.namelength" : 9, - "key.nameoffset" : 2307, - "key.offset" : 2307, - "key.parsed_declaration" : "case doNothing", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 78, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollPosition.IfAlreadyVisible.Type) -> ScrollPosition.IfAlreadyVisible", - "key.typeusr" : "$sy10ListableUI14ScrollPositionV16IfAlreadyVisibleOAEmcD", - "key.usr" : "s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO9doNothingyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 21, - "key.offset" : 2430, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case scrollToPosition<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Scroll the item to the desired `Position`, even if it is already partially visible.", - "key.doc.column" : 14, - "key.doc.comment" : "Scroll the item to the desired `Position`, even if it is already partially visible.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.doc.full_as_xml" : "scrollToPosition<\/Name>s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO08scrollToD0yA2EmF<\/USR><\/Declaration>Scroll the item to the desired Position<\/codeVoice>, even if it is already partially visible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 81, - "key.doc.name" : "scrollToPosition", - "key.doc.type" : "Other", - "key.doclength" : 88, - "key.docoffset" : 2334, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ScrollPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> scrollToPosition<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 16, - "key.line" : 81, - "key.modulename" : "ListableUI", - "key.name" : "scrollToPosition", - "key.namelength" : 16, - "key.nameoffset" : 2435, - "key.offset" : 2435, - "key.parsed_declaration" : "case scrollToPosition", - "key.parsed_scope.end" : 81, - "key.parsed_scope.start" : 81, - "key.reusingastcontext" : false, - "key.typename" : "(ScrollPosition.IfAlreadyVisible.Type) -> ScrollPosition.IfAlreadyVisible", - "key.typeusr" : "$sy10ListableUI14ScrollPositionV16IfAlreadyVisibleOAEmcD", - "key.usr" : "s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO08scrollToD0yA2EmF" - } - ] - } - ], - "key.typename" : "ScrollPosition.IfAlreadyVisible.Type", - "key.typeusr" : "$s10ListableUI14ScrollPositionV16IfAlreadyVisibleOmD", - "key.usr" : "s:10ListableUI14ScrollPositionV16IfAlreadyVisibleO" - } - ], - "key.typename" : "ScrollPosition.Type", - "key.typeusr" : "$s10ListableUI14ScrollPositionVmD", - "key.usr" : "s:10ListableUI14ScrollPositionV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 8242, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Section<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 86 - } - ], - "key.bodylength" : 7898, - "key.bodyoffset" : 109, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Section<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 7915, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "Section", - "key.namelength" : 7, - "key.nameoffset" : 100, - "key.offset" : 93, - "key.parsed_declaration" : "public struct Section", - "key.parsed_scope.end" : 265, - "key.parsed_scope.start" : 9, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 23, - "key.name" : "MARK: Public Properties", - "key.offset" : 124 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Section<\/Type>.Identifier = ListableUI.Identifier<\/Type><Section<\/Type>, AnyHashable<\/Type>><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 216 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `Identifier` type used for a `Section`.", - "key.doc.column" : 22, - "key.doc.comment" : "The `Identifier` type used for a `Section`.", - "key.doc.declaration" : "public typealias ListableUI.Section.Identifier = ListableUI.Identifier", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "Identifier<\/Name>s:10ListableUI7SectionV10Identifiera<\/USR>public typealias ListableUI.Section.Identifier = ListableUI.Identifier<Section, AnyHashable><\/Declaration>The Identifier<\/codeVoice> type used for a Section<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 16, - "key.doc.name" : "Identifier", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 164, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Section<\/ref.struct>.Identifier<\/decl.name> = ListableUI.Identifier<\/ref.class><Section<\/ref.struct>, AnyHashable<\/ref.struct>><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 66, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "Identifier", - "key.namelength" : 10, - "key.nameoffset" : 233, - "key.offset" : 223, - "key.parsed_declaration" : "public typealias Identifier = ListableUI.Identifier", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "Identifier.Type", - "key.typeusr" : "$s10ListableUI10IdentifierCyAA7SectionVs11AnyHashableVGmD", - "key.usr" : "s:10ListableUI7SectionV10Identifiera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var identifier: Identifier<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 370 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The value which uniquely identifies the section within a list.", - "key.doc.column" : 16, - "key.doc.comment" : "The value which uniquely identifies the section within a list.", - "key.doc.declaration" : "public var identifier: Identifier", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "identifier<\/Name>s:10ListableUI7SectionV10identifierAA10IdentifierCyACs11AnyHashableVGvp<\/USR>public var identifier: Identifier<\/Declaration>The value which uniquely identifies the section within a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 19, - "key.doc.name" : "identifier", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 299, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> identifier<\/decl.name>: Identifier<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "identifier", - "key.namelength" : 10, - "key.nameoffset" : 381, - "key.offset" : 377, - "key.parsed_declaration" : "public var identifier : Identifier", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Identifier", - "key.typeusr" : "$s10ListableUI10IdentifierCyAA7SectionVs11AnyHashableVGD", - "key.usr" : "s:10ListableUI7SectionV10identifierAA10IdentifierCyACs11AnyHashableVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var header: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 471 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The header, if any, associated with the section.", - "key.doc.column" : 16, - "key.doc.comment" : "The header, if any, associated with the section.", - "key.doc.declaration" : "public var header: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "header<\/Name>s:10ListableUI7SectionV6headerAA26AnyHeaderFooterConvertible_pSgvp<\/USR>public var header: AnyHeaderFooterConvertible?<\/Declaration>The header, if any, associated with the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 22, - "key.doc.name" : "header", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 414, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> header<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "header", - "key.namelength" : 6, - "key.nameoffset" : 482, - "key.offset" : 478, - "key.parsed_declaration" : "public var header : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7SectionV6headerAA26AnyHeaderFooterConvertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var footer: AnyHeaderFooterConvertible<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 585 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The footer, if any, associated with the section.", - "key.doc.column" : 16, - "key.doc.comment" : "The footer, if any, associated with the section.", - "key.doc.declaration" : "public var footer: AnyHeaderFooterConvertible?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "footer<\/Name>s:10ListableUI7SectionV6footerAA26AnyHeaderFooterConvertible_pSgvp<\/USR>public var footer: AnyHeaderFooterConvertible?<\/Declaration>The footer, if any, associated with the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 25, - "key.doc.name" : "footer", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 528, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> footer<\/decl.name>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 40, - "key.line" : 25, - "key.modulename" : "ListableUI", - "key.name" : "footer", - "key.namelength" : 6, - "key.nameoffset" : 596, - "key.offset" : 592, - "key.parsed_declaration" : "public var footer : AnyHeaderFooterConvertible?", - "key.parsed_scope.end" : 25, - "key.parsed_scope.start" : 25, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(any AnyHeaderFooterConvertible)?", - "key.typeusr" : "$s10ListableUI26AnyHeaderFooterConvertible_pSgD", - "key.usr" : "s:10ListableUI7SectionV6footerAA26AnyHeaderFooterConvertible_pSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var items: [AnyItem<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 698 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The items, if any, associated with the section.", - "key.doc.column" : 16, - "key.doc.comment" : "The items, if any, associated with the section.", - "key.doc.declaration" : "public var items: [AnyItem]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "items<\/Name>s:10ListableUI7SectionV5itemsSayAA7AnyItem_pGvp<\/USR>public var items: [AnyItem]<\/Declaration>The items, if any, associated with the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "items", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 642, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> items<\/decl.name>: [AnyItem<\/ref.protocol>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "items", - "key.namelength" : 5, - "key.nameoffset" : 709, - "key.offset" : 705, - "key.parsed_declaration" : "public var items : [AnyItem]", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "[any AnyItem]", - "key.typeusr" : "$sSay10ListableUI7AnyItem_pGD", - "key.usr" : "s:10ListableUI7SectionV5itemsSayAA7AnyItem_pGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var reordering: SectionReordering<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 820 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls re-ordering options when items are moved in or out of the section.", - "key.doc.column" : 16, - "key.doc.comment" : "Controls re-ordering options when items are moved in or out of the section.", - "key.doc.declaration" : "public var reordering: SectionReordering", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "reordering<\/Name>s:10ListableUI7SectionV10reorderingAA0C10ReorderingVvp<\/USR>public var reordering: SectionReordering<\/Declaration>Controls re-ordering options when items are moved in or out of the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 31, - "key.doc.name" : "reordering", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 736, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> reordering<\/decl.name>: SectionReordering<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "reordering", - "key.namelength" : 10, - "key.nameoffset" : 831, - "key.offset" : 827, - "key.parsed_declaration" : "public var reordering : SectionReordering", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SectionReordering", - "key.typeusr" : "$s10ListableUI17SectionReorderingVD", - "key.usr" : "s:10ListableUI7SectionV10reorderingAA0C10ReorderingVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func contains(any filters: Set<\/Type><ContentFilters<\/Type>> = [.items]) -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1053 - } - ], - "key.bodylength" : 671, - "key.bodyoffset" : 1129, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Check if the section contains any of the given types, which you specify via the `filters`\nparameter. If you do not specify a `filters` parameter, `[.items]` is used.", - "key.doc.column" : 17, - "key.doc.comment" : "Check if the section contains any of the given types, which you specify via the `filters`\nparameter. If you do not specify a `filters` parameter, `[.items]` is used.", - "key.doc.declaration" : "public func contains(any filters: Set = [.items]) -> Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "contains(any:)<\/Name>s:10ListableUI7SectionV8contains3anySbShyAA14ContentFiltersOG_tF<\/USR>public func contains(any filters: Set<ContentFilters> = [.items]) -> Bool<\/Declaration>Check if the section contains any of the given types, which you specify via the filters<\/codeVoice> parameter. If you do not specify a filters<\/codeVoice> parameter, [.items]<\/codeVoice> is used.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 35, - "key.doc.name" : "contains(any:)", - "key.doc.type" : "Function", - "key.doclength" : 178, - "key.docoffset" : 871, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> contains<\/decl.name>(any<\/decl.var.parameter.argument_label> filters<\/decl.var.parameter.name>: Set<\/ref.struct><ContentFilters<\/ref.enum>><\/decl.var.parameter.type> = [.items]<\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 741, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "contains(any:)", - "key.namelength" : 54, - "key.nameoffset" : 1065, - "key.offset" : 1060, - "key.parsed_declaration" : "public func contains(any filters : Set = [.items]) -> Bool", - "key.parsed_scope.end" : 60, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Section) -> (Set) -> Bool", - "key.typeusr" : "$s3anySbShy10ListableUI14ContentFiltersOG_tcD", - "key.usr" : "s:10ListableUI7SectionV8contains3anySbShyAA14ContentFiltersOG_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var count: Int<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1863 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 1887, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The number of ``Item``s within the section.", - "key.doc.column" : 16, - "key.doc.comment" : "The number of ``Item``s within the section.", - "key.doc.declaration" : "public var count: Int { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "count<\/Name>s:10ListableUI7SectionV5countSivp<\/USR>public var count: Int { get }<\/Declaration>The number of Item<\/codeVoice>s within the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 63, - "key.doc.name" : "count", - "key.doc.type" : "Other", - "key.doclength" : 48, - "key.docoffset" : 1811, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> count<\/decl.name>: Int<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 48, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "count", - "key.namelength" : 5, - "key.nameoffset" : 1874, - "key.offset" : 1870, - "key.parsed_declaration" : "public var count : Int", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI7SectionV5countSivp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 32, - "key.name" : "MARK: Layout Specific Parameters", - "key.offset" : 1938 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var layouts: SectionLayouts<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1987 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> layouts<\/decl.name>: SectionLayouts<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 38, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "layouts", - "key.namelength" : 7, - "key.nameoffset" : 1998, - "key.offset" : 1994, - "key.parsed_declaration" : "public var layouts : SectionLayouts = .init()", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "SectionLayouts", - "key.typeusr" : "$s10ListableUI14SectionLayoutsVD", - "key.usr" : "s:10ListableUI7SectionV7layoutsAA0C7LayoutsVvp" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 20, - "key.name" : "MARK: Initialization", - "key.offset" : 2052 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias Section<\/Type>.Configure = (inout Section<\/Type>) -> ()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2158 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a mutable section for editing in an inline closure.", - "key.doc.column" : 22, - "key.doc.comment" : "Provides a mutable section for editing in an inline closure.", - "key.doc.declaration" : "public typealias ListableUI.Section.Configure = (inout Section) -> ()", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "Configure<\/Name>s:10ListableUI7SectionV9Configurea<\/USR>public typealias ListableUI.Section.Configure = (inout Section) -> ()<\/Declaration>Provides a mutable section for editing in an inline closure.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 78, - "key.doc.name" : "Configure", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 2089, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> Section<\/ref.struct>.Configure<\/decl.name> = (inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 43, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "Configure", - "key.namelength" : 9, - "key.nameoffset" : 2175, - "key.offset" : 2165, - "key.parsed_declaration" : "public typealias Configure = (inout Section) -> ()", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 78, - "key.reusingastcontext" : false, - "key.typename" : "((inout Section) -> ()).Type", - "key.typeusr" : "$sy10ListableUI7SectionVzcmD", - "key.usr" : "s:10ListableUI7SectionV9Configurea" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<IdentifierValue>(_ identifier: IdentifierValue<\/Type>, layouts: SectionLayouts<\/Type> = .init(), header: AnyHeaderFooterConvertible<\/Type>? = nil, footer: AnyHeaderFooterConvertible<\/Type>? = nil, reordering: SectionReordering<\/Type> = .init(), items: [AnyItemConvertible<\/Type>] = [], configure: Configure<\/Type> = { _ in }) where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2356 - } - ], - "key.bodylength" : 300, - "key.bodyoffset" : 2724, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new section with all of the provided values, plus an optional\ntrailing closure to configure the section inline.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new section with all of the provided values, plus an optional\ntrailing closure to configure the section inline.", - "key.doc.declaration" : "public init(_ identifier: IdentifierValue, layouts: SectionLayouts = .init(), header: AnyHeaderFooterConvertible? = nil, footer: AnyHeaderFooterConvertible? = nil, reordering: SectionReordering = .init(), items: [AnyItemConvertible] = [], configure: Configure = { _ in }) where IdentifierValue : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "init(_:layouts:header:footer:reordering:items:configure:)<\/Name>s:10ListableUI7SectionV_7layouts6header6footer10reordering5items9configureACx_AA0C7LayoutsVAA26AnyHeaderFooterConvertible_pSgAmA0C10ReorderingVSayAA0k4ItemN0_pGyACzXEtcSHRzlufc<\/USR>public init<IdentifierValue>(_ identifier: IdentifierValue, layouts: SectionLayouts = .init(), header: AnyHeaderFooterConvertible? = nil, footer: AnyHeaderFooterConvertible? = nil, reordering: SectionReordering = .init(), items: [AnyItemConvertible] = [], configure: Configure = { _ in }) where IdentifierValue : Hashable<\/Declaration>Creates a new section with all of the provided values, plus an optional trailing closure to configure the section inline.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 82, - "key.doc.name" : "init(_:layouts:header:footer:reordering:items:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 134, - "key.docoffset" : 2218, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: IdentifierValue<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: SectionLayouts<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, reordering<\/decl.var.parameter.argument_label>: SectionReordering<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, items<\/decl.var.parameter.argument_label>: [AnyItemConvertible<\/ref.protocol>]<\/decl.var.parameter.type> = []<\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Configure<\/ref.typealias><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>) where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 662, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "init(_:layouts:header:footer:reordering:items:configure:)", - "key.namelength" : 359, - "key.nameoffset" : 2363, - "key.offset" : 2363, - "key.parsed_declaration" : "public init(\n _ identifier : IdentifierValue,\n layouts : SectionLayouts = .init(),\n header : AnyHeaderFooterConvertible? = nil,\n footer : AnyHeaderFooterConvertible? = nil,\n reordering : SectionReordering = .init(),\n items : [AnyItemConvertible] = [],\n configure : Configure = { _ in }\n)", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 82, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:layouts:reordering:items:header:footer:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:items:header:footer:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 2384 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 82, - "key.modulename" : "ListableUI", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 2368, - "key.offset" : 2368, - "key.parsed_declaration" : "public init (Section.Type) -> (IdentifierValue, SectionLayouts, (any AnyHeaderFooterConvertible)?, (any AnyHeaderFooterConvertible)?, SectionReordering, [any AnyItemConvertible], (inout Section) -> ()) -> Section", - "key.typeusr" : "$s_7layouts6header6footer10reordering5items9configure10ListableUI7SectionVx_AG0I7LayoutsVAG26AnyHeaderFooterConvertible_pSgAmG0I10ReorderingVSayAG0k4ItemN0_pGyAIzXEtcSHRzluD", - "key.usr" : "s:10ListableUI7SectionV_7layouts6header6footer10reordering5items9configureACx_AA0C7LayoutsVAA26AnyHeaderFooterConvertible_pSgAmA0C10ReorderingVSayAA0k4ItemN0_pGyACzXEtcSHRzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<IdentifierValue>(_ identifier: IdentifierValue<\/Type>, configure: Configure<\/Type>) where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3122 - } - ], - "key.bodylength" : 238, - "key.bodyoffset" : 3238, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new section with a trailing closure to configure the section inline.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new section with a trailing closure to configure the section inline.", - "key.doc.declaration" : "public init(_ identifier: IdentifierValue, configure: Configure) where IdentifierValue : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "init(_:configure:)<\/Name>s:10ListableUI7SectionV_9configureACx_yACzXEtcSHRzlufc<\/USR>public init<IdentifierValue>(_ identifier: IdentifierValue, configure: Configure) where IdentifierValue : Hashable<\/Declaration>Creates a new section with a trailing closure to configure the section inline.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 106, - "key.doc.name" : "init(_:configure:)", - "key.doc.type" : "Function", - "key.doclength" : 83, - "key.docoffset" : 3035, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: IdentifierValue<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, configure<\/decl.var.parameter.argument_label>: Configure<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 348, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "init(_:configure:)", - "key.namelength" : 107, - "key.nameoffset" : 3129, - "key.offset" : 3129, - "key.parsed_declaration" : "public init(\n _ identifier : IdentifierValue,\n configure : Configure\n)", - "key.parsed_scope.end" : 119, - "key.parsed_scope.start" : 106, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:layouts:header:footer:reordering:items:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:layouts:reordering:items:header:footer:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:items:header:footer:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 3150 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 3134, - "key.offset" : 3134, - "key.parsed_declaration" : "public init (Section.Type) -> (IdentifierValue, (inout Section) -> ()) -> Section", - "key.typeusr" : "$s_9configure10ListableUI7SectionVx_yADzXEtcSHRzluD", - "key.usr" : "s:10ListableUI7SectionV_9configureACx_yACzXEtcSHRzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<IdentifierValue>(_ identifier: IdentifierValue<\/Type>, layouts: SectionLayouts<\/Type> = .init(), reordering: SectionReordering<\/Type> = .init(), @ListableBuilder<\/Type><any AnyItemConvertible<\/Type>> items: () -> [AnyItemConvertible<\/Type>], header: () -> AnyHeaderFooterConvertible<\/Type>? = { nil }, footer: () -> AnyHeaderFooterConvertible<\/Type>? = { nil }) where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3549 - } - ], - "key.bodylength" : 263, - "key.bodyoffset" : 3933, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new section with result builder-style APIs.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new section with result builder-style APIs.", - "key.doc.declaration" : "public init(_ identifier: IdentifierValue, layouts: SectionLayouts = .init(), reordering: SectionReordering = .init(), @ListableUI.ListableBuilder items: () -> [AnyItemConvertible], header: () -> AnyHeaderFooterConvertible? = { nil }, footer: () -> AnyHeaderFooterConvertible? = { nil }) where IdentifierValue : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "init(_:layouts:reordering:items:header:footer:)<\/Name>s:10ListableUI7SectionV_7layouts10reordering5items6header6footerACx_AA0C7LayoutsVAA0C10ReorderingVSayAA18AnyItemConvertible_pGyXEAA0k12HeaderFooterM0_pSgyXEAPyXEtcSHRzlufc<\/USR>public init<IdentifierValue>(_ identifier: IdentifierValue, layouts: SectionLayouts = .init(), reordering: SectionReordering = .init(), @ListableUI.ListableBuilder<any ListableUI.AnyItemConvertible> items: () -> [AnyItemConvertible], header: () -> AnyHeaderFooterConvertible? = { nil }, footer: () -> AnyHeaderFooterConvertible? = { nil }) where IdentifierValue : Hashable<\/Declaration>Creates a new section with result builder-style APIs.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 122, - "key.doc.name" : "init(_:layouts:reordering:items:header:footer:)", - "key.doc.type" : "Function", - "key.doclength" : 58, - "key.docoffset" : 3487, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: IdentifierValue<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, layouts<\/decl.var.parameter.argument_label>: SectionLayouts<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, reordering<\/decl.var.parameter.argument_label>: SectionReordering<\/ref.struct><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>, @ListableBuilder<\/ref.enum><any AnyItemConvertible<\/ref.protocol>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> items<\/decl.var.parameter.argument_label>: () -> [AnyItemConvertible<\/ref.protocol>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: () -> AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { nil }<\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: () -> AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { nil }<\/decl.var.parameter>) where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 641, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "init(_:layouts:reordering:items:header:footer:)", - "key.namelength" : 375, - "key.nameoffset" : 3556, - "key.offset" : 3556, - "key.parsed_declaration" : "public init(\n _ identifier : IdentifierValue,\n layouts : SectionLayouts = .init(),\n reordering : SectionReordering = .init(),\n @ListableBuilder items : () -> [AnyItemConvertible],\n header : () -> AnyHeaderFooterConvertible? = { nil },\n footer : () -> AnyHeaderFooterConvertible? = { nil }\n)", - "key.parsed_scope.end" : 139, - "key.parsed_scope.start" : 122, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:layouts:header:footer:reordering:items:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:items:header:footer:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 3577 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 122, - "key.modulename" : "ListableUI", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 3561, - "key.offset" : 3561, - "key.parsed_declaration" : "public init (Section.Type) -> (IdentifierValue, SectionLayouts, SectionReordering, () -> [any AnyItemConvertible], () -> (any AnyHeaderFooterConvertible)?, () -> (any AnyHeaderFooterConvertible)?) -> Section", - "key.typeusr" : "$s_7layouts10reordering5items6header6footer10ListableUI7SectionVx_AF0H7LayoutsVAF0H10ReorderingVSayAF18AnyItemConvertible_pGyXEAF0k12HeaderFooterM0_pSgyXEAPyXEtcSHRzluD", - "key.usr" : "s:10ListableUI7SectionV_7layouts10reordering5items6header6footerACx_AA0C7LayoutsVAA0C10ReorderingVSayAA18AnyItemConvertible_pGyXEAA0k12HeaderFooterM0_pSgyXEAPyXEtcSHRzlufc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init<IdentifierValue>(_ identifier: IdentifierValue<\/Type>, @ListableBuilder<\/Type><any AnyItemConvertible<\/Type>> items: () -> [AnyItemConvertible<\/Type>], header: () -> AnyHeaderFooterConvertible<\/Type>? = { nil }, footer: () -> AnyHeaderFooterConvertible<\/Type>? = { nil }) where IdentifierValue<\/Type> : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 4269 - } - ], - "key.bodylength" : 260, - "key.bodyoffset" : 4559, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new section with result builder-style APIs.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new section with result builder-style APIs.", - "key.doc.declaration" : "public init(_ identifier: IdentifierValue, @ListableUI.ListableBuilder items: () -> [AnyItemConvertible], header: () -> AnyHeaderFooterConvertible? = { nil }, footer: () -> AnyHeaderFooterConvertible? = { nil }) where IdentifierValue : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "init(_:items:header:footer:)<\/Name>s:10ListableUI7SectionV_5items6header6footerACx_SayAA18AnyItemConvertible_pGyXEAA0g12HeaderFooterI0_pSgyXEAJyXEtcSHRzlufc<\/USR>public init<IdentifierValue>(_ identifier: IdentifierValue, @ListableUI.ListableBuilder<any ListableUI.AnyItemConvertible> items: () -> [AnyItemConvertible], header: () -> AnyHeaderFooterConvertible? = { nil }, footer: () -> AnyHeaderFooterConvertible? = { nil }) where IdentifierValue : Hashable<\/Declaration>Creates a new section with result builder-style APIs.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 142, - "key.doc.name" : "init(_:items:header:footer:)", - "key.doc.type" : "Function", - "key.doclength" : 58, - "key.docoffset" : 4207, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword><IdentifierValue<\/decl.generic_type_param.name><\/decl.generic_type_param>>(_<\/decl.var.parameter.argument_label> identifier<\/decl.var.parameter.name>: IdentifierValue<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>, @ListableBuilder<\/ref.enum><any AnyItemConvertible<\/ref.protocol>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> items<\/decl.var.parameter.argument_label>: () -> [AnyItemConvertible<\/ref.protocol>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, header<\/decl.var.parameter.argument_label>: () -> AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { nil }<\/decl.var.parameter>, footer<\/decl.var.parameter.argument_label>: () -> AnyHeaderFooterConvertible<\/ref.protocol>?<\/decl.function.returntype><\/decl.var.parameter.type> = { nil }<\/decl.var.parameter>) where<\/syntaxtype.keyword> IdentifierValue<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 544, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "init(_:items:header:footer:)", - "key.namelength" : 281, - "key.nameoffset" : 4276, - "key.offset" : 4276, - "key.parsed_declaration" : "public init(\n _ identifier : IdentifierValue,\n @ListableBuilder items : () -> [AnyItemConvertible],\n header : () -> AnyHeaderFooterConvertible? = { nil },\n footer : () -> AnyHeaderFooterConvertible? = { nil }\n)", - "key.parsed_scope.end" : 157, - "key.parsed_scope.start" : 142, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:layouts:header:footer:reordering:items:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:configure:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(_:layouts:reordering:items:header:footer:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "IdentifierValue : Hashable<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 4297 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "IdentifierValue<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 24, - "key.line" : 142, - "key.modulename" : "ListableUI", - "key.name" : "IdentifierValue", - "key.namelength" : 15, - "key.nameoffset" : 4281, - "key.offset" : 4281, - "key.parsed_declaration" : "public init (Section.Type) -> (IdentifierValue, () -> [any AnyItemConvertible], () -> (any AnyHeaderFooterConvertible)?, () -> (any AnyHeaderFooterConvertible)?) -> Section", - "key.typeusr" : "$s_5items6header6footer10ListableUI7SectionVx_SayAD18AnyItemConvertible_pGyXEAD0g12HeaderFooterI0_pSgyXEAJyXEtcSHRzluD", - "key.usr" : "s:10ListableUI7SectionV_5items6header6footerACx_SayAA18AnyItemConvertible_pGyXEAA0g12HeaderFooterI0_pSgyXEAJyXEtcSHRzlufc" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 19, - "key.name" : "MARK: Reading Items", - "key.offset" : 4840 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func filtered<Content>(to: Content<\/Type>.Type) -> [Content<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 5497 - } - ], - "key.bodylength" : 102, - "key.bodyoffset" : 5559, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Returns the content of the section, converted back to the provided type,\nstripping any content which does not conform to the given type.\n\nYou usually use this method as part of committing a reorder event, in order to read\nthe identifiers (or other properties), off of your items in order to commit the reorder\nevent to your backing data store.\n```swift\nitem.onWasReordered = { item, reorder in\n let items = reorder.toSection.filtered(to: MyContent.self)\n controller.setItemOrders(with: items.map(\\.content.model))\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "Returns the content of the section, converted back to the provided type,\nstripping any content which does not conform to the given type.\n\nYou usually use this method as part of committing a reorder event, in order to read\nthe identifiers (or other properties), off of your items in order to commit the reorder\nevent to your backing data store.\n```swift\nitem.onWasReordered = { item, reorder in\n let items = reorder.toSection.filtered(to: MyContent.self)\n controller.setItemOrders(with: items.map(\\.content.model))\n}\n```", - "key.doc.declaration" : "public func filtered(to: Content.Type) -> [Content]", - "key.doc.discussion" : [ - { - "Para" : "You usually use this method as part of committing a reorder event, in order to read the identifiers (or other properties), off of your items in order to commit the reorder event to your backing data store." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "filtered(to:)<\/Name>s:10ListableUI7SectionV8filtered2toSayxGxm_tlF<\/USR>public func filtered<Content>(to: Content.Type) -> [Content]<\/Declaration>Returns the content of the section, converted back to the provided type, stripping any content which does not conform to the given type.<\/Para><\/Abstract>You usually use this method as part of committing a reorder event, in order to read the identifiers (or other properties), off of your items in order to commit the reorder event to your backing data store.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 175, - "key.doc.name" : "filtered(to:)", - "key.doc.type" : "Function", - "key.doclength" : 617, - "key.docoffset" : 4876, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> filtered<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(to<\/decl.var.parameter.argument_label>: Content<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> [Content<\/ref.generic_type_param>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 158, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "filtered(to:)", - "key.namelength" : 35, - "key.nameoffset" : 5509, - "key.offset" : 5504, - "key.parsed_declaration" : "public func filtered(to: Content.Type) -> [Content]", - "key.parsed_scope.end" : 179, - "key.parsed_scope.start" : 175, - "key.related_decls" : [ - { - "key.annotated_decl" : "filtered(to:_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 175, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 5518, - "key.offset" : 5518, - "key.parsed_declaration" : "public func filteredContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV8filtered2toSayxGxm_tlF7ContentL_xmfp" - } - ], - "key.typename" : " (Section) -> (Content.Type) -> [Content]", - "key.typeusr" : "$s2toSayxGxm_tcluD", - "key.usr" : "s:10ListableUI7SectionV8filtered2toSayxGxm_tlF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func filtered<Content>(to: Content<\/Type>.Type, _ read: ([Content<\/Type>]) -> ())<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6311 - } - ], - "key.bodylength" : 51, - "key.bodyoffset" : 6388, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides the content of the section, converted back to the provided type,\nstripping any content which does not conform to the given type.\n\nYou usually use this method as part of committing a reorder event, in order to read\nthe identifiers (or other properties), off of your items in order to commit the reorder\nevent to your backing data store.\n```swift\nitem.onWasReordered = { item, reorder in\n reorder.toSection.filtered(to: MyContent.self) { items in\n controller.setItemOrders(with: items.map(\\.content.model))\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "Provides the content of the section, converted back to the provided type,\nstripping any content which does not conform to the given type.\n\nYou usually use this method as part of committing a reorder event, in order to read\nthe identifiers (or other properties), off of your items in order to commit the reorder\nevent to your backing data store.\n```swift\nitem.onWasReordered = { item, reorder in\n reorder.toSection.filtered(to: MyContent.self) { items in\n controller.setItemOrders(with: items.map(\\.content.model))\n }\n}\n```", - "key.doc.declaration" : "public func filtered(to: Content.Type, _ read: ([Content]) -> ())", - "key.doc.discussion" : [ - { - "Para" : "You usually use this method as part of committing a reorder event, in order to read the identifiers (or other properties), off of your items in order to commit the reorder event to your backing data store." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "filtered(to:_:)<\/Name>s:10ListableUI7SectionV8filtered2to_yxm_ySayxGXEtlF<\/USR>public func filtered<Content>(to: Content.Type, _ read: ([Content]) -> ())<\/Declaration>Provides the content of the section, converted back to the provided type, stripping any content which does not conform to the given type.<\/Para><\/Abstract>You usually use this method as part of committing a reorder event, in order to read the identifiers (or other properties), off of your items in order to commit the reorder event to your backing data store.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 194, - "key.doc.name" : "filtered(to:_:)", - "key.doc.type" : "Function", - "key.doclength" : 635, - "key.docoffset" : 5672, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> filtered<\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(to<\/decl.var.parameter.argument_label>: Content<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>, _<\/decl.var.parameter.argument_label> read<\/decl.var.parameter.name>: ([Content<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 122, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "filtered(to:_:)", - "key.namelength" : 63, - "key.nameoffset" : 6323, - "key.offset" : 6318, - "key.parsed_declaration" : "public func filtered(to: Content.Type, _ read : ([Content]) -> ())", - "key.parsed_scope.end" : 196, - "key.parsed_scope.start" : 194, - "key.related_decls" : [ - { - "key.annotated_decl" : "filtered(to:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content<\/Declaration>", - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name><\/decl.generic_type_param>", - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 7, - "key.line" : 194, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6332, - "key.offset" : 6332, - "key.parsed_declaration" : "public func filteredContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV8filtered2to_yxm_ySayxGXEtlF7ContentL_xmfp" - } - ], - "key.typename" : " (Section) -> (Content.Type, ([Content]) -> ()) -> ()", - "key.typeusr" : "$s2to_yxm_ySayxGXEtcluD", - "key.usr" : "s:10ListableUI7SectionV8filtered2to_yxm_ySayxGXEtlF" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 36, - "key.name" : "MARK: Adding & Removing Single Items", - "key.offset" : 6460 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func add(_ item: AnyItem<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 6520 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6513 - } - ], - "key.bodylength" : 37, - "key.bodyoffset" : 6561, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> add<\/decl.name>(_<\/decl.var.parameter.argument_label> item<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 70, - "key.line" : 202, - "key.modulename" : "ListableUI", - "key.name" : "add(_:)", - "key.namelength" : 21, - "key.nameoffset" : 6534, - "key.offset" : 6529, - "key.parsed_declaration" : "public mutating func add(_ item : AnyItem)", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 202, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(items:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Section) -> (any AnyItem) -> ()", - "key.typeusr" : "$syy10ListableUI7AnyItem_pcD", - "key.usr" : "s:10ListableUI7SectionV3addyyAA7AnyItem_pF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout Section<\/Type>, rhs: AnyItem<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6609 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 6673, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: AnyItem<\/ref.protocol><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 84, - "key.line" : 207, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 39, - "key.nameoffset" : 6628, - "key.offset" : 6616, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : AnyItem)", - "key.parsed_scope.end" : 210, - "key.parsed_scope.start" : 207, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Item<Content>) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Content) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= (_: inout Section, _: [AnyItem])<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Item<Content>]) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Content]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Section.Type) -> (inout Section, any AnyItem) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_AA7AnyItem_ptcD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_AA7AnyItem_ptFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += <Content>(lhs: inout Section<\/Type>, rhs: Item<\/Type><Content<\/Type>>) where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6710 - } - ], - "key.bodylength" : 26, - "key.bodyoffset" : 6801, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: Item<\/ref.struct><Content<\/ref.generic_type_param>><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 111, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 66, - "key.nameoffset" : 6729, - "key.offset" : 6717, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : Item)", - "key.parsed_scope.end" : 215, - "key.parsed_scope.start" : 212, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Section, _: AnyItem)<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Content) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= (_: inout Section, _: [AnyItem])<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Item<Content>]) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Content]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 6741 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 212, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6733, - "key.offset" : 6733, - "key.parsed_declaration" : "public static func += Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_AA4ItemVyxGtAA0E7ContentRzlFZ0F0L_xmfp" - } - ], - "key.typename" : " (Section.Type) -> (inout Section, Item) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_AA4ItemVyxGtcAA0D7ContentRzluD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_AA4ItemVyxGtAA0E7ContentRzlFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += <Content>(lhs: inout Section<\/Type>, rhs: Content<\/Type>) where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6838 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 6923, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: Content<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 109, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 60, - "key.nameoffset" : 6857, - "key.offset" : 6845, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : Content)", - "key.parsed_scope.end" : 220, - "key.parsed_scope.start" : 217, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Section, _: AnyItem)<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Item<Content>) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= (_: inout Section, _: [AnyItem])<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Item<Content>]) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Content]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 6869 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 6861, - "key.offset" : 6861, - "key.parsed_declaration" : "public static func += Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_xtAA11ItemContentRzlFZ0F0L_xmfp" - } - ], - "key.typename" : " (Section.Type) -> (inout Section, Content) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_xtcAA11ItemContentRzluD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_xtAA11ItemContentRzlFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 38, - "key.name" : "MARK: Adding & Removing Multiple Items", - "key.offset" : 6974 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public mutating func add(@ListableBuilder<\/Type><any AnyItemConvertible<\/Type>> items: () -> [AnyItemConvertible<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.mutating", - "key.length" : 8, - "key.offset" : 7246 - }, - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7239 - } - ], - "key.bodylength" : 58, - "key.bodyoffset" : 7352, - "key.column" : 26, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Adds the provided items with the provided result builder.\n\n```\nsection.add {\n MyContent(text: \"Person 1\")\n MyContent(text: \"Person 2\")\n}\n```", - "key.doc.column" : 26, - "key.doc.comment" : "Adds the provided items with the provided result builder.\n\n```\nsection.add {\n MyContent(text: \"Person 1\")\n MyContent(text: \"Person 2\")\n}\n```", - "key.doc.declaration" : "public mutating func add(@ListableUI.ListableBuilder items: () -> [AnyItemConvertible])", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "add(items:)<\/Name>s:10ListableUI7SectionV3add5itemsySayAA18AnyItemConvertible_pGyXE_tF<\/USR>public mutating func add(@ListableUI.ListableBuilder<any ListableUI.AnyItemConvertible> items: () -> [AnyItemConvertible])<\/Declaration>Adds the provided items with the provided result builder.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 234, - "key.doc.name" : "add(items:)", - "key.doc.type" : "Function", - "key.doclength" : 206, - "key.docoffset" : 7029, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> mutating<\/syntaxtype.keyword> func<\/syntaxtype.keyword> add<\/decl.name>(@ListableBuilder<\/ref.enum><any AnyItemConvertible<\/ref.protocol>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> items<\/decl.var.parameter.argument_label>: () -> [AnyItemConvertible<\/ref.protocol>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 156, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "add(items:)", - "key.namelength" : 90, - "key.nameoffset" : 7260, - "key.offset" : 7255, - "key.parsed_declaration" : "public mutating func add(\n @ListableBuilder items : () -> [AnyItemConvertible]\n)", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 234, - "key.related_decls" : [ - { - "key.annotated_decl" : "add(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(inout Section) -> (() -> [any AnyItemConvertible]) -> ()", - "key.typeusr" : "$s5itemsySay10ListableUI18AnyItemConvertible_pGyXE_tcD", - "key.usr" : "s:10ListableUI7SectionV3add5itemsySayAA18AnyItemConvertible_pGyXE_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += (lhs: inout Section<\/Type>, rhs: [AnyItem<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7421 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 7487, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: [AnyItem<\/ref.protocol>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 90, - "key.line" : 240, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 41, - "key.nameoffset" : 7440, - "key.offset" : 7428, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : [AnyItem])", - "key.parsed_scope.end" : 243, - "key.parsed_scope.start" : 240, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Section, _: AnyItem)<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Item<Content>) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Content) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Item<Content>]) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Content]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Section.Type) -> (inout Section, [any AnyItem]) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_SayAA7AnyItem_pGtcD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_SayAA7AnyItem_pGtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += <Content>(lhs: inout Section<\/Type>, rhs: [Item<\/Type><Content<\/Type>>]) where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7528 - } - ], - "key.bodylength" : 30, - "key.bodyoffset" : 7621, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: [Item<\/ref.struct><Content<\/ref.generic_type_param>>]<\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 117, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 68, - "key.nameoffset" : 7547, - "key.offset" : 7535, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : [Item])", - "key.parsed_scope.end" : 248, - "key.parsed_scope.start" : 245, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Section, _: AnyItem)<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Item<Content>) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Content) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= (_: inout Section, _: [AnyItem])<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Content]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 7559 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 7551, - "key.offset" : 7551, - "key.parsed_declaration" : "public static func += Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_SayAA4ItemVyxGGtAA0E7ContentRzlFZ0F0L_xmfp" - } - ], - "key.typename" : " (Section.Type) -> (inout Section, [Item]) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_SayAA4ItemVyxGGtcAA0D7ContentRzluD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_SayAA4ItemVyxGGtAA0E7ContentRzlFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static func += <Content>(lhs: inout Section<\/Type>, rhs: [Content<\/Type>]) where Content<\/Type> : ItemContent<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7662 - } - ], - "key.bodylength" : 47, - "key.bodyoffset" : 7749, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> += <\/decl.name><Content<\/decl.generic_type_param.name><\/decl.generic_type_param>>(lhs<\/decl.var.parameter.name>: inout<\/syntaxtype.keyword> Section<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, rhs<\/decl.var.parameter.name>: [Content<\/ref.generic_type_param>]<\/decl.var.parameter.type><\/decl.var.parameter>) where<\/syntaxtype.keyword> Content<\/ref.generic_type_param> : ItemContent<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.operator.infix>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 128, - "key.line" : 250, - "key.modulename" : "ListableUI", - "key.name" : "+=(_:_:)", - "key.namelength" : 62, - "key.nameoffset" : 7681, - "key.offset" : 7669, - "key.parsed_declaration" : "public static func += (lhs : inout Section, rhs : [Content])", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 250, - "key.related_decls" : [ - { - "key.annotated_decl" : "+= (_: inout Section, _: AnyItem)<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Item<Content>) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: Content) where Content : ItemContent<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= (_: inout Section, _: [AnyItem])<\/RelatedName>" - }, - { - "key.annotated_decl" : "+= <Content>(_: inout Section, _: [Item<Content>]) where Content : ItemContent<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Content : ItemContent<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 11, - "key.offset" : 7693 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Content<\/decl.generic_type_param.name> : ItemContent<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "ItemContent" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 19, - "key.line" : 250, - "key.modulename" : "ListableUI", - "key.name" : "Content", - "key.namelength" : 7, - "key.nameoffset" : 7685, - "key.offset" : 7685, - "key.parsed_declaration" : "public static func += Content<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Content.Type", - "key.typeusr" : "$sxmD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_SayxGtAA11ItemContentRzlFZ0F0L_xmfp" - } - ], - "key.typename" : " (Section.Type) -> (inout Section, [Content]) -> ()", - "key.typeusr" : "$syy10ListableUI7SectionVz_SayxGtcAA11ItemContentRzluD", - "key.usr" : "s:10ListableUI7SectionV2peoiyyACz_SayxGtAA11ItemContentRzlFZ" - }, - { - "key.kind" : "source.lang.swift.syntaxtype.comment.mark", - "key.length" : 13, - "key.name" : "MARK: Slicing", - "key.offset" : 7817 - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "internal func itemsUpTo(limit: Int<\/Type>) -> [AnyItem<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.internal", - "key.length" : 8, - "key.offset" : 7847 - } - ], - "key.bodylength" : 103, - "key.bodyoffset" : 7902, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "internal<\/syntaxtype.keyword> func<\/syntaxtype.keyword> itemsUpTo<\/decl.name>(limit<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> [AnyItem<\/ref.protocol>]<\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 150, - "key.line" : 259, - "key.modulename" : "ListableUI", - "key.name" : "itemsUpTo(limit:)", - "key.namelength" : 22, - "key.nameoffset" : 7861, - "key.offset" : 7856, - "key.parsed_declaration" : "internal func itemsUpTo(limit : Int) -> [AnyItem]", - "key.parsed_scope.end" : 264, - "key.parsed_scope.start" : 259, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let end: Int<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> end<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 38, - "key.line" : 261, - "key.modulename" : "ListableUI", - "key.name" : "end", - "key.namelength" : 3, - "key.nameoffset" : 7915, - "key.offset" : 7911, - "key.parsed_declaration" : "let end = min(self.items.count, limit)", - "key.parsed_scope.end" : 261, - "key.parsed_scope.start" : 261, - "key.reusingastcontext" : false, - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI7SectionV9itemsUpTo5limitSayAA7AnyItem_pGSi_tF3endL_Sivp" - } - ], - "key.typename" : "(Section) -> (Int) -> [any AnyItem]", - "key.typeusr" : "$s5limitSay10ListableUI7AnyItem_pGSi_tcD", - "key.usr" : "s:10ListableUI7SectionV9itemsUpTo5limitSayAA7AnyItem_pGSi_tF" - } - ], - "key.typename" : "Section.Type", - "key.typeusr" : "$s10ListableUI7SectionVmD", - "key.usr" : "s:10ListableUI7SectionV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Section<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8011 - } - ], - "key.bodylength" : 203, - "key.bodyoffset" : 8037, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Section<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 223, - "key.line" : 9, - "key.modulename" : "ListableUI", - "key.name" : "Section", - "key.namelength" : 7, - "key.nameoffset" : 8028, - "key.offset" : 8018, - "key.parsed_declaration" : "public extension Section", - "key.parsed_scope.end" : 274, - "key.parsed_scope.start" : 268, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static func identifier<Value>(with value: Value<\/Type>) -> Identifier<\/Type> where Value<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 31, - "key.bodyoffset" : 8207, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a new identifier for a ``Section``, with the given underlying value.", - "key.doc.column" : 17, - "key.doc.comment" : "Provides a new identifier for a ``Section``, with the given underlying value.", - "key.doc.declaration" : "static func identifier(with value: Value) -> Identifier where Value : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.doc.full_as_xml" : "identifier(with:)<\/Name>s:10ListableUI7SectionV10identifier4withAA10IdentifierCyACs11AnyHashableVGx_tSHRzlFZ<\/USR>static func identifier<Value>(with value: Value) -> Identifier where Value : Hashable<\/Declaration>Provides a new identifier for a Section<\/codeVoice>, with the given underlying value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 271, - "key.doc.name" : "identifier(with:)", - "key.doc.type" : "Function", - "key.doclength" : 82, - "key.docoffset" : 8047, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> identifier<\/decl.name><Value<\/decl.generic_type_param.name><\/decl.generic_type_param>>(with<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: Value<\/ref.generic_type_param><\/decl.var.parameter.type><\/decl.var.parameter>) -> Identifier<\/ref.typealias><\/decl.function.returntype> where<\/syntaxtype.keyword> Value<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 106, - "key.line" : 271, - "key.modulename" : "ListableUI", - "key.name" : "identifier(with:)", - "key.namelength" : 46, - "key.nameoffset" : 8145, - "key.offset" : 8133, - "key.parsed_declaration" : "static func identifier(with value : Value) -> Identifier", - "key.parsed_scope.end" : 273, - "key.parsed_scope.start" : 271, - "key.related_decls" : [ - { - "key.annotated_decl" : "identifier<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "Value : Hashable<\/Type><\/Declaration>", - "key.column" : 28, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 8162 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/Section.swift", - "key.fully_annotated_decl" : "Value<\/decl.generic_type_param.name> : Hashable<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 14, - "key.line" : 271, - "key.modulename" : "ListableUI", - "key.name" : "Value", - "key.namelength" : 5, - "key.nameoffset" : 8156, - "key.offset" : 8156, - "key.parsed_declaration" : "static func identifier (Section.Type) -> (Value) -> Identifier", - "key.typeusr" : "$s4with10ListableUI10IdentifierCyAB7SectionVs11AnyHashableVGx_tcSHRzluD", - "key.usr" : "s:10ListableUI7SectionV10identifier4withAA10IdentifierCyACs11AnyHashableVGx_tSHRzlFZ" - } - ], - "key.typename" : "Section.Type", - "key.typeusr" : "$s10ListableUI7SectionVmD", - "key.usr" : "s:10ListableUI7SectionV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3977, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SectionLayouts<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1472 - } - ], - "key.bodylength" : 1268, - "key.bodyoffset" : 1502, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "`SectionLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your section:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Section` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n\nmySection.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type, like so:\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 15, - "key.doc.comment" : "\n`SectionLayouts` allows you to provide `ListLayout`-specific layout configuration for\nindividual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.\n\nFor example, if you want to specify a custom layout for table layouts, you\nwould do the following on your section:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n```\n\nAnd then, when the `Section` is used within a `.table` style\nlist layout, the provided layout will be used.\n\nIf you plan on swapping between multiple `ListLayout` types on your list,\nyou can provide multiple layouts. The correct one will be used at the correct time:\n\n```\nmySection.layouts.table = .init(\n width: .fill\n)\n\nmySection.layouts.otherLayout = .init(\n width: 300,\n alignment: .left\n)\n```\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type, like so:\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public struct SectionLayouts", - "key.doc.discussion" : [ - { - "Para" : "For example, if you want to specify a custom layout for table layouts, you would do the following on your section:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "And then, when the `Section` is used within a `.table` style list layout, the provided layout will be used." - }, - { - "Para" : "If you plan on swapping between multiple `ListLayout` types on your list, you can provide multiple layouts. The correct one will be used at the correct time:" - }, - { - "CodeListing" : "" - }, - { - "Para" : "When implementing your own custom layout, you should add an extension to `SectionLayouts`, to provide easier access to your layout-specific `SectionLayoutsValue` type, like so:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "SectionLayouts<\/Name>s:10ListableUI14SectionLayoutsV<\/USR>public struct SectionLayouts<\/Declaration>SectionLayouts<\/codeVoice> allows you to provide ListLayout<\/codeVoice>-specific layout configuration for individual sections within a list. Eg, customize the layout for a section when it is in a table, a grid, etc.<\/Para><\/Abstract>For example, if you want to specify a custom layout for table layouts, you would do the following on your section:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>And then, when the Section<\/codeVoice> is used within a .table<\/codeVoice> style list layout, the provided layout will be used.<\/Para>If you plan on swapping between multiple ListLayout<\/codeVoice> types on your list, you can provide multiple layouts. The correct one will be used at the correct time:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to SectionLayouts<\/codeVoice>, to provide easier access to your layout-specific SectionLayoutsValue<\/codeVoice> type, like so:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 54, - "key.doc.name" : "SectionLayouts", - "key.doc.type" : "Class", - "key.doclength" : 1360, - "key.docoffset" : 112, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionLayouts<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1292, - "key.line" : 54, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayouts", - "key.namelength" : 14, - "key.nameoffset" : 1486, - "key.offset" : 1479, - "key.parsed_declaration" : "public struct SectionLayouts", - "key.parsed_scope.end" : 88, - "key.parsed_scope.start" : 54, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1648 - } - ], - "key.bodylength" : 70, - "key.bodyoffset" : 1720, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new instance of the layouts, with an optional `configure`\nclosure, to allow you to set up styling inline.", - "key.doc.declaration" : "public init(_ configure: (inout `Self`) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI14SectionLayoutsVyACyACzXEcfc<\/USR>public init(_ configure: (inout `Self`) -> () = { _ in })<\/Declaration>Creates a new instance of the layouts, with an optional configure<\/codeVoice> closure, to allow you to set up styling inline.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 58, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 128, - "key.docoffset" : 1516, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> configure<\/decl.var.parameter.name>: (inout<\/syntaxtype.keyword> `Self`<\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 136, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 63, - "key.nameoffset" : 1655, - "key.offset" : 1655, - "key.parsed_declaration" : "public init(\n _ configure : (inout Self) -> () = { _ in }\n)", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionLayouts.Type) -> ((inout SectionLayouts) -> ()) -> SectionLayouts", - "key.typeusr" : "$sy10ListableUI14SectionLayoutsVyACzXEcD", - "key.usr" : "s:10ListableUI14SectionLayoutsVyACyACzXEcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private var storage: ContentLayoutsStorage<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 1801 - } - ], - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> var<\/syntaxtype.keyword> storage<\/decl.name>: ContentLayoutsStorage<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 35, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "storage", - "key.namelength" : 7, - "key.nameoffset" : 1813, - "key.offset" : 1809, - "key.parsed_declaration" : "private var storage : ContentLayoutsStorage", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.private", - "key.typename" : "ContentLayoutsStorage", - "key.typeusr" : "$s10ListableUI21ContentLayoutsStorageVD", - "key.usr" : "s:10ListableUI14SectionLayoutsV7storage33_0ABDCA340DBDD359496A50C3AD6DC411LLAA07ContentD7StorageVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public subscript<ValueType>(valueType: ValueType<\/Type>.Type) -> ValueType<\/Type> where ValueType<\/Type> : SectionLayoutsValue<\/Type> { get set }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2535 - } - ], - "key.bodylength" : 141, - "key.bodyoffset" : 2627, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Allows accessing the various `SectionLayoutsValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type.\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.column" : 12, - "key.doc.comment" : "Allows accessing the various `SectionLayoutsValue`s stored within the object.\nThis method will return the `defaultValue` for a value if none is set.\n\nNote\n----\nWhen implementing your own custom layout, you should add an extension to `SectionLayouts`,\nto provide easier access to your layout-specific `SectionLayoutsValue` type.\n\n```\nextension SectionLayouts {\n public var table : TableAppearance.Section.Layout {\n get { self[TableAppearance.Section.Layout.self] }\n set { self[TableAppearance.Section.Layout.self] = newValue }\n }\n}\n```", - "key.doc.declaration" : "public subscript(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.SectionLayoutsValue { get set }", - "key.doc.discussion" : [ - { - "Para" : "When implementing your own custom layout, you should add an extension to `SectionLayouts`, to provide easier access to your layout-specific `SectionLayoutsValue` type." - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "subscript(_:)<\/Name>s:10ListableUI14SectionLayoutsVyxxmcAA0cD5ValueRzluip<\/USR>public subscript<ValueType>(valueType: ValueType.Type) -> ValueType where ValueType : ListableUI.SectionLayoutsValue { get set }<\/Declaration>Allows accessing the various SectionLayoutsValue<\/codeVoice>s stored within the object. This method will return the defaultValue<\/codeVoice> for a value if none is set.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>When implementing your own custom layout, you should add an extension to SectionLayouts<\/codeVoice>, to provide easier access to your layout-specific SectionLayoutsValue<\/codeVoice> type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 84, - "key.doc.name" : "subscript(_:)", - "key.doc.type" : "Other", - "key.doclength" : 677, - "key.docoffset" : 1854, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> subscript<\/syntaxtype.keyword><ValueType<\/decl.generic_type_param.name><\/decl.generic_type_param>>(valueType<\/decl.var.parameter.name>: ValueType<\/ref.generic_type_param>.Type<\/decl.var.parameter.type><\/decl.var.parameter>) -> ValueType<\/ref.generic_type_param><\/decl.function.returntype> where<\/syntaxtype.keyword> ValueType<\/ref.generic_type_param> : SectionLayoutsValue<\/ref.protocol><\/decl.generic_type_requirement> { get<\/syntaxtype.keyword> set<\/syntaxtype.keyword> }<\/decl.function.subscript>", - "key.kind" : "source.lang.swift.decl.function.subscript", - "key.length" : 227, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "subscript(_:)", - "key.namelength" : 70, - "key.nameoffset" : 2542, - "key.offset" : 2542, - "key.parsed_declaration" : "public subscript(_ valueType : ValueType.Type) -> ValueType", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.substructure" : [ - { - "key.annotated_decl" : "ValueType : SectionLayoutsValue<\/Type><\/Declaration>", - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 2562 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "ValueType<\/decl.generic_type_param.name> : SectionLayoutsValue<\/ref.protocol><\/decl.generic_type_param.constraint><\/decl.generic_type_param>", - "key.inheritedtypes" : [ - { - "key.name" : "SectionLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.generic_type_param", - "key.length" : 29, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "ValueType", - "key.namelength" : 9, - "key.nameoffset" : 2552, - "key.offset" : 2552, - "key.parsed_declaration" : "public subscript (ValueType.Type) -> ValueType", - "key.typeusr" : "$syxxmc10ListableUI19SectionLayoutsValueRzluD", - "key.usr" : "s:10ListableUI14SectionLayoutsVyxxmcAA0cD5ValueRzluip" - } - ], - "key.typename" : "SectionLayouts.Type", - "key.typeusr" : "$s10ListableUI14SectionLayoutsVmD", - "key.usr" : "s:10ListableUI14SectionLayoutsV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public protocol SectionLayoutsValue<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3307 - } - ], - "key.bodylength" : 313, - "key.bodyoffset" : 3344, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The `SectionLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `SectionLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, SectionLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.column" : 17, - "key.doc.comment" : "\nThe `SectionLayoutsValue` protocol provides a default value for the different layouts stored\nwithin `SectionLayouts`. Provide a `defaultValue` with reasonable defaults, as the\ndeveloper should not need to set these values at all times when using your layout.\n\n```\npublic struct Layout : Equatable, SectionLayoutsValue\n{\n public var width : CGFloat\n public var minHeight : CGFloat\n\n ...\n\n public static var defaultValue : Self {\n ...\n }\n}\n```", - "key.doc.declaration" : "public protocol SectionLayoutsValue", - "key.doc.discussion" : [ - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "SectionLayoutsValue<\/Name>s:10ListableUI19SectionLayoutsValueP<\/USR>public protocol SectionLayoutsValue<\/Declaration>The SectionLayoutsValue<\/codeVoice> protocol provides a default value for the different layouts stored within SectionLayouts<\/codeVoice>. Provide a defaultValue<\/codeVoice> with reasonable defaults, as the developer should not need to set these values at all times when using your layout.<\/Para><\/Abstract><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 109, - "key.doc.name" : "SectionLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 533, - "key.docoffset" : 2774, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> protocol<\/syntaxtype.keyword> SectionLayoutsValue<\/decl.name><\/decl.protocol>", - "key.kind" : "source.lang.swift.decl.protocol", - "key.length" : 344, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "SectionLayoutsValue", - "key.namelength" : 19, - "key.nameoffset" : 3323, - "key.offset" : 3314, - "key.parsed_declaration" : "public protocol SectionLayoutsValue", - "key.parsed_scope.end" : 117, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "static var defaultValue: Self<\/Type> { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3455, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.comment" : "The default value used when accessing the value, if none is set.", - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.doclength" : 69, - "key.docoffset" : 3350, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: Self<\/ref.generic_type_param><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 38, - "key.line" : 112, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3434, - "key.offset" : 3423, - "key.parsed_declaration" : "static var defaultValue : Self", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 112, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Self", - "key.typeusr" : "$sxD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "var isHeaderSticky: Bool<\/Type>? { get }<\/Declaration>", - "key.bodylength" : 5, - "key.bodyoffset" : 3650, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Indicates if the header for the section will be sticky.\nSetting this value explicitly overrides the list-level stickiness for headers.", - "key.doc.column" : 9, - "key.doc.comment" : "Indicates if the header for the section will be sticky.\nSetting this value explicitly overrides the list-level stickiness for headers.", - "key.doc.declaration" : "var isHeaderSticky: Bool? { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "isHeaderSticky<\/Name>s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp<\/USR>var isHeaderSticky: Bool? { get }<\/Declaration>Indicates if the header for the section will be sticky. Setting this value explicitly overrides the list-level stickiness for headers.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "isHeaderSticky", - "key.doc.type" : "Other", - "key.doclength" : 147, - "key.docoffset" : 3471, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 34, - "key.line" : 116, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky", - "key.namelength" : 14, - "key.nameoffset" : 3626, - "key.offset" : 3622, - "key.parsed_declaration" : "var isHeaderSticky : Bool?", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 116, - "key.receivers" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - } - ], - "key.typename" : "SectionLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI19SectionLayoutsValue_pmD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct EmptySectionLayoutsValue : SectionLayoutsValue<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3733 - } - ], - "key.bodylength" : 180, - "key.bodyoffset" : 3795, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Use this type if you have no `SectionLayout` for your `ListLayout`.", - "key.doc.column" : 15, - "key.doc.comment" : "Use this type if you have no `SectionLayout` for your `ListLayout`.", - "key.doc.declaration" : "public struct EmptySectionLayoutsValue : SectionLayoutsValue", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "EmptySectionLayoutsValue<\/Name>s:10ListableUI24EmptySectionLayoutsValueV<\/USR>public struct EmptySectionLayoutsValue : SectionLayoutsValue<\/Declaration>Use this type if you have no SectionLayout<\/codeVoice> for your ListLayout<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 121, - "key.doc.name" : "EmptySectionLayoutsValue", - "key.doc.type" : "Class", - "key.doclength" : 72, - "key.docoffset" : 3661, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 19, - "key.offset" : 3774 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> EmptySectionLayoutsValue<\/decl.name> : SectionLayoutsValue<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "SectionLayoutsValue" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 236, - "key.line" : 121, - "key.modulename" : "ListableUI", - "key.name" : "EmptySectionLayoutsValue", - "key.namelength" : 24, - "key.nameoffset" : 3747, - "key.offset" : 3740, - "key.parsed_declaration" : "public struct EmptySectionLayoutsValue : SectionLayoutsValue", - "key.parsed_scope.end" : 132, - "key.parsed_scope.start" : 121, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init()<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3805 - } - ], - "key.bodylength" : 0, - "key.bodyoffset" : 3820, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>()<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 9, - "key.line" : 123, - "key.modulename" : "ListableUI", - "key.name" : "init()", - "key.namelength" : 6, - "key.nameoffset" : 3812, - "key.offset" : 3812, - "key.parsed_declaration" : "public init()", - "key.parsed_scope.end" : 123, - "key.parsed_scope.start" : 123, - "key.reusingastcontext" : false, - "key.typename" : "(EmptySectionLayoutsValue.Type) -> () -> EmptySectionLayoutsValue", - "key.typeusr" : "$s10ListableUI24EmptySectionLayoutsValueVycD", - "key.usr" : "s:10ListableUI24EmptySectionLayoutsValueVACycfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var defaultValue: EmptySectionLayoutsValue<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3831 - } - ], - "key.bodylength" : 21, - "key.bodyoffset" : 3889, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default value used when accessing the value, if none is set.", - "key.doc.column" : 16, - "key.doc.declaration" : "static var defaultValue: Self { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "defaultValue<\/Name>s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ<\/USR>static var defaultValue: Self { get }<\/Declaration>The default value used when accessing the value, if none is set.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 112, - "key.doc.name" : "defaultValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> defaultValue<\/decl.name>: EmptySectionLayoutsValue<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 73, - "key.line" : 125, - "key.modulename" : "ListableUI", - "key.name" : "defaultValue", - "key.namelength" : 12, - "key.nameoffset" : 3849, - "key.offset" : 3838, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - } - ], - "key.parsed_declaration" : "public static var defaultValue: EmptySectionLayoutsValue", - "key.parsed_scope.end" : 127, - "key.parsed_scope.start" : 125, - "key.reusingastcontext" : false, - "key.typename" : "EmptySectionLayoutsValue", - "key.typeusr" : "$s10ListableUI24EmptySectionLayoutsValueVD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP07defaultE0xvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var isHeaderSticky: Bool<\/Type>? { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3921 - } - ], - "key.bodylength" : 17, - "key.bodyoffset" : 3956, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Indicates if the header for the section will be sticky.\nSetting this value explicitly overrides the list-level stickiness for headers.", - "key.doc.column" : 9, - "key.doc.declaration" : "var isHeaderSticky: Bool? { get }", - "key.doc.discussion" : [ - { - "Note" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.doc.full_as_xml" : "isHeaderSticky<\/Name>s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp<\/USR>var isHeaderSticky: Bool? { get }<\/Declaration>Indicates if the header for the section will be sticky. Setting this value explicitly overrides the list-level stickiness for headers.<\/Para><\/Abstract>This documentation comment was inherited from SectionLayoutsValue<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 116, - "key.doc.name" : "isHeaderSticky", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionLayouts.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> isHeaderSticky<\/decl.name>: Bool<\/ref.struct>?<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 46, - "key.line" : 129, - "key.modulename" : "ListableUI", - "key.name" : "isHeaderSticky", - "key.namelength" : 14, - "key.nameoffset" : 3932, - "key.offset" : 3928, - "key.overrides" : [ - { - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - } - ], - "key.parsed_declaration" : "public var isHeaderSticky : Bool?", - "key.parsed_scope.end" : 131, - "key.parsed_scope.start" : 129, - "key.reusingastcontext" : false, - "key.typename" : "Bool?", - "key.typeusr" : "$sSbSgD", - "key.usr" : "s:10ListableUI19SectionLayoutsValueP14isHeaderStickySbSgvp" - } - ], - "key.typename" : "EmptySectionLayoutsValue.Type", - "key.typeusr" : "$s10ListableUI24EmptySectionLayoutsValueVmD", - "key.usr" : "s:10ListableUI24EmptySectionLayoutsValueV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 396, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SectionPosition : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 181 - } - ], - "key.bodylength" : 172, - "key.bodyoffset" : 222, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies the supplementary views and \/ or items based on position within a `Section`.\n", - "key.doc.column" : 13, - "key.doc.comment" : "Specifies the supplementary views and \/ or items based on position within a `Section`.", - "key.doc.declaration" : "public enum SectionPosition : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.doc.full_as_xml" : "SectionPosition<\/Name>s:10ListableUI15SectionPositionO<\/USR>public enum SectionPosition : Equatable<\/Declaration>Specifies the supplementary views and \/ or items based on position within a Section<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 10, - "key.doc.name" : "SectionPosition", - "key.doc.type" : "Other", - "key.doclength" : 95, - "key.docoffset" : 86, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 211 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SectionPosition<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 207, - "key.line" : 10, - "key.modulename" : "ListableUI", - "key.name" : "SectionPosition", - "key.namelength" : 15, - "key.nameoffset" : 193, - "key.offset" : 188, - "key.parsed_declaration" : "public enum SectionPosition : Equatable", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 10, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 8, - "key.offset" : 298, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case top<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents the header and \/ or first item(s) within a section.", - "key.doc.column" : 10, - "key.doc.comment" : "Represents the header and \/ or first item(s) within a section.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.doc.full_as_xml" : "top<\/Name>s:10ListableUI15SectionPositionO3topyA2CmF<\/USR><\/Declaration>Represents the header and \/ or first item(s) within a section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 13, - "key.doc.name" : "top", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 227, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> top<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 3, - "key.line" : 13, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 303, - "key.offset" : 303, - "key.parsed_declaration" : "case top", - "key.parsed_scope.end" : 13, - "key.parsed_scope.start" : 13, - "key.reusingastcontext" : false, - "key.typename" : "(SectionPosition.Type) -> SectionPosition", - "key.typeusr" : "$sy10ListableUI15SectionPositionOACmcD", - "key.usr" : "s:10ListableUI15SectionPositionO3topyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 382, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case bottom<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Represents the footer and \/ or last item(s) within a section.", - "key.doc.column" : 10, - "key.doc.comment" : "Represents the footer and \/ or last item(s) within a section.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.doc.full_as_xml" : "bottom<\/Name>s:10ListableUI15SectionPositionO6bottomyA2CmF<\/USR><\/Declaration>Represents the footer and \/ or last item(s) within a section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 16, - "key.doc.name" : "bottom", - "key.doc.type" : "Other", - "key.doclength" : 66, - "key.docoffset" : 312, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionPosition.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> bottom<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 387, - "key.offset" : 387, - "key.parsed_declaration" : "case bottom", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.typename" : "(SectionPosition.Type) -> SectionPosition", - "key.typeusr" : "$sy10ListableUI15SectionPositionOACmcD", - "key.usr" : "s:10ListableUI15SectionPositionO6bottomyA2CmF" - } - ] - } - ], - "key.typename" : "SectionPosition.Type", - "key.typeusr" : "$s10ListableUI15SectionPositionOmD", - "key.usr" : "s:10ListableUI15SectionPositionO" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 2127, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SectionReordering<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 469 - } - ], - "key.bodylength" : 1623, - "key.bodyoffset" : 502, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides additional validation when an ``Item`` is being reordered into, or out of a section.\n\nBy setting the ``Section\/reordering`` property on your ``Section``, you can control\nthe minimum number of items, the maximum number of items, or provide\nmore specific validation by providing either of the `canReorderIn` or `canReorderOut` predicates.\n", - "key.doc.column" : 15, - "key.doc.comment" : "\nProvides additional validation when an ``Item`` is being reordered into, or out of a section.\n\nBy setting the ``Section\/reordering`` property on your ``Section``, you can control\nthe minimum number of items, the maximum number of items, or provide\nmore specific validation by providing either of the `canReorderIn` or `canReorderOut` predicates.", - "key.doc.declaration" : "public struct SectionReordering", - "key.doc.discussion" : [ - { - "Para" : "By setting the `Section\/reordering` property on your `Section`, you can control the minimum number of items, the maximum number of items, or provide more specific validation by providing either of the `canReorderIn` or `canReorderOut` predicates." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "SectionReordering<\/Name>s:10ListableUI17SectionReorderingV<\/USR>public struct SectionReordering<\/Declaration>Provides additional validation when an Item<\/codeVoice> is being reordered into, or out of a section.<\/Para><\/Abstract>By setting the Section\/reordering<\/codeVoice> property on your Section<\/codeVoice>, you can control the minimum number of items, the maximum number of items, or provide more specific validation by providing either of the canReorderIn<\/codeVoice> or canReorderOut<\/codeVoice> predicates.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 16, - "key.doc.name" : "SectionReordering", - "key.doc.type" : "Class", - "key.doclength" : 373, - "key.docoffset" : 96, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SectionReordering<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1650, - "key.line" : 16, - "key.modulename" : "ListableUI", - "key.name" : "SectionReordering", - "key.namelength" : 17, - "key.nameoffset" : 483, - "key.offset" : 476, - "key.parsed_declaration" : "public struct SectionReordering", - "key.parsed_scope.end" : 64, - "key.parsed_scope.start" : 16, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var minItemCount: Int<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 579 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The minimum number of items within the section. Defaults to 1.", - "key.doc.column" : 16, - "key.doc.comment" : "The minimum number of items within the section. Defaults to 1.", - "key.doc.declaration" : "public var minItemCount: Int", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "minItemCount<\/Name>s:10ListableUI17SectionReorderingV12minItemCountSivp<\/USR>public var minItemCount: Int<\/Declaration>The minimum number of items within the section. Defaults to 1.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 19, - "key.doc.name" : "minItemCount", - "key.doc.type" : "Other", - "key.doclength" : 67, - "key.docoffset" : 508, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> minItemCount<\/decl.name>: Int<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 19, - "key.modulename" : "ListableUI", - "key.name" : "minItemCount", - "key.namelength" : 12, - "key.nameoffset" : 590, - "key.offset" : 586, - "key.parsed_declaration" : "public var minItemCount : Int", - "key.parsed_scope.end" : 19, - "key.parsed_scope.start" : 19, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int", - "key.typeusr" : "$sSiD", - "key.usr" : "s:10ListableUI17SectionReorderingV12minItemCountSivp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var maxItemCount: Int<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 694 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The maximum number of items in the section. Has no default setting.", - "key.doc.column" : 16, - "key.doc.comment" : "The maximum number of items in the section. Has no default setting.", - "key.doc.declaration" : "public var maxItemCount: Int?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "maxItemCount<\/Name>s:10ListableUI17SectionReorderingV12maxItemCountSiSgvp<\/USR>public var maxItemCount: Int?<\/Declaration>The maximum number of items in the section. Has no default setting.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 22, - "key.doc.name" : "maxItemCount", - "key.doc.type" : "Other", - "key.doclength" : 72, - "key.docoffset" : 618, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> maxItemCount<\/decl.name>: Int<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 23, - "key.line" : 22, - "key.modulename" : "ListableUI", - "key.name" : "maxItemCount", - "key.namelength" : 12, - "key.nameoffset" : 705, - "key.offset" : 701, - "key.parsed_declaration" : "public var maxItemCount : Int?", - "key.parsed_scope.end" : 22, - "key.parsed_scope.start" : 22, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Int?", - "key.typeusr" : "$sSiSgD", - "key.usr" : "s:10ListableUI17SectionReorderingV12maxItemCountSiSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias SectionReordering<\/Type>.CanReorder = (ItemReordering<\/Type>.Result<\/Type>) throws -> Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 734 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> SectionReordering<\/ref.struct>.CanReorder<\/decl.name> = (ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) throws<\/syntaxtype.keyword> -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 61, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "CanReorder", - "key.namelength" : 10, - "key.nameoffset" : 751, - "key.offset" : 741, - "key.parsed_declaration" : "public typealias CanReorder = (ItemReordering.Result) throws -> Bool", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.typename" : "((ItemReordering.Result) throws -> Bool).Type", - "key.typeusr" : "$sSb10ListableUI14ItemReorderingV6ResultVKcmD", - "key.usr" : "s:10ListableUI17SectionReorderingV10CanReordera" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var canReorderIn: CanReorder<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 966 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A predicate that you can provide which allows more intricate validation when\nwhen determining if an item can be added to the section.", - "key.doc.column" : 16, - "key.doc.comment" : "A predicate that you can provide which allows more intricate validation when\nwhen determining if an item can be added to the section.", - "key.doc.declaration" : "public var canReorderIn: CanReorder?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "canReorderIn<\/Name>s:10ListableUI17SectionReorderingV12canReorderInSbAA04ItemD0V6ResultVKcSgvp<\/USR>public var canReorderIn: CanReorder?<\/Declaration>A predicate that you can provide which allows more intricate validation when when determining if an item can be added to the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 28, - "key.doc.name" : "canReorderIn", - "key.doc.type" : "Other", - "key.doclength" : 146, - "key.docoffset" : 816, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> canReorderIn<\/decl.name>: CanReorder<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 30, - "key.line" : 28, - "key.modulename" : "ListableUI", - "key.name" : "canReorderIn", - "key.namelength" : 12, - "key.nameoffset" : 977, - "key.offset" : 973, - "key.parsed_declaration" : "public var canReorderIn : CanReorder?", - "key.parsed_scope.end" : 28, - "key.parsed_scope.start" : 28, - "key.related_decls" : [ - { - "key.annotated_decl" : "canReorderIn(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((ItemReordering.Result) throws -> Bool)?", - "key.typeusr" : "$sSb10ListableUI14ItemReorderingV6ResultVKcSgD", - "key.usr" : "s:10ListableUI17SectionReorderingV12canReorderInSbAA04ItemD0V6ResultVKcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var canReorderOut: CanReorder<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1167 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A predicate that you can provide which allows more intricate validation when\nwhen determining if an item can be removed from the section.", - "key.doc.column" : 16, - "key.doc.comment" : "A predicate that you can provide which allows more intricate validation when\nwhen determining if an item can be removed from the section.", - "key.doc.declaration" : "public var canReorderOut: CanReorder?", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "canReorderOut<\/Name>s:10ListableUI17SectionReorderingV13canReorderOutSbAA04ItemD0V6ResultVKcSgvp<\/USR>public var canReorderOut: CanReorder?<\/Declaration>A predicate that you can provide which allows more intricate validation when when determining if an item can be removed from the section.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 32, - "key.doc.name" : "canReorderOut", - "key.doc.type" : "Other", - "key.doclength" : 150, - "key.docoffset" : 1013, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> canReorderOut<\/decl.name>: CanReorder<\/ref.typealias>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "canReorderOut", - "key.namelength" : 13, - "key.nameoffset" : 1178, - "key.offset" : 1174, - "key.parsed_declaration" : "public var canReorderOut : CanReorder?", - "key.parsed_scope.end" : 32, - "key.parsed_scope.start" : 32, - "key.related_decls" : [ - { - "key.annotated_decl" : "canReorderOut(with:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "((ItemReordering.Result) throws -> Bool)?", - "key.typeusr" : "$sSb10ListableUI14ItemReorderingV6ResultVKcSgD", - "key.usr" : "s:10ListableUI17SectionReorderingV13canReorderOutSbAA04ItemD0V6ResultVKcSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(minItemCount: Int<\/Type> = 1, maxItemCount: Int<\/Type>? = nil, canReorderIn: CanReorder<\/Type>? = nil, canReorderOut: CanReorder<\/Type>? = nil)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1269 - } - ], - "key.bodylength" : 171, - "key.bodyoffset" : 1436, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new reordering validation instance.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new reordering validation instance.", - "key.doc.declaration" : "public init(minItemCount: Int = 1, maxItemCount: Int? = nil, canReorderIn: CanReorder? = nil, canReorderOut: CanReorder? = nil)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.doc.full_as_xml" : "init(minItemCount:maxItemCount:canReorderIn:canReorderOut:)<\/Name>s:10ListableUI17SectionReorderingV12minItemCount03maxfG012canReorderIn0iJ3OutACSi_SiSgSbAA0fD0V6ResultVKcSgAMtcfc<\/USR>public init(minItemCount: Int = 1, maxItemCount: Int? = nil, canReorderIn: CanReorder? = nil, canReorderOut: CanReorder? = nil)<\/Declaration>Creates a new reordering validation instance.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 35, - "key.doc.name" : "init(minItemCount:maxItemCount:canReorderIn:canReorderOut:)", - "key.doc.type" : "Function", - "key.doclength" : 50, - "key.docoffset" : 1215, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(minItemCount<\/decl.var.parameter.argument_label>: Int<\/ref.struct><\/decl.var.parameter.type> = 1<\/decl.var.parameter>, maxItemCount<\/decl.var.parameter.argument_label>: Int<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, canReorderIn<\/decl.var.parameter.argument_label>: CanReorder<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, canReorderOut<\/decl.var.parameter.argument_label>: CanReorder<\/ref.typealias>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 332, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "init(minItemCount:maxItemCount:canReorderIn:canReorderOut:)", - "key.namelength" : 158, - "key.nameoffset" : 1276, - "key.offset" : 1276, - "key.parsed_declaration" : "public init(\n minItemCount: Int = 1,\n maxItemCount: Int? = nil,\n canReorderIn: CanReorder? = nil,\n canReorderOut: CanReorder? = nil\n)", - "key.parsed_scope.end" : 45, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionReordering.Type) -> (Int, Int?, ((ItemReordering.Result) throws -> Bool)?, ((ItemReordering.Result) throws -> Bool)?) -> SectionReordering", - "key.typeusr" : "$s12minItemCount03maxbC012canReorderIn0eF3Out10ListableUI17SectionReorderingVSi_SiSgSbAE0bL0V6ResultVKcSgAMtcD", - "key.usr" : "s:10ListableUI17SectionReorderingV12minItemCount03maxfG012canReorderIn0iJ3OutACSi_SiSgSbAA0fD0V6ResultVKcSgAMtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func canReorderIn(with result: ItemReordering<\/Type>.Result<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 190, - "key.bodyoffset" : 1682, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> canReorderIn<\/decl.name>(with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 255, - "key.line" : 47, - "key.modulename" : "ListableUI", - "key.name" : "canReorderIn(with:)", - "key.namelength" : 49, - "key.nameoffset" : 1623, - "key.offset" : 1618, - "key.parsed_declaration" : "func canReorderIn(with result : ItemReordering.Result) -> Bool", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 47, - "key.related_decls" : [ - { - "key.annotated_decl" : "canReorderIn<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionReordering) -> (ItemReordering.Result) -> Bool", - "key.typeusr" : "$s4withSb10ListableUI14ItemReorderingV6ResultV_tcD", - "key.usr" : "s:10ListableUI17SectionReorderingV12canReorderIn4withSbAA04ItemD0V6ResultV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func canReorderOut(with result: ItemReordering<\/Type>.Result<\/Type>) -> Bool<\/Type><\/Declaration>", - "key.bodylength" : 175, - "key.bodyoffset" : 1948, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Section\/SectionReordering.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> canReorderOut<\/decl.name>(with<\/decl.var.parameter.argument_label> result<\/decl.var.parameter.name>: ItemReordering<\/ref.struct>.Result<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Bool<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 241, - "key.line" : 56, - "key.modulename" : "ListableUI", - "key.name" : "canReorderOut(with:)", - "key.namelength" : 50, - "key.nameoffset" : 1888, - "key.offset" : 1883, - "key.parsed_declaration" : "func canReorderOut(with result : ItemReordering.Result) -> Bool", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 56, - "key.related_decls" : [ - { - "key.annotated_decl" : "canReorderOut<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SectionReordering) -> (ItemReordering.Result) -> Bool", - "key.typeusr" : "$s4withSb10ListableUI14ItemReorderingV6ResultV_tcD", - "key.usr" : "s:10ListableUI17SectionReorderingV13canReorderOut4withSbAA04ItemD0V6ResultV_tF" - } - ], - "key.typename" : "SectionReordering.Type", - "key.typeusr" : "$s10ListableUI17SectionReorderingVmD", - "key.usr" : "s:10ListableUI17SectionReorderingV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 13992, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Sizing : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 194 - } - ], - "key.bodylength" : 6038, - "key.bodyoffset" : 225, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how a header, footer, or item in a list view is sized.\n", - "key.doc.column" : 13, - "key.doc.comment" : "\nControls how a header, footer, or item in a list view is sized.", - "key.doc.declaration" : "public enum Sizing : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "Sizing<\/Name>s:10ListableUI6SizingO<\/USR>public enum Sizing : Hashable<\/Declaration>Controls how a header, footer, or item in a list view is sized.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "Sizing", - "key.doc.type" : "Other", - "key.doclength" : 76, - "key.docoffset" : 118, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 215 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sizing<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 6063, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "Sizing", - "key.namelength" : 6, - "key.nameoffset" : 206, - "key.offset" : 201, - "key.parsed_declaration" : "public enum Sizing : Hashable", - "key.parsed_scope.end" : 159, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 57, - "key.offset" : 566, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fixed(width: CGFloat<\/Type> = 0.0, height: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Fixes the size to the absolute value passed in.\n\n### Note\nThis option takes in both a size and a width. However, for standard list views,\nonly the height is used. The width is provided for when custom layouts are used,\nwhich may allow sizing for other types of layouts, eg, grids.\n", - "key.doc.column" : 10, - "key.doc.comment" : "Fixes the size to the absolute value passed in.\n\n### Note\nThis option takes in both a size and a width. However, for standard list views,\nonly the height is used. The width is provided for when custom layouts are used,\nwhich may allow sizing for other types of layouts, eg, grids.", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "This option takes in both a size and a width. However, for standard list views, only the height is used. The width is provided for when custom layouts are used, which may allow sizing for other types of layouts, eg, grids." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "fixed(width:height:)<\/Name>s:10ListableUI6SizingO5fixedyAC14CoreFoundation7CGFloatV_AGtcACmF<\/USR><\/Declaration>Fixes the size to the absolute value passed in.<\/Para><\/Abstract>]]><\/rawHTML>Note]]><\/rawHTML>This option takes in both a size and a width. However, for standard list views, only the height is used. The width is provided for when custom layouts are used, which may allow sizing for other types of layouts, eg, grids.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 24, - "key.doc.name" : "fixed(width:height:)", - "key.doc.type" : "Other", - "key.doclength" : 332, - "key.docoffset" : 230, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name>(width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 52, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "fixed(width:height:)", - "key.namelength" : 52, - "key.nameoffset" : 571, - "key.offset" : 571, - "key.parsed_declaration" : "case fixed(width : CGFloat = 0.0, height : CGFloat = 0.0)", - "key.parsed_scope.end" : 24, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Type) -> (CGFloat, CGFloat) -> Sizing", - "key.typeusr" : "$sy10ListableUI6SizingO14CoreFoundation7CGFloatV_AFtcACmcD", - "key.usr" : "s:10ListableUI6SizingO5fixedyAC14CoreFoundation7CGFloatV_AGtcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 41, - "key.offset" : 1330, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case thatFits(_: Constraint<\/Type> = .noConstraint)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sizes the item by calling `sizeThatFits` on its underlying view type.\nThe passed in constraint is used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\n### Example\nIf you would like to use `sizeThatFits` to size an item, but would like to enforce a minimum size,\nyou would do something similar to the following:\n\n```\n\/\/ Enforces that the size is at least the default size of the list.\n.thatFits(.init(.atLeast(.default)))\n\n \/\/ Enforces that the size is at least 50 points.\n.thatFits(.init(.atLeast(.fixed(50))))\n```", - "key.doc.column" : 10, - "key.doc.comment" : "Sizes the item by calling `sizeThatFits` on its underlying view type.\nThe passed in constraint is used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\n### Example\nIf you would like to use `sizeThatFits` to size an item, but would like to enforce a minimum size,\nyou would do something similar to the following:\n\n```\n\/\/ Enforces that the size is at least the default size of the list.\n.thatFits(.init(.atLeast(.default)))\n\n \/\/ Enforces that the size is at least 50 points.\n.thatFits(.init(.atLeast(.fixed(50))))\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "If you would like to use `sizeThatFits` to size an item, but would like to enforce a minimum size, you would do something similar to the following:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "thatFits(_:)<\/Name>s:10ListableUI6SizingO8thatFitsyA2C10ConstraintVcACmF<\/USR><\/Declaration>Sizes the item by calling sizeThatFits<\/codeVoice> on its underlying view type. The passed in constraint is used to clamp the size to a minimum, maximum, or range. If you do not specify a constraint, .noConstraint<\/codeVoice> is used.<\/Para><\/Abstract>]]><\/rawHTML>Example]]><\/rawHTML>If you would like to use sizeThatFits<\/codeVoice> to size an item, but would like to enforce a minimum size, you would do something similar to the following:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 41, - "key.doc.name" : "thatFits(_:)", - "key.doc.type" : "Other", - "key.doclength" : 693, - "key.docoffset" : 633, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> thatFits<\/decl.name>(_<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 36, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "thatFits(_:)", - "key.namelength" : 36, - "key.nameoffset" : 1335, - "key.offset" : 1335, - "key.parsed_declaration" : "case thatFits(Constraint = .noConstraint)", - "key.parsed_scope.end" : 41, - "key.parsed_scope.start" : 41, - "key.related_decls" : [ - { - "key.annotated_decl" : "thatFits(width:height:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Type) -> (Sizing.Constraint) -> Sizing", - "key.typeusr" : "$sy10ListableUI6SizingOAC10ConstraintVcACmcD", - "key.usr" : "s:10ListableUI6SizingO8thatFitsyA2C10ConstraintVcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func thatFits(width: Constraint<\/Type>.Axis<\/Type> = .noConstraint, height: Constraint<\/Type>.Axis<\/Type> = .noConstraint) -> Sizing<\/Type><\/Declaration>", - "key.bodylength" : 60, - "key.bodyoffset" : 1846, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sizes the item by calling `sizeThatFits` on its underlying view type.\nThe passed in constraints are used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\nSee `case thatFits(Constraint = .noConstraint)` for a full discussion.", - "key.doc.column" : 17, - "key.doc.comment" : "Sizes the item by calling `sizeThatFits` on its underlying view type.\nThe passed in constraints are used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\nSee `case thatFits(Constraint = .noConstraint)` for a full discussion.", - "key.doc.declaration" : "static func thatFits(width: Constraint.Axis = .noConstraint, height: Constraint.Axis = .noConstraint) -> ListableUI.Sizing", - "key.doc.discussion" : [ - { - "Para" : "See `case thatFits(Constraint = .noConstraint)` for a full discussion." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "thatFits(width:height:)<\/Name>s:10ListableUI6SizingO8thatFits5width6heightA2C10ConstraintV4AxisO_AJtFZ<\/USR>static func thatFits(width: Constraint.Axis = .noConstraint, height: Constraint.Axis = .noConstraint) -> ListableUI.Sizing<\/Declaration>Sizes the item by calling sizeThatFits<\/codeVoice> on its underlying view type. The passed in constraints are used to clamp the size to a minimum, maximum, or range. If you do not specify a constraint, .noConstraint<\/codeVoice> is used.<\/Para><\/Abstract>See case thatFits(Constraint = .noConstraint)<\/codeVoice> for a full discussion.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 48, - "key.doc.name" : "thatFits(width:height:)", - "key.doc.type" : "Function", - "key.doclength" : 324, - "key.docoffset" : 1381, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> thatFits<\/decl.name>(width<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct>.Axis<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct>.Axis<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>) -> Sizing<\/ref.enum><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 198, - "key.line" : 48, - "key.modulename" : "ListableUI", - "key.name" : "thatFits(width:height:)", - "key.namelength" : 111, - "key.nameoffset" : 1721, - "key.offset" : 1709, - "key.parsed_declaration" : "static func thatFits(\n width: Constraint.Axis = .noConstraint,\n height: Constraint.Axis = .noConstraint\n) -> Self", - "key.parsed_scope.end" : 54, - "key.parsed_scope.start" : 48, - "key.related_decls" : [ - { - "key.annotated_decl" : "thatFits(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Type) -> (Sizing.Constraint.Axis, Sizing.Constraint.Axis) -> Sizing", - "key.typeusr" : "$s5width6height10ListableUI6SizingOAE10ConstraintV4AxisO_AItcD", - "key.usr" : "s:10ListableUI6SizingO8thatFits5width6heightA2C10ConstraintV4AxisO_AJtFZ" - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 43, - "key.offset" : 2640, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case autolayout(_: Constraint<\/Type> = .noConstraint)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sizes the item by calling `systemLayoutSizeFitting` on its underlying view type.\nThe passed in constraint is used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\n### Example\nIf you would like to use `systemLayoutSizeFitting` to size an item, but would like to enforce a minimum size,\nyou would do something similar to the following:\n\n```\n\/\/ Enforces that the size is at least the default size of the list.\n.autolayout(.init(.atLeast(.default)))\n\n \/\/ Enforces that the size is at least 50 points.\n.autolayout(.init(.atLeast(.fixed(50))))\n```", - "key.doc.column" : 10, - "key.doc.comment" : "Sizes the item by calling `systemLayoutSizeFitting` on its underlying view type.\nThe passed in constraint is used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\n### Example\nIf you would like to use `systemLayoutSizeFitting` to size an item, but would like to enforce a minimum size,\nyou would do something similar to the following:\n\n```\n\/\/ Enforces that the size is at least the default size of the list.\n.autolayout(.init(.atLeast(.default)))\n\n \/\/ Enforces that the size is at least 50 points.\n.autolayout(.init(.atLeast(.fixed(50))))\n```", - "key.doc.declaration" : "", - "key.doc.discussion" : [ - { - "Para" : "If you would like to use `systemLayoutSizeFitting` to size an item, but would like to enforce a minimum size, you would do something similar to the following:" - }, - { - "CodeListing" : "" - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "autolayout(_:)<\/Name>s:10ListableUI6SizingO10autolayoutyA2C10ConstraintVcACmF<\/USR><\/Declaration>Sizes the item by calling systemLayoutSizeFitting<\/codeVoice> on its underlying view type. The passed in constraint is used to clamp the size to a minimum, maximum, or range. If you do not specify a constraint, .noConstraint<\/codeVoice> is used.<\/Para><\/Abstract>]]><\/rawHTML>Example]]><\/rawHTML>If you would like to use systemLayoutSizeFitting<\/codeVoice> to size an item, but would like to enforce a minimum size, you would do something similar to the following:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "autolayout(_:)", - "key.doc.type" : "Other", - "key.doclength" : 719, - "key.docoffset" : 1917, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> autolayout<\/decl.name>(_<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 38, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "autolayout(_:)", - "key.namelength" : 38, - "key.nameoffset" : 2645, - "key.offset" : 2645, - "key.parsed_declaration" : "case autolayout(Constraint = .noConstraint)", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.related_decls" : [ - { - "key.annotated_decl" : "autolayout(width:height:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Type) -> (Sizing.Constraint) -> Sizing", - "key.typeusr" : "$sy10ListableUI6SizingOAC10ConstraintVcACmcD", - "key.usr" : "s:10ListableUI6SizingO10autolayoutyA2C10ConstraintVcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "static func autolayout(width: Constraint<\/Type>.Axis<\/Type> = .noConstraint, height: Constraint<\/Type>.Axis<\/Type> = .noConstraint) -> Sizing<\/Type><\/Declaration>", - "key.bodylength" : 60, - "key.bodyoffset" : 3173, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sizes the item by calling `systemLayoutSizeFitting` on its underlying view type.\nThe passed in constraints are used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\nSee `case autolayout(Constraint = .noConstraint)` for a full discussion.", - "key.doc.column" : 17, - "key.doc.comment" : "Sizes the item by calling `systemLayoutSizeFitting` on its underlying view type.\nThe passed in constraints are used to clamp the size to a minimum, maximum, or range.\nIf you do not specify a constraint, `.noConstraint` is used.\n\nSee `case autolayout(Constraint = .noConstraint)` for a full discussion.", - "key.doc.declaration" : "static func autolayout(width: Constraint.Axis = .noConstraint, height: Constraint.Axis = .noConstraint) -> ListableUI.Sizing", - "key.doc.discussion" : [ - { - "Para" : "See `case autolayout(Constraint = .noConstraint)` for a full discussion." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "autolayout(width:height:)<\/Name>s:10ListableUI6SizingO10autolayout5width6heightA2C10ConstraintV4AxisO_AJtFZ<\/USR>static func autolayout(width: Constraint.Axis = .noConstraint, height: Constraint.Axis = .noConstraint) -> ListableUI.Sizing<\/Declaration>Sizes the item by calling systemLayoutSizeFitting<\/codeVoice> on its underlying view type. The passed in constraints are used to clamp the size to a minimum, maximum, or range. If you do not specify a constraint, .noConstraint<\/codeVoice> is used.<\/Para><\/Abstract>See case autolayout(Constraint = .noConstraint)<\/codeVoice> for a full discussion.<\/Para><\/Discussion><\/CommentParts><\/Function>", - "key.doc.line" : 78, - "key.doc.name" : "autolayout(width:height:)", - "key.doc.type" : "Function", - "key.doclength" : 337, - "key.docoffset" : 2693, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "static<\/syntaxtype.keyword> func<\/syntaxtype.keyword> autolayout<\/decl.name>(width<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct>.Axis<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: Constraint<\/ref.struct>.Axis<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>) -> Sizing<\/ref.enum><\/decl.function.returntype><\/decl.function.method.static>", - "key.kind" : "source.lang.swift.decl.function.method.static", - "key.length" : 200, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "autolayout(width:height:)", - "key.namelength" : 113, - "key.nameoffset" : 3046, - "key.offset" : 3034, - "key.parsed_declaration" : "static func autolayout(\n width: Constraint.Axis = .noConstraint,\n height: Constraint.Axis = .noConstraint\n) -> Self", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 78, - "key.related_decls" : [ - { - "key.annotated_decl" : "autolayout(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Type) -> (Sizing.Constraint.Axis, Sizing.Constraint.Axis) -> Sizing", - "key.typeusr" : "$s5width6height10ListableUI6SizingOAE10ConstraintV4AxisO_AItcD", - "key.usr" : "s:10ListableUI6SizingO10autolayout5width6heightA2C10ConstraintV4AxisO_AJtFZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "func measure(with view: UIView<\/Type>, info: MeasureInfo<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.bodylength" : 1505, - "key.bodyoffset" : 3456, - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Measures the given view with the provided options.\nThe returned value is `ceil()`'d to round up to the next full integer value.", - "key.doc.column" : 10, - "key.doc.comment" : "Measures the given view with the provided options.\nThe returned value is `ceil()`'d to round up to the next full integer value.", - "key.doc.declaration" : "func measure(with view: UIView, info: MeasureInfo) -> CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "measure(with:info:)<\/Name>s:10ListableUI6SizingO7measure4with4infoSo6CGSizeVSo6UIViewC_AC11MeasureInfoVtF<\/USR>func measure(with view: UIView, info: MeasureInfo) -> CGSize<\/Declaration>Measures the given view with the provided options. The returned value is ceil()<\/codeVoice>’d to round up to the next full integer value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 88, - "key.doc.name" : "measure(with:info:)", - "key.doc.type" : "Function", - "key.doclength" : 140, - "key.docoffset" : 3244, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "func<\/syntaxtype.keyword> measure<\/decl.name>(with<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, info<\/decl.var.parameter.argument_label>: MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1574, - "key.line" : 88, - "key.modulename" : "ListableUI", - "key.name" : "measure(with:info:)", - "key.namelength" : 47, - "key.nameoffset" : 3393, - "key.offset" : 3388, - "key.parsed_declaration" : "func measure(with view : UIView, info : MeasureInfo) -> CGSize", - "key.parsed_scope.end" : 129, - "key.parsed_scope.start" : 88, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let size: CGSize<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> size<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 1313, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "size", - "key.namelength" : 4, - "key.nameoffset" : 3469, - "key.offset" : 3465, - "key.parsed_declaration" : "let size : CGSize = {\n switch self {\n case .fixed(let width, let height):\n return CGSize(width: width, height: height)\n \n case .thatFits(let constraint):\n let size = view.sizeThatFits(info.sizeConstraint)\n \n return constraint.clamp(size)\n \n case .autolayout(let constraint):\n \n let size : CGSize = {\n switch info.direction {\n case .vertical:\n return view.systemLayoutSizeFitting(\n CGSize(width: info.sizeConstraint.width, height:0),\n withHorizontalFittingPriority: .required,\n verticalFittingPriority: .fittingSizeLevel\n )\n case .horizontal:\n return view.systemLayoutSizeFitting(\n CGSize(width: 0, height:info.sizeConstraint.height),\n withHorizontalFittingPriority: .fittingSizeLevel,\n verticalFittingPriority: .required\n )\n }\n }()\n\n return constraint.clamp(size)\n }\n}()", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI6SizingO7measure4with4infoSo6CGSizeVSo6UIViewC_AC11MeasureInfoVtF4sizeL_AHvp" - } - ], - "key.typename" : "(Sizing) -> (UIView, Sizing.MeasureInfo) -> CGSize", - "key.typeusr" : "$s4with4infoSo6CGSizeVSo6UIViewC_10ListableUI6SizingO11MeasureInfoVtcD", - "key.usr" : "s:10ListableUI6SizingO7measure4with4infoSo6CGSizeVSo6UIViewC_AC11MeasureInfoVtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.private", - "key.annotated_decl" : "private func validateMeasuredSize(_ size: CGSize<\/Type>, with info: MeasureInfo<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.private", - "key.length" : 7, - "key.offset" : 4972 - } - ], - "key.bodylength" : 1212, - "key.bodyoffset" : 5049, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "private<\/syntaxtype.keyword> func<\/syntaxtype.keyword> validateMeasuredSize<\/decl.name>(_<\/decl.var.parameter.argument_label> size<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, with<\/decl.var.parameter.argument_label> info<\/decl.var.parameter.name>: MeasureInfo<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1282, - "key.line" : 131, - "key.modulename" : "ListableUI", - "key.name" : "validateMeasuredSize(_:with:)", - "key.namelength" : 62, - "key.nameoffset" : 4985, - "key.offset" : 4980, - "key.parsed_declaration" : "private func validateMeasuredSize(_ size : CGSize, with info : MeasureInfo)", - "key.parsed_scope.end" : 158, - "key.parsed_scope.start" : 131, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing) -> (CGSize, Sizing.MeasureInfo) -> ()", - "key.typeusr" : "$s_4withySo6CGSizeV_10ListableUI6SizingO11MeasureInfoVtcD", - "key.usr" : "s:10ListableUI6SizingO20validateMeasuredSize33_228ECFE8FE4888F07CF28E5CD3C21E76LL_4withySo6CGSizeV_AC11MeasureInfoVtF" - } - ], - "key.typename" : "Sizing.Type", - "key.typeusr" : "$s10ListableUI6SizingOmD", - "key.usr" : "s:10ListableUI6SizingO" - }, - { - "key.annotated_decl" : "public enum Sizing : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 3459, - "key.bodyoffset" : 6285, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Controls how a header, footer, or item in a list view is sized.\n", - "key.doc.column" : 13, - "key.doc.declaration" : "public enum Sizing : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "Sizing<\/Name>s:10ListableUI6SizingO<\/USR>public enum Sizing : Hashable<\/Declaration>Controls how a header, footer, or item in a list view is sized.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "Sizing", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sizing<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 3478, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "Sizing", - "key.namelength" : 6, - "key.nameoffset" : 6277, - "key.offset" : 6267, - "key.parsed_declaration" : "extension Sizing", - "key.parsed_scope.end" : 256, - "key.parsed_scope.start" : 162, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct MeasureInfo<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6290 - } - ], - "key.bodylength" : 310, - "key.bodyoffset" : 6321, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> MeasureInfo<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 335, - "key.line" : 164, - "key.modulename" : "ListableUI", - "key.name" : "MeasureInfo", - "key.namelength" : 11, - "key.nameoffset" : 6304, - "key.offset" : 6297, - "key.parsed_declaration" : "public struct MeasureInfo", - "key.parsed_scope.end" : 176, - "key.parsed_scope.start" : 164, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var sizeConstraint: CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6330 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> sizeConstraint<\/decl.name>: CGSize<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 166, - "key.modulename" : "ListableUI", - "key.name" : "sizeConstraint", - "key.namelength" : 14, - "key.nameoffset" : 6341, - "key.offset" : 6337, - "key.parsed_declaration" : "public var sizeConstraint : CGSize", - "key.parsed_scope.end" : 166, - "key.parsed_scope.start" : 166, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGSize", - "key.typeusr" : "$sSo6CGSizeVD", - "key.usr" : "s:10ListableUI6SizingO11MeasureInfoV14sizeConstraintSo6CGSizeVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var direction: LayoutDirection<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6373 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> direction<\/decl.name>: LayoutDirection<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 167, - "key.modulename" : "ListableUI", - "key.name" : "direction", - "key.namelength" : 9, - "key.nameoffset" : 6384, - "key.offset" : 6380, - "key.parsed_declaration" : "public var direction : LayoutDirection", - "key.parsed_scope.end" : 167, - "key.parsed_scope.start" : 167, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "LayoutDirection", - "key.typeusr" : "$s10ListableUI15LayoutDirectionOD", - "key.usr" : "s:10ListableUI6SizingO11MeasureInfoV9directionAA15LayoutDirectionOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(sizeConstraint: CGSize<\/Type>, direction: LayoutDirection<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6429 - } - ], - "key.bodylength" : 97, - "key.bodyoffset" : 6528, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(sizeConstraint<\/decl.var.parameter.argument_label>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, direction<\/decl.var.parameter.argument_label>: LayoutDirection<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 190, - "key.line" : 169, - "key.modulename" : "ListableUI", - "key.name" : "init(sizeConstraint:direction:)", - "key.namelength" : 90, - "key.nameoffset" : 6436, - "key.offset" : 6436, - "key.parsed_declaration" : "public init(\n sizeConstraint: CGSize,\n direction: LayoutDirection\n)", - "key.parsed_scope.end" : 175, - "key.parsed_scope.start" : 169, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.MeasureInfo.Type) -> (CGSize, LayoutDirection) -> Sizing.MeasureInfo", - "key.typeusr" : "$s14sizeConstraint9direction10ListableUI6SizingO11MeasureInfoVSo6CGSizeV_AC15LayoutDirectionOtcD", - "key.usr" : "s:10ListableUI6SizingO11MeasureInfoV14sizeConstraint9directionAESo6CGSizeV_AA15LayoutDirectionOtcfc" - } - ], - "key.typename" : "Sizing.MeasureInfo.Type", - "key.typeusr" : "$s10ListableUI6SizingO11MeasureInfoVmD", - "key.usr" : "s:10ListableUI6SizingO11MeasureInfoV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct Constraint : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 6994 - } - ], - "key.bodylength" : 2707, - "key.bodyoffset" : 7035, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the range of values that are acceptable for both\nthe width and the height of content within a list.\n\nUsually, for layouts like a table, only the axis that matches the current\n`LayoutDirection` will be used. Eg, if your table layout is laying out\nvertically, only the `height` axis will be used.", - "key.doc.column" : 19, - "key.doc.comment" : "Describes the range of values that are acceptable for both\nthe width and the height of content within a list.\n\nUsually, for layouts like a table, only the axis that matches the current\n`LayoutDirection` will be used. Eg, if your table layout is laying out\nvertically, only the `height` axis will be used.", - "key.doc.declaration" : "public struct Constraint : Hashable", - "key.doc.discussion" : [ - { - "Para" : "Usually, for layouts like a table, only the axis that matches the current `LayoutDirection` will be used. Eg, if your table layout is laying out vertically, only the `height` axis will be used." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "Constraint<\/Name>s:10ListableUI6SizingO10ConstraintV<\/USR>public struct Constraint : Hashable<\/Declaration>Describes the range of values that are acceptable for both the width and the height of content within a list.<\/Para><\/Abstract>Usually, for layouts like a table, only the axis that matches the current LayoutDirection<\/codeVoice> will be used. Eg, if your table layout is laying out vertically, only the height<\/codeVoice> axis will be used.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.line" : 184, - "key.doc.name" : "Constraint", - "key.doc.type" : "Class", - "key.doclength" : 348, - "key.docoffset" : 6642, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 7021 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> Constraint<\/decl.name> : Hashable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2742, - "key.line" : 184, - "key.modulename" : "ListableUI", - "key.name" : "Constraint", - "key.namelength" : 10, - "key.nameoffset" : 7008, - "key.offset" : 7001, - "key.parsed_declaration" : "public struct Constraint : Hashable", - "key.parsed_scope.end" : 255, - "key.parsed_scope.start" : 184, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: Axis<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7104 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the range of acceptable width values.", - "key.doc.column" : 20, - "key.doc.comment" : "Describes the range of acceptable width values.", - "key.doc.declaration" : "public var width: Axis", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "width<\/Name>s:10ListableUI6SizingO10ConstraintV5widthAE4AxisOvp<\/USR>public var width: Axis<\/Declaration>Describes the range of acceptable width values.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 187, - "key.doc.name" : "width", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 7044, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: Axis<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 16, - "key.line" : 187, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 7115, - "key.offset" : 7111, - "key.parsed_declaration" : "public var width : Axis", - "key.parsed_scope.end" : 187, - "key.parsed_scope.start" : 187, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing.Constraint.Axis", - "key.typeusr" : "$s10ListableUI6SizingO10ConstraintV4AxisOD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV5widthAE4AxisOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var height: Axis<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7206 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the range of acceptable height values.", - "key.doc.column" : 20, - "key.doc.comment" : "Describes the range of acceptable height values.", - "key.doc.declaration" : "public var height: Axis", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "height<\/Name>s:10ListableUI6SizingO10ConstraintV6heightAE4AxisOvp<\/USR>public var height: Axis<\/Declaration>Describes the range of acceptable height values.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 190, - "key.doc.name" : "height", - "key.doc.type" : "Other", - "key.doclength" : 53, - "key.docoffset" : 7145, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> height<\/decl.name>: Axis<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 17, - "key.line" : 190, - "key.modulename" : "ListableUI", - "key.name" : "height", - "key.namelength" : 6, - "key.nameoffset" : 7217, - "key.offset" : 7213, - "key.parsed_declaration" : "public var height : Axis", - "key.parsed_scope.end" : 190, - "key.parsed_scope.start" : 190, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Sizing.Constraint.Axis", - "key.typeusr" : "$s10ListableUI6SizingO10ConstraintV4AxisOD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV6heightAE4AxisOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var noConstraint: Constraint<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7318 - } - ], - "key.bodylength" : 123, - "key.bodyoffset" : 7363, - "key.column" : 27, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Applies no constraints to the measurement in either axis.", - "key.doc.column" : 27, - "key.doc.comment" : "Applies no constraints to the measurement in either axis.", - "key.doc.declaration" : "public static var noConstraint: Constraint { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "noConstraint<\/Name>s:10ListableUI6SizingO10ConstraintV02noD0AEvpZ<\/USR>public static var noConstraint: Constraint { get }<\/Declaration>Applies no constraints to the measurement in either axis.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 193, - "key.doc.name" : "noConstraint", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 7248, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> noConstraint<\/decl.name>: Constraint<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 162, - "key.line" : 193, - "key.modulename" : "ListableUI", - "key.name" : "noConstraint", - "key.namelength" : 12, - "key.nameoffset" : 7336, - "key.offset" : 7325, - "key.parsed_declaration" : "public static var noConstraint : Constraint", - "key.parsed_scope.end" : 198, - "key.parsed_scope.start" : 193, - "key.reusingastcontext" : false, - "key.typename" : "Sizing.Constraint", - "key.typeusr" : "$s10ListableUI6SizingO10ConstraintVD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV02noD0AEvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(_ value: Axis<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7581 - } - ], - "key.bodylength" : 72, - "key.bodyoffset" : 7618, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new constraint with the provided value for both axes.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new constraint with the provided value for both axes.", - "key.doc.declaration" : "public init(_ value: Axis)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "init(_:)<\/Name>s:10ListableUI6SizingO10ConstraintVyA2E4AxisOcfc<\/USR>public init(_ value: Axis)<\/Declaration>Creates a new constraint with the provided value for both axes.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 201, - "key.doc.name" : "init(_:)", - "key.doc.type" : "Function", - "key.doclength" : 68, - "key.docoffset" : 7505, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: Axis<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 103, - "key.line" : 201, - "key.modulename" : "ListableUI", - "key.name" : "init(_:)", - "key.namelength" : 20, - "key.nameoffset" : 7588, - "key.offset" : 7588, - "key.parsed_declaration" : "public init(_ value : Axis)", - "key.parsed_scope.end" : 205, - "key.parsed_scope.start" : 201, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(width:height:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Type) -> (Sizing.Constraint.Axis) -> Sizing.Constraint", - "key.typeusr" : "$sy10ListableUI6SizingO10ConstraintVAE4AxisOcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintVyA2E4AxisOcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(width: Axis<\/Type>, height: Axis<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 7787 - } - ], - "key.bodylength" : 73, - "key.bodyoffset" : 7863, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new constraint with the provided width and height axes.", - "key.doc.column" : 16, - "key.doc.comment" : "Creates a new constraint with the provided width and height axes.", - "key.doc.declaration" : "public init(width: Axis, height: Axis)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "init(width:height:)<\/Name>s:10ListableUI6SizingO10ConstraintV5width6heightA2E4AxisO_AItcfc<\/USR>public init(width: Axis, height: Axis)<\/Declaration>Creates a new constraint with the provided width and height axes.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 208, - "key.doc.name" : "init(width:height:)", - "key.doc.type" : "Function", - "key.doclength" : 70, - "key.docoffset" : 7709, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(width<\/decl.var.parameter.argument_label>: Axis<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>, height<\/decl.var.parameter.argument_label>: Axis<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 143, - "key.line" : 208, - "key.modulename" : "ListableUI", - "key.name" : "init(width:height:)", - "key.namelength" : 67, - "key.nameoffset" : 7794, - "key.offset" : 7794, - "key.parsed_declaration" : "public init(\n width : Axis,\n height : Axis\n)", - "key.parsed_scope.end" : 214, - "key.parsed_scope.start" : 208, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(_:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Type) -> (Sizing.Constraint.Axis, Sizing.Constraint.Axis) -> Sizing.Constraint", - "key.typeusr" : "$s5width6height10ListableUI6SizingO10ConstraintVAG4AxisO_AItcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV5width6heightA2E4AxisO_AItcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func clamp(_ value: CGSize<\/Type>) -> CGSize<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8076 - } - ], - "key.bodylength" : 160, - "key.bodyoffset" : 8131, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Clamps the provided size, falling back to the provided default if the measurement calls for a default value.", - "key.doc.column" : 21, - "key.doc.comment" : "Clamps the provided size, falling back to the provided default if the measurement calls for a default value.", - "key.doc.declaration" : "public func clamp(_ value: CGSize) -> CGSize", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "clamp(_:)<\/Name>s:10ListableUI6SizingO10ConstraintV5clampySo6CGSizeVAHF<\/USR>public func clamp(_ value: CGSize) -> CGSize<\/Declaration>Clamps the provided size, falling back to the provided default if the measurement calls for a default value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 217, - "key.doc.name" : "clamp(_:)", - "key.doc.type" : "Function", - "key.doclength" : 113, - "key.docoffset" : 7955, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> clamp<\/decl.name>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: CGSize<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGSize<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 209, - "key.line" : 217, - "key.modulename" : "ListableUI", - "key.name" : "clamp(_:)", - "key.namelength" : 23, - "key.nameoffset" : 8088, - "key.offset" : 8083, - "key.parsed_declaration" : "public func clamp(_ value : CGSize) -> CGSize", - "key.parsed_scope.end" : 223, - "key.parsed_scope.start" : 217, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint) -> (CGSize) -> CGSize", - "key.typeusr" : "$sySo6CGSizeVABcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV5clampySo6CGSizeVAHF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum Sizing<\/Type>.Constraint<\/Type>.Axis : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 8441 - } - ], - "key.bodylength" : 1258, - "key.bodyoffset" : 8478, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the range of values that are acceptable for one dimension\nin a `Constraint`, eg width or height.", - "key.doc.column" : 21, - "key.doc.comment" : "Describes the range of values that are acceptable for one dimension\nin a `Constraint`, eg width or height.", - "key.doc.declaration" : "public enum ListableUI.Sizing.Constraint.Axis : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "Axis<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO<\/USR>public enum ListableUI.Sizing.Constraint.Axis : Hashable<\/Declaration>Describes the range of values that are acceptable for one dimension in a Constraint<\/codeVoice>, eg width or height.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 227, - "key.doc.name" : "Axis", - "key.doc.type" : "Other", - "key.doclength" : 123, - "key.docoffset" : 8310, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 8460 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> Sizing<\/ref.enum>.Constraint<\/ref.struct>.Axis<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1289, - "key.line" : 227, - "key.modulename" : "ListableUI", - "key.name" : "Axis", - "key.namelength" : 4, - "key.nameoffset" : 8453, - "key.offset" : 8448, - "key.parsed_declaration" : "public enum Axis : Hashable", - "key.parsed_scope.end" : 254, - "key.parsed_scope.start" : 227, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 8552, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case noConstraint<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "No constraint is applied to any measurement.", - "key.doc.column" : 18, - "key.doc.comment" : "No constraint is applied to any measurement.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "noConstraint<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO02noD0yA2GmF<\/USR><\/Declaration>No constraint is applied to any measurement.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 230, - "key.doc.name" : "noConstraint", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 8491, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> noConstraint<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 230, - "key.modulename" : "ListableUI", - "key.name" : "noConstraint", - "key.namelength" : 12, - "key.nameoffset" : 8557, - "key.offset" : 8557, - "key.parsed_declaration" : "case noConstraint", - "key.parsed_scope.end" : 230, - "key.parsed_scope.start" : 230, - "key.reusingastcontext" : false, - "key.typename" : "(Sizing.Constraint.Axis.Type) -> Sizing.Constraint.Axis", - "key.typeusr" : "$sy10ListableUI6SizingO10ConstraintV4AxisOAGmcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO02noD0yA2GmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 21, - "key.offset" : 8757, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case atLeast(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Any returned measurement must be at least this value. If it is smaller than\nthis value, then this value will be returned instead.", - "key.doc.column" : 18, - "key.doc.comment" : "Any returned measurement must be at least this value. If it is smaller than\nthis value, then this value will be returned instead.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "atLeast(_:)<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO7atLeastyAG14CoreFoundation7CGFloatVcAGmF<\/USR><\/Declaration>Any returned measurement must be at least this value. If it is smaller than this value, then this value will be returned instead.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 234, - "key.doc.name" : "atLeast(_:)", - "key.doc.type" : "Other", - "key.doclength" : 150, - "key.docoffset" : 8595, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> atLeast<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 16, - "key.line" : 234, - "key.modulename" : "ListableUI", - "key.name" : "atLeast(_:)", - "key.namelength" : 16, - "key.nameoffset" : 8762, - "key.offset" : 8762, - "key.parsed_declaration" : "case atLeast(CGFloat)", - "key.parsed_scope.end" : 234, - "key.parsed_scope.start" : 234, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Axis.Type) -> (CGFloat) -> Sizing.Constraint.Axis", - "key.typeusr" : "$sy10ListableUI6SizingO10ConstraintV4AxisO14CoreFoundation7CGFloatVcAGmcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO7atLeastyAG14CoreFoundation7CGFloatVcAGmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 20, - "key.offset" : 8959, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case atMost(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Any returned measurement can be at least this large. If it is larger than\nthis value, then this value is returned instead.", - "key.doc.column" : 18, - "key.doc.comment" : "Any returned measurement can be at least this large. If it is larger than\nthis value, then this value is returned instead.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "atMost(_:)<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO6atMostyAG14CoreFoundation7CGFloatVcAGmF<\/USR><\/Declaration>Any returned measurement can be at least this large. If it is larger than this value, then this value is returned instead.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 238, - "key.doc.name" : "atMost(_:)", - "key.doc.type" : "Other", - "key.doclength" : 143, - "key.docoffset" : 8804, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> atMost<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 15, - "key.line" : 238, - "key.modulename" : "ListableUI", - "key.name" : "atMost(_:)", - "key.namelength" : 15, - "key.nameoffset" : 8964, - "key.offset" : 8964, - "key.parsed_declaration" : "case atMost(CGFloat)", - "key.parsed_scope.end" : 238, - "key.parsed_scope.start" : 238, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Axis.Type) -> (CGFloat) -> Sizing.Constraint.Axis", - "key.typeusr" : "$sy10ListableUI6SizingO10ConstraintV4AxisO14CoreFoundation7CGFloatVcAGmcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO6atMostyAG14CoreFoundation7CGFloatVcAGmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 29, - "key.offset" : 9187, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case within(CGFloat<\/Type>, CGFloat<\/Type>)<\/Declaration>", - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Any returned measurement must be within the provided range. If it is smaller\nor larger than the provided range, the range is used to clamp the value.", - "key.doc.column" : 18, - "key.doc.comment" : "Any returned measurement must be within the provided range. If it is smaller\nor larger than the provided range, the range is used to clamp the value.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "within(_:_:)<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO6withinyAG14CoreFoundation7CGFloatV_AKtcAGmF<\/USR><\/Declaration>Any returned measurement must be within the provided range. If it is smaller or larger than the provided range, the range is used to clamp the value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 242, - "key.doc.name" : "within(_:_:)", - "key.doc.type" : "Other", - "key.doclength" : 170, - "key.docoffset" : 9005, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> within<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 24, - "key.line" : 242, - "key.modulename" : "ListableUI", - "key.name" : "within(_:_:)", - "key.namelength" : 24, - "key.nameoffset" : 9192, - "key.offset" : 9192, - "key.parsed_declaration" : "case within(CGFloat, CGFloat)", - "key.parsed_scope.end" : 242, - "key.parsed_scope.start" : 242, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Axis.Type) -> (CGFloat, CGFloat) -> Sizing.Constraint.Axis", - "key.typeusr" : "$sy10ListableUI6SizingO10ConstraintV4AxisO14CoreFoundation7CGFloatV_AJtcAGmcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO6withinyAG14CoreFoundation7CGFloatV_AKtcAGmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func clamp(_ value: CGFloat<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9317 - } - ], - "key.bodylength" : 348, - "key.bodyoffset" : 9378, - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Clamps the provided value by the `Axis'` underlying value.", - "key.doc.column" : 25, - "key.doc.comment" : "Clamps the provided value by the `Axis'` underlying value.", - "key.doc.declaration" : "public func clamp(_ value: CGFloat) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "clamp(_:)<\/Name>s:10ListableUI6SizingO10ConstraintV4AxisO5clampy14CoreFoundation7CGFloatVAKF<\/USR>public func clamp(_ value: CGFloat) -> CGFloat<\/Declaration>Clamps the provided value by the Axis'<\/codeVoice> underlying value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 245, - "key.doc.name" : "clamp(_:)", - "key.doc.type" : "Function", - "key.doclength" : 63, - "key.docoffset" : 9242, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> clamp<\/decl.name>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 403, - "key.line" : 245, - "key.modulename" : "ListableUI", - "key.name" : "clamp(_:)", - "key.namelength" : 24, - "key.nameoffset" : 9329, - "key.offset" : 9324, - "key.parsed_declaration" : "public func clamp(_ value : CGFloat) -> CGFloat", - "key.parsed_scope.end" : 253, - "key.parsed_scope.start" : 245, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(Sizing.Constraint.Axis) -> (CGFloat) -> CGFloat", - "key.typeusr" : "$sy14CoreFoundation7CGFloatVACcD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO5clampy14CoreFoundation7CGFloatVAKF" - } - ], - "key.typename" : "Sizing.Constraint.Axis.Type", - "key.typeusr" : "$s10ListableUI6SizingO10ConstraintV4AxisOmD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV4AxisO" - } - ], - "key.typename" : "Sizing.Constraint.Type", - "key.typeusr" : "$s10ListableUI6SizingO10ConstraintVmD", - "key.usr" : "s:10ListableUI6SizingO10ConstraintV" - } - ], - "key.typename" : "Sizing.Type", - "key.typeusr" : "$s10ListableUI6SizingOmD", - "key.usr" : "s:10ListableUI6SizingO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum WidthConstraint : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 9806 - } - ], - "key.bodylength" : 591, - "key.bodyoffset" : 9847, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the range of acceptable values for a width.", - "key.doc.column" : 13, - "key.doc.comment" : "Describes the range of acceptable values for a width.", - "key.doc.declaration" : "public enum WidthConstraint : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "WidthConstraint<\/Name>s:10ListableUI15WidthConstraintO<\/USR>public enum WidthConstraint : Equatable<\/Declaration>Describes the range of acceptable values for a width.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 260, - "key.doc.name" : "WidthConstraint", - "key.doc.type" : "Other", - "key.doclength" : 58, - "key.docoffset" : 9748, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 9836 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> WidthConstraint<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 626, - "key.line" : 260, - "key.modulename" : "ListableUI", - "key.name" : "WidthConstraint", - "key.namelength" : 15, - "key.nameoffset" : 9818, - "key.offset" : 9813, - "key.parsed_declaration" : "public enum WidthConstraint : Equatable", - "key.parsed_scope.end" : 280, - "key.parsed_scope.start" : 260, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 9921, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case noConstraint<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "There is no limit to a width, it can be as wide as possible.", - "key.doc.column" : 10, - "key.doc.comment" : "There is no limit to a width, it can be as wide as possible.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "noConstraint<\/Name>s:10ListableUI15WidthConstraintO02noD0yA2CmF<\/USR><\/Declaration>There is no limit to a width, it can be as wide as possible.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 263, - "key.doc.name" : "noConstraint", - "key.doc.type" : "Other", - "key.doclength" : 65, - "key.docoffset" : 9852, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> noConstraint<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 263, - "key.modulename" : "ListableUI", - "key.name" : "noConstraint", - "key.namelength" : 12, - "key.nameoffset" : 9926, - "key.offset" : 9926, - "key.parsed_declaration" : "case noConstraint", - "key.parsed_scope.end" : 263, - "key.parsed_scope.start" : 263, - "key.reusingastcontext" : false, - "key.typename" : "(WidthConstraint.Type) -> WidthConstraint", - "key.typeusr" : "$sy10ListableUI15WidthConstraintOACmcD", - "key.usr" : "s:10ListableUI15WidthConstraintO02noD0yA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 9994, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fixed(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width must be exactly this value.", - "key.doc.column" : 10, - "key.doc.comment" : "The width must be exactly this value.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "fixed(_:)<\/Name>s:10ListableUI15WidthConstraintO5fixedyAC14CoreFoundation7CGFloatVcACmF<\/USR><\/Declaration>The width must be exactly this value.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 266, - "key.doc.name" : "fixed(_:)", - "key.doc.type" : "Other", - "key.doclength" : 42, - "key.docoffset" : 9948, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fixed<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 266, - "key.modulename" : "ListableUI", - "key.name" : "fixed(_:)", - "key.namelength" : 14, - "key.nameoffset" : 9999, - "key.offset" : 9999, - "key.parsed_declaration" : "case fixed(CGFloat)", - "key.parsed_scope.end" : 266, - "key.parsed_scope.start" : 266, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(WidthConstraint.Type) -> (CGFloat) -> WidthConstraint", - "key.typeusr" : "$sy10ListableUI15WidthConstraintO14CoreFoundation7CGFloatVcACmcD", - "key.usr" : "s:10ListableUI15WidthConstraintO5fixedyAC14CoreFoundation7CGFloatVcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 20, - "key.offset" : 10103, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case atMost(CGFloat<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width can be at most, this value. Any value larger will be clamped.", - "key.doc.column" : 10, - "key.doc.comment" : "The width can be at most, this value. Any value larger will be clamped.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "atMost(_:)<\/Name>s:10ListableUI15WidthConstraintO6atMostyAC14CoreFoundation7CGFloatVcACmF<\/USR><\/Declaration>The width can be at most, this value. Any value larger will be clamped.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 269, - "key.doc.name" : "atMost(_:)", - "key.doc.type" : "Other", - "key.doclength" : 76, - "key.docoffset" : 10023, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> atMost<\/decl.name>(CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 15, - "key.line" : 269, - "key.modulename" : "ListableUI", - "key.name" : "atMost(_:)", - "key.namelength" : 15, - "key.nameoffset" : 10108, - "key.offset" : 10108, - "key.parsed_declaration" : "case atMost(CGFloat)", - "key.parsed_scope.end" : 269, - "key.parsed_scope.start" : 269, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(WidthConstraint.Type) -> (CGFloat) -> WidthConstraint", - "key.typeusr" : "$sy10ListableUI15WidthConstraintO14CoreFoundation7CGFloatVcACmcD", - "key.usr" : "s:10ListableUI15WidthConstraintO6atMostyAC14CoreFoundation7CGFloatVcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func clamp(_ value: CGFloat<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10198 - } - ], - "key.bodylength" : 185, - "key.bodyoffset" : 10251, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Clamps the provided value based on our underlying value.", - "key.doc.column" : 17, - "key.doc.comment" : "Clamps the provided value based on our underlying value.", - "key.doc.declaration" : "public func clamp(_ value: CGFloat) -> CGFloat", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "clamp(_:)<\/Name>s:10ListableUI15WidthConstraintO5clampy14CoreFoundation7CGFloatVAGF<\/USR>public func clamp(_ value: CGFloat) -> CGFloat<\/Declaration>Clamps the provided value based on our underlying value.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 272, - "key.doc.name" : "clamp(_:)", - "key.doc.type" : "Function", - "key.doclength" : 61, - "key.docoffset" : 10133, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> clamp<\/decl.name>(_<\/decl.var.parameter.argument_label> value<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 232, - "key.line" : 272, - "key.modulename" : "ListableUI", - "key.name" : "clamp(_:)", - "key.namelength" : 24, - "key.nameoffset" : 10210, - "key.offset" : 10205, - "key.parsed_declaration" : "public func clamp(_ value : CGFloat) -> CGFloat", - "key.parsed_scope.end" : 279, - "key.parsed_scope.start" : 272, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(WidthConstraint) -> (CGFloat) -> CGFloat", - "key.typeusr" : "$sy14CoreFoundation7CGFloatVACcD", - "key.usr" : "s:10ListableUI15WidthConstraintO5clampy14CoreFoundation7CGFloatVAGF" - } - ], - "key.typename" : "WidthConstraint.Type", - "key.typeusr" : "$s10ListableUI15WidthConstraintOmD", - "key.usr" : "s:10ListableUI15WidthConstraintO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum CustomWidth : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10504 - } - ], - "key.bodylength" : 2956, - "key.bodyoffset" : 10541, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies a custom width for an item or header in a list.", - "key.doc.column" : 13, - "key.doc.comment" : "Specifies a custom width for an item or header in a list.", - "key.doc.declaration" : "public enum CustomWidth : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "CustomWidth<\/Name>s:10ListableUI11CustomWidthO<\/USR>public enum CustomWidth : Equatable<\/Declaration>Specifies a custom width for an item or header in a list.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 284, - "key.doc.name" : "CustomWidth", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 10442, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 10530 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CustomWidth<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 2987, - "key.line" : 284, - "key.modulename" : "ListableUI", - "key.name" : "CustomWidth", - "key.namelength" : 11, - "key.nameoffset" : 10516, - "key.offset" : 10511, - "key.parsed_declaration" : "public enum CustomWidth : Equatable", - "key.parsed_scope.end" : 392, - "key.parsed_scope.start" : 284, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 10597, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case `default`<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The default width from the layout is used.", - "key.doc.column" : 10, - "key.doc.comment" : "The default width from the layout is used.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "default<\/Name>s:10ListableUI11CustomWidthO7defaultyA2CmF<\/USR><\/Declaration>The default width from the layout is used.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 287, - "key.doc.name" : "default", - "key.doc.type" : "Other", - "key.doclength" : 47, - "key.docoffset" : 10546, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> `default`<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 287, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 10602, - "key.offset" : 10602, - "key.parsed_declaration" : "case `default`", - "key.parsed_scope.end" : 287, - "key.parsed_scope.start" : 287, - "key.reusingastcontext" : false, - "key.typename" : "(CustomWidth.Type) -> CustomWidth", - "key.typeusr" : "$sy10ListableUI11CustomWidthOACmcD", - "key.usr" : "s:10ListableUI11CustomWidthO7defaultyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 10670, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case fill<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The width will fill all available space.", - "key.doc.column" : 10, - "key.doc.comment" : "The width will fill all available space.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "fill<\/Name>s:10ListableUI11CustomWidthO4fillyA2CmF<\/USR><\/Declaration>The width will fill all available space.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 290, - "key.doc.name" : "fill", - "key.doc.type" : "Other", - "key.doclength" : 45, - "key.docoffset" : 10621, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> fill<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 290, - "key.modulename" : "ListableUI", - "key.name" : "fill", - "key.namelength" : 4, - "key.nameoffset" : 10675, - "key.offset" : 10675, - "key.parsed_declaration" : "case fill", - "key.parsed_scope.end" : 290, - "key.parsed_scope.start" : 290, - "key.reusingastcontext" : false, - "key.typename" : "(CustomWidth.Type) -> CustomWidth", - "key.typeusr" : "$sy10ListableUI11CustomWidthOACmcD", - "key.usr" : "s:10ListableUI11CustomWidthO4fillyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 10730, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case custom(Custom<\/Type>)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A custom width and\/or alignment.", - "key.doc.column" : 10, - "key.doc.comment" : "A custom width and\/or alignment.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.doc.full_as_xml" : "custom(_:)<\/Name>s:10ListableUI11CustomWidthO6customyA2C0C0VcACmF<\/USR><\/Declaration>A custom width and\/or alignment.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 293, - "key.doc.name" : "custom(_:)", - "key.doc.type" : "Other", - "key.doclength" : 37, - "key.docoffset" : 10689, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> custom<\/decl.name>(Custom<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 293, - "key.modulename" : "ListableUI", - "key.name" : "custom(_:)", - "key.namelength" : 14, - "key.nameoffset" : 10735, - "key.offset" : 10735, - "key.parsed_declaration" : "case custom(Custom)", - "key.parsed_scope.end" : 293, - "key.parsed_scope.start" : 293, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth.Type) -> (CustomWidth.Custom) -> CustomWidth", - "key.typeusr" : "$sy10ListableUI11CustomWidthOAC0C0VcACmcD", - "key.usr" : "s:10ListableUI11CustomWidthO6customyA2C0C0VcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func merge(with parent: CustomWidth<\/Type>) -> CustomWidth<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10759 - } - ], - "key.bodylength" : 143, - "key.bodyoffset" : 10824, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> merge<\/decl.name>(with<\/decl.var.parameter.argument_label> parent<\/decl.var.parameter.name>: CustomWidth<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> CustomWidth<\/ref.enum><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 202, - "key.line" : 295, - "key.modulename" : "ListableUI", - "key.name" : "merge(with:)", - "key.namelength" : 32, - "key.nameoffset" : 10771, - "key.offset" : 10766, - "key.parsed_declaration" : "public func merge(with parent : CustomWidth) -> CustomWidth", - "key.parsed_scope.end" : 302, - "key.parsed_scope.start" : 295, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth) -> (CustomWidth) -> CustomWidth", - "key.typeusr" : "$s4with10ListableUI11CustomWidthOAD_tcD", - "key.usr" : "s:10ListableUI11CustomWidthO5merge4withA2C_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func position(with viewWidth: CGFloat<\/Type>, defaultWidth: CGFloat<\/Type>) -> Position<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 10978 - } - ], - "key.bodylength" : 471, - "key.bodyoffset" : 11066, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> position<\/decl.name>(with<\/decl.var.parameter.argument_label> viewWidth<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, defaultWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Position<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 553, - "key.line" : 304, - "key.modulename" : "ListableUI", - "key.name" : "position(with:defaultWidth:)", - "key.namelength" : 58, - "key.nameoffset" : 10990, - "key.offset" : 10985, - "key.parsed_declaration" : "public func position(with viewWidth : CGFloat, defaultWidth : CGFloat) -> Position", - "key.parsed_scope.end" : 324, - "key.parsed_scope.start" : 304, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth) -> (CGFloat, CGFloat) -> CustomWidth.Position", - "key.typeusr" : "$s4with12defaultWidth10ListableUI06CustomC0O8PositionV14CoreFoundation7CGFloatV_AJtcD", - "key.usr" : "s:10ListableUI11CustomWidthO8position4with07defaultD0AC8PositionV14CoreFoundation7CGFloatV_AKtF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct CustomWidth<\/Type>.Custom : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11548 - } - ], - "key.bodylength" : 997, - "key.bodyoffset" : 11586, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 11571 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> CustomWidth<\/ref.enum>.Custom<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1029, - "key.line" : 326, - "key.modulename" : "ListableUI", - "key.name" : "Custom", - "key.namelength" : 6, - "key.nameoffset" : 11562, - "key.offset" : 11555, - "key.parsed_declaration" : "public struct Custom : Equatable", - "key.parsed_scope.end" : 360, - "key.parsed_scope.start" : 326, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var padding: HorizontalPadding<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11595 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> padding<\/decl.name>: HorizontalPadding<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 328, - "key.modulename" : "ListableUI", - "key.name" : "padding", - "key.namelength" : 7, - "key.nameoffset" : 11606, - "key.offset" : 11602, - "key.parsed_declaration" : "public var padding : HorizontalPadding", - "key.parsed_scope.end" : 328, - "key.parsed_scope.start" : 328, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "HorizontalPadding", - "key.typeusr" : "$s10ListableUI17HorizontalPaddingVD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V7paddingAA17HorizontalPaddingVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: WidthConstraint<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11642 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: WidthConstraint<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 329, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 11653, - "key.offset" : 11649, - "key.parsed_declaration" : "public var width : WidthConstraint", - "key.parsed_scope.end" : 329, - "key.parsed_scope.start" : 329, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "WidthConstraint", - "key.typeusr" : "$s10ListableUI15WidthConstraintOD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V5widthAA0D10ConstraintOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var alignment: Alignment<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11685 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> alignment<\/decl.name>: Alignment<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 25, - "key.line" : 330, - "key.modulename" : "ListableUI", - "key.name" : "alignment", - "key.namelength" : 9, - "key.nameoffset" : 11696, - "key.offset" : 11692, - "key.parsed_declaration" : "public var alignment : Alignment", - "key.parsed_scope.end" : 330, - "key.parsed_scope.start" : 330, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CustomWidth.Alignment", - "key.typeusr" : "$s10ListableUI11CustomWidthO9AlignmentOD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V9alignmentAC9AlignmentOvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(padding: HorizontalPadding<\/Type> = .zero, width: WidthConstraint<\/Type> = .noConstraint, alignment: Alignment<\/Type> = .center)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 11735 - } - ], - "key.bodylength" : 114, - "key.bodyoffset" : 11913, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(padding<\/decl.var.parameter.argument_label>: HorizontalPadding<\/ref.struct><\/decl.var.parameter.type> = .zero<\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: WidthConstraint<\/ref.enum><\/decl.var.parameter.type> = .noConstraint<\/decl.var.parameter>, alignment<\/decl.var.parameter.argument_label>: Alignment<\/ref.enum><\/decl.var.parameter.type> = .center<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 286, - "key.line" : 332, - "key.modulename" : "ListableUI", - "key.name" : "init(padding:width:alignment:)", - "key.namelength" : 161, - "key.nameoffset" : 11742, - "key.offset" : 11742, - "key.parsed_declaration" : "public init(\n padding : HorizontalPadding = .zero,\n width : WidthConstraint = .noConstraint,\n alignment : Alignment = .center\n)", - "key.parsed_scope.end" : 341, - "key.parsed_scope.start" : 332, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth.Custom.Type) -> (HorizontalPadding, WidthConstraint, CustomWidth.Alignment) -> CustomWidth.Custom", - "key.typeusr" : "$s7padding5width9alignment10ListableUI11CustomWidthO0F0VAD17HorizontalPaddingV_AD0G10ConstraintOAF9AlignmentOtcD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V7padding5width9alignmentAeA17HorizontalPaddingV_AA0D10ConstraintOAC9AlignmentOtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func position(with viewWidth: CGFloat<\/Type>) -> Position<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12046 - } - ], - "key.bodylength" : 463, - "key.bodyoffset" : 12114, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> position<\/decl.name>(with<\/decl.var.parameter.argument_label> viewWidth<\/decl.var.parameter.name>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> Position<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 525, - "key.line" : 343, - "key.modulename" : "ListableUI", - "key.name" : "position(with:)", - "key.namelength" : 34, - "key.nameoffset" : 12058, - "key.offset" : 12053, - "key.parsed_declaration" : "public func position(with viewWidth : CGFloat) -> Position", - "key.parsed_scope.end" : 359, - "key.parsed_scope.start" : 343, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let width: CGFloat<\/Type><\/Declaration>", - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> width<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 166, - "key.line" : 345, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 12131, - "key.offset" : 12127, - "key.parsed_declaration" : "let width = TableAppearance.Layout.width(\n with: viewWidth,\n padding: self.padding,\n constraint: self.width\n)", - "key.parsed_scope.end" : 345, - "key.parsed_scope.start" : 345, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V8position4withAC8PositionV14CoreFoundation7CGFloatV_tF5widthL_ALvp" - } - ], - "key.typename" : "(CustomWidth.Custom) -> (CGFloat) -> CustomWidth.Position", - "key.typeusr" : "$s4with10ListableUI11CustomWidthO8PositionV14CoreFoundation7CGFloatV_tcD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V8position4withAC8PositionV14CoreFoundation7CGFloatV_tF" - } - ], - "key.typename" : "CustomWidth.Custom.Type", - "key.typeusr" : "$s10ListableUI11CustomWidthO0C0VmD", - "key.usr" : "s:10ListableUI11CustomWidthO0C0V" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum CustomWidth<\/Type>.Alignment : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12594 - } - ], - "key.bodylength" : 597, - "key.bodyoffset" : 12633, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 12618 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CustomWidth<\/ref.enum>.Alignment<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 630, - "key.line" : 362, - "key.modulename" : "ListableUI", - "key.name" : "Alignment", - "key.namelength" : 9, - "key.nameoffset" : 12606, - "key.offset" : 12601, - "key.parsed_declaration" : "public enum Alignment : Equatable", - "key.parsed_scope.end" : 380, - "key.parsed_scope.start" : 362, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 12642, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case leading<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> leading<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 364, - "key.modulename" : "ListableUI", - "key.name" : "leading", - "key.namelength" : 7, - "key.nameoffset" : 12647, - "key.offset" : 12647, - "key.parsed_declaration" : "case leading", - "key.parsed_scope.end" : 364, - "key.parsed_scope.start" : 364, - "key.reusingastcontext" : false, - "key.typename" : "(CustomWidth.Alignment.Type) -> CustomWidth.Alignment", - "key.typeusr" : "$sy10ListableUI11CustomWidthO9AlignmentOAEmcD", - "key.usr" : "s:10ListableUI11CustomWidthO9AlignmentO7leadingyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 12663, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case center<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> center<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 365, - "key.modulename" : "ListableUI", - "key.name" : "center", - "key.namelength" : 6, - "key.nameoffset" : 12668, - "key.offset" : 12668, - "key.parsed_declaration" : "case center", - "key.parsed_scope.end" : 365, - "key.parsed_scope.start" : 365, - "key.reusingastcontext" : false, - "key.typename" : "(CustomWidth.Alignment.Type) -> CustomWidth.Alignment", - "key.typeusr" : "$sy10ListableUI11CustomWidthO9AlignmentOAEmcD", - "key.usr" : "s:10ListableUI11CustomWidthO9AlignmentO6centeryA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 12683, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case trailing<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> trailing<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 366, - "key.modulename" : "ListableUI", - "key.name" : "trailing", - "key.namelength" : 8, - "key.nameoffset" : 12688, - "key.offset" : 12688, - "key.parsed_declaration" : "case trailing", - "key.parsed_scope.end" : 366, - "key.parsed_scope.start" : 366, - "key.reusingastcontext" : false, - "key.typename" : "(CustomWidth.Alignment.Type) -> CustomWidth.Alignment", - "key.typeusr" : "$sy10ListableUI11CustomWidthO9AlignmentOAEmcD", - "key.usr" : "s:10ListableUI11CustomWidthO9AlignmentO8trailingyA2EmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func originWith(parentWidth: CGFloat<\/Type>, width: CGFloat<\/Type>, padding: HorizontalPadding<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 12714 - } - ], - "key.bodylength" : 398, - "key.bodyoffset" : 12826, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> originWith<\/decl.name>(parentWidth<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, padding<\/decl.var.parameter.argument_label>: HorizontalPadding<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 504, - "key.line" : 368, - "key.modulename" : "ListableUI", - "key.name" : "originWith(parentWidth:width:padding:)", - "key.namelength" : 79, - "key.nameoffset" : 12726, - "key.offset" : 12721, - "key.parsed_declaration" : "public func originWith(parentWidth : CGFloat, width : CGFloat, padding : HorizontalPadding) -> CGFloat", - "key.parsed_scope.end" : 379, - "key.parsed_scope.start" : 368, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth.Alignment) -> (CGFloat, CGFloat, HorizontalPadding) -> CGFloat", - "key.typeusr" : "$s11parentWidth5width7padding14CoreFoundation7CGFloatVAF_AF10ListableUI17HorizontalPaddingVtcD", - "key.usr" : "s:10ListableUI11CustomWidthO9AlignmentO10originWith06parentD05width7padding14CoreFoundation7CGFloatVAL_AlA17HorizontalPaddingVtF" - } - ], - "key.typename" : "CustomWidth.Alignment.Type", - "key.typeusr" : "$s10ListableUI11CustomWidthO9AlignmentOmD", - "key.usr" : "s:10ListableUI11CustomWidthO9AlignmentO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct CustomWidth<\/Type>.Position : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13241 - } - ], - "key.bodylength" : 214, - "key.bodyoffset" : 13281, - "key.column" : 19, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 13266 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> CustomWidth<\/ref.enum>.Position<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 248, - "key.line" : 382, - "key.modulename" : "ListableUI", - "key.name" : "Position", - "key.namelength" : 8, - "key.nameoffset" : 13255, - "key.offset" : 13248, - "key.parsed_declaration" : "public struct Position : Equatable", - "key.parsed_scope.end" : 391, - "key.parsed_scope.start" : 382, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var origin: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13290 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> origin<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 20, - "key.line" : 384, - "key.modulename" : "ListableUI", - "key.name" : "origin", - "key.namelength" : 6, - "key.nameoffset" : 13301, - "key.offset" : 13297, - "key.parsed_declaration" : "public var origin : CGFloat", - "key.parsed_scope.end" : 384, - "key.parsed_scope.start" : 384, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI11CustomWidthO8PositionV6origin14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var width: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13326 - } - ], - "key.column" : 20, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> width<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 385, - "key.modulename" : "ListableUI", - "key.name" : "width", - "key.namelength" : 5, - "key.nameoffset" : 13337, - "key.offset" : 13333, - "key.parsed_declaration" : "public var width : CGFloat", - "key.parsed_scope.end" : 385, - "key.parsed_scope.start" : 385, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI11CustomWidthO8PositionV5width14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(origin: CGFloat<\/Type>, width: CGFloat<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13370 - } - ], - "key.bodylength" : 73, - "key.bodyoffset" : 13416, - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(origin<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, width<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 113, - "key.line" : 387, - "key.modulename" : "ListableUI", - "key.name" : "init(origin:width:)", - "key.namelength" : 37, - "key.nameoffset" : 13377, - "key.offset" : 13377, - "key.parsed_declaration" : "public init(origin: CGFloat, width: CGFloat)", - "key.parsed_scope.end" : 390, - "key.parsed_scope.start" : 387, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(CustomWidth.Position.Type) -> (CGFloat, CGFloat) -> CustomWidth.Position", - "key.typeusr" : "$s6origin5width10ListableUI11CustomWidthO8PositionV14CoreFoundation7CGFloatV_AJtcD", - "key.usr" : "s:10ListableUI11CustomWidthO8PositionV6origin5widthAE14CoreFoundation7CGFloatV_AJtcfc" - } - ], - "key.typename" : "CustomWidth.Position.Type", - "key.typeusr" : "$s10ListableUI11CustomWidthO8PositionVmD", - "key.usr" : "s:10ListableUI11CustomWidthO8PositionV" - } - ], - "key.typename" : "CustomWidth.Type", - "key.typeusr" : "$s10ListableUI11CustomWidthOmD", - "key.usr" : "s:10ListableUI11CustomWidthO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct HorizontalPadding : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13501 - } - ], - "key.bodylength" : 444, - "key.bodyoffset" : 13546, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 13535 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> HorizontalPadding<\/decl.name> : Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 483, - "key.line" : 395, - "key.modulename" : "ListableUI", - "key.name" : "HorizontalPadding", - "key.namelength" : 17, - "key.nameoffset" : 13515, - "key.offset" : 13508, - "key.parsed_declaration" : "public struct HorizontalPadding : Equatable", - "key.parsed_scope.end" : 415, - "key.parsed_scope.start" : 395, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var leading: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13551 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> leading<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 21, - "key.line" : 397, - "key.modulename" : "ListableUI", - "key.name" : "leading", - "key.namelength" : 7, - "key.nameoffset" : 13562, - "key.offset" : 13558, - "key.parsed_declaration" : "public var leading : CGFloat", - "key.parsed_scope.end" : 397, - "key.parsed_scope.start" : 397, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV7leading14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var trailing: CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13584 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> trailing<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 398, - "key.modulename" : "ListableUI", - "key.name" : "trailing", - "key.namelength" : 8, - "key.nameoffset" : 13595, - "key.offset" : 13591, - "key.parsed_declaration" : "public var trailing : CGFloat", - "key.parsed_scope.end" : 398, - "key.parsed_scope.start" : 398, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV8trailing14CoreFoundation7CGFloatVvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var zero: HorizontalPadding<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13623 - } - ], - "key.bodylength" : 52, - "key.bodyoffset" : 13667, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> zero<\/decl.name>: HorizontalPadding<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 90, - "key.line" : 400, - "key.modulename" : "ListableUI", - "key.name" : "zero", - "key.namelength" : 4, - "key.nameoffset" : 13641, - "key.offset" : 13630, - "key.parsed_declaration" : "public static var zero : HorizontalPadding", - "key.parsed_scope.end" : 402, - "key.parsed_scope.start" : 400, - "key.reusingastcontext" : false, - "key.typename" : "HorizontalPadding", - "key.typeusr" : "$s10ListableUI17HorizontalPaddingVD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV4zeroACvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(leading: CGFloat<\/Type> = 0.0, trailing: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13730 - } - ], - "key.bodylength" : 69, - "key.bodyoffset" : 13798, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(leading<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>, trailing<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 131, - "key.line" : 404, - "key.modulename" : "ListableUI", - "key.name" : "init(leading:trailing:)", - "key.namelength" : 55, - "key.nameoffset" : 13737, - "key.offset" : 13737, - "key.parsed_declaration" : "public init(leading : CGFloat = 0.0, trailing : CGFloat = 0.0)", - "key.parsed_scope.end" : 408, - "key.parsed_scope.start" : 404, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(uniform:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(HorizontalPadding.Type) -> (CGFloat, CGFloat) -> HorizontalPadding", - "key.typeusr" : "$s7leading8trailing10ListableUI17HorizontalPaddingV14CoreFoundation7CGFloatV_AHtcD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV7leading8trailingAC14CoreFoundation7CGFloatV_AHtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(uniform: CGFloat<\/Type> = 0.0)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 13878 - } - ], - "key.bodylength" : 68, - "key.bodyoffset" : 13920, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/Sizing.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(uniform<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type> = 0.0<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 104, - "key.line" : 410, - "key.modulename" : "ListableUI", - "key.name" : "init(uniform:)", - "key.namelength" : 29, - "key.nameoffset" : 13885, - "key.offset" : 13885, - "key.parsed_declaration" : "public init(uniform : CGFloat = 0.0)", - "key.parsed_scope.end" : 414, - "key.parsed_scope.start" : 410, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(leading:trailing:)<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(HorizontalPadding.Type) -> (CGFloat) -> HorizontalPadding", - "key.typeusr" : "$s7uniform10ListableUI17HorizontalPaddingV14CoreFoundation7CGFloatV_tcD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV7uniformAC14CoreFoundation7CGFloatV_tcfc" - } - ], - "key.typename" : "HorizontalPadding.Type", - "key.typeusr" : "$s10ListableUI17HorizontalPaddingVmD", - "key.usr" : "s:10ListableUI17HorizontalPaddingV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3893, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SwipeActionsConfiguration<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 263 - } - ], - "key.bodylength" : 1167, - "key.bodyoffset" : 304, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Use SwipeActionsConfiguration to configure an item with SwipeActions.\nThese are actions that are revealed when swiping on the cell.", - "key.doc.column" : 15, - "key.doc.comment" : "Use SwipeActionsConfiguration to configure an item with SwipeActions.\nThese are actions that are revealed when swiping on the cell.", - "key.doc.declaration" : "public struct SwipeActionsConfiguration", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "SwipeActionsConfiguration<\/Name>s:10ListableUI25SwipeActionsConfigurationV<\/USR>public struct SwipeActionsConfiguration<\/Declaration>Use SwipeActionsConfiguration to configure an item with SwipeActions. These are actions that are revealed when swiping on the cell.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 14, - "key.doc.name" : "SwipeActionsConfiguration", - "key.doc.type" : "Class", - "key.doclength" : 140, - "key.docoffset" : 123, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SwipeActionsConfiguration<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1202, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "SwipeActionsConfiguration", - "key.namelength" : 25, - "key.nameoffset" : 277, - "key.offset" : 270, - "key.parsed_declaration" : "public struct SwipeActionsConfiguration", - "key.parsed_scope.end" : 48, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var actions: [SwipeAction<\/Type>]<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 366 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The actions to display when the cell is swiped.", - "key.doc.column" : 16, - "key.doc.comment" : "The actions to display when the cell is swiped.", - "key.doc.declaration" : "public var actions: [SwipeAction]", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "actions<\/Name>s:10ListableUI25SwipeActionsConfigurationV7actionsSayAA0C6ActionVGvp<\/USR>public var actions: [SwipeAction]<\/Declaration>The actions to display when the cell is swiped.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "actions", - "key.doc.type" : "Other", - "key.doclength" : 52, - "key.docoffset" : 310, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> actions<\/decl.name>: [SwipeAction<\/ref.struct>]<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 27, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "actions", - "key.namelength" : 7, - "key.nameoffset" : 377, - "key.offset" : 373, - "key.parsed_declaration" : "public var actions : [SwipeAction]", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "[SwipeAction]", - "key.typeusr" : "$sSay10ListableUI11SwipeActionVGD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV7actionsSayAA0C6ActionVGvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var performsFirstActionWithFullSwipe: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 485 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Whether the first action is performed automatically with a full swipe.", - "key.doc.column" : 16, - "key.doc.comment" : "Whether the first action is performed automatically with a full swipe.", - "key.doc.declaration" : "public var performsFirstActionWithFullSwipe: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "performsFirstActionWithFullSwipe<\/Name>s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC0Sbvp<\/USR>public var performsFirstActionWithFullSwipe: Bool<\/Declaration>Whether the first action is performed automatically with a full swipe.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "performsFirstActionWithFullSwipe", - "key.doc.type" : "Other", - "key.doclength" : 75, - "key.docoffset" : 406, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> performsFirstActionWithFullSwipe<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 43, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "performsFirstActionWithFullSwipe", - "key.namelength" : 32, - "key.nameoffset" : 496, - "key.offset" : 492, - "key.parsed_declaration" : "public var performsFirstActionWithFullSwipe : Bool", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC0Sbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(performsFirstActionWithFullSwipe: Bool<\/Type> = false, action: SwipeAction<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 607 - } - ], - "key.bodylength" : 118, - "key.bodyoffset" : 713, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new configuration with the provided action.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new configuration with the provided action.", - "key.doc.declaration" : "public init(performsFirstActionWithFullSwipe: Bool = false, action: SwipeAction)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "init(performsFirstActionWithFullSwipe:action:)<\/Name>s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC06actionACSb_AA0cH0Vtcfc<\/USR>public init(performsFirstActionWithFullSwipe: Bool = false, action: SwipeAction)<\/Declaration>Creates a new configuration with the provided action.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 23, - "key.doc.name" : "init(performsFirstActionWithFullSwipe:action:)", - "key.doc.type" : "Function", - "key.doclength" : 58, - "key.docoffset" : 545, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(performsFirstActionWithFullSwipe<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, action<\/decl.var.parameter.argument_label>: SwipeAction<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 218, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "init(performsFirstActionWithFullSwipe:action:)", - "key.namelength" : 97, - "key.nameoffset" : 614, - "key.offset" : 614, - "key.parsed_declaration" : "public init(\n performsFirstActionWithFullSwipe : Bool = false,\n action : SwipeAction\n)", - "key.parsed_scope.end" : 29, - "key.parsed_scope.start" : 23, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe: Bool = false, actions: [SwipeAction])<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe: Bool = false, actions: () -> [SwipeAction])<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsConfiguration.Type) -> (Bool, SwipeAction) -> SwipeActionsConfiguration", - "key.typeusr" : "$s32performsFirstActionWithFullSwipe6action10ListableUI0F20ActionsConfigurationVSb_AC0fC0VtcD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC06actionACSb_AA0cH0Vtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(performsFirstActionWithFullSwipe: Bool<\/Type> = false, actions: [SwipeAction<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 905 - } - ], - "key.bodylength" : 117, - "key.bodyoffset" : 1014, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new configuration with the provided actions.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new configuration with the provided actions.", - "key.doc.declaration" : "public init(performsFirstActionWithFullSwipe: Bool = false, actions: [SwipeAction])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "init(performsFirstActionWithFullSwipe:actions:)<\/Name>s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC07actionsACSb_SayAA0cH0VGtcfc<\/USR>public init(performsFirstActionWithFullSwipe: Bool = false, actions: [SwipeAction])<\/Declaration>Creates a new configuration with the provided actions.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 32, - "key.doc.name" : "init(performsFirstActionWithFullSwipe:actions:)", - "key.doc.type" : "Function", - "key.doclength" : 59, - "key.docoffset" : 842, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(performsFirstActionWithFullSwipe<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, actions<\/decl.var.parameter.argument_label>: [SwipeAction<\/ref.struct>]<\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 220, - "key.line" : 32, - "key.modulename" : "ListableUI", - "key.name" : "init(performsFirstActionWithFullSwipe:actions:)", - "key.namelength" : 100, - "key.nameoffset" : 912, - "key.offset" : 912, - "key.parsed_declaration" : "public init(\n performsFirstActionWithFullSwipe : Bool = false,\n actions : [SwipeAction]\n)", - "key.parsed_scope.end" : 38, - "key.parsed_scope.start" : 32, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe:action:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe: Bool = false, actions: () -> [SwipeAction])<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsConfiguration.Type) -> (Bool, [SwipeAction]) -> SwipeActionsConfiguration", - "key.typeusr" : "$s32performsFirstActionWithFullSwipe7actions10ListableUI0F20ActionsConfigurationVSb_SayAC0fC0VGtcD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC07actionsACSb_SayAA0cH0VGtcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(performsFirstActionWithFullSwipe: Bool<\/Type> = false, @ListableBuilder<\/Type><SwipeAction<\/Type>> actions: () -> [SwipeAction<\/Type>])<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1205 - } - ], - "key.bodylength" : 119, - "key.bodyoffset" : 1350, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new configuration with the provided actions.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new configuration with the provided actions.", - "key.doc.declaration" : "public init(performsFirstActionWithFullSwipe: Bool = false, @ListableUI.ListableBuilder actions: () -> [SwipeAction])", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "init(performsFirstActionWithFullSwipe:actions:)<\/Name>s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC07actionsACSb_SayAA0cH0VGyXEtcfc<\/USR>public init(performsFirstActionWithFullSwipe: Bool = false, @ListableUI.ListableBuilder<ListableUI.SwipeAction> actions: () -> [SwipeAction])<\/Declaration>Creates a new configuration with the provided actions.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 41, - "key.doc.name" : "init(performsFirstActionWithFullSwipe:actions:)", - "key.doc.type" : "Function", - "key.doclength" : 59, - "key.docoffset" : 1142, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(performsFirstActionWithFullSwipe<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, @ListableBuilder<\/ref.enum><SwipeAction<\/ref.struct>><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> actions<\/decl.var.parameter.argument_label>: () -> [SwipeAction<\/ref.struct>]<\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 258, - "key.line" : 41, - "key.modulename" : "ListableUI", - "key.name" : "init(performsFirstActionWithFullSwipe:actions:)", - "key.namelength" : 136, - "key.nameoffset" : 1212, - "key.offset" : 1212, - "key.parsed_declaration" : "public init(\n performsFirstActionWithFullSwipe : Bool = false,\n @ListableBuilder actions : () -> [SwipeAction]\n)", - "key.parsed_scope.end" : 47, - "key.parsed_scope.start" : 41, - "key.related_decls" : [ - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe:action:)<\/RelatedName>" - }, - { - "key.annotated_decl" : "init(performsFirstActionWithFullSwipe: Bool = false, actions: [SwipeAction])<\/RelatedName>" - } - ], - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeActionsConfiguration.Type) -> (Bool, () -> [SwipeAction]) -> SwipeActionsConfiguration", - "key.typeusr" : "$s32performsFirstActionWithFullSwipe7actions10ListableUI0F20ActionsConfigurationVSb_SayAC0fC0VGyXEtcD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV027performsFirstActionWithFullC07actionsACSb_SayAA0cH0VGyXEtcfc" - } - ], - "key.typename" : "SwipeActionsConfiguration.Type", - "key.typeusr" : "$s10ListableUI25SwipeActionsConfigurationVmD", - "key.usr" : "s:10ListableUI25SwipeActionsConfigurationV" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct SwipeAction<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1571 - } - ], - "key.bodylength" : 2293, - "key.bodyoffset" : 1598, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Create SwipeActions to define actions that can be performed in a SwipeActionsConfiguration.", - "key.doc.column" : 15, - "key.doc.comment" : "Create SwipeActions to define actions that can be performed in a SwipeActionsConfiguration.", - "key.doc.declaration" : "public struct SwipeAction", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "SwipeAction<\/Name>s:10ListableUI11SwipeActionV<\/USR>public struct SwipeAction<\/Declaration>Create SwipeActions to define actions that can be performed in a SwipeActionsConfiguration.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 52, - "key.doc.name" : "SwipeAction", - "key.doc.type" : "Class", - "key.doclength" : 96, - "key.docoffset" : 1475, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> SwipeAction<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 2314, - "key.line" : 52, - "key.modulename" : "ListableUI", - "key.name" : "SwipeAction", - "key.namelength" : 11, - "key.nameoffset" : 1585, - "key.offset" : 1578, - "key.parsed_declaration" : "public struct SwipeAction", - "key.parsed_scope.end" : 116, - "key.parsed_scope.start" : 52, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias SwipeAction<\/Type>.OnDidPerformAction = (OnDidPerformActionAnimation<\/Type>) -> Void<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1812 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The completion handler to call after performing the swipe action.\n\nPass in `true` to expand the actions (typically only used when deleting the row)\nor `false` to collapse them.", - "key.doc.column" : 22, - "key.doc.comment" : "The completion handler to call after performing the swipe action.\n\nPass in `true` to expand the actions (typically only used when deleting the row)\nor `false` to collapse them.", - "key.doc.declaration" : "public typealias ListableUI.SwipeAction.OnDidPerformAction = (OnDidPerformActionAnimation) -> Void", - "key.doc.discussion" : [ - { - "Para" : "Pass in `true` to expand the actions (typically only used when deleting the row) or `false` to collapse them." - } - ], - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "OnDidPerformAction<\/Name>s:10ListableUI11SwipeActionV012OnDidPerformD0a<\/USR>public typealias ListableUI.SwipeAction.OnDidPerformAction = (OnDidPerformActionAnimation) -> Void<\/Declaration>The completion handler to call after performing the swipe action.<\/Para><\/Abstract>Pass in true<\/codeVoice> to expand the actions (typically only used when deleting the row) or false<\/codeVoice> to collapse them.<\/Para><\/Discussion><\/CommentParts><\/Other>", - "key.doc.line" : 58, - "key.doc.name" : "OnDidPerformAction", - "key.doc.type" : "Other", - "key.doclength" : 204, - "key.docoffset" : 1604, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> SwipeAction<\/ref.struct>.OnDidPerformAction<\/decl.name> = (OnDidPerformActionAnimation<\/ref.enum><\/decl.var.parameter.type><\/decl.var.parameter>) -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 68, - "key.line" : 58, - "key.modulename" : "ListableUI", - "key.name" : "OnDidPerformAction", - "key.namelength" : 18, - "key.nameoffset" : 1829, - "key.offset" : 1819, - "key.parsed_declaration" : "public typealias OnDidPerformAction = (OnDidPerformActionAnimation) -> Void", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 58, - "key.reusingastcontext" : false, - "key.typename" : "((SwipeAction.OnDidPerformActionAnimation) -> ()).Type", - "key.typeusr" : "$sy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOcmD", - "key.usr" : "s:10ListableUI11SwipeActionV012OnDidPerformD0a" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public typealias SwipeAction<\/Type>.OnTap = (@escaping OnDidPerformAction<\/Type>) -> Void<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1958 - } - ], - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The completion handler called when the action is tapped.", - "key.doc.column" : 22, - "key.doc.comment" : "The completion handler called when the action is tapped.", - "key.doc.declaration" : "public typealias ListableUI.SwipeAction.OnTap = (@escaping OnDidPerformAction) -> Void", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "OnTap<\/Name>s:10ListableUI11SwipeActionV5OnTapa<\/USR>public typealias ListableUI.SwipeAction.OnTap = (@escaping OnDidPerformAction) -> Void<\/Declaration>The completion handler called when the action is tapped.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 61, - "key.doc.name" : "OnTap", - "key.doc.type" : "Other", - "key.doclength" : 61, - "key.docoffset" : 1893, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> typealias<\/syntaxtype.keyword> SwipeAction<\/ref.struct>.OnTap<\/decl.name> = (@escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnDidPerformAction<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>) -> Void<\/ref.typealias><\/decl.function.returntype><\/decl.typealias>", - "key.kind" : "source.lang.swift.decl.typealias", - "key.length" : 56, - "key.line" : 61, - "key.modulename" : "ListableUI", - "key.name" : "OnTap", - "key.namelength" : 5, - "key.nameoffset" : 1975, - "key.offset" : 1965, - "key.parsed_declaration" : "public typealias OnTap = (@escaping OnDidPerformAction) -> Void", - "key.parsed_scope.end" : 61, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.typename" : "((@escaping (SwipeAction.OnDidPerformActionAnimation) -> ()) -> ()).Type", - "key.typeusr" : "$syy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOccmD", - "key.usr" : "s:10ListableUI11SwipeActionV5OnTapa" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var title: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2027 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> title<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 18, - "key.line" : 63, - "key.modulename" : "ListableUI", - "key.name" : "title", - "key.namelength" : 5, - "key.nameoffset" : 2038, - "key.offset" : 2034, - "key.parsed_declaration" : "public var title: String?", - "key.parsed_scope.end" : 63, - "key.parsed_scope.start" : 63, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI11SwipeActionV5titleSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var accessibilityLabel: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2062 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityLabel<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 65, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityLabel", - "key.namelength" : 18, - "key.nameoffset" : 2073, - "key.offset" : 2069, - "key.parsed_declaration" : "public var accessibilityLabel : String?", - "key.parsed_scope.end" : 65, - "key.parsed_scope.start" : 65, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI11SwipeActionV18accessibilityLabelSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var accessibilityValue: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2106 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityValue<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 32, - "key.line" : 66, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityValue", - "key.namelength" : 18, - "key.nameoffset" : 2117, - "key.offset" : 2113, - "key.parsed_declaration" : "public var accessibilityValue : String?", - "key.parsed_scope.end" : 66, - "key.parsed_scope.start" : 66, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI11SwipeActionV18accessibilityValueSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var accessibilityHint: String<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2150 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> accessibilityHint<\/decl.name>: String<\/ref.struct>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 31, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "accessibilityHint", - "key.namelength" : 17, - "key.nameoffset" : 2161, - "key.offset" : 2157, - "key.parsed_declaration" : "public var accessibilityHint : String?", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "String?", - "key.typeusr" : "$sSSSgD", - "key.usr" : "s:10ListableUI11SwipeActionV17accessibilityHintSSSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var backgroundColor: UIColor<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2198 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> backgroundColor<\/decl.name>: UIColor<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 29, - "key.line" : 69, - "key.modulename" : "ListableUI", - "key.name" : "backgroundColor", - "key.namelength" : 15, - "key.nameoffset" : 2209, - "key.offset" : 2205, - "key.parsed_declaration" : "public var backgroundColor: UIColor?", - "key.parsed_scope.end" : 69, - "key.parsed_scope.start" : 69, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor?", - "key.typeusr" : "$sSo7UIColorCSgD", - "key.usr" : "s:10ListableUI11SwipeActionV15backgroundColorSo7UIColorCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var tintColor: UIColor<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2323 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Sets the text and image (image must use the template rendering mode) color.", - "key.doc.column" : 16, - "key.doc.comment" : "Sets the text and image (image must use the template rendering mode) color.", - "key.doc.declaration" : "public var tintColor: UIColor", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "tintColor<\/Name>s:10ListableUI11SwipeActionV9tintColorSo7UIColorCvp<\/USR>public var tintColor: UIColor<\/Declaration>Sets the text and image (image must use the template rendering mode) color.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "tintColor", - "key.doc.type" : "Other", - "key.doclength" : 80, - "key.docoffset" : 2239, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> tintColor<\/decl.name>: UIColor<\/ref.class><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 22, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "tintColor", - "key.namelength" : 9, - "key.nameoffset" : 2334, - "key.offset" : 2330, - "key.parsed_declaration" : "public var tintColor: UIColor", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIColor", - "key.typeusr" : "$sSo7UIColorCD", - "key.usr" : "s:10ListableUI11SwipeActionV9tintColorSo7UIColorCvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var image: UIImage<\/Type>?<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2357 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> image<\/decl.name>: UIImage<\/ref.class>?<\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 72, - "key.modulename" : "ListableUI", - "key.name" : "image", - "key.namelength" : 5, - "key.nameoffset" : 2368, - "key.offset" : 2364, - "key.parsed_declaration" : "public var image: UIImage?", - "key.parsed_scope.end" : 72, - "key.parsed_scope.start" : 72, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "UIImage?", - "key.typeusr" : "$sSo7UIImageCSgD", - "key.usr" : "s:10ListableUI11SwipeActionV5imageSo7UIImageCSgvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var onTap: OnTap<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2389 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> onTap<\/decl.name>: OnTap<\/ref.typealias><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 16, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "onTap", - "key.namelength" : 5, - "key.nameoffset" : 2400, - "key.offset" : 2396, - "key.parsed_declaration" : "public var onTap: OnTap", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 74, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "(@escaping (SwipeAction.OnDidPerformActionAnimation) -> ()) -> ()", - "key.typeusr" : "$syyy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOccD", - "key.usr" : "s:10ListableUI11SwipeActionV5onTapyyyAC012OnDidPerformD9AnimationOccvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(title: String<\/Type>?, accessibilityLabel: String<\/Type>? = nil, accessibilityValue: String<\/Type>? = nil, accessibilityHint: String<\/Type>? = nil, backgroundColor: UIColor<\/Type>, tintColor: UIColor<\/Type> = .white, image: UIImage<\/Type>? = nil, onTap: @escaping OnTap<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2484 - } - ], - "key.bodylength" : 620, - "key.bodyoffset" : 2789, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new swipe action with the provided options.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates a new swipe action with the provided options.", - "key.doc.declaration" : "public init(title: String?, accessibilityLabel: String? = nil, accessibilityValue: String? = nil, accessibilityHint: String? = nil, backgroundColor: UIColor, tintColor: UIColor = .white, image: UIImage? = nil, onTap: @escaping OnTap)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "init(title:accessibilityLabel:accessibilityValue:accessibilityHint:backgroundColor:tintColor:image:onTap:)<\/Name>s:10ListableUI11SwipeActionV5title18accessibilityLabel0F5Value0F4Hint15backgroundColor04tintK05image5onTapACSSSg_A3LSo7UIColorCANSo7UIImageCSgyyAC012OnDidPerformD9AnimationOcctcfc<\/USR>public init(title: String?, accessibilityLabel: String? = nil, accessibilityValue: String? = nil, accessibilityHint: String? = nil, backgroundColor: UIColor, tintColor: UIColor = .white, image: UIImage? = nil, onTap: @escaping OnTap)<\/Declaration>Creates a new swipe action with the provided options.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 77, - "key.doc.name" : "init(title:accessibilityLabel:accessibilityValue:accessibilityHint:backgroundColor:tintColor:image:onTap:)", - "key.doc.type" : "Function", - "key.doclength" : 58, - "key.docoffset" : 2422, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(title<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type><\/decl.var.parameter>, accessibilityLabel<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, accessibilityValue<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, accessibilityHint<\/decl.var.parameter.argument_label>: String<\/ref.struct>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, backgroundColor<\/decl.var.parameter.argument_label>: UIColor<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>, tintColor<\/decl.var.parameter.argument_label>: UIColor<\/ref.class><\/decl.var.parameter.type> = .white<\/decl.var.parameter>, image<\/decl.var.parameter.argument_label>: UIImage<\/ref.class>?<\/decl.var.parameter.type> = nil<\/decl.var.parameter>, onTap<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> OnTap<\/ref.typealias><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 919, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "init(title:accessibilityLabel:accessibilityValue:accessibilityHint:backgroundColor:tintColor:image:onTap:)", - "key.namelength" : 296, - "key.nameoffset" : 2491, - "key.offset" : 2491, - "key.parsed_declaration" : "public init(\n title: String?,\n accessibilityLabel: String? = nil,\n accessibilityValue: String? = nil,\n accessibilityHint: String? = nil,\n backgroundColor: UIColor,\n tintColor: UIColor = .white,\n image: UIImage? = nil,\n onTap: @escaping OnTap\n)", - "key.parsed_scope.end" : 103, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(SwipeAction.Type) -> (String?, String?, String?, String?, UIColor, UIColor, UIImage?, @escaping (@escaping (SwipeAction.OnDidPerformActionAnimation) -> ()) -> ()) -> SwipeAction", - "key.typeusr" : "$s5title18accessibilityLabel0B5Value0B4Hint15backgroundColor04tintG05image5onTap10ListableUI11SwipeActionVSSSg_A3LSo7UIColorCANSo7UIImageCSgyyAK012OnDidPerformO9AnimationOcctcD", - "key.usr" : "s:10ListableUI11SwipeActionV5title18accessibilityLabel0F5Value0F4Hint15backgroundColor04tintK05image5onTapACSSSg_A3LSo7UIColorCANSo7UIImageCSgyyAC012OnDidPerformD9AnimationOcctcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum SwipeAction<\/Type>.OnDidPerformActionAnimation : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3483 - } - ], - "key.bodylength" : 353, - "key.bodyoffset" : 3536, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The animation to perform when the action is completed.", - "key.doc.column" : 17, - "key.doc.comment" : "The animation to perform when the action is completed.", - "key.doc.declaration" : "public enum ListableUI.SwipeAction.OnDidPerformActionAnimation : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "OnDidPerformActionAnimation<\/Name>s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO<\/USR>public enum ListableUI.SwipeAction.OnDidPerformActionAnimation : Equatable<\/Declaration>The animation to perform when the action is completed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 106, - "key.doc.name" : "OnDidPerformActionAnimation", - "key.doc.type" : "Other", - "key.doclength" : 59, - "key.docoffset" : 3420, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3525 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> SwipeAction<\/ref.struct>.OnDidPerformActionAnimation<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 400, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "OnDidPerformActionAnimation", - "key.namelength" : 27, - "key.nameoffset" : 3495, - "key.offset" : 3490, - "key.parsed_declaration" : "public enum OnDidPerformActionAnimation : Equatable", - "key.parsed_scope.end" : 115, - "key.parsed_scope.start" : 106, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 3600, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case closeActions<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The swipe actions will be closed.", - "key.doc.column" : 14, - "key.doc.comment" : "The swipe actions will be closed.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "closeActions<\/Name>s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO12closeActionsyA2EmF<\/USR><\/Declaration>The swipe actions will be closed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 109, - "key.doc.name" : "closeActions", - "key.doc.type" : "Other", - "key.doclength" : 38, - "key.docoffset" : 3554, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> closeActions<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 109, - "key.modulename" : "ListableUI", - "key.name" : "closeActions", - "key.namelength" : 12, - "key.nameoffset" : 3605, - "key.offset" : 3605, - "key.parsed_declaration" : "case closeActions", - "key.parsed_scope.end" : 109, - "key.parsed_scope.start" : 109, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeAction.OnDidPerformActionAnimation.Type) -> SwipeAction.OnDidPerformActionAnimation", - "key.typeusr" : "$sy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOAEmcD", - "key.usr" : "s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO12closeActionsyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 18, - "key.offset" : 3866, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case expandActions<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The swipe actions will be expanded, revealing the last swipe action.\nYou usually use this option when performing the action will remove the\nrow from the list, eg during a deletion, archive, etc.", - "key.doc.column" : 14, - "key.doc.comment" : "The swipe actions will be expanded, revealing the last swipe action.\nYou usually use this option when performing the action will remove the\nrow from the list, eg during a deletion, archive, etc.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.doc.full_as_xml" : "expandActions<\/Name>s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO13expandActionsyA2EmF<\/USR><\/Declaration>The swipe actions will be expanded, revealing the last swipe action. You usually use this option when performing the action will remove the row from the list, eg during a deletion, archive, etc.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 114, - "key.doc.name" : "expandActions", - "key.doc.type" : "Other", - "key.doclength" : 223, - "key.docoffset" : 3635, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/SwipeActionsConfiguration.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> expandActions<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 13, - "key.line" : 114, - "key.modulename" : "ListableUI", - "key.name" : "expandActions", - "key.namelength" : 13, - "key.nameoffset" : 3871, - "key.offset" : 3871, - "key.parsed_declaration" : "case expandActions", - "key.parsed_scope.end" : 114, - "key.parsed_scope.start" : 114, - "key.reusingastcontext" : false, - "key.typename" : "(SwipeAction.OnDidPerformActionAnimation.Type) -> SwipeAction.OnDidPerformActionAnimation", - "key.typeusr" : "$sy10ListableUI11SwipeActionV012OnDidPerformD9AnimationOAEmcD", - "key.usr" : "s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO13expandActionsyA2EmF" - } - ] - } - ], - "key.typename" : "SwipeAction.OnDidPerformActionAnimation.Type", - "key.typeusr" : "$s10ListableUI11SwipeActionV012OnDidPerformD9AnimationOmD", - "key.usr" : "s:10ListableUI11SwipeActionV012OnDidPerformD9AnimationO" - } - ], - "key.typename" : "SwipeAction.Type", - "key.typeusr" : "$s10ListableUI11SwipeActionVmD", - "key.usr" : "s:10ListableUI11SwipeActionV" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/UIScrollView+Extensions.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 375, - "key.offset" : 0, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> @_nonSendable(_assumed) class UIScrollView : UIView<\/Type>, NSCoding<\/Type>, UIFocusItemScrollableContainer<\/Type><\/Declaration>", - "key.bodylength" : 236, - "key.bodyoffset" : 137, - "key.column" : 12, - "key.decl_lang" : "source.lang.objc", - "key.filepath" : "\/Applications\/Xcode262.app\/Contents\/Developer\/Platforms\/iPhoneSimulator.platform\/Developer\/SDKs\/iPhoneSimulator26.2.sdk\/System\/Library\/Frameworks\/UIKit.framework\/Headers\/UIScrollView.h", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_nonSendable(_assumed)<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> class<\/syntaxtype.keyword> UIScrollView<\/decl.name> : UIView<\/ref.class>, NSCoding<\/ref.protocol>, UIFocusItemScrollableContainer<\/ref.protocol><\/decl.class>", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 261, - "key.line" : 87, - "key.modulename" : "UIKit.UIScrollView", - "key.name" : "UIScrollView", - "key.namelength" : 12, - "key.nameoffset" : 123, - "key.offset" : 113, - "key.parsed_declaration" : "extension UIScrollView", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 10, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "@MainActor<\/Type> var visibleContentFrame: CGRect<\/Type> { get }<\/Declaration>", - "key.bodylength" : 69, - "key.bodyoffset" : 302, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The frame of the collection view inset by the adjusted content inset,\ni.e., the visible frame of the content.", - "key.doc.column" : 9, - "key.doc.comment" : "The frame of the collection view inset by the adjusted content inset,\ni.e., the visible frame of the content.", - "key.doc.declaration" : "@MainActor var visibleContentFrame: CGRect { get }", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/UIScrollView+Extensions.swift", - "key.doc.full_as_xml" : "visibleContentFrame<\/Name>s:So12UIScrollViewC10ListableUIE19visibleContentFrameSo6CGRectVvp<\/USR>@MainActor var visibleContentFrame: CGRect { get }<\/Declaration>The frame of the collection view inset by the adjusted content inset, i.e., the visible frame of the content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 14, - "key.doc.name" : "visibleContentFrame", - "key.doc.type" : "Other", - "key.doclength" : 122, - "key.docoffset" : 143, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/UIScrollView+Extensions.swift", - "key.fully_annotated_decl" : "@MainActor<\/ref.class><\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> var<\/syntaxtype.keyword> visibleContentFrame<\/decl.name>: CGRect<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.is_dynamic" : true, - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 103, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "visibleContentFrame", - "key.namelength" : 19, - "key.nameoffset" : 273, - "key.offset" : 269, - "key.parsed_declaration" : "var visibleContentFrame: CGRect", - "key.parsed_scope.end" : 16, - "key.parsed_scope.start" : 14, - "key.receivers" : [ - { - "key.usr" : "c:objc(cs)UIScrollView" - } - ], - "key.reusingastcontext" : false, - "key.typename" : "CGRect", - "key.typeusr" : "$sSo6CGRectVD", - "key.usr" : "s:So12UIScrollViewC10ListableUIE19visibleContentFrameSo6CGRectVvp" - } - ], - "key.typename" : "UIScrollView.Type", - "key.typeusr" : "$sSo12UIScrollViewCmD", - "key.usr" : "c:objc(cs)UIScrollView" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 3437, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum ViewAnimation<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 270 - } - ], - "key.bodylength" : 2172, - "key.bodyoffset" : 297, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies the kind of animation to use when updating various parts of a list,\nsuch as updating an item or scrolling to a given position.", - "key.doc.column" : 13, - "key.doc.comment" : "Specifies the kind of animation to use when updating various parts of a list,\nsuch as updating an item or scrolling to a given position.", - "key.doc.declaration" : "public enum ViewAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "ViewAnimation<\/Name>s:10ListableUI13ViewAnimationO<\/USR>public enum ViewAnimation<\/Declaration>Specifies the kind of animation to use when updating various parts of a list, such as updating an item or scrolling to a given position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 14, - "key.doc.name" : "ViewAnimation", - "key.doc.type" : "Other", - "key.doclength" : 145, - "key.docoffset" : 125, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ViewAnimation<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 2193, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "ViewAnimation", - "key.namelength" : 13, - "key.nameoffset" : 282, - "key.offset" : 277, - "key.parsed_declaration" : "public enum ViewAnimation", - "key.parsed_scope.end" : 83, - "key.parsed_scope.start" : 14, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 9, - "key.offset" : 342, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case none<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "No animation is performed.", - "key.doc.column" : 10, - "key.doc.comment" : "No animation is performed.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "none<\/Name>s:10ListableUI13ViewAnimationO4noneyA2CmF<\/USR><\/Declaration>No animation is performed.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 17, - "key.doc.name" : "none", - "key.doc.type" : "Other", - "key.doclength" : 31, - "key.docoffset" : 307, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> none<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 4, - "key.line" : 17, - "key.modulename" : "ListableUI", - "key.name" : "none", - "key.namelength" : 4, - "key.nameoffset" : 347, - "key.offset" : 347, - "key.parsed_declaration" : "case none", - "key.parsed_scope.end" : 17, - "key.parsed_scope.start" : 17, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.Type) -> ViewAnimation", - "key.typeusr" : "$sy10ListableUI13ViewAnimationOACmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO4noneyA2CmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 14, - "key.offset" : 440, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case inherited<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The current animation is inherited from the superview's animation context.", - "key.doc.column" : 10, - "key.doc.comment" : "The current animation is inherited from the superview's animation context.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "inherited<\/Name>s:10ListableUI13ViewAnimationO9inheritedyA2CmF<\/USR><\/Declaration>The current animation is inherited from the superview’s animation context.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 20, - "key.doc.name" : "inherited", - "key.doc.type" : "Other", - "key.doclength" : 79, - "key.docoffset" : 357, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> inherited<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 9, - "key.line" : 20, - "key.modulename" : "ListableUI", - "key.name" : "inherited", - "key.namelength" : 9, - "key.nameoffset" : 445, - "key.offset" : 445, - "key.parsed_declaration" : "case inherited", - "key.parsed_scope.end" : 20, - "key.parsed_scope.start" : 20, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.Type) -> ViewAnimation", - "key.typeusr" : "$sy10ListableUI13ViewAnimationOACmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO9inheritedyA2CmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var `default`: `Self`<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 541 - } - ], - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A default animation is performed. This is the same as `.animated()`.", - "key.doc.column" : 23, - "key.doc.comment" : "A default animation is performed. This is the same as `.animated()`.", - "key.doc.declaration" : "public static var `default`: `Self`", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "default<\/Name>s:10ListableUI13ViewAnimationO7defaultACvpZ<\/USR>public static var `default`: `Self`<\/Declaration>A default animation is performed. This is the same as .animated()<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 23, - "key.doc.name" : "default", - "key.doc.type" : "Other", - "key.doclength" : 73, - "key.docoffset" : 464, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: `Self`<\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 41, - "key.line" : 23, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 559, - "key.offset" : 548, - "key.parsed_declaration" : "public static var `default` : Self = .animated()", - "key.parsed_scope.end" : 23, - "key.parsed_scope.start" : 23, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ViewAnimation", - "key.typeusr" : "$s10ListableUI13ViewAnimationOD", - "key.usr" : "s:10ListableUI13ViewAnimationO7defaultACvpZ" - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 78, - "key.offset" : 742, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case animated(_: TimeInterval<\/Type> = 0.25, options: Set<\/Type><AnimationOptions<\/Type>> = .default)<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A `UIView.animate(...)` animation is performed.\nThe default parameters are 0.25 seconds and `.curveEaseInOut` animation curve.", - "key.doc.column" : 10, - "key.doc.comment" : "A `UIView.animate(...)` animation is performed.\nThe default parameters are 0.25 seconds and `.curveEaseInOut` animation curve.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "animated(_:options:)<\/Name>s:10ListableUI13ViewAnimationO8animatedyACSd_ShyAC0D7OptionsOGtcACmF<\/USR><\/Declaration>A UIView.animate(...)<\/codeVoice> animation is performed. The default parameters are 0.25 seconds and .curveEaseInOut<\/codeVoice> animation curve.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 27, - "key.doc.name" : "animated(_:options:)", - "key.doc.type" : "Other", - "key.doclength" : 139, - "key.docoffset" : 599, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> animated<\/decl.name>(_<\/decl.var.parameter.argument_label>: TimeInterval<\/ref.typealias><\/decl.var.parameter.type> = 0.25<\/decl.var.parameter>, options<\/decl.var.parameter.argument_label>: Set<\/ref.struct><AnimationOptions<\/ref.enum>><\/decl.var.parameter.type> = .default<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 73, - "key.line" : 27, - "key.modulename" : "ListableUI", - "key.name" : "animated(_:options:)", - "key.namelength" : 73, - "key.nameoffset" : 747, - "key.offset" : 747, - "key.parsed_declaration" : "case animated(TimeInterval = 0.25, options : Set = .default)", - "key.parsed_scope.end" : 27, - "key.parsed_scope.start" : 27, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewAnimation.Type) -> (Double, Set) -> ViewAnimation", - "key.typeusr" : "$sy10ListableUI13ViewAnimationOSd_ShyAC0D7OptionsOGtcACmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO8animatedyACSd_ShyAC0D7OptionsOGtcACmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 47, - "key.offset" : 936, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case spring(_: UISpringTimingParameters<\/Type> = .init())<\/Declaration>", - "key.column" : 10, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "A spring based animation is performed.\nThe default value is `UISpringTimingParameters()`.", - "key.doc.column" : 10, - "key.doc.comment" : "A spring based animation is performed.\nThe default value is `UISpringTimingParameters()`.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "spring(_:)<\/Name>s:10ListableUI13ViewAnimationO6springyACSo24UISpringTimingParametersCcACmF<\/USR><\/Declaration>A spring based animation is performed. The default value is UISpringTimingParameters()<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 31, - "key.doc.name" : "spring(_:)", - "key.doc.type" : "Other", - "key.doclength" : 102, - "key.docoffset" : 830, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> spring<\/decl.name>(_<\/decl.var.parameter.argument_label>: UISpringTimingParameters<\/ref.class><\/decl.var.parameter.type> = .init()<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 42, - "key.line" : 31, - "key.modulename" : "ListableUI", - "key.name" : "spring(_:)", - "key.namelength" : 42, - "key.nameoffset" : 941, - "key.offset" : 941, - "key.parsed_declaration" : "case spring(UISpringTimingParameters = .init())", - "key.parsed_scope.end" : 31, - "key.parsed_scope.start" : 31, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewAnimation.Type) -> (UISpringTimingParameters) -> ViewAnimation", - "key.typeusr" : "$sy10ListableUI13ViewAnimationOSo24UISpringTimingParametersCcACmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO6springyACSo24UISpringTimingParametersCcACmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func and(with animated: Bool<\/Type>) -> ViewAnimation<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1099 - } - ], - "key.bodylength" : 103, - "key.bodyoffset" : 1155, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Ands the animation with the provided bool, returning the animation if true, and `.none` if false.", - "key.doc.column" : 17, - "key.doc.comment" : "Ands the animation with the provided bool, returning the animation if true, and `.none` if false.", - "key.doc.declaration" : "public func and(with animated: Bool) -> ViewAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "and(with:)<\/Name>s:10ListableUI13ViewAnimationO3and4withACSb_tF<\/USR>public func and(with animated: Bool) -> ViewAnimation<\/Declaration>Ands the animation with the provided bool, returning the animation if true, and .none<\/codeVoice> if false.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 34, - "key.doc.name" : "and(with:)", - "key.doc.type" : "Function", - "key.doclength" : 102, - "key.docoffset" : 993, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> and<\/decl.name>(with<\/decl.var.parameter.argument_label> animated<\/decl.var.parameter.name>: Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ViewAnimation<\/ref.enum><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 153, - "key.line" : 34, - "key.modulename" : "ListableUI", - "key.name" : "and(with:)", - "key.namelength" : 25, - "key.nameoffset" : 1111, - "key.offset" : 1106, - "key.parsed_declaration" : "public func and(with animated : Bool) -> ViewAnimation", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 34, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewAnimation) -> (Bool) -> ViewAnimation", - "key.typeusr" : "$s4with10ListableUI13ViewAnimationOSb_tcD", - "key.usr" : "s:10ListableUI13ViewAnimationO3and4withACSb_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func perform(animations: @escaping () -> (), completion: @escaping (Bool<\/Type>) -> () = { _ in })<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1335 - } - ], - "key.bodylength" : 1008, - "key.bodyoffset" : 1459, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Performs the provided animations for the `ViewAnimation`.", - "key.doc.column" : 17, - "key.doc.comment" : "Performs the provided animations for the `ViewAnimation`.", - "key.doc.declaration" : "public func perform(animations: @escaping () -> (), completion: @escaping (Bool) -> () = { _ in })", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "perform(animations:completion:)<\/Name>s:10ListableUI13ViewAnimationO7perform10animations10completionyyyc_ySbctF<\/USR>public func perform(animations: @escaping () -> (), completion: @escaping (Bool) -> () = { _ in })<\/Declaration>Performs the provided animations for the ViewAnimation<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 43, - "key.doc.name" : "perform(animations:completion:)", - "key.doc.type" : "Function", - "key.doclength" : 62, - "key.docoffset" : 1269, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> perform<\/decl.name>(animations<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> () -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type><\/decl.var.parameter>, completion<\/decl.var.parameter.argument_label>: @escaping<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> (Bool<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> ()<\/tuple><\/decl.function.returntype><\/decl.var.parameter.type> = { _ in }<\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 1126, - "key.line" : 43, - "key.modulename" : "ListableUI", - "key.name" : "perform(animations:completion:)", - "key.namelength" : 110, - "key.nameoffset" : 1347, - "key.offset" : 1342, - "key.parsed_declaration" : "public func perform(\n animations : @escaping () -> (),\n completion : @escaping (Bool) -> () = { _ in }\n)", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 43, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewAnimation) -> (@escaping () -> (), @escaping (Bool) -> ()) -> ()", - "key.typeusr" : "$s10animations10completionyyyc_ySbctcD", - "key.usr" : "s:10ListableUI13ViewAnimationO7perform10animations10completionyyyc_ySbctF" - } - ], - "key.typename" : "ViewAnimation.Type", - "key.typeusr" : "$s10ListableUI13ViewAnimationOmD", - "key.usr" : "s:10ListableUI13ViewAnimationO" - }, - { - "key.annotated_decl" : "public enum ViewAnimation<\/Declaration>", - "key.bodylength" : 228, - "key.bodyoffset" : 2498, - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies the kind of animation to use when updating various parts of a list,\nsuch as updating an item or scrolling to a given position.", - "key.doc.column" : 13, - "key.doc.declaration" : "public enum ViewAnimation", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "ViewAnimation<\/Name>s:10ListableUI13ViewAnimationO<\/USR>public enum ViewAnimation<\/Declaration>Specifies the kind of animation to use when updating various parts of a list, such as updating an item or scrolling to a given position.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 14, - "key.doc.name" : "ViewAnimation", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> ViewAnimation<\/decl.name><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 254, - "key.line" : 14, - "key.modulename" : "ListableUI", - "key.name" : "ViewAnimation", - "key.namelength" : 13, - "key.nameoffset" : 2483, - "key.offset" : 2473, - "key.parsed_declaration" : "extension ViewAnimation", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum AnimationOptions : Hashable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2574 - } - ], - "key.bodylength" : 109, - "key.bodyoffset" : 2615, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The animations options available for the `ViewAnimation`.", - "key.doc.column" : 17, - "key.doc.comment" : "The animations options available for the `ViewAnimation`.", - "key.doc.declaration" : "public enum AnimationOptions : Hashable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.doc.full_as_xml" : "AnimationOptions<\/Name>s:10ListableUI13ViewAnimationO0D7OptionsO<\/USR>public enum AnimationOptions : Hashable<\/Declaration>The animations options available for the ViewAnimation<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 89, - "key.doc.name" : "AnimationOptions", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 2508, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 8, - "key.offset" : 2605 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> AnimationOptions<\/decl.name> : Hashable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Hashable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 144, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "AnimationOptions", - "key.namelength" : 16, - "key.nameoffset" : 2586, - "key.offset" : 2581, - "key.parsed_declaration" : "public enum AnimationOptions : Hashable", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 19, - "key.offset" : 2624, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case curveEaseInOut<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> curveEaseInOut<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 14, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "curveEaseInOut", - "key.namelength" : 14, - "key.nameoffset" : 2629, - "key.offset" : 2629, - "key.parsed_declaration" : "case curveEaseInOut", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.AnimationOptions.Type) -> ViewAnimation.AnimationOptions", - "key.typeusr" : "$sy10ListableUI13ViewAnimationO0D7OptionsOAEmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO0D7OptionsO14curveEaseInOutyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 2652, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case curveEaseIn<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> curveEaseIn<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "curveEaseIn", - "key.namelength" : 11, - "key.nameoffset" : 2657, - "key.offset" : 2657, - "key.parsed_declaration" : "case curveEaseIn", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 91, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.AnimationOptions.Type) -> ViewAnimation.AnimationOptions", - "key.typeusr" : "$sy10ListableUI13ViewAnimationO0D7OptionsOAEmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO0D7OptionsO11curveEaseInyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 17, - "key.offset" : 2677, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case curveEaseOut<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> curveEaseOut<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 12, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "curveEaseOut", - "key.namelength" : 12, - "key.nameoffset" : 2682, - "key.offset" : 2682, - "key.parsed_declaration" : "case curveEaseOut", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.AnimationOptions.Type) -> ViewAnimation.AnimationOptions", - "key.typeusr" : "$sy10ListableUI13ViewAnimationO0D7OptionsOAEmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO0D7OptionsO12curveEaseOutyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 16, - "key.offset" : 2703, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case curveLinear<\/Declaration>", - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> curveLinear<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 11, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "curveLinear", - "key.namelength" : 11, - "key.nameoffset" : 2708, - "key.offset" : 2708, - "key.parsed_declaration" : "case curveLinear", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "(ViewAnimation.AnimationOptions.Type) -> ViewAnimation.AnimationOptions", - "key.typeusr" : "$sy10ListableUI13ViewAnimationO0D7OptionsOAEmcD", - "key.usr" : "s:10ListableUI13ViewAnimationO0D7OptionsO11curveLinearyA2EmF" - } - ] - } - ], - "key.typename" : "ViewAnimation.AnimationOptions.Type", - "key.typeusr" : "$s10ListableUI13ViewAnimationO0D7OptionsOmD", - "key.usr" : "s:10ListableUI13ViewAnimationO0D7OptionsO" - } - ], - "key.typename" : "ViewAnimation.Type", - "key.typeusr" : "$s10ListableUI13ViewAnimationOmD", - "key.usr" : "s:10ListableUI13ViewAnimationO" - }, - { - "key.annotated_decl" : "@frozen @_eagerMove struct Set<Element> where Element<\/Type> : Hashable<\/Type><\/Declaration>", - "key.bodylength" : 642, - "key.bodyoffset" : 2793, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "An unordered collection of unique elements.\n\nYou use a set instead of an array when you need to test efficiently for\nmembership and you aren't concerned with the order of the elements in the\ncollection, or when you need to ensure that each element appears only once\nin a collection.\n\nYou can create a set with any element type that conforms to the `Hashable`\nprotocol. By default, most types in the standard library are hashable,\nincluding strings, numeric and Boolean types, enumeration cases without\nassociated values, and even sets themselves.\n\nSwift makes it as easy to create a new set as to create a new array. Simply\nassign an array literal to a variable or constant with the `Set` type\nspecified.\n\n let ingredients: Set = [\"cocoa beans\", \"sugar\", \"cocoa butter\", \"salt\"]\n if ingredients.contains(\"sugar\") {\n print(\"No thanks, too sweet.\")\n }\n \/\/ Prints \"No thanks, too sweet.\"\n\nSet Operations\n==============\n\nSets provide a suite of mathematical set operations. For example, you can\nefficiently test a set for membership of an element or check its\nintersection with another set:\n\n- Use the `contains(_:)` method to test whether a set contains a specific\n element.\n- Use the \"equal to\" operator (`==`) to test whether two sets contain the\n same elements.\n- Use the `isSubset(of:)` method to test whether a set contains all the\n elements of another set or sequence.\n- Use the `isSuperset(of:)` method to test whether all elements of a set\n are contained in another set or sequence.\n- Use the `isStrictSubset(of:)` and `isStrictSuperset(of:)` methods to test\n whether a set is a subset or superset of, but not equal to, another set.\n- Use the `isDisjoint(with:)` method to test whether a set has any elements\n in common with another set.\n\nYou can also combine, exclude, or subtract the elements of two sets:\n\n- Use the `union(_:)` method to create a new set with the elements of a set\n and another set or sequence.\n- Use the `intersection(_:)` method to create a new set with only the\n elements common to a set and another set or sequence.\n- Use the `symmetricDifference(_:)` method to create a new set with the\n elements that are in either a set or another set or sequence, but not in\n both.\n- Use the `subtracting(_:)` method to create a new set with the elements of\n a set that are not also in another set or sequence.\n\nYou can modify a set in place by using these methods' mutating\ncounterparts: `formUnion(_:)`, `formIntersection(_:)`,\n`formSymmetricDifference(_:)`, and `subtract(_:)`.\n\nSet operations are not limited to use with other sets. Instead, you can\nperform set operations with another set, an array, or any other sequence\ntype.\n\n var primes: Set = [2, 3, 5, 7]\n\n \/\/ Tests whether primes is a subset of a Range\n print(primes.isSubset(of: 0..<10))\n \/\/ Prints \"true\"\n\n \/\/ Performs an intersection with an Array\n let favoriteNumbers = [5, 7, 15, 21]\n print(primes.intersection(favoriteNumbers))\n \/\/ Prints \"[5, 7]\"\n\nSequence and Collection Operations\n==================================\n\nIn addition to the `Set` type's set operations, you can use any nonmutating\nsequence or collection methods with a set.\n\n if primes.isEmpty {\n print(\"No primes!\")\n } else {\n print(\"We have \\(primes.count) primes.\")\n }\n \/\/ Prints \"We have 4 primes.\"\n\n let primesSum = primes.reduce(0, +)\n \/\/ 'primesSum' == 17\n\n let primeStrings = primes.sorted().map(String.init)\n \/\/ 'primeStrings' == [\"2\", \"3\", \"5\", \"7\"]\n\nYou can iterate through a set's unordered elements with a `for`-`in` loop.\n\n for number in primes {\n print(number)\n }\n \/\/ Prints \"5\"\n \/\/ Prints \"7\"\n \/\/ Prints \"2\"\n \/\/ Prints \"3\"\n\nMany sequence and collection operations return an array or a type-erasing\ncollection wrapper instead of a set. To restore efficient set operations,\ncreate a new set from the result.\n\n let primesStrings = primes.map(String.init)\n \/\/ 'primesStrings' is of type Array\n let primesStringsSet = Set(primes.map(String.init))\n \/\/ 'primesStringsSet' is of type Set\n\nBridging Between Set and NSSet\n==============================\n\nYou can bridge between `Set` and `NSSet` using the `as` operator. For\nbridging to be possible, the `Element` type of a set must be a class, an\n`@objc` protocol (a protocol imported from Objective-C or marked with the\n`@objc` attribute), or a type that bridges to a Foundation type.\n\nBridging from `Set` to `NSSet` always takes O(1) time and space. When the\nset's `Element` type is neither a class nor an `@objc` protocol, any\nrequired bridging of elements occurs at the first access of each element,\nso the first operation that uses the contents of the set (for example, a\nmembership test) can take O(*n*).\n\nBridging from `NSSet` to `Set` first calls the `copy(with:)` method\n(`- copyWithZone:` in Objective-C) on the set to get an immutable copy and\nthen performs additional Swift bookkeeping work that takes O(1) time. For\ninstances of `NSSet` that are already immutable, `copy(with:)` returns the\nsame set in constant time; otherwise, the copying performance is\nunspecified. The instances of `NSSet` and `Set` share buffer using the\nsame copy-on-write optimization that is used when two instances of `Set`\nshare buffer.", - "key.doc.declaration" : "@frozen struct Set where Element : Hashable", - "key.doc.discussion" : [ - { - "Para" : "You use a set instead of an array when you need to test efficiently for membership and you aren’t concerned with the order of the elements in the collection, or when you need to ensure that each element appears only once in a collection." - }, - { - "Para" : "You can create a set with any element type that conforms to the `Hashable` protocol. By default, most types in the standard library are hashable, including strings, numeric and Boolean types, enumeration cases without associated values, and even sets themselves." - }, - { - "Para" : "Swift makes it as easy to create a new set as to create a new array. Simply assign an array literal to a variable or constant with the `Set` type specified." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Sets provide a suite of mathematical set operations. For example, you can efficiently test a set for membership of an element or check its intersection with another set:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "You can also combine, exclude, or subtract the elements of two sets:" - }, - { - "List-Bullet" : "" - }, - { - "Para" : "You can modify a set in place by using these methods’ mutating counterparts: `formUnion(_:)`, `formIntersection(_:)`, `formSymmetricDifference(_:)`, and `subtract(_:)`." - }, - { - "Para" : "Set operations are not limited to use with other sets. Instead, you can perform set operations with another set, an array, or any other sequence type." - }, - { - "CodeListing" : "" - }, - { - "Para" : "In addition to the `Set` type’s set operations, you can use any nonmutating sequence or collection methods with a set." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can iterate through a set’s unordered elements with a `for`-`in` loop." - }, - { - "CodeListing" : "" - }, - { - "Para" : "Many sequence and collection operations return an array or a type-erasing collection wrapper instead of a set. To restore efficient set operations, create a new set from the result." - }, - { - "CodeListing" : "" - }, - { - "Para" : "You can bridge between `Set` and `NSSet` using the `as` operator. For bridging to be possible, the `Element` type of a set must be a class, an `@objc` protocol (a protocol imported from Objective-C or marked with the `@objc` attribute), or a type that bridges to a Foundation type." - }, - { - "Para" : "Bridging from `Set` to `NSSet` always takes O(1) time and space. When the set’s `Element` type is neither a class nor an `@objc` protocol, any required bridging of elements occurs at the first access of each element, so the first operation that uses the contents of the set (for example, a membership test) can take O()." - }, - { - "Para" : "Bridging from `NSSet` to `Set` first calls the `copy(with:)` method (`- copyWithZone:` in Objective-C) on the set to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of `NSSet` that are already immutable, `copy(with:)` returns the same set in constant time; otherwise, the copying performance is unspecified. The instances of `NSSet` and `Set` share buffer using the same copy-on-write optimization that is used when two instances of `Set` share buffer." - } - ], - "key.doc.full_as_xml" : "Set<\/Name>s:Sh<\/USR>@frozen struct Set<Element> where Element : Hashable<\/Declaration>An unordered collection of unique elements.<\/Para><\/Abstract>You use a set instead of an array when you need to test efficiently for membership and you aren’t concerned with the order of the elements in the collection, or when you need to ensure that each element appears only once in a collection.<\/Para>You can create a set with any element type that conforms to the Hashable<\/codeVoice> protocol. By default, most types in the standard library are hashable, including strings, numeric and Boolean types, enumeration cases without associated values, and even sets themselves.<\/Para>Swift makes it as easy to create a new set as to create a new array. Simply assign an array literal to a variable or constant with the Set<\/codeVoice> type specified.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Set Operations]]><\/rawHTML>Sets provide a suite of mathematical set operations. For example, you can efficiently test a set for membership of an element or check its intersection with another set:<\/Para>Use the contains(_:)<\/codeVoice> method to test whether a set contains a specific element.<\/Para><\/Item>Use the “equal to” operator (==<\/codeVoice>) to test whether two sets contain the same elements.<\/Para><\/Item>Use the isSubset(of:)<\/codeVoice> method to test whether a set contains all the elements of another set or sequence.<\/Para><\/Item>Use the isSuperset(of:)<\/codeVoice> method to test whether all elements of a set are contained in another set or sequence.<\/Para><\/Item>Use the isStrictSubset(of:)<\/codeVoice> and isStrictSuperset(of:)<\/codeVoice> methods to test whether a set is a subset or superset of, but not equal to, another set.<\/Para><\/Item>Use the isDisjoint(with:)<\/codeVoice> method to test whether a set has any elements in common with another set.<\/Para><\/Item><\/List-Bullet>You can also combine, exclude, or subtract the elements of two sets:<\/Para>Use the union(_:)<\/codeVoice> method to create a new set with the elements of a set and another set or sequence.<\/Para><\/Item>Use the intersection(_:)<\/codeVoice> method to create a new set with only the elements common to a set and another set or sequence.<\/Para><\/Item>Use the symmetricDifference(_:)<\/codeVoice> method to create a new set with the elements that are in either a set or another set or sequence, but not in both.<\/Para><\/Item>Use the subtracting(_:)<\/codeVoice> method to create a new set with the elements of a set that are not also in another set or sequence.<\/Para><\/Item><\/List-Bullet>You can modify a set in place by using these methods’ mutating counterparts: formUnion(_:)<\/codeVoice>, formIntersection(_:)<\/codeVoice>, formSymmetricDifference(_:)<\/codeVoice>, and subtract(_:)<\/codeVoice>.<\/Para>Set operations are not limited to use with other sets. Instead, you can perform set operations with another set, an array, or any other sequence type.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered>]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered>]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Sequence and Collection Operations]]><\/rawHTML>In addition to the Set<\/codeVoice> type’s set operations, you can use any nonmutating sequence or collection methods with a set.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>You can iterate through a set’s unordered elements with a for<\/codeVoice>-in<\/codeVoice> loop.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>Many sequence and collection operations return an array or a type-erasing collection wrapper instead of a set. To restore efficient set operations, create a new set from the result.<\/Para><\/zCodeLineNumbered>]]><\/zCodeLineNumbered><\/zCodeLineNumbered>]]><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>]]><\/rawHTML>Bridging Between Set and NSSet]]><\/rawHTML>You can bridge between Set<\/codeVoice> and NSSet<\/codeVoice> using the as<\/codeVoice> operator. For bridging to be possible, the Element<\/codeVoice> type of a set must be a class, an @objc<\/codeVoice> protocol (a protocol imported from Objective-C or marked with the @objc<\/codeVoice> attribute), or a type that bridges to a Foundation type.<\/Para>Bridging from Set<\/codeVoice> to NSSet<\/codeVoice> always takes O(1) time and space. When the set’s Element<\/codeVoice> type is neither a class nor an @objc<\/codeVoice> protocol, any required bridging of elements occurs at the first access of each element, so the first operation that uses the contents of the set (for example, a membership test) can take O(n<\/emphasis>).<\/Para>Bridging from NSSet<\/codeVoice> to Set<\/codeVoice> first calls the copy(with:)<\/codeVoice> method (- copyWithZone:<\/codeVoice> in Objective-C) on the set to get an immutable copy and then performs additional Swift bookkeeping work that takes O(1) time. For instances of NSSet<\/codeVoice> that are already immutable, copy(with:)<\/codeVoice> returns the same set in constant time; otherwise, the copying performance is unspecified. The instances of NSSet<\/codeVoice> and Set<\/codeVoice> share buffer using the same copy-on-write optimization that is used when two instances of Set<\/codeVoice> share buffer.<\/Para><\/Discussion><\/CommentParts><\/Class>", - "key.doc.name" : "Set", - "key.doc.type" : "Class", - "key.fully_annotated_decl" : "@frozen<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> @_eagerMove<\/syntaxtype.attribute.name><\/syntaxtype.attribute.builtin> struct<\/syntaxtype.keyword> Set<\/decl.name><Element<\/decl.generic_type_param.name><\/decl.generic_type_param>> where<\/syntaxtype.keyword> Element<\/ref.generic_type_param> : Hashable<\/ref.protocol><\/decl.generic_type_requirement><\/decl.struct>", - "key.groupname" : "Collection\/HashedCollections", - "key.is_system" : true, - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 706, - "key.modulename" : "Swift", - "key.name" : "Set", - "key.namelength" : 3, - "key.nameoffset" : 2740, - "key.offset" : 2730, - "key.parsed_declaration" : "extension Set where Element == ViewAnimation.AnimationOptions", - "key.parsed_scope.end" : 125, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static var `default`: `Self` { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2803 - } - ], - "key.bodylength" : 31, - "key.bodyoffset" : 2839, - "key.column" : 23, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> var<\/syntaxtype.keyword> `default`<\/decl.name>: `Self`<\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 61, - "key.line" : 100, - "key.modulename" : "ListableUI", - "key.name" : "default", - "key.namelength" : 7, - "key.nameoffset" : 2821, - "key.offset" : 2810, - "key.parsed_declaration" : "public static var `default` : Self", - "key.parsed_scope.end" : 102, - "key.parsed_scope.start" : 100, - "key.reusingastcontext" : false, - "key.typename" : "Set", - "key.typeusr" : "$sShy10ListableUI13ViewAnimationO0D7OptionsOGD", - "key.usr" : "s:Sh10ListableUIAA13ViewAnimationO0D7OptionsORszrlE7defaultShyAEGvpZ" - }, - { - "key.annotated_decl" : "var toSystem: UIView<\/Type>.AnimationOptions<\/Type> { get }<\/Declaration>", - "key.bodylength" : 512, - "key.bodyoffset" : 2921, - "key.column" : 9, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toSystem<\/decl.name>: UIView<\/ref.class>.AnimationOptions<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 553, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "toSystem", - "key.namelength" : 8, - "key.nameoffset" : 2885, - "key.offset" : 2881, - "key.parsed_declaration" : "var toSystem : UIView.AnimationOptions", - "key.parsed_scope.end" : 124, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.typename" : "UIView.AnimationOptions", - "key.typeusr" : "$sSo22UIViewAnimationOptionsVD", - "key.usr" : "s:Sh10ListableUIAA13ViewAnimationO0D7OptionsORszrlE8toSystemSo06UIViewdE0Vvp" - }, - { - "key.annotated_decl" : "var options: UIView<\/Type>.AnimationOptions<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewAnimation.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> options<\/decl.name>: UIView<\/ref.class>.AnimationOptions<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 42, - "key.line" : 105, - "key.modulename" : "ListableUI", - "key.name" : "options", - "key.namelength" : 7, - "key.nameoffset" : 2934, - "key.offset" : 2930, - "key.parsed_declaration" : "var options : UIView.AnimationOptions = []", - "key.parsed_scope.end" : 105, - "key.parsed_scope.start" : 105, - "key.reusingastcontext" : false, - "key.typename" : "UIView.AnimationOptions", - "key.typeusr" : "$sSo22UIViewAnimationOptionsVD", - "key.usr" : "s:Sh10ListableUIAA13ViewAnimationO0D7OptionsORszrlE8toSystemSo06UIViewdE0Vvg7optionsL_AHvp" - } - ], - "key.typename" : "Set.Type", - "key.typeusr" : "$sShyxGmD", - "key.usr" : "s:Sh" - } - ] - } -}, { - "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift" : { - "key.diagnostic_stage" : "source.diagnostic.stage.swift.parse", - "key.length" : 5707, - "key.offset" : 0, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ViewProperties<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 201 - } - ], - "key.bodylength" : 1498, - "key.bodyoffset" : 231, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the properties to apply to a view for an `ItemContent` or `HeaderFooterContent`", - "key.doc.column" : 15, - "key.doc.comment" : "Describes the properties to apply to a view for an `ItemContent` or `HeaderFooterContent`", - "key.doc.declaration" : "public struct ViewProperties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "ViewProperties<\/Name>s:10ListableUI14ViewPropertiesV<\/USR>public struct ViewProperties<\/Declaration>Describes the properties to apply to a view for an ItemContent<\/codeVoice> or HeaderFooterContent<\/codeVoice><\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 12, - "key.doc.name" : "ViewProperties", - "key.doc.type" : "Class", - "key.doclength" : 94, - "key.docoffset" : 107, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ViewProperties<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 1522, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ViewProperties", - "key.namelength" : 14, - "key.nameoffset" : 215, - "key.offset" : 208, - "key.parsed_declaration" : "public struct ViewProperties", - "key.parsed_scope.end" : 58, - "key.parsed_scope.start" : 12, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var clipsToBounds: Bool<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 290 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "If the view should clip its contents or not.", - "key.doc.column" : 16, - "key.doc.comment" : "If the view should clip its contents or not.", - "key.doc.declaration" : "public var clipsToBounds: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "clipsToBounds<\/Name>s:10ListableUI14ViewPropertiesV13clipsToBoundsSbvp<\/USR>public var clipsToBounds: Bool<\/Declaration>If the view should clip its contents or not.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 15, - "key.doc.name" : "clipsToBounds", - "key.doc.type" : "Other", - "key.doclength" : 49, - "key.docoffset" : 237, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> clipsToBounds<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 24, - "key.line" : 15, - "key.modulename" : "ListableUI", - "key.name" : "clipsToBounds", - "key.namelength" : 13, - "key.nameoffset" : 301, - "key.offset" : 297, - "key.parsed_declaration" : "public var clipsToBounds : Bool", - "key.parsed_scope.end" : 15, - "key.parsed_scope.start" : 15, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14ViewPropertiesV13clipsToBoundsSbvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var cornerStyle: CornerStyle<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 414 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The corner style to apply, eg rounded, capsule, or normal, square corners.", - "key.doc.column" : 16, - "key.doc.comment" : "The corner style to apply, eg rounded, capsule, or normal, square corners.", - "key.doc.declaration" : "public var cornerStyle: CornerStyle", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "cornerStyle<\/Name>s:10ListableUI14ViewPropertiesV11cornerStyleAC06CornerF0Ovp<\/USR>public var cornerStyle: CornerStyle<\/Declaration>The corner style to apply, eg rounded, capsule, or normal, square corners.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 18, - "key.doc.name" : "cornerStyle", - "key.doc.type" : "Other", - "key.doclength" : 79, - "key.docoffset" : 331, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cornerStyle<\/decl.name>: CornerStyle<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 18, - "key.modulename" : "ListableUI", - "key.name" : "cornerStyle", - "key.namelength" : 11, - "key.nameoffset" : 425, - "key.offset" : 421, - "key.parsed_declaration" : "public var cornerStyle: CornerStyle", - "key.parsed_scope.end" : 18, - "key.parsed_scope.start" : 18, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ViewProperties.CornerStyle", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleOD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11cornerStyleAC06CornerF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public var cornerCurve: CornerCurve<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 521 - } - ], - "key.column" : 16, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "How to style the curves when `cornerStyle` is non-square.", - "key.doc.column" : 16, - "key.doc.comment" : "How to style the curves when `cornerStyle` is non-square.", - "key.doc.declaration" : "public var cornerCurve: CornerCurve", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "cornerCurve<\/Name>s:10ListableUI14ViewPropertiesV11cornerCurveAC06CornerF0Ovp<\/USR>public var cornerCurve: CornerCurve<\/Declaration>How to style the curves when cornerStyle<\/codeVoice> is non-square.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 21, - "key.doc.name" : "cornerCurve", - "key.doc.type" : "Other", - "key.doclength" : 62, - "key.docoffset" : 455, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cornerCurve<\/decl.name>: CornerCurve<\/ref.enum><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 28, - "key.line" : 21, - "key.modulename" : "ListableUI", - "key.name" : "cornerCurve", - "key.namelength" : 11, - "key.nameoffset" : 532, - "key.offset" : 528, - "key.parsed_declaration" : "public var cornerCurve: CornerCurve", - "key.parsed_scope.end" : 21, - "key.parsed_scope.start" : 21, - "key.reusingastcontext" : false, - "key.setter_accessibility" : "source.lang.swift.accessibility.public", - "key.typename" : "ViewProperties.CornerCurve", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerCurveOD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11cornerCurveAC06CornerF0Ovp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(clipsToBounds: Bool<\/Type> = false, cornerStyle: CornerStyle<\/Type> = .square, cornerCurve: CornerCurve<\/Type> = .continuous)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 603 - } - ], - "key.bodylength" : 135, - "key.bodyoffset" : 751, - "key.column" : 12, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates new view properties.", - "key.doc.column" : 12, - "key.doc.comment" : "Creates new view properties.", - "key.doc.declaration" : "public init(clipsToBounds: Bool = false, cornerStyle: CornerStyle = .square, cornerCurve: CornerCurve = .continuous)", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "init(clipsToBounds:cornerStyle:cornerCurve:)<\/Name>s:10ListableUI14ViewPropertiesV13clipsToBounds11cornerStyle0H5CurveACSb_AC06CornerI0OAC0kJ0Otcfc<\/USR>public init(clipsToBounds: Bool = false, cornerStyle: CornerStyle = .square, cornerCurve: CornerCurve = .continuous)<\/Declaration>Creates new view properties.<\/Para><\/Abstract><\/CommentParts><\/Function>", - "key.doc.line" : 24, - "key.doc.name" : "init(clipsToBounds:cornerStyle:cornerCurve:)", - "key.doc.type" : "Function", - "key.doclength" : 33, - "key.docoffset" : 566, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(clipsToBounds<\/decl.var.parameter.argument_label>: Bool<\/ref.struct><\/decl.var.parameter.type> = false<\/decl.var.parameter>, cornerStyle<\/decl.var.parameter.argument_label>: CornerStyle<\/ref.enum><\/decl.var.parameter.type> = .square<\/decl.var.parameter>, cornerCurve<\/decl.var.parameter.argument_label>: CornerCurve<\/ref.enum><\/decl.var.parameter.type> = .continuous<\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 277, - "key.line" : 24, - "key.modulename" : "ListableUI", - "key.name" : "init(clipsToBounds:cornerStyle:cornerCurve:)", - "key.namelength" : 139, - "key.nameoffset" : 610, - "key.offset" : 610, - "key.parsed_declaration" : "public init(\n clipsToBounds: Bool = false,\n cornerStyle: CornerStyle = .square,\n cornerCurve: CornerCurve = .continuous\n)", - "key.parsed_scope.end" : 33, - "key.parsed_scope.start" : 24, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewProperties.Type) -> (Bool, ViewProperties.CornerStyle, ViewProperties.CornerCurve) -> ViewProperties", - "key.typeusr" : "$s13clipsToBounds11cornerStyle0D5Curve10ListableUI14ViewPropertiesVSb_AF06CornerE0OAF0kF0OtcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV13clipsToBounds11cornerStyle0H5CurveACSb_AC06CornerI0OAC0kJ0Otcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public func apply(to view: UIView<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 897 - } - ], - "key.bodylength" : 793, - "key.bodyoffset" : 934, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> func<\/syntaxtype.keyword> apply<\/decl.name>(to<\/decl.var.parameter.argument_label> view<\/decl.var.parameter.name>: UIView<\/ref.class><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 824, - "key.line" : 35, - "key.modulename" : "ListableUI", - "key.name" : "apply(to:)", - "key.namelength" : 23, - "key.nameoffset" : 909, - "key.offset" : 904, - "key.parsed_declaration" : "public func apply(to view : UIView)", - "key.parsed_scope.end" : 57, - "key.parsed_scope.start" : 35, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.annotated_decl" : "let cornerRadius: CGFloat<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> cornerRadius<\/decl.name>: CGFloat<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 55, - "key.line" : 37, - "key.modulename" : "ListableUI", - "key.name" : "cornerRadius", - "key.namelength" : 12, - "key.nameoffset" : 956, - "key.offset" : 952, - "key.parsed_declaration" : "let cornerRadius = cornerStyle.radius(for: view.bounds)", - "key.parsed_scope.end" : 37, - "key.parsed_scope.start" : 37, - "key.reusingastcontext" : false, - "key.typename" : "CGFloat", - "key.typeusr" : "$s14CoreFoundation7CGFloatVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV5apply2toySo6UIViewC_tF12cornerRadiusL_14CoreFoundation7CGFloatVvp" - }, - { - "key.annotated_decl" : "let clipsToBounds: Bool<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "We check `cornerRadius`, because clipping is required for corner radii to affect view content.", - "key.doc.column" : 13, - "key.doc.comment" : "We check `cornerRadius`, because clipping is required for corner radii to affect view content.", - "key.doc.declaration" : "let clipsToBounds: Bool", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "clipsToBounds<\/Name>s:10ListableUI14ViewPropertiesV5apply2toySo6UIViewC_tF13clipsToBoundsL_Sbvp<\/USR>let clipsToBounds: Bool<\/Declaration>We check cornerRadius<\/codeVoice>, because clipping is required for corner radii to affect view content.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 40, - "key.doc.name" : "clipsToBounds", - "key.doc.type" : "Other", - "key.doclength" : 99, - "key.docoffset" : 1025, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "let<\/syntaxtype.keyword> clipsToBounds<\/decl.name>: Bool<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 53, - "key.line" : 40, - "key.modulename" : "ListableUI", - "key.name" : "clipsToBounds", - "key.namelength" : 13, - "key.nameoffset" : 1136, - "key.offset" : 1132, - "key.parsed_declaration" : "let clipsToBounds = clipsToBounds || cornerRadius > 0", - "key.parsed_scope.end" : 40, - "key.parsed_scope.start" : 40, - "key.reusingastcontext" : false, - "key.typename" : "Bool", - "key.typeusr" : "$sSbD", - "key.usr" : "s:10ListableUI14ViewPropertiesV5apply2toySo6UIViewC_tF13clipsToBoundsL_Sbvp" - } - ], - "key.typename" : "(ViewProperties) -> (UIView) -> ()", - "key.typeusr" : "$s2toySo6UIViewC_tcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV5apply2toySo6UIViewC_tF" - } - ], - "key.typename" : "ViewProperties.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesVmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV" - }, - { - "key.annotated_decl" : "public struct ViewProperties<\/Declaration>", - "key.bodylength" : 1950, - "key.bodyoffset" : 1759, - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the properties to apply to a view for an `ItemContent` or `HeaderFooterContent`", - "key.doc.column" : 15, - "key.doc.declaration" : "public struct ViewProperties", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "ViewProperties<\/Name>s:10ListableUI14ViewPropertiesV<\/USR>public struct ViewProperties<\/Declaration>Describes the properties to apply to a view for an ItemContent<\/codeVoice> or HeaderFooterContent<\/codeVoice><\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 12, - "key.doc.name" : "ViewProperties", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ViewProperties<\/decl.name><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1977, - "key.line" : 12, - "key.modulename" : "ListableUI", - "key.name" : "ViewProperties", - "key.namelength" : 14, - "key.nameoffset" : 1743, - "key.offset" : 1733, - "key.parsed_declaration" : "extension ViewProperties", - "key.parsed_scope.end" : 113, - "key.parsed_scope.start" : 61, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum CornerStyle : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 1819 - } - ], - "key.bodylength" : 1319, - "key.bodyoffset" : 1855, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The style of corners to draw on the view.", - "key.doc.column" : 17, - "key.doc.comment" : "The style of corners to draw on the view.", - "key.doc.declaration" : "public enum CornerStyle : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "CornerStyle<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO<\/USR>public enum CornerStyle : Equatable<\/Declaration>The style of corners to draw on the view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 64, - "key.doc.name" : "CornerStyle", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 1769, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 1844 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CornerStyle<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 1349, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "CornerStyle", - "key.namelength" : 11, - "key.nameoffset" : 1831, - "key.offset" : 1826, - "key.parsed_declaration" : "public enum CornerStyle: Equatable", - "key.parsed_scope.end" : 95, - "key.parsed_scope.start" : 64, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 11, - "key.offset" : 1916, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case square<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Regular, non-rounded corners.", - "key.doc.column" : 15, - "key.doc.comment" : "Regular, non-rounded corners.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "square<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO6squareyA2EmF<\/USR><\/Declaration>Regular, non-rounded corners.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 67, - "key.doc.name" : "square", - "key.doc.type" : "Other", - "key.doclength" : 34, - "key.docoffset" : 1873, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> square<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 6, - "key.line" : 67, - "key.modulename" : "ListableUI", - "key.name" : "square", - "key.namelength" : 6, - "key.nameoffset" : 1921, - "key.offset" : 1921, - "key.parsed_declaration" : "case square", - "key.parsed_scope.end" : 67, - "key.parsed_scope.start" : 67, - "key.reusingastcontext" : false, - "key.typename" : "(ViewProperties.CornerStyle.Type) -> ViewProperties.CornerStyle", - "key.typeusr" : "$sy10ListableUI14ViewPropertiesV11CornerStyleOAEmcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO6squareyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 12, - "key.offset" : 2091, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case capsule<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Capsule-style corners will be rendered. Eg, the corner radii is the same\nas the view height or width, whichever is less.", - "key.doc.column" : 15, - "key.doc.comment" : "Capsule-style corners will be rendered. Eg, the corner radii is the same\nas the view height or width, whichever is less.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "capsule<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO7capsuleyA2EmF<\/USR><\/Declaration>Capsule-style corners will be rendered. Eg, the corner radii is the same as the view height or width, whichever is less.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 71, - "key.doc.name" : "capsule", - "key.doc.type" : "Other", - "key.doclength" : 137, - "key.docoffset" : 1945, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> capsule<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 7, - "key.line" : 71, - "key.modulename" : "ListableUI", - "key.name" : "capsule", - "key.namelength" : 7, - "key.nameoffset" : 2096, - "key.offset" : 2096, - "key.parsed_declaration" : "case capsule", - "key.parsed_scope.end" : 71, - "key.parsed_scope.start" : 71, - "key.reusingastcontext" : false, - "key.typename" : "(ViewProperties.CornerStyle.Type) -> ViewProperties.CornerStyle", - "key.typeusr" : "$sy10ListableUI14ViewPropertiesV11CornerStyleOAEmcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7capsuleyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 54, - "key.offset" : 2190, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case rounded(radius: CGFloat<\/Type>, corners: Corners<\/Type> = .all)<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The provided radii is applied to the specified corners.", - "key.doc.column" : 15, - "key.doc.comment" : "The provided radii is applied to the specified corners.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "rounded(radius:corners:)<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO7roundedyAE14CoreFoundation7CGFloatV_AE7CornersVtcAEmF<\/USR><\/Declaration>The provided radii is applied to the specified corners.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 74, - "key.doc.name" : "rounded(radius:corners:)", - "key.doc.type" : "Other", - "key.doclength" : 60, - "key.docoffset" : 2121, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> rounded<\/decl.name>(radius<\/decl.var.parameter.argument_label>: CGFloat<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>, corners<\/decl.var.parameter.argument_label>: Corners<\/ref.struct><\/decl.var.parameter.type> = .all<\/decl.var.parameter>)<\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 49, - "key.line" : 74, - "key.modulename" : "ListableUI", - "key.name" : "rounded(radius:corners:)", - "key.namelength" : 49, - "key.nameoffset" : 2195, - "key.offset" : 2195, - "key.parsed_declaration" : "case rounded(radius: CGFloat, corners: Corners = .all)", - "key.parsed_scope.end" : 74, - "key.parsed_scope.start" : 74, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewProperties.CornerStyle.Type) -> (CGFloat, ViewProperties.CornerStyle.Corners) -> ViewProperties.CornerStyle", - "key.typeusr" : "$sy10ListableUI14ViewPropertiesV11CornerStyleO14CoreFoundation7CGFloatV_AE7CornersVtcAEmcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7roundedyAE14CoreFoundation7CGFloatV_AE7CornersVtcAEmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public struct ViewProperties<\/Type>.CornerStyle<\/Type>.Corners : OptionSet<\/Type>, Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2312 - } - ], - "key.bodylength" : 810, - "key.bodyoffset" : 2357, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the corners to apply the style to.", - "key.doc.column" : 24, - "key.doc.comment" : "Describes the corners to apply the style to.", - "key.doc.declaration" : "public struct ListableUI.ViewProperties.CornerStyle.Corners : OptionSet, Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "Corners<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV<\/USR>public struct ListableUI.ViewProperties.CornerStyle.Corners : OptionSet, Equatable<\/Declaration>Describes the corners to apply the style to.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 77, - "key.doc.name" : "Corners", - "key.doc.type" : "Class", - "key.doclength" : 49, - "key.docoffset" : 2254, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2335 - }, - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 2346 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/decl.name> : OptionSet<\/ref.protocol>, Equatable<\/ref.protocol><\/decl.struct>", - "key.inheritedtypes" : [ - { - "key.name" : "OptionSet" - }, - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.struct", - "key.length" : 849, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "Corners", - "key.namelength" : 7, - "key.nameoffset" : 2326, - "key.offset" : 2319, - "key.parsed_declaration" : "public struct Corners: OptionSet, Equatable", - "key.parsed_scope.end" : 94, - "key.parsed_scope.start" : 77, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public let rawValue: UInt8<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2371 - } - ], - "key.column" : 25, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The corresponding value of the raw type.\n\nA new instance initialized with `rawValue` will be equivalent to this\ninstance. For example:\n\n enum PaperSize: String {\n case A4, A5, Letter, Legal\n }\n\n let selectedSize = PaperSize.Letter\n print(selectedSize.rawValue)\n \/\/ Prints \"Letter\"\n\n print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)\n \/\/ Prints \"true\"", - "key.doc.declaration" : "var rawValue: Self.RawValue { get }", - "key.doc.discussion" : [ - { - "Para" : "A new instance initialized with `rawValue` will be equivalent to this instance. For example:" - }, - { - "CodeListing" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "rawValue<\/Name>s:SY8rawValue03RawB0Qzvp<\/USR>var rawValue: Self.RawValue { get }<\/Declaration>The corresponding value of the raw type.<\/Para><\/Abstract>A new instance initialized with rawValue<\/codeVoice> will be equivalent to this instance. For example:<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>This documentation comment was inherited from RawRepresentable<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Other>", - "key.doc.name" : "rawValue", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> let<\/syntaxtype.keyword> rawValue<\/decl.name>: UInt8<\/ref.struct><\/decl.var.type><\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 19, - "key.line" : 78, - "key.modulename" : "ListableUI", - "key.name" : "rawValue", - "key.namelength" : 8, - "key.nameoffset" : 2382, - "key.offset" : 2378, - "key.overrides" : [ - { - "key.usr" : "s:SY8rawValue03RawB0Qzvp" - } - ], - "key.parsed_declaration" : "public let rawValue: UInt8", - "key.parsed_scope.end" : 78, - "key.parsed_scope.start" : 78, - "key.reusingastcontext" : false, - "key.typename" : "UInt8", - "key.typeusr" : "$ss5UInt8VD", - "key.usr" : "s:SY8rawValue03RawB0Qzvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public init(rawValue: UInt8<\/Type>)<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2412 - } - ], - "key.bodylength" : 56, - "key.bodyoffset" : 2442, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Creates a new option set from the given raw value.\n\nThis initializer always succeeds, even if the value passed as `rawValue`\nexceeds the static properties declared as part of the option set. This\nexample creates an instance of `ShippingOptions` with a raw value beyond\nthe highest element, with a bit mask that effectively contains all the\ndeclared static members.\n\n let extraOptions = ShippingOptions(rawValue: 255)\n print(extraOptions.isStrictSuperset(of: .all))\n \/\/ Prints \"true\"\n\n- Parameter rawValue: The raw value of the option set to create. Each bit\n of `rawValue` potentially represents an element of the option set,\n though raw values may include bits that are not defined as distinct\n values of the `OptionSet` type.", - "key.doc.declaration" : "init(rawValue: Self.RawValue)", - "key.doc.discussion" : [ - { - "Para" : "This initializer always succeeds, even if the value passed as `rawValue` exceeds the static properties declared as part of the option set. This example creates an instance of `ShippingOptions` with a raw value beyond the highest element, with a bit mask that effectively contains all the declared static members." - }, - { - "CodeListing" : "" - }, - { - "Note" : "" - } - ], - "key.doc.full_as_xml" : "init(rawValue:)<\/Name>s:s9OptionSetP8rawValuex03RawD0Qz_tcfc<\/USR>init(rawValue: Self.RawValue)<\/Declaration>Creates a new option set from the given raw value.<\/Para><\/Abstract>rawValue<\/Name>in<\/Direction>The raw value of the option set to create. Each bit of rawValue<\/codeVoice> potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the OptionSet<\/codeVoice> type.<\/Para><\/Discussion><\/Parameter><\/Parameters>This initializer always succeeds, even if the value passed as rawValue<\/codeVoice> exceeds the static properties declared as part of the option set. This example creates an instance of ShippingOptions<\/codeVoice> with a raw value beyond the highest element, with a bit mask that effectively contains all the declared static members.<\/Para><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/zCodeLineNumbered><\/CodeListing>This documentation comment was inherited from OptionSet<\/codeVoice>.<\/Para><\/Note><\/Discussion><\/CommentParts><\/Function>", - "key.doc.name" : "init(rawValue:)", - "key.doc.parameters" : [ - { - "discussion" : [ - { - "Para" : "The raw value of the option set to create. Each bit of `rawValue` potentially represents an element of the option set, though raw values may include bits that are not defined as distinct values of the `OptionSet` type." - } - ], - "name" : "rawValue" - } - ], - "key.doc.type" : "Function", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> init<\/syntaxtype.keyword>(rawValue<\/decl.var.parameter.argument_label>: UInt8<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>)<\/decl.function.constructor>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 80, - "key.line" : 80, - "key.modulename" : "ListableUI", - "key.name" : "init(rawValue:)", - "key.namelength" : 21, - "key.nameoffset" : 2419, - "key.offset" : 2419, - "key.overrides" : [ - { - "key.usr" : "s:s9OptionSetP8rawValuex03RawD0Qz_tcfc" - }, - { - "key.usr" : "s:SY8rawValuexSg03RawB0Qz_tcfc" - } - ], - "key.parsed_declaration" : "public init(rawValue: UInt8)", - "key.parsed_scope.end" : 82, - "key.parsed_scope.start" : 80, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewProperties.CornerStyle.Corners.Type) -> (UInt8) -> ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s8rawValue10ListableUI14ViewPropertiesV11CornerStyleO7CornersVs5UInt8V_tcD", - "key.usr" : "s:s9OptionSetP8rawValuex03RawD0Qz_tcfc" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let topLeft: ViewProperties<\/Type>.CornerStyle<\/Type>.Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2514 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> topLeft<\/decl.name>: ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 41, - "key.line" : 84, - "key.modulename" : "ListableUI", - "key.name" : "topLeft", - "key.namelength" : 7, - "key.nameoffset" : 2532, - "key.offset" : 2521, - "key.parsed_declaration" : "public static let topLeft = Corners(rawValue: 1)", - "key.parsed_scope.end" : 84, - "key.parsed_scope.start" : 84, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV7topLeftAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let topRight: ViewProperties<\/Type>.CornerStyle<\/Type>.Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2576 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> topRight<\/decl.name>: ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 47, - "key.line" : 85, - "key.modulename" : "ListableUI", - "key.name" : "topRight", - "key.namelength" : 8, - "key.nameoffset" : 2594, - "key.offset" : 2583, - "key.parsed_declaration" : "public static let topRight = Corners(rawValue: 1 << 1)", - "key.parsed_scope.end" : 85, - "key.parsed_scope.start" : 85, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV8topRightAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let bottomLeft: ViewProperties<\/Type>.CornerStyle<\/Type>.Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2644 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> bottomLeft<\/decl.name>: ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 49, - "key.line" : 86, - "key.modulename" : "ListableUI", - "key.name" : "bottomLeft", - "key.namelength" : 10, - "key.nameoffset" : 2662, - "key.offset" : 2651, - "key.parsed_declaration" : "public static let bottomLeft = Corners(rawValue: 1 << 2)", - "key.parsed_scope.end" : 86, - "key.parsed_scope.start" : 86, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV10bottomLeftAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let bottomRight: ViewProperties<\/Type>.CornerStyle<\/Type>.Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2714 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> bottomRight<\/decl.name>: ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 50, - "key.line" : 87, - "key.modulename" : "ListableUI", - "key.name" : "bottomRight", - "key.namelength" : 11, - "key.nameoffset" : 2732, - "key.offset" : 2721, - "key.parsed_declaration" : "public static let bottomRight = Corners(rawValue: 1 << 3)", - "key.parsed_scope.end" : 87, - "key.parsed_scope.start" : 87, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV11bottomRightAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let all: Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2786 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> all<\/decl.name>: Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 74, - "key.line" : 89, - "key.modulename" : "ListableUI", - "key.name" : "all", - "key.namelength" : 3, - "key.nameoffset" : 2804, - "key.offset" : 2793, - "key.parsed_declaration" : "public static let all: Corners = [.topLeft, .topRight, .bottomLeft, .bottomRight]", - "key.parsed_scope.end" : 89, - "key.parsed_scope.start" : 89, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV3allAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let top: Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2881 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> top<\/decl.name>: Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 47, - "key.line" : 90, - "key.modulename" : "ListableUI", - "key.name" : "top", - "key.namelength" : 3, - "key.nameoffset" : 2899, - "key.offset" : 2888, - "key.parsed_declaration" : "public static let top: Corners = [.topRight, .topLeft]", - "key.parsed_scope.end" : 90, - "key.parsed_scope.start" : 90, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV3topAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let left: Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 2949 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> left<\/decl.name>: Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 50, - "key.line" : 91, - "key.modulename" : "ListableUI", - "key.name" : "left", - "key.namelength" : 4, - "key.nameoffset" : 2967, - "key.offset" : 2956, - "key.parsed_declaration" : "public static let left: Corners = [.topLeft, .bottomLeft]", - "key.parsed_scope.end" : 91, - "key.parsed_scope.start" : 91, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV4leftAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let bottom: Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3020 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> bottom<\/decl.name>: Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 56, - "key.line" : 92, - "key.modulename" : "ListableUI", - "key.name" : "bottom", - "key.namelength" : 6, - "key.nameoffset" : 3038, - "key.offset" : 3027, - "key.parsed_declaration" : "public static let bottom: Corners = [.bottomLeft, .bottomRight]", - "key.parsed_scope.end" : 92, - "key.parsed_scope.start" : 92, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV6bottomAGvpZ" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public static let right: Corners<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3097 - } - ], - "key.column" : 32, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> static<\/syntaxtype.keyword> let<\/syntaxtype.keyword> right<\/decl.name>: Corners<\/ref.struct><\/decl.var.type><\/decl.var.static>", - "key.kind" : "source.lang.swift.decl.var.static", - "key.length" : 53, - "key.line" : 93, - "key.modulename" : "ListableUI", - "key.name" : "right", - "key.namelength" : 5, - "key.nameoffset" : 3115, - "key.offset" : 3104, - "key.parsed_declaration" : "public static let right: Corners = [.topRight, .bottomRight]", - "key.parsed_scope.end" : 93, - "key.parsed_scope.start" : 93, - "key.reusingastcontext" : false, - "key.typename" : "ViewProperties.CornerStyle.Corners", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV5rightAGvpZ" - } - ], - "key.typename" : "ViewProperties.CornerStyle.Corners.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV" - } - ], - "key.typename" : "ViewProperties.CornerStyle.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleOmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "public enum CornerCurve : Equatable<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.public", - "key.length" : 6, - "key.offset" : 3258 - } - ], - "key.bodylength" : 413, - "key.bodyoffset" : 3294, - "key.column" : 18, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Specifies the curve style when showing rounded corners on a `Box`.", - "key.doc.column" : 18, - "key.doc.comment" : "Specifies the curve style when showing rounded corners on a `Box`.", - "key.doc.declaration" : "public enum CornerCurve : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "CornerCurve<\/Name>s:10ListableUI14ViewPropertiesV11CornerCurveO<\/USR>public enum CornerCurve : Equatable<\/Declaration>Specifies the curve style when showing rounded corners on a Box<\/codeVoice>.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 98, - "key.doc.name" : "CornerCurve", - "key.doc.type" : "Other", - "key.doclength" : 71, - "key.docoffset" : 3182, - "key.elements" : [ - { - "key.kind" : "source.lang.swift.structure.elem.typeref", - "key.length" : 9, - "key.offset" : 3283 - } - ], - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CornerCurve<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.inheritedtypes" : [ - { - "key.name" : "Equatable" - } - ], - "key.kind" : "source.lang.swift.decl.enum", - "key.length" : 443, - "key.line" : 98, - "key.modulename" : "ListableUI", - "key.name" : "CornerCurve", - "key.namelength" : 11, - "key.nameoffset" : 3270, - "key.offset" : 3265, - "key.parsed_declaration" : "public enum CornerCurve: Equatable", - "key.parsed_scope.end" : 112, - "key.parsed_scope.start" : 98, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 13, - "key.offset" : 3403, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case circular<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides a standard-style corner radius as you would see in design tools like Figma.", - "key.doc.column" : 15, - "key.doc.comment" : "Provides a standard-style corner radius as you would see in design tools like Figma.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "circular<\/Name>s:10ListableUI14ViewPropertiesV11CornerCurveO8circularyA2EmF<\/USR><\/Declaration>Provides a standard-style corner radius as you would see in design tools like Figma.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 101, - "key.doc.name" : "circular", - "key.doc.type" : "Other", - "key.doclength" : 89, - "key.docoffset" : 3305, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> circular<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 8, - "key.line" : 101, - "key.modulename" : "ListableUI", - "key.name" : "circular", - "key.namelength" : 8, - "key.nameoffset" : 3408, - "key.offset" : 3408, - "key.parsed_declaration" : "case circular", - "key.parsed_scope.end" : 101, - "key.parsed_scope.start" : 101, - "key.reusingastcontext" : false, - "key.typename" : "(ViewProperties.CornerCurve.Type) -> ViewProperties.CornerCurve", - "key.typeusr" : "$sy10ListableUI14ViewPropertiesV11CornerCurveOAEmcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerCurveO8circularyA2EmF" - } - ] - }, - { - "key.kind" : "source.lang.swift.decl.enumcase", - "key.length" : 15, - "key.offset" : 3482, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.public", - "key.annotated_decl" : "case continuous<\/Declaration>", - "key.column" : 15, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Provides an iOS icon-style corner radius.", - "key.doc.column" : 15, - "key.doc.comment" : "Provides an iOS icon-style corner radius.", - "key.doc.declaration" : "", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "continuous<\/Name>s:10ListableUI14ViewPropertiesV11CornerCurveO10continuousyA2EmF<\/USR><\/Declaration>Provides an iOS icon-style corner radius.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 104, - "key.doc.name" : "continuous", - "key.doc.type" : "Other", - "key.doclength" : 46, - "key.docoffset" : 3427, - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "case<\/syntaxtype.keyword> continuous<\/decl.name><\/decl.enumelement>", - "key.kind" : "source.lang.swift.decl.enumelement", - "key.length" : 10, - "key.line" : 104, - "key.modulename" : "ListableUI", - "key.name" : "continuous", - "key.namelength" : 10, - "key.nameoffset" : 3487, - "key.offset" : 3487, - "key.parsed_declaration" : "case continuous", - "key.parsed_scope.end" : 104, - "key.parsed_scope.start" : 104, - "key.reusingastcontext" : false, - "key.typename" : "(ViewProperties.CornerCurve.Type) -> ViewProperties.CornerCurve", - "key.typeusr" : "$sy10ListableUI14ViewPropertiesV11CornerCurveOAEmcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerCurveO10continuousyA2EmF" - } - ] - }, - { - "key.accessibility" : "source.lang.swift.accessibility.internal", - "key.annotated_decl" : "var toLayerCornerCurve: CALayerCornerCurve<\/Type> { get }<\/Declaration>", - "key.bodylength" : 148, - "key.bodyoffset" : 3552, - "key.column" : 14, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> toLayerCornerCurve<\/decl.name>: CALayerCornerCurve<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 193, - "key.line" : 106, - "key.modulename" : "ListableUI", - "key.name" : "toLayerCornerCurve", - "key.namelength" : 18, - "key.nameoffset" : 3512, - "key.offset" : 3508, - "key.parsed_declaration" : "var toLayerCornerCurve: CALayerCornerCurve", - "key.parsed_scope.end" : 111, - "key.parsed_scope.start" : 106, - "key.reusingastcontext" : false, - "key.typename" : "CALayerCornerCurve", - "key.typeusr" : "$sSo18CALayerCornerCurveaD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerCurveO07toLayereF0So07CALayereF0avp" - } - ], - "key.typename" : "ViewProperties.CornerCurve.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerCurveOmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerCurveO" - } - ], - "key.typename" : "ViewProperties.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesVmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV" - }, - { - "key.annotated_decl" : "public enum CornerStyle : Equatable<\/Type><\/Declaration>", - "key.bodylength" : 884, - "key.bodyoffset" : 3751, - "key.column" : 17, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "The style of corners to draw on the view.", - "key.doc.column" : 17, - "key.doc.declaration" : "public enum CornerStyle : Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "CornerStyle<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO<\/USR>public enum CornerStyle : Equatable<\/Declaration>The style of corners to draw on the view.<\/Para><\/Abstract><\/CommentParts><\/Other>", - "key.doc.line" : 64, - "key.doc.name" : "CornerStyle", - "key.doc.type" : "Other", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> enum<\/syntaxtype.keyword> CornerStyle<\/decl.name> : Equatable<\/ref.protocol><\/decl.enum>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 923, - "key.line" : 64, - "key.modulename" : "ListableUI", - "key.name" : "ViewProperties.CornerStyle", - "key.namelength" : 26, - "key.nameoffset" : 3723, - "key.offset" : 3713, - "key.parsed_declaration" : "extension ViewProperties.CornerStyle", - "key.parsed_scope.end" : 147, - "key.parsed_scope.start" : 116, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate func radius(for bounds: CGRect<\/Type>) -> CGFloat<\/Type><\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 3757 - } - ], - "key.bodylength" : 320, - "key.bodyoffset" : 3813, - "key.column" : 22, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> func<\/syntaxtype.keyword> radius<\/decl.name>(for<\/decl.var.parameter.argument_label> bounds<\/decl.var.parameter.name>: CGRect<\/ref.struct><\/decl.var.parameter.type><\/decl.var.parameter>) -> CGFloat<\/ref.struct><\/decl.function.returntype><\/decl.function.method.instance>", - "key.kind" : "source.lang.swift.decl.function.method.instance", - "key.length" : 365, - "key.line" : 118, - "key.modulename" : "ListableUI", - "key.name" : "radius(for:)", - "key.namelength" : 26, - "key.nameoffset" : 3774, - "key.offset" : 3769, - "key.parsed_declaration" : "fileprivate func radius(for bounds: CGRect) -> CGFloat", - "key.parsed_scope.end" : 128, - "key.parsed_scope.start" : 118, - "key.reusingastcontext" : false, - "key.substructure" : [ - - ], - "key.typename" : "(ViewProperties.CornerStyle) -> (CGRect) -> CGFloat", - "key.typeusr" : "$s3for14CoreFoundation7CGFloatVSo6CGRectV_tcD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO6radius019_786D7F8E6F6C544695j8AA059778J2CCLL3for14CoreFoundation7CGFloatVSo6CGRectV_tF" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate var cornerMask: CACornerMask<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 4140 - } - ], - "key.bodylength" : 196, - "key.bodyoffset" : 4182, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> var<\/syntaxtype.keyword> cornerMask<\/decl.name>: CACornerMask<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 227, - "key.line" : 130, - "key.modulename" : "ListableUI", - "key.name" : "cornerMask", - "key.namelength" : 10, - "key.nameoffset" : 4156, - "key.offset" : 4152, - "key.parsed_declaration" : "fileprivate var cornerMask: CACornerMask", - "key.parsed_scope.end" : 137, - "key.parsed_scope.start" : 130, - "key.reusingastcontext" : false, - "key.typename" : "CACornerMask", - "key.typeusr" : "$sSo12CACornerMaskVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO10cornerMask019_786D7F8E6F6C544695k8AA059778K2CCLLSo08CACornerH0Vvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate var shadowRoundedCorners: UIRectCorner<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 4385 - } - ], - "key.bodylength" : 196, - "key.bodyoffset" : 4437, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> var<\/syntaxtype.keyword> shadowRoundedCorners<\/decl.name>: UIRectCorner<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 237, - "key.line" : 139, - "key.modulename" : "ListableUI", - "key.name" : "shadowRoundedCorners", - "key.namelength" : 20, - "key.nameoffset" : 4401, - "key.offset" : 4397, - "key.parsed_declaration" : "fileprivate var shadowRoundedCorners: UIRectCorner", - "key.parsed_scope.end" : 146, - "key.parsed_scope.start" : 139, - "key.reusingastcontext" : false, - "key.typename" : "UIRectCorner", - "key.typeusr" : "$sSo12UIRectCornerVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO20shadowRoundedCorners019_786D7F8E6F6C544695l8AA059778L2CCLLSo06UIRectE0Vvp" - } - ], - "key.typename" : "ViewProperties.CornerStyle.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleOmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO" - }, - { - "key.annotated_decl" : "public struct ViewProperties<\/Type>.CornerStyle<\/Type>.Corners : OptionSet<\/Type>, Equatable<\/Type><\/Declaration>", - "key.bodylength" : 1021, - "key.bodyoffset" : 4684, - "key.column" : 24, - "key.decl_lang" : "source.lang.swift", - "key.doc_comment" : "Describes the corners to apply the style to.", - "key.doc.column" : 24, - "key.doc.declaration" : "public struct ListableUI.ViewProperties.CornerStyle.Corners : OptionSet, Equatable", - "key.doc.file" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.doc.full_as_xml" : "Corners<\/Name>s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV<\/USR>public struct ListableUI.ViewProperties.CornerStyle.Corners : OptionSet, Equatable<\/Declaration>Describes the corners to apply the style to.<\/Para><\/Abstract><\/CommentParts><\/Class>", - "key.doc.line" : 77, - "key.doc.name" : "Corners", - "key.doc.type" : "Class", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "public<\/syntaxtype.keyword> struct<\/syntaxtype.keyword> ViewProperties<\/ref.struct>.CornerStyle<\/ref.enum>.Corners<\/decl.name> : OptionSet<\/ref.protocol>, Equatable<\/ref.protocol><\/decl.struct>", - "key.kind" : "source.lang.swift.decl.extension", - "key.length" : 1068, - "key.line" : 77, - "key.modulename" : "ListableUI", - "key.name" : "ViewProperties.CornerStyle.Corners", - "key.namelength" : 34, - "key.nameoffset" : 4648, - "key.offset" : 4638, - "key.parsed_declaration" : "extension ViewProperties.CornerStyle.Corners", - "key.parsed_scope.end" : 192, - "key.parsed_scope.start" : 149, - "key.reusingastcontext" : false, - "key.substructure" : [ - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate var toCACornerMask: CACornerMask<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 4694 - } - ], - "key.bodylength" : 457, - "key.bodyoffset" : 4740, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> var<\/syntaxtype.keyword> toCACornerMask<\/decl.name>: CACornerMask<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 492, - "key.line" : 151, - "key.modulename" : "ListableUI", - "key.name" : "toCACornerMask", - "key.namelength" : 14, - "key.nameoffset" : 4710, - "key.offset" : 4706, - "key.parsed_declaration" : "fileprivate var toCACornerMask: CACornerMask", - "key.parsed_scope.end" : 170, - "key.parsed_scope.start" : 151, - "key.reusingastcontext" : false, - "key.typename" : "CACornerMask", - "key.typeusr" : "$sSo12CACornerMaskVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV14toCACornerMask019_786D7F8E6F6C544695m8AA059778M2CCLLSo0iJ0Vvp" - }, - { - "key.annotated_decl" : "var mask: CACornerMask<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> mask<\/decl.name>: CACornerMask<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 27, - "key.line" : 152, - "key.modulename" : "ListableUI", - "key.name" : "mask", - "key.namelength" : 4, - "key.nameoffset" : 4753, - "key.offset" : 4749, - "key.parsed_declaration" : "var mask: CACornerMask = []", - "key.parsed_scope.end" : 152, - "key.parsed_scope.start" : 152, - "key.reusingastcontext" : false, - "key.typename" : "CACornerMask", - "key.typeusr" : "$sSo12CACornerMaskVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV14toCACornerMask019_786D7F8E6F6C544695m8AA059778M2CCLLSo0iJ0Vvg4maskL_AKvp" - }, - { - "key.accessibility" : "source.lang.swift.accessibility.fileprivate", - "key.annotated_decl" : "fileprivate var toUIRectCorner: UIRectCorner<\/Type> { get }<\/Declaration>", - "key.attributes" : [ - { - "key.attribute" : "source.decl.attribute.fileprivate", - "key.length" : 11, - "key.offset" : 5204 - } - ], - "key.bodylength" : 453, - "key.bodyoffset" : 5250, - "key.column" : 21, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "fileprivate<\/syntaxtype.keyword> var<\/syntaxtype.keyword> toUIRectCorner<\/decl.name>: UIRectCorner<\/ref.struct><\/decl.var.type> { get<\/syntaxtype.keyword> }<\/decl.var.instance>", - "key.kind" : "source.lang.swift.decl.var.instance", - "key.length" : 488, - "key.line" : 172, - "key.modulename" : "ListableUI", - "key.name" : "toUIRectCorner", - "key.namelength" : 14, - "key.nameoffset" : 5220, - "key.offset" : 5216, - "key.parsed_declaration" : "fileprivate var toUIRectCorner: UIRectCorner", - "key.parsed_scope.end" : 191, - "key.parsed_scope.start" : 172, - "key.reusingastcontext" : false, - "key.typename" : "UIRectCorner", - "key.typeusr" : "$sSo12UIRectCornerVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV08toUIRectE0019_786D7F8E6F6C544695l8AA059778L2CCLLSo0iE0Vvp" - }, - { - "key.annotated_decl" : "var rectCorner: UIRectCorner<\/Type><\/Declaration>", - "key.column" : 13, - "key.decl_lang" : "source.lang.swift", - "key.filepath" : "\/Users\/johnnewman\/Development\/Listable\/ListableUI\/Sources\/ViewProperties.swift", - "key.fully_annotated_decl" : "var<\/syntaxtype.keyword> rectCorner<\/decl.name>: UIRectCorner<\/ref.struct><\/decl.var.type><\/decl.var.local>", - "key.kind" : "source.lang.swift.decl.var.local", - "key.length" : 33, - "key.line" : 173, - "key.modulename" : "ListableUI", - "key.name" : "rectCorner", - "key.namelength" : 10, - "key.nameoffset" : 5263, - "key.offset" : 5259, - "key.parsed_declaration" : "var rectCorner: UIRectCorner = []", - "key.parsed_scope.end" : 173, - "key.parsed_scope.start" : 173, - "key.reusingastcontext" : false, - "key.typename" : "UIRectCorner", - "key.typeusr" : "$sSo12UIRectCornerVD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV08toUIRectE0019_786D7F8E6F6C544695l8AA059778L2CCLLSo0iE0Vvg04rectE0L_AKvp" - } - ], - "key.typename" : "ViewProperties.CornerStyle.Corners.Type", - "key.typeusr" : "$s10ListableUI14ViewPropertiesV11CornerStyleO7CornersVmD", - "key.usr" : "s:10ListableUI14ViewPropertiesV11CornerStyleO7CornersV" - } - ] - } -}] diff --git a/docs/Listable/undocumented.json b/docs/Listable/undocumented.json deleted file mode 100644 index 0aeab5a5d..000000000 --- a/docs/Listable/undocumented.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "warnings": [], - "source_directory": "/Users/johnnewman/Development/Listable" -} \ No newline at end of file