Giter Site home page Giter Site logo

blocnotes's People

Contributors

mhanlon avatar

Watchers

 avatar  avatar

blocnotes's Issues

[Core Data] Empty, unsaved notes added to Master

@mhanlon: what do you think about this? This relates to our conversation about whether the app should continuously save content (which would eliminate the "Save" button). Would you do something to avoid the occurrence below? At first I thought I didn't want a row added if the note was NOT saved, but now I'm having second thoughts. For example, since there isn't any warning or check if the user goes back from detail to master, what if the user taps back by accident and loses all of their content? Maybe it's better to leave this as is. Curious to hear your feedback on this one.

1.) Launch app.
2.) Select "+".
3.) Do not add any content.
4.) Select "<Master" to go back to Master.
5.) Select "Edit".
6.) Notice there is a cell created to for the new note that was unsaved.
7.) Close app and restart.
8.) Notice empty cell is no longer displayed.

SCREENSHOT:
screen shot 2015-06-09 at 1 38 40 pm

Enhance UI

Enhance UI in general. Need to pick theme/design and implement it throughout the app.

[Core Data] Assertion error when launching app

@mhanlon FYI
Only noticed this on my device and would happen sporadically. Currently investigating.

NSRangeException', reason: '* -[_PFBatchFaultingArray objectAtIndex:]: index (3) beyond bounds (3). Occurs at < object = [self.fetchedResultsController objectAtIndexPath:indexPath];> in `<- (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath

`

Share extension no longer working with iCloud

Investigate the share extension no longer working... This is likely down to the iCloud entitlement/capability for the share extension not being the same (or enabled) as the app's entitlement.

[Search] Assertion Failure when adding new note from search

1.) Select search (search did begin editing).
2.) Select "+" to add new note.
3.) Receive error:

2015-06-09 12:59:24.933 blocnotes[3843:1767674] *** Assertion failure in -[UITableView _endCellAnimationsWithContext:], /SourceCache/UIKit/UIKit-3347.44/UITableView.m:1406
2015-06-09 12:59:32.741 blocnotes[3843:1767674] CoreData: error: Serious application error.  An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:.  attempt to insert row 3 into section 0, but there are only 2 rows in section 0 after the update with userInfo (null)

[Search] Enhance Sort Logic

When user begins typing and multiple results display, they should be sorted relative to search bar text. At the moment, sortDescriptor sorts according to key "noteTitle". Prevalence give to noteTitle.

Example:

Search - "test"
Results:
Option A - title:"welcome" content:"test"
Option B - title:"test" content:"welcome"

Option A should display first, Option B second.

[Device] Keyboard overlaps text

1.) New note
2.) Tap content section.
3.) Enter until cursor moves below bottom of view.
4.) Start to type. Notice keyboard overlaps text.

Would be nice if view auto adjusts to display cursor (and text being entered) if the cursor is out of view.

[Search] Improve transition from search results to detailVC

1.) Search
2.) Select value
3.) Notice that the following code is run just before the searchController is dismissed:

            self.searchController.searchBar.text = @"";
            [self.tableView reloadData];

It would be more user friendly if this were done "behind the scenes" in order to make it more user friendly.

Exception when saving more than once from DetailViewController

Tap save > 1 time. Receive following error:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-deleteObject: requires a non-nil argument'

*** First throw call stack:
(
    0   CoreFoundation                      0x000000010dbb4c65 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x000000010d491bb7 objc_exception_throw + 45
    2   CoreData                            0x000000010d7147e7 -[NSManagedObjectContext deleteObject:] + 375
    3   blocnotes                           0x000000010cf51b2a -[MasterViewController tableView:commitEditingStyle:forRowAtIndexPath:] + 266
    4   blocnotes                           0x000000010cf52e4a -[MasterViewController didUpdate:withText:] + 650
    5   blocnotes                           0x000000010cf508a7 -[DetailViewController didSave:] + 279
    6   UIKit                               0x000000010e1f0da2 -[UIApplication sendAction:to:from:forEvent:] + 75
    7   UIKit                               0x000000010e1f0da2 -[UIApplication sendAction:to:from:forEvent:] + 75
    8   UIKit                               0x000000010e30254a -[UIControl _sendActionsForEvents:withEvent:] + 467
    9   UIKit                               0x000000010e301919 -[UIControl touchesEnded:withEvent:] + 522
    10  UIKit                               0x000000010e23d998 -[UIWindow _sendTouchesForEvent:] + 735
    11  UIKit                               0x000000010e23e2c2 -[UIWindow sendEvent:] + 682
    12  UIKit                               0x000000010e204581 -[UIApplication sendEvent:] + 246
    13  UIKit                               0x000000010e211d1c _UIApplicationHandleEventFromQueueEvent + 18265
    14  UIKit                               0x000000010e1ec5dc _UIApplicationHandleEventQueue + 2066
    15  CoreFoundation                      0x000000010dae8431 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    16  CoreFoundation                      0x000000010dade2fd __CFRunLoopDoSources0 + 269
    17  CoreFoundation                      0x000000010dadd934 __CFRunLoopRun + 868
    18  CoreFoundation                      0x000000010dadd366 CFRunLoopRunSpecific + 470
    19  GraphicsServices                    0x0000000112016a3e GSEventRunModal + 161
    20  UIKit                               0x000000010e1ef900 UIApplicationMain + 1282
    21  blocnotes                           0x000000010cf5413f main + 111
    22  libdyld.dylib                       0x00000001103ae145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException

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.