Skip to main content
Home

Main navigation

  • Apps
  • Forum
  • Blog
    • Podcast
    • Guides
    • Hardware & Accessory Reviews
    • Bug Tracker
    • Developer Resources
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. App Development and Programming

Help getting through the 2nd page of “Learn to code 1” in Swift playgrounds?

By KE8UPE, 9 June, 2021

Forum
App Development and Programming

Hi,
I sincerely apologize for the lengthy subject, but I wanted to be 'as detailed as possible.

As the subject says, I'm struggling to get through the 2nd page of "Learn to code 1" in Swift playgrounds.

It's the one where you have to turn left, in order collect the gem.

Has anyone managed to accomplish this level, and could provide some hints?

Options

  • Log in or register to post comments

Comments

Code for us!

By Unregistered User (not verified)

1 year 9 months ago

Hi my friend!
Please code any simple text editor for us, blind users!
The task:
You should place on the form three items:
1. on the top left corner "open" button;
2. on the right top corner "save" button;
3. The remained part of this form has to be placed with multi line text edit item;
4. on click "open" button you should code the event which is opening a standard dialogue for choosing file;
For this purpose use Universal type identifier (reference by apple). In our case use 'public.text';
5. When you will get the path of the chosen file, show the file name in the title of this form;
6. Let the user be typing text;
7. on click "save" button you should code the event which is opening a standard dialogue for choosing file;
You have copy text from the multiline text edit item and place it into the file;
8. In the title of this form you should show the file name and the word "Saved";
9. Then compile your app and locate it on app store.
10. Give us your link;
11. It will be your first accessible app.
Cheers!

The secret is …

By Dave Matters

1 year 9 months ago

This took me a minute. Seems the ‘thing to know’ is that the grid coordinates are based on the grid starting in the bottom left corner. When you are right arrowing through the grid, your not really going left then down, but rather, up the first column and then the second (which is the second from the left. The rows at row 0 which is the bottom row, not the top. Also remember the rows and columns start with 0.
Hope that makes sense and helps.
Dave …

If this question for me then...

By Unregistered User (not verified)

1 year 9 months ago

In reply to The secret is … by Dave Matters

When i say the top right corner it means the top right corner.
It is not important How exactly the button has to be placed on the form.
It's important that I could tap this button and read the button caption.
For example, i place the button in the pythonista design inspector by holding and dropping it on the form.
Cheers!

More Like This

Download swift playgrounds (Forum Topic)
How do you change the voice in Swift Playgrounds? (Forum Topic)
my thoughts on the swift playgrounds app for iPad (Forum Topic)
Playground Output (Forum Topic)
xcode 7.2.1 and playgrounds (Forum Topic)
Learning Swift and app development with voiceover? (Forum Topic)
Question about Xcode editors & swift tutorials? (Forum Topic)
Just Press Record - Installation not possible (Forum Topic)

Site Information

  • About
  • Club AppleVis
  • FAQ
  • Contact

Unless stated otherwise, all content is copyright AppleVis. All rights reserved. © 2023 | Accessibility | Terms | Privacy