Coder Social home page Coder Social logo

iphone-note-application's Introduction

gr2390_w3101_ios

Gemma Ragozzine's class project for ios class w3101 This is my final project for iOS class 3101. With my app, you can write an arbitrary number of text based notes on your phone. Each note has a title and body as well as the time of creation. The user can go back and edit notes or delete notes from the list of notes in the app. The user can also choose a photo to add to the note from the photo library, and they can email the finished note to their friends and family. Unfortunately, I was unsuccessful in making the data persistant. I understand that this is a grave limitation to my app, but please look at the code to evaluate my attempt at getting it to work. I went about this in two ways: first, I made my note class implement the NSCoding protocol, and added the mandatory methods: encodeWithCoder and initWithCoder. In my ListViewController.m file, I have the (commented-out) method saveData to save the array of notes to a file. My problem was linking everything together; I could not figure out how to call this method at the app's termination time, and how to unload the data saved to disk upon the app's start up. After that process failed, I tried to save just the array of notes to a file in the Document Directory each time after I added a new note. I would then load the file of the array in the viewDidLoad method of the ListViewController file. I feel like I was on the right track but in the end just couldn't get it working.

Anyway, I hope you enjoy using the working parts of my app!

iphone-note-application's People

Contributors

gemmagladly avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.