Film Festival
Tuesday May 21
6:00-8:00 pm
See films by our own Film & Video students, as well as animations by the Animation class.
I will give you extra credit if I see you there. Don't ask me how much extra credit - if you ask, you're not really interested. I'll make it worth your while. The extra credit will go under the "career readiness" category but it doesn't really matter because it will raise your grade somehow.
Click on the flier to enlarge it.
Sunday, May 19, 2019
Cyber Camp and Design Thinking Bootcamp
The flier has information how to contact and register. Click on the image to enlarge it.
Here is another one that will take place in Milpitas
Here is another one that will take place in Milpitas
Final Projects
The good news: most of you turned in working projects.
The bad news: most of you did not test and fix your projects in all six required orientations:
The bad news: most of you did not test and fix your projects in all six required orientations:
- Small iPhone (5s) - Portrait
- Small iPhone (5s) - Landscape
- Large iPhone (8+ or XR) - Portrait
- Large iPhone (8+ or XR) - Landscape
- Any iPad - Portrait
- Any iPad - Landscape
Friday, May 17, 2019
Design Contest Winners
Thank you to 103 visitors from Mechatronics, Cybersecurity, Veterinary Science, Medical Assisting, and Construction Technology who voted on our best posters, logos, and apps.
Click on the image to see a more detailed view.
Click on the image to see a more detailed view.
Posters
![]() |
| First Place - Nick Nguyen, PM Class, Andrew Hill HS |
![]() |
| Honorable Mention - Giselle Valencia-Garcia, PM class, Lincoln HS |
![]() |
| Honorable Mention - Tran Tran, AM Class, Mt. Pleasant HS |
![]() |
| Honorable Mention - Zeus Lopez, AM Class, Wilson HS |
Logos
![]() |
| First Place - David Warshawsky, AM class, Santa Clara HS |
![]() |
| Second Place - Nick Nguyen, PM class, Andrew Hill HS |
![]() |
| Third Place - Catherine Ngo, AM class, Evergreen HS |
Apps
![]() |
| First Place - HVAC, Mikey Alvarado and Ken Rodriguez |
![]() |
| Second Place - Anatomy, Giselle Valencia-Garcia and Nhat Tran |
Timer code for Concentration game
This code is in the action method for when a button (card) gets touched. Your code may need to be a little different.
if buttonsTouched.count >= 2 {
// same picture
if pictures[buttonsTouched[0].tag] == pictures[buttonsTouched[1].tag] {
let _ = Timer.scheduledTimer(
timeInterval: 2.0,
target: self,
selector: #selector(keepCards),
userInfo: nil,
repeats: false)
}
// not same picture
else {
let _ = Timer.scheduledTimer(
timeInterval: 2.0,
target: self,
selector: #selector(turnOver),
userInfo: nil,
repeats: false)
}
}
These are the selector functions that will get called. Your code may be a lot different.
@objc func keepCards() {
buttonsTouched[0].backgroundColor = flippedColor
buttonsTouched[1].backgroundColor = flippedColor
// buttonsTouched[0].setTitleColor(.white, for: .normal)
// buttonsTouched[1].setTitleColor(.white, for: .normal)
buttonsTouched = []
}
@objc func turnOver() {
if seen.contains(pictures[buttonsTouched[0].tag]) {
missed += 1
missedLabel.text = "\(missed) missed"
}
for b in buttonsTouched {
b.setTitle("\(b.tag+1)", for: .normal)
seen.append(pictures[b.tag])
}
buttonsTouched = []
print (seen)
}
if buttonsTouched.count >= 2 {
// same picture
if pictures[buttonsTouched[0].tag] == pictures[buttonsTouched[1].tag] {
let _ = Timer.scheduledTimer(
timeInterval: 2.0,
target: self,
selector: #selector(keepCards),
userInfo: nil,
repeats: false)
}
// not same picture
else {
let _ = Timer.scheduledTimer(
timeInterval: 2.0,
target: self,
selector: #selector(turnOver),
userInfo: nil,
repeats: false)
}
}
These are the selector functions that will get called. Your code may be a lot different.
@objc func keepCards() {
buttonsTouched[0].backgroundColor = flippedColor
buttonsTouched[1].backgroundColor = flippedColor
// buttonsTouched[0].setTitleColor(.white, for: .normal)
// buttonsTouched[1].setTitleColor(.white, for: .normal)
buttonsTouched = []
}
@objc func turnOver() {
if seen.contains(pictures[buttonsTouched[0].tag]) {
missed += 1
missedLabel.text = "\(missed) missed"
}
for b in buttonsTouched {
b.setTitle("\(b.tag+1)", for: .normal)
seen.append(pictures[b.tag])
}
buttonsTouched = []
print (seen)
}
Wednesday, May 15, 2019
Table Views Part 2
Fruits and Vegetables Project
http://mobileapps1819.svctestudents.org/materials/TableViewFruit.zip
We did this project in the PM class but we did not have time in the AM class. This project shows how to pass information from a Table View cell selection to another view controller using a segue. This code passes the cell label text to the destination view controller. The code looks like this:
You may want to get the section and/or row number of the cell that got selected. You would want to do this if, for example, they clicked on the row 30 and you want to display president #30 or ant species #30 or HVAC symbol #30. This assumes you have a data file with presidents or ants or HVAC symbols (which you should have turned in for the data checkpoint).
Anyway, you can get the selected row using this somewhat roundabout way. Insert this into the above code where it says "pass the selected object" in place of or in addition to the code there.
You can also get the section number from the indexPathForSelectedRow if your table view has sections for different kinds of data.
http://mobileapps1819.svctestudents.org/materials/TableViewFruit.zip
We did this project in the PM class but we did not have time in the AM class. This project shows how to pass information from a Table View cell selection to another view controller using a segue. This code passes the cell label text to the destination view controller. The code looks like this:
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
let dest = segue.destination as? ViewController
let cell = sender as? UITableViewCell
// Pass the selected object to the new view controller.
dest?.newFruitText = (cell?.textLabel?.text)!
dest?.newFruitImage = (cell?.textLabel?.text?.lowercased())!
}
You may want to get the section and/or row number of the cell that got selected. You would want to do this if, for example, they clicked on the row 30 and you want to display president #30 or ant species #30 or HVAC symbol #30. This assumes you have a data file with presidents or ants or HVAC symbols (which you should have turned in for the data checkpoint).
Anyway, you can get the selected row using this somewhat roundabout way. Insert this into the above code where it says "pass the selected object" in place of or in addition to the code there.
dest.presidentNumber = self.tableView.indexPathForSelectedRow.row;
You can also get the section number from the indexPathForSelectedRow if your table view has sections for different kinds of data.
Monday, May 13, 2019
App Icon
Your app will need to have an icon that will appear on the home screen. You will create your icon in Adobe Illustrator and export it to PNG in all the various required sizes. For the icon assignment, you will turn in your Adobe Illustrator file and all the various PNG files.
You can read some guidelines for icons in Lesson 6.1 of the textbook.
You can find some information about the required icon sizes here and here.
If the base size of the icon is 20pt, and the multiplier is 2x, then you need to put a 40px icon in that slot.
If the base size of the icon is 20pt, and the multiplier is 3x, then you need to put a 60px icon in that slot.
If the base size of the icon is 29pt, and the multiplier is 2x, then you need to put a 58px icon in that slot.
And so on ...
You can read some guidelines for icons in Lesson 6.1 of the textbook.
You can find some information about the required icon sizes here and here.
Final Project
For the final project, you will also need to insert the icons into your project. In the project navigator find Assets.xcassets then find Appicon. There are about 18-20 slots for icons, but some of them are the same size, so you need about 13-14 different sizes of icon. You must have icons in all the correct sizes and they must all be in the correct slot.If the base size of the icon is 20pt, and the multiplier is 2x, then you need to put a 40px icon in that slot.
If the base size of the icon is 20pt, and the multiplier is 3x, then you need to put a 60px icon in that slot.
If the base size of the icon is 29pt, and the multiplier is 2x, then you need to put a 58px icon in that slot.
And so on ...
Final App Requirements
Your final app must fulfill all these requirements.
Your final app does not need:
- The app must build and run, with no red errors and no crashes.
- The app must not have any dead-end navigation. No matter what screen I am on, I should be able to navigate back or to the home screen.
- All the navigation in the app must work.
- The app must work on both iPad and iPhone unless you justify your decision. Not understanding stack views or constraints is not a justification.
- The app must work in both portrait and landscape mode unless you justify your decision. Not understanding stack views or constraints is not a justification.
- (You should test your app in six different configurations as described elsewhere on this blog.)
- If your app has images, all the images must be there.
- If your app has a database, it must be complete.
- Example: If your app is about presidents, it should have screens for all 45 presidents.
- Example: If your app is about HVAC, it should have all the HVAC symbols.
- The app must have an icon that satisfies the guidelines in Lesson 6.1.
- The information in the app must be correct.
Your final app does not need:
- A description for the app store. We will work on this during the last week of class.
Sunday, May 12, 2019
Week 17 Overview
You must turn in both app checkpoints on Monday and Wednesday or you will get no credit. There is no late credit on the checkpoints. I will hold the class both days until I have a project from each group.
You must turn in the final app on Friday at the end of the period or you will get no credit. I will hold the class until I have a project from each group. We will miss the bus if necessary. Be prepared.
You must turn in the final app on Friday at the end of the period or you will get no credit. I will hold the class until I have a project from each group. We will miss the bus if necessary. Be prepared.
| Activity | AM Class | PM Class |
|---|---|---|
| Final Working App Checkpoint 1 | Monday May 13 | Monday May 13 |
| App Icon | Tuesday May 14 | Tuesday May 14 |
| Final Working App Checkpoint 2 | Wed. May 15 | Wed. May 15 |
| Open House | - | Thurs. May 16 |
| Final working app | Friday May 17 | Friday May 17 |
Week 18 Preview
| Overtime Final working app | Monday May 20 | Monday May 20 |
| App Store writeup | Wed. May 22 | Wed. May 22 |
| Last day of class | Friday May 24 | Friday May 24 |
Thursday, May 9, 2019
Making a Grid in Code with Mathematics
(This post is for our guests visiting from Taiwan)
Portfolio web page
→ http://www.mixed-up.com/markb/design/
→ http://www.mixed-up.com/markb/photo/
Piano keyboard
→ http://www.mixed-up.com/markb/design/case.html#key
→ http://www.mixed-up.com/markb/code/svg/piano.svg
Calculator keyboard
→ http://www.mixed-up.com/markb/javascript/resistors.html
Art creation app
→ http://www.mixed-up.com/markb/javascript/mondrian.html
Concentration game
→ http://www.mixed-up.com/markb/javascript/pairs.html
Periodic table of the elements
→ http://www.mixed-up.com/markb/javascript/periodic.html
Circuit Board
→ https://i.pinimg.com/originals/67/69/a3/6769a34a7ea9719a4f4366dab42b3f23.jpg
Processor Chip mask
→ http://alumni.media.mit.edu/~mcnerney/2009-4004/4001-masks-composite.jpg
http://mobileapps1819.svctestudents.org/materials/snakegrid.zip
Examples of projects that require a grid
Portfolio web page
→ http://www.mixed-up.com/markb/design/
→ http://www.mixed-up.com/markb/photo/
Piano keyboard
→ http://www.mixed-up.com/markb/design/case.html#key
→ http://www.mixed-up.com/markb/code/svg/piano.svg
Calculator keyboard
→ http://www.mixed-up.com/markb/javascript/resistors.html
Art creation app
→ http://www.mixed-up.com/markb/javascript/mondrian.html
Concentration game
→ http://www.mixed-up.com/markb/javascript/pairs.html
Periodic table of the elements
→ http://www.mixed-up.com/markb/javascript/periodic.html
Circuit Board
→ https://i.pinimg.com/originals/67/69/a3/6769a34a7ea9719a4f4366dab42b3f23.jpg
Processor Chip mask
→ http://alumni.media.mit.edu/~mcnerney/2009-4004/4001-masks-composite.jpg
Use This Xcode Swift Project
http://mobileapps1819.svctestudents.org/materials/snakegrid.zip
Wednesday, May 8, 2019
Tuesday, May 7, 2019
Extra Credit
Read this article and write a 1-2 page essay in response.
This young musician with cerebral palsy writes songs using his eyes
https://www.classicfm.com/music-news/musician-cerebral-palsy-writes-music-with-eyes/
Read this article and the include links and write a 1-2 page essay in response.
8 Cool Mobile Apps Created by High School Students
https://www.emergingedtech.com/2015/01/8-mobile-apps-created-by-high-school-students/
I am only interested in reading quality writing! Don't turn in something half baked and expect anything in return.
Think about these issues ...
This young musician with cerebral palsy writes songs using his eyes
https://www.classicfm.com/music-news/musician-cerebral-palsy-writes-music-with-eyes/
Read this article and the include links and write a 1-2 page essay in response.
8 Cool Mobile Apps Created by High School Students
https://www.emergingedtech.com/2015/01/8-mobile-apps-created-by-high-school-students/
I am only interested in reading quality writing! Don't turn in something half baked and expect anything in return.
- Your writing should indicate that you read the article from the first to the last word.
- For the second article above, make sure to read about all the apps through their attached links.
- Your writing should indicate that you are curious and interested in the topic, not that you threw something together to get a few extra points.
- I will probably not have time to mark up your essays, so turn in your best quality work the first time. This means grammar, spelling, and punctuation. Did you know that word processing programs will point out your spelling and grammar errors? Who knew?
- Write both essays for even more extra credit.
- Turn them in printed out on paper, double spaced. Follow the instructions!
- Write these essays on your own time at home. You must devote your class time to finishing the final app and other Xcode projects.
Think about these issues ...
- Could you write an app that serves this same target audience? What would it take?
- How does that guy's music program work, anyway?
- How does someone with cerebral palsy go to college, anyway?
- What would it take to write that app about crime, parking, education? Be complete and specific. What extra little piece does it take to communicate with the police or the school system?
Storyboards
You must test your storyboard in six different configurations:
- Small iPhone (e.g. 5, SE)
- Landscape
- Portrait
- Large iPhone (e.g. 8+, XR)
- Landscape
- Portrait
- iPad (any)
- Landscape
- Portrait
Monday, May 6, 2019
Final Project Checkpoints
| Activity | AM Class | PM Class |
|---|---|---|
| To Do List | Monday May 6 | Friday May 3 |
| Sketches (academic) | Monday May 6 | Friday May 3 |
| Storyboard checkpoint | Tuesday May 7 | Monday May 6 |
| Navigation checkpoint | Wednesday May 8 | Tuesday May 7 |
| Data checkpoint | Thursday May 9 | Wednesday May 8 |
| Icons | Friday May 10 | Thursday May 9 |
| App Store writeup (academic) | Monday May 13 | Friday May 10 |
| Class Presentation (academic) | Tuesday May 14 | Monday May 13 |
| Final working app | Friday May 17 | Friday May 17 |
| App Store submission? | ?? | ?? |
Other Activities
| China students visit | Thursday May 9 |
| China students visit | Friday May 10 |
| Awards Ceremony Orientation | Friday May 10 |
| China students visit | Monday May 13 |
| China students visit | Tuesday May 14 |
To Do List due Monday, May 6
- A list of everything you need to do, in order if necessary, to finish your app, so you can make sure you don't forget everything
- Include as much detail as possible and necessary to make sure you don't forget anything
- Storyboards
- Scenes
- A list of all assets you'll need
- Assets include any images you may need
- Images may include photographs, which you'd need to take yourself (don't use any images found on Google)
- Images may also include artwork you'd generate in Adobe Illustrator
- Don't forget the icons
- Assets also include any sounds your app might need
- You need to record all your own sounds; you can edit them in Adobe Audition if needed
- Don't use any sounds found on Google
- Make a list of all widgets in your app, including buttons, switches, sliders, etc. and indicate which ones need Action functions and what those functions will do
- No sketches necessary; that will be in the next step
Friday, May 3, 2019
Welding and HVAC Symbols
This is several pages from the Welding book, but not the whole book.
http://mobileapps1819.svctestudents.org/materials/welding-extract.pdf
Here are the HVAC symbols.
http://mobileapps1819.svctestudents.org/materials/hvac-fixed.pdf
http://mobileapps1819.svctestudents.org/materials/welding-extract.pdf
Here are the HVAC symbols.
http://mobileapps1819.svctestudents.org/materials/hvac-fixed.pdf
Wednesday, May 1, 2019
Strategy
AM Class
- Each academic assignment is worth about 3% of your grade
- Each technical assignment is worth about 0.75% of your grade
- (except double credit assignments such as Personality Quiz)
PM Class
- Each academic assignment is worth about 2% of your grade
- Each technical assignment is worth about 0.5% of your grade
- (except double credit assignments such as Personality Quiz)
Raising your grade
- Completing the final project will not raise your grade if it is low. This will just keep your grade from going lower. The final project has a greater probability of lowering your grade if you don't finish it or if it is not ready for the app store.
- The only way to raise your grade is to complete the assignments you never turned in.
- You may also resubmit corrected writing assignments.
Apps and Teams
PM class teams:
| HVAC | Mikey and Kenneth |
| Logic Gates | Nick |
| Anatomy | Nhat and Giselle |
| Recycling | Han and Joshua |
| Ants | Justin and Michael |
| Letter Tracing | Evan and Christian |
| Food Pyramid | Roberto and Phung |
AM class ideas:
Mental health, fitness, nutrition, memory, ASL, HVAC, Welding, children apps, photo reminder, senior citizens, presidents, world clock, entomology, resistor color code, football plays, world map| Mental Health | Anthony, Zeus |
| Visual Memory | Nghi, Tran |
| ASL | Catherine, Josiah |
| Resistor Color Code | Carlos, David |
| HVAC | Huy, Neel |
| Welding | Josh, Ayush |
| Nutrition | Aliyeh, Shirin |
| Nutrition | Dat, Estuardo |
| Nutrition | Jaiya, Sophia |
| Children | Karla, Xandria |
| Children | Paul, Brian |
| Text Adventure | Randy, Timmy |
| Presidents | Rayyan, Anjana |
| ?? | Aryan |
| ?? | Abraham |
Subscribe to:
Posts (Atom)












