/* Title of Guidebook */
"GuideBook..title" = "Bildegalleri";

/* The title of the Welcome Message for the GuideBook */
"GuideBook..WelcomeMessageImage Gallery..title" = "Bildegalleri";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..WelcomeMessageImage Gallery..Paragraph0" = "Denne gjennomgangen forklarer hvordan du oppretter et rutenett med bilder, komplett med funksjoner for å velge og redigere bilder.";

/* Title of step named Image Gallery */
"GuideBook..Guide0..StepImage Gallery..title" = "Bildegalleri";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..Paragraph1" = "![](intro.png)";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..Paragraph2" = "I Bildegalleri lærer du hvordan du oppretter et rutenett med bilder, komplett med funksjon for å velge og redigere bilder.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..Paragraph3" = "Bildegalleri-appen er en forlengelse av to enklere implementeringer: [Organizing with Grids](x-com-apple-playgrounds://projects?contentId=com.apple.playgrounds.organizingwithgrids) og [Editing Grids](x-com-apple-playgrounds://projects?contentId=com.apple.playgrounds.editinggrids). Denne gjennomgangen forklarer hvordan du kan løse en del vanlige problemer når rutenettet viser bilder i stedet for former eller SF-symboler.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..Paragraph4" = "Større bilder kan lastes inn sakte, noe som kan føre til merkbare forsinkelser når appens brukergrensesnitt lastes inn. For at appen skal være responsiv mens den lastes inn, forklarer denne gjennomgangen hvordan du kan unngå forsinkelser ved å vise fremdriftsindikatorer til hvert bilde er lastet inn.";

/* title of the guide button */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..GuideButtonStart Walkthrough..title" = "Start gjennomgangen";

/* accessibility description for guide button */
"GuideBook..Guide0..StepImage Gallery..LearningCenterContent..GuideButtonStart Walkthrough..description" = "Tilgjengelighetsbeskrivelse for knapp";

/* Title for the section of tasks to complete */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..title" = "Modeller rutenettet";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..title" = "Modeller et objekt";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Paragraph5" = "Utforsk hvordan du modellerer et rutenettobjekt ved hjelp av en [struktur](glossary://structure).";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page0..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page0..Paragraph6" = "Når du bruker `ForEach` til å konstruere en samlingsvisning, for eksempel en liste eller et rutenett, vil SwiftUI identifisere hver visning, slik at de kan finnes og oppdateres. For å gjøre dette enklere kan du opprette en modell som [stemmer overens](glossary://conform) med [Identifiable](doc://com.apple.documentation/documentation/swift/identifiable/), som oppretter et `id`-egenskapskrav.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page1..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page1..Paragraph7" = "Din `Item` inneholder en `id`-[egenskap](glossary://property) som SwiftUI bruker til å unikt identifisere visningen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page2..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..Taskitem..Page2..Paragraph8" = "`Item` har også en `url`-egenskap som appen bruker til å identifisere plasseringen for det tilhørende bildet ved hjelp av en bane til filen. `AsyncImage` bruker denne URL-en i `GridItemView` til å laste inn bildet asynkront.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..title" = "Datamodell: Samle inn bilde-URL-er";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Paragraph9" = "Lær hvordan appen bruker en datamodell til å laste inn og lagre alle bildedata.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page3..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page3..Paragraph10" = "`DataModel` er et [observerbart objekt](glossary://observable%20object) som samler inn fil-URL-er fra bilder i Dokumenter-katalogen og fra appens [pakke](glossary://bundle)ressurser. Den bruker disse URL-ene til å fylle en matrise med `Item`-instanser som vises som innholdet i rutenettet.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page4..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page4..Paragraph11" = "`DataModel` publiserer en matrise med `item`-verdier som samsvarer med et bilde i rutenettet. Siden koden merker denne verdien som `@Published`, vil SwiftUI oppdatere rutenettvisningen (og andre visninger som bruker denne verdien) for å gjenspeile endringene når du legger til eller sletter en `Item` fra denne matrisen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page5..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page5..Paragraph12" = "Når du [initialiserer](glossary://initialization) `DataModel`, søker den gjennom Dokumenter-katalogen etter eventuelle bilder du har samlet, henter tilsvarende URL-er og føyer dem til i `items`-matrisen. Appen lagrer data lokalt i denne katalogen, så ved å søke her kan du vise alle bilder du har lagt til mens du har brukt appen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page6..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page6..Paragraph13" = "På en lignende måte leser du inn alle bilde-URL-er fra ressurskatalogen i appens hoved[pakke](glossary://bundle) og legger dem til i `items`. Denne pakken inneholder en katalog med bilder som inkluderes i prosjektet, i motsetning til bilder du har lagt til selv.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page7..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page7..Paragraph14" = "`DataModel` inneholder metoder for å legge til og fjerne elementer fra `items`. `addItem` legger til et nytt element som den første indeksen i matrisen, slik at du kan se når nye bilder dukker opp i visningen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page8..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup0..TaskdataModel..Page8..Paragraph15" = "`removeItem` fjerner et element ved å finne elementets indeks og fjerne den fra `items`-matrisen. Denne metoden fjerner også elementets tilhørende bildefil fra Dokumenter-katalogen, hvis den ligger der. Dette sørger for at bildet ikke lastes inn igjen fra lokal applagring neste gang du starter appen.";

/* Title for the section of tasks to complete */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..title" = "Opprette rutenettet";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..title" = "Del appdata";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Paragraph16" = "Lær hvordan appen overfører bildedata fra `DataModel` til [visningshierarkiet](glossary://view%20hierarchy).";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page9..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page9..Paragraph17" = "Bildegalleri-appen laster inn et galleri med bilder når du starter den. Siden bildene er så store og du ikke vil ha forsinkelser i appen når de lastes inn samtidig, bruker du [asynkrone](glossary://asynchronous%20process) forespørsler, slik at appen blir responsiv selv om det tar tid å hente inn dataene.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page10..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page10..Paragraph18" = "For å opprette en `dataModel` som et [statusobjekt](glossary://state%20object) bruker du [egenskapsinnpakningen](glossary://property%20wrapper) `@StateObject` og oppgir en innledende verdi som stemmer overens med `ObservableObject`-protokollen. SwiftUI håndterer lagring for et statusobjekt og oppdaterer alle [delvisningene](glossary://subview) som bruker verdien, når de [publiserte verdiene](glossary://published%20value) endres.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page11..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskphotoGridApp..Page11..Paragraph19" = "[NavigationStack](doc://com.apple.documentation/documentation/swiftui/navigationstack)-strukturen overfører `DataModel`-[instansen](glossary://instance) ved hjelp av `.environmentObject`-modifikatoren, slik at det [observerbare objektet](glossary://observable%20object) blir tilgjengelig for alle [delvisningene](glossary://subview) i `NavigationStack`. Det betyr at disse visningene får tilgang til dataene fra `dataModel`, slik at de kan utføre forskjellige oppgaver, for eksempel laste inn bildevisninger asynkront eller oppdatere rutenettvisningen når dataene endres.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..title" = "Opprett et rutenettobjekt";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Paragraph20" = "Finn ut hvordan du laster inn et bilde [asynkront](glossary://asynchronous%20process) fra en URL ved hjelp av [AsyncImage](doc://com.apple.documentation/documentation/swiftui/asyncimage).";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page12..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page12..Paragraph21" = "`GridItemView` representerer ett objekt i rutenettet, en bildevisning som viser bildet som er definert av en `Item`-instans.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page13..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page13..Paragraph22" = "En `GridItemView` inneholder en egenskap for `item` som leverer URL-en for å laste inn bildet asynkront.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page14..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page14..Paragraph23" = "Du oppretter bildevisningen i `body` i `GridItemView`. Siden du kommer til å ha et betinget brukergrensesnitt for redigering som overlegg oppå bildet, må bildet pakkes i en [ZStack](doc://com.apple.documentation/documentation/swiftui/zstack).";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page15..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page15..Paragraph24" = "Du kan initialisere en [AsyncImage](doc://com.apple.documentation/documentation/swiftui/asyncimage) med `item.url`-verdien for å laste inn bildet [asynkront](glossary://asynchronous%20process). Siden det er mange bilder som skal lastes inn når appen startes, kan du laste dem inn asynkront, slik at appen kan fortsette å kjøre resten av koden mens den venter på at bildene skal returneres. Det forhindrer merkbar forsinkelse i brukergrensesnittet.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page16..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page16..Paragraph25" = "`AsyncImage` inneholder en `content`-[closure-blokk](glossary://closure) som leverer en [instans](glossary://instance) av en SwiftUI-`Image`. Du bruker denne instansen til å opprette bildevisningen. Du legger til modifikatorene `.resizable` og `.aspectRatio(contentMode: .fill)` for å skalere bildet, slik at det fyller den tilgjengelige plassen i visningen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page17..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridItemView..Page17..Paragraph26" = "`AsyncImage` bruker en plassholder til å vise innhold mens bildet lastes inn. Plassholderen bruker en [ProgressView](doc://com.apple.documentation/documentation/swiftui/progressview) for SwiftUI, som viser en snurrende sirkel.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..title" = "Opprett galleriet ditt";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Paragraph27" = "Lær hvordan du lager en rutenettvisning ved hjelp av en serie innebygde og [sammenstilte visninger](glossary://composed%20view) i SwiftUI.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page18..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page18..Paragraph28" = "Du oppretter bildegalleriet i `GridView`. Hvis du trenger en oppfriskning av hvordan du oppretter et rutenett, kan du se [Organizing with Grids](x-com-apple-playgrounds://projects?contentId=com.apple.playgrounds.organizingwithgrids). I denne gjennomgangen lærer du hvordan du kan implementere rutenettet ved hjelp av modelltypen `Item` og det observerbare objektet `dataModel`.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page19..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page19..Paragraph29" = "For å få tilgang til appens `dataModel` definerer du en `@EnvironmentObject` av typen `DataModel`, slik at du får tilgang til [miljøobjektet](glossary://environment%20object) som overføres til det øverste nivået av [visningshierarkiet](glossary://view%20hierarchy) i `ImageGalleryApp.swift`.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page20..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page20..Paragraph30" = "Dataene som brukes til å fylle rutenettet, kommer fra en matrise med `Item`-instanser (som finnes i `dataModel.items`), der hver instans henviser til én bilde-URL.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page21..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page21..Paragraph31" = "For å opprette rutenettet nøster du en [LazyVGrid](doc://com.apple.documentation/documentation/swiftui/lazyvgrid) inni en [ScrollView](doc://com.apple.documentation/documentation/swiftui/scrollview), slik at innholdet i rutenettet kan rulle vertikalt ved behov.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page22..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page22..Paragraph32" = "[ForEach](doc://com.apple.documentation/documentation/swiftui/foreach)-løkken itererer gjennom `dataModel.items` og oppretter en `NavigationLink` med en `GridItemView` basert på hver `item`-verdi i matrisen. Siden hver `item`-instans er [Identifiable](doc://com.apple.documentation/documentation/swift/identifiable), trenger du ikke en `id`-[parameter](glossary://parameter) når du oppretter rutenettvisninger. I stedet bruker SwiftUI `id`-egenskapen for hver `item` til å unikt identifisere den.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page23..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page23..Paragraph33" = "Når en bruker trykker på et bilde i matrisen, vil du vise dem bildet i full størrelse ved hjelp av en `DetailView`.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page23..Paragraph34" = "For å opprette en lenke bruker du en [NavigationLink](doc://com.apple.documentation/documentation/swiftui/navigationlink) som lenker til `DetailView`, som [målvisning](glossary://destination%20view), og du bruker en `Rectangle` og `GridItemView` som [etikett](glossary://label).";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page24..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page24..Paragraph35" = "Dette er din NavigationLink-[etikett](glossary://label), og den bestemmer hvordan bildene i matrisen skal vises.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page24..Paragraph36" = "For å opprette bildene i like store kvadrater i rutenettet oppretter du en `Rectangle`-visning og angir [beholdervisningen](glossary://container) `NavigationLink` til et størrelsesforhold med verdien `1`. Dette gjengir rektangelet med lik bredde og høyde, slik at det blir kvadratisk. Deretter kan du overlegge bildet oppå kvadratet som en `GridItemView` som skaleres for å fylle den tilgjengelige plassen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page25..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page25..Paragraph37" = "`GridItemView` håndterer den asynkrone innlastingen av bilder og overgangene mellom redigeringsstatuser.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskgridView..Page25..Paragraph38" = "For å initialisere `GridItemView` overfører du `item` fra `ForEach`-løkken.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..title" = "Legg til et bilde i galleriet";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Paragraph39" = "Undersøk hvordan du legger til og redigerer bilder i galleriet.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page26..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page26..Paragraph40" = "`.toolbar`-modifikatoren inneholder to verktøylinjeobjekter: ett for å redigere bilder i rutenettet, og ett for å legge til et nytt bilde.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page27..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page27..Paragraph41" = "For å legge til et nytt bilde i rutenettet bruker du en [PhotosPicker](doc://com.apple.documentation/documentation/photokit/photospicker)-knapp (+) for å velge et bilde fra bildebiblioteket, slik at `selectedPhoto`-statusen oppdateres korrekt.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page28..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page28..Paragraph42" = "Bruk `onChange`-modifikatoren til å kalle en [closure-blokk](glossary://closure) når verdien til `selectedPhoto` endres.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page28..Paragraph43" = "I closure-blokken kaller du datamodellen – inne i en [oppgave](glossary://task) – for å opprette et nytt `Item` av det valgte bildet og legger til objektet i `DataModel.items`. Det fører til at SwiftUI oppdaterer rutenettvisningen og legger til det tilsvarende bildet.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page29..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page29..Paragraph44" = "For å redigere rutenettet med bilder bruker du [statusverdien](glossary://state%20value) `isEditing`. Du legger til en Fjern-knapp (x) oppå hvert bilde når verdien veksles til `true`.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page30..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page30..Paragraph45" = "Når `isEditing` er `true`, viser du en Fjern-knapp (x) oppå bildene.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page31..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup1..TaskaddAnImage..Page31..Paragraph46" = "Når en bruker trykker på Fjern-knappen (x), fjerner koden det aktuelle objektet fra `dataModel.items`. Siden `dataModel.items` er en [publisert verdi](glossary://published%20value), vil denne endringen føre til at SwiftUI oppdaterer rutenettvisningens utseende og fjerner objektet.";

/* Title for the section of tasks to complete */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..title" = "Marker bildene som favoritter";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..title" = "Legg til en ny egenskap i et objekt";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Paragraph47" = "Legg til `isFavorite`-egenskapen i `Item`.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page32..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page32..Paragraph48" = "Hva hvis du vil ha muligheten til å markere de beste bildene i galleriet som favoritter? Kan du tenke deg hvordan du kan implementere det?";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page32..Paragraph49" = "Hvis du føler deg trygg, kan du legge til denne funksjonaliteten selv. Bruk disse instruksjonene hvis du står fast.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page33..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page33..Paragraph50" = "Først legger du til en egenskap i `Item`, sli kat appen kan holde oversikten over bildene som er markert som favoritter:";

/*  */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page33..CodeBlock0" = "var isFavorite = false\n";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page34..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page34..Paragraph51" = "Nå kan du endre verdien `isFavorite` for valgfrie `Item`-[instanser](glossary://instance).";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskisFavoriteItem..Page34..Paragraph52" = "Nå skal du opprette en knapp, slik at du kan endre `isFavorite`-verdien fra `DetailView`.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..title" = "Veksle et objekt som er markert som favoritt";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Paragraph53" = "Legg til muligheten til å veksle favorittstatus fra `DetailView`.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page35..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page35..Paragraph54" = "Deretter må du legge til en måte å markere ett av bildene som favoritt på. Det kan du gjøre ved å legge til en `Button` i `DetailView` for å kalle `item.isFavorite.toggle()` når noen trykker på knappen.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page36..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page36..Paragraph55" = "Legg til `Button` under `AsyncImage`-visningen.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page36..Paragraph56" = "Dette viser et fargelagt hjerte hvis noen merker bildet som favoritt, og omrisset av et hjerte hvis bildet ikke er merket som favoritt.";

/*  */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page36..CodeBlock1" = "Button { \n    item.isFavorite.toggle()\n} label: { \n    Label(\"Favorite\", systemImage: item.isFavorite ? \"heart.fill\" : \"heart\")\n        .font(.system(size: 24))\n}\n";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page37..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page37..Paragraph57" = "Hvis du vil gjøre knappen litt finere, kan du legge til disse modifikatorene:";

/*  */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page37..CodeBlock2" = ".buttonStyle(.plain)\n.labelStyle(.iconOnly)\n.padding(EdgeInsets(top: 20, leading: 30, bottom: 20, trailing: 30))\n.background(Color.secondary.colorInvert())\n.cornerRadius(15)\n";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page38..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskdetailViewToggle..Page38..Paragraph58" = "Supert! Nå kan brukerne markere et bilde som favoritt. Nå skal du vise alle bildene som er merket som favoritt, i `GridView`.";

/* Title for task */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..title" = "Vis favorittene dine";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Paragraph59" = "Vis et bilde av et hjerte oppå bildene som er markert som favoritter.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page39..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page39..Paragraph60" = "For å vise favorittene i `GridView` bruker du et overlegg med et bilde av et hjerte oppå bildene som er markert som favoritter.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page39..Paragraph61" = "Prøv det på egen hånd. Du kan bruke disse hintene hvis du står fast.";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page40..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page40..Paragraph62" = "I `GridView` er hvert bilde en `NavigationLink` med et [mål](glossary://destination%20view) som er `DetailView`, og en [etikett](glossary://label) som er en `Rectangle`-visning med et `GridItemView`-overlegg.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page40..Paragraph63" = "Du kan bruke enda en visning som overlegg oppå `Rectangle`-visningen ved å legge til en ekstra `.overlay`-modifikator under den første. Hvis du bruker `.bottomLeading` for `alignment`-argumentet, justeres bildene til det nedre ledende hjørnet i `Rectangle`.";

/*  */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page40..CodeBlock3" = ".overlay(alignment: .bottomLeading) {\n    //#-learning-code-snippet(checkIsFavorite)\n}\n";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page41..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page41..Paragraph64" = "Du kan bruke litt betinget kode til å finne ut om dette bildet er markert som favoritt.";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page41..Paragraph65" = "Hvis bildet er markert som favoritt, skal det vises et bilde av et hjerte i nederste ledende hjørne av `Rectangle`-visningen.";

/*  */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page41..CodeBlock4" = "if item.isFavorite {\n   Image(systemName: \"heart.fill\")\n       .foregroundColor(.white)\n       .shadow(color: .black.opacity(0.3), radius: 5)\n       .font(.callout)\n       .offset(x: 4, y: -4)\n}\n";

/* title for page */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page42..title" = "";

/* Paragraph Content delivered to the user. The key should give context as to where this is being delivered to the user */
"GuideBook..Guide0..StepImage Gallery..TaskGroup2..TaskgridViewFavorites..Page42..Paragraph66" = "Nå kan du prøve å markere noen bilder som favoritt for å se hvordan `GridView` endres. Fortsett å finjustere implementeringen til den ser ut slik du vil.";

