Skip to content

2cylu2/codepathIOS101-prework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Prework - ColorSplash

Submitted by: Cynthia Lu

ColorSplash is an app that lets users randomly change the background and text colors of the screen when the corresponding button is pressed. It features my name, university, and career aspirations to introduce myself.

Time spent: 2 hours spent in total

Required Features

The following required functionality is completed:

  • Users are see a screen with three labels and a button
  • Tapping the button changes the screen color to a random color

App Brainstorming (Step 4)

Favorite Apps & Features

  1. YouTube
  • Personalized recommendations based on viewing history and likes.
  • The ability to create playlists and organize content.
  • Comments and live chats for videos, enabling community engagement.
  1. Google Docs
  • Real-time collaboration, allowing multiple users to edit and comment simultaneously.
  • Version history, so users can track changes and revert to earlier versions.
  • Cloud-based storage, ensuring documents are accessible from any device.
  1. Google Calendar
  • Color-coded events and calendars to help visually organize different types of activities.
  • Suggested event times based on availability and smart scheduling for finding optimal meeting times.
  • Time zone support, allowing users to schedule events across different time zones.

App Idea: MoodBoard MoodBoard is a simple app for organizing visual inspiration. Users can create custom boards by adding and arranging images, quotes, and color palettes related to a project or theme. It’s designed to help with brainstorming and creative planning.

Features to Implement:

  • Add images, text, and colors to mood boards
  • Drag and drop to organize elements
  • Create multiple boards for different ideas or projects

Notes

Describe any challenges encountered while building the app.

  • One of the main challenges I encountered was connecting the UI to the logic in Xcode. Specifically, I struggled with setting up the IBAction for the button so that it would trigger the function to change the background color. I found it a bit confusing at first to use the Assistant Editor and Control-drag from the button to the ViewController.swift file to create the IBAction properly. It took some trial and error to understand the process of linking the button to the correct function.
  • Additionally, I wanted to implement a feature to change the text color, but because I duplicated the button for the background change, both the background color and text color were changing when the button was pressed. I had to carefully manage the IBOutlet and IBAction connections in the storyboard to ensure that each action (background color change and text color change) was correctly associated with the right button. This required more attention to detail and a deeper understanding of how UI elements and actions are linked in Xcode.

License

Copyright [2025] [Cynthia Lu]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

IOS 101 prework project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages