Dela en playground på iPad
Du kan dela din playground så att andra kan testa din kod eller projekt som du har skapat.
Använda AirDrop, Mail, Meddelanden med mera
Öppna skärmen Mina playgrounder i appen Swift Playgrounds på iPad, tryck på Välj och tryck sedan på den playground som du vill dela.
Tryck på .
Välj hur du vill dela din playground:
AirDrop: Tryck på en mottagare. Mottagaren måste tacka ja till att få dokumentet innan det skickas.
Meddelanden, Mail eller annan app: Tryck på appsymbolen, ange en mottagare och annan information som krävs och skicka den sedan.
Kopiera: Tryck på Kopiera om du vill skapa en kopia av playgrounden som du kan klistra in.
Spela in en playground
Om du vill förklara din kod med en video kan du spela in din playground och lägga till kommentarer medan du spelar in. Videorna du skapar sparas på iPad och kan delas på samma sätt som andra videor.
Tryck på i en playground i appen Swift Playgrounds på iPad och tryck sedan på Spela in film.
Tryck på för att börja spela in.
Tryck på för att stoppa inspelningen.
När du har stoppat inspelningen gör du något av följande:
Tryck på Spara om du vill spara videon i Bilder.
Tryck på uppspelningsknappen i mitten av skärmen om du vill titta på videon du precis spelade in.
Om du vill dela eller kopiera videon trycker du på och väljer sedan hur du vill dela:
AirDrop: Tryck på en mottagare. Mottagaren måste tacka ja till att få dokumentet innan det skickas.
Mail, Meddelanden eller annan app: Tryck på appsymbolen, ange en mottagare och annan information som krävs och tryck sedan på .
Kopiera: Tryck på Kopiera om du vill skapa en kopia av videon som du kan klistra in.
Tryck på Klar för att återgå till din playground.
Direktsända en playground
Du kan direktsända en playground till åskådare från din iPad om du har en tredjepartsapp som gör det möjligt att direktströmma mobilspel. Om du inte har en app som strömmar innehåll kan du hitta en på App Store.
Öppna playgrounden i appen Swift Playgrounds på iPad, tryck på och tryck sedan på Direktsänd.
Om du har en app som kan direktströmma mobilspel trycker du på strömningsappen.
Om du inte har en app som kan direktströmma mobilspel trycker du på Hitta appar för direktströmning och väljer sedan en app från tredje part som du vill strömma till.
Tryck på för att börja strömma Swift Playgrounds.
Tryck på när du vill sluta strömma.
Skapa en PDF av en playground
Du kan skapa en PDF av din playground som du kan skriva ut eller dela med andra. PDF-filen är en bildbaserad fil (den innehåller inte textinformation), så du kan inte kopiera och klistra in text från den.
Öppna playgrounden i appen Swift Playgrounds på iPad, tryck på och tryck sedan på Skapa PDF.
Välj ett sätt att dela din PDF:
AirDrop: Tryck på en mottagare. Mottagaren måste tacka ja till att få dokumentet innan det skickas.
Meddelanden, Mail eller annan app: Tryck på appsymbolen, ange en mottagare och eventuell annan information som krävs och skicka den sedan.
Exportera en playground
Du kan exportera en playground som du vill dela med andra eller spara en version åt dig själv.
Öppna playgrounden i appen Swift Playgrounds på iPad, tryck på och välj sedan Avancerat > Exportera ny playground.
Om du vill byta namn på playgrounden markerar du namnet och anger sedan ett nytt namn.
Om du vill använda ändringarna du har gjort som en ny startpunkt för den exporterade playgrounden ska du se till att du har valt Börja om med mina ändringar. Om personen som tar emot din playground sedan väljer att nollställa den blir hans eller hennes ändringar raderade, men inte dina.
Om du inte hade valt Börja om med mina ändringar när du exporterade playgrounden blir bådas ändringar raderade ifall playgrounden nollställs.
Om du vill spara playgrounden på sidan Mina playgrounder trycker du på Exportera till Mina playgrounder. Om du vill dela den trycker du på Dela exporterad playground och väljer sedan hur du vill dela playgrounden (Mail, Meddelande, AirDrop osv.).