Giter Club home page Giter Club logo

notebuddy's People

Contributors

esailers avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

notebuddy's Issues

Convert Swift 2.2 to 3.0

Use the conversion tool in Xcode (Edit > Convert > To Current Swift Syntax), then fix any remaining issues.

Flickr images are unnecessarily stored in Core Data

Complete the following steps:

  1. Create a FlickrPhoto struct
  2. Move the methods for getting photos from the Photo class to the FlickrPhoto struct
  3. Remove the old methods from the Photo class
  4. Remove the path property from the Photo+CoreDataProperties class and the Photo class in the data model file
  5. Remove the previous version of the app from your device, then install the new version
  6. Update the README file to reflect the change completed in step 5

App crashes when selecting the photo library for an image

Console output displays the following message:

Notebuddy[36236:5098048] [access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

Note not saving with the addition of the splitViewController

In the splitview branch, the following code does not appear to be called:

override func willMoveToParentViewController(parent: UIViewController?) {
        if parent == nil {

            if noteTextView.text == "" {
                noteTextView.text = "Enter text"
            }

            currentNote?.setValue(noteTextField.text, forKey: "title")
            if let resizedImage = resizedImage, imageData = UIImageJPEGRepresentation(resizedImage, 1.0) {
                currentNote?.photo?.setValue(imageData, forKey: "imageData")
            }
            currentNote?.setValue(noteTextView.text, forKey: "content")
            DataManager.saveManagedContext()
            resignFirstResponders()
        }
    }

Use NSUserDefaults to persist the navigation bar colors

Here's a persistent requirement that needs to be met: "Aside from your primary app state, you should find some additional state that can be stored outside of Core Data, either in NSUserDefaults, or in the documents directory using an NSKeyedArchiver"

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.