Sunday, February 24, 2019

Difficult Pages and New Concepts

Unit 1, Lesson 4:
  • Page 4 has some intricate logic but you should be able to work it out.
  • Page 7 uses switch statements with ranges. This is a new concept. Explanation is in the book.
  • Page 8 introduces the ternary operator. This is new. Explanation is in the book.
  • Page 9 also uses the ternary operator.

Unit 1, Lesson 6 will introduce you to debugging, breakpoints, and the debug console.

Unit 1, Lesson 8 has two different simple apps you will make.

Unit 1, Guided Light App will have you write and change code and change the UI to the best possible.


Unit 2, Lesson 1, Page 5 - You need to pay careful attention to the instructions, especially regarding the use of case sensitivity.

Unit 2, Lesson 2, Page 4 - The pacing function may be difficult for you to formulate. You want to compare the fraction of the distance completed (current distance / total distance) with the fraction of the time used (current time / goal time). If the distance is farther along than the time, then you will beat the goal time.

Unit 2, Lesson 2, Page 6 - This has another pacing function. To calculate the pace, remember that

current distance        total distance
-------------- = ------------
current time             total time

Or, you could look at it this way:

current distance / total distance = current time / total time
current distance        current time
-------------- = ------------
total distance             total time

You want to calculate the total time based on the other three. (This would tell you, for example, how many minutes it will take you to run a mile.) Figure out the equation to determine the total time.

Unit 2, Lesson 3, Page 7 - I could not get the didSet functions to work without causing an infinite loop.

Unit 2, Lesson 3, Page 8 - Be aware, the willSet function behaves differently than the didSet function.

Unit 2, Lesson 4 introduces classes, which is an entirely new concept. Classes are similar to structures but they have some added capabilities, such as inheritance. Inheritance is an important concept for you to know if you plan to continue on in the future to Java or Android programming or AP Computer Science. We should probably do this lesson together instead of independently.

Unit 2, Lesson 6 introduces new uses of the for...in loop, such as indexes and key/value pairs. It also introduces while loops, which are an alternative to for...in loops.

Unit 2, Lesson 8 asks you to create two small apps and make them look nice, but you do not need to use constraints or auto layout, which will be in a future lesson.

Unit 2, Lesson 9 asks you to connect a tap gesture recognizer. The gesture recognizer exists only in the document outline, so you'll need to make sure it is open.






Everyone Can Code, Part 2: Schedule

The ECC 180 hour series will be mostly review of the 90 hour series for units 1 and 2. So we will expect to do the lessons at a pace of about one per hour. For the morning class, this means two lessons per day. For the afternoon class, we can do three lessons per day.

Some lessons have new or difficult concepts, and we will allow extra time for those lessons.

AM Schedule


Week 7
Monday Feb 25Developer Account
Lesson 1.2: Constants and Variables
Lesson 1.3: Operators
Tuesday Feb 26Lesson 1.4: Control Flow
Lesson 1.5: Xcode App
Wednesday Feb 27Lesson 1.6: Debugging
Thursday Feb 28Lesson 1.8: Interface Builder
Unit 1 App: Guided Light
Friday March 1Lesson 2.1: Strings
Lesson 2.2: Functions
Week 8
Monday March 4Lesson 2.3: Structures
Lesson 2.4: Classes
Tuesday March 5Lesson 2.4: Classes (continued)
Lesson 2.5: Collections
Wednesday March 6No class?
Thursday March 7Lesson 2.6: Loops
Lesson 2.7: UIKit
Friday March 8Lesson 2.7: UIKit
Lesson 2.8: Data
Week 9
Monday March 11Lesson 2.9: Controls
Lesson 2.10: Auto Layout
Tuesday March 12Unit 2 App: Apple Pie


PM Schedule


Week 7
Monday Feb 25Developer Account
Lesson 1.2: Constants and Variables
Lesson 1.3: Operators
Lesson 1.4: Control Flow
Tuesday Feb 26Lesson 1.5: Xcode App
Lesson 1.6: Debugging
Wednesday Feb 27Lesson 1.8: Interface Builder
Unit 1 App: Guided Light
Thursday Feb 28Lesson 2.1: Strings
Lesson 2.2: Functions
Lesson 2.3: Structures
Friday March 1Lesson 2.4: Classes
Lesson 2.5: Collections
Week 8
Monday March 4Lesson 2.6: Loops
Lesson 2.7: UIKit
Lesson 2.8: Data
Tuesday March 5Lesson 2.9: Controls
Lesson 2.10: Auto Layout
Wednesday March 6Unit 2 App: Apple Pie
Thursday March 7Lesson 3.1: Optionals
Lesson 3.2: Type Casting
Friday March 8Lesson 3.3: Guard
Lesson 3.4: Scope

Saturday, February 9, 2019

Grades at Progress Report One

Monday night, 9:55 pm

GradeAM ClassPM Class
A65
B94
C112
D20
F13
Median8181
Highest9899
Lowest5326

AM class: Median came up from 73 to 81.

PM class: Median came up from 73 to 81 as students turned in the App Journals.





Tuesday, February 5, 2019

Create a free developer account for Xcode

Please follow the steps of this quick tutorial today.


HVAC App?

This is a dictionary of symbols used in HVAC (Heating, ventilation, and air conditioning). We have an HVAC class at SVCTE. The class needs to learn all these symbols. Could you write an app that helps these students?

HVAC Symbols Information Sheet


Friday, February 1, 2019

App Journal (PM Class only)

PM Class Only

Write up App Journal for lessons 4, 5, 6, and 7.

Due on Monday, Feb. 4.

Share your app journal with me from Google Docs. DO NOT print it out.


Why Morse Code?

Morse code … has become an efficient tool for people that struggle with communication. Tania Finlayson struggled with communication for most of her life due to cerebral palsy. ~ Anthony

Recently Google added the ability to type in Morse code, which to most seems like more of a gimmick rather than a feature. However, to a person with cerebral palsy or others who have trouble keeping their hands steady, using Morse code must be more convenient to use since there are only two buttons to press. ~ Randy

This system may be effective for those with issues in either speaking or typing. Tania Finlayson, an assistive tech developer with cerebral palsy, is a major beneficiary of this app because it has allowed her to communicate. ~ Ayush

Morse code seems inefficient in the sense that a majority of the population do not understand it. 

Finlayson was born with cerebral palsy, which made it difficult for her to talk with others. ~ Catherine

Morse code allows people with speech disabilities to communicate faster than just using a standard keyboard. ~ Huy

The target audience for this app are people who are not able to talk. ~ Brian

Tania’s life was really hard because she has a head stick to point until she got two switches near her head that help her to communicate with other people. ~ Dat

The invention is important because it translates Morse code and speaks out the words aloud in English, giving the user a voice of their own. It allows people with limited mobility to operate a cell phone. ~ Jaiya

This app’s target audience is people who cannot speak and have poor motor skills. It removes communication as a burden for those with cerebral palsy or similar conditions. ~ David