Giter VIP home page Giter VIP logo

facebookfeed's Introduction

facebookFeed

Mock Project : Facebook

Created : 2016.09

Features (Currently)

  • Swift 5
  • Fetched Object Mapping: Decodable
  • UI Animation Applied

Refactoring Tasks

  • Migrate Swift 3 to 5
    • Fix Code Accordingly
    • Fix UI Animation Components
  • Simplify Code by using latest library
    • Initialize CocoaPods
    • Combine
    • Decodable
    • SnapKit
    • Probably Others...

Demo

1. Simple Navigation

01

2. UI Animation

02

facebookfeed's People

Watchers

 avatar  avatar

facebookfeed's Issues

Runtime Error: `NSUnknownKeyException`

Error

  • Did it Return Error: Yes
  • Did It Compile and Run? : 'OK'

Error Message

2020-12-13 12:09:38.359898+0900 facebookFeed[66664:346744] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<facebookFeed.Location 0x600003cddbc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key state.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff2041daf2 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007fff20177e78 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff2041d793 -[NSException init] + 0
	3   Foundation                          0x00007fff207a5fca -[NSObject(NSKeyValueCoding) setValue:forKey:] + 325
	4   Foundation                          0x00007fff207a7306 -[NSObject(NSKeyValueCoding) setValuesForKeysWithDictionary:] + 270
	5   facebookFeed                        0x0000000109fd7b82 $s12facebookFeed4PostC8setValue_6forKeyyypSg_SStF + 930
	6   facebookFeed                        0x0000000109fd7f8c $s12facebookFeed4PostC8setValue_6forKeyyypSg_SStFTo + 220
	7   Foundation                          0x00007fff207a7306 -[NSObject(NSKeyValueCoding) setValuesForKeysWithDictionary:] + 270
	8   facebookFeed                        0x0000000109fc18ed $s12facebookFeed0B10ControllerC11viewDidLoadyyF + 2397
	9   facebookFeed                        0x0000000109fc28ab $s12facebookFeed0B10ControllerC11viewDidLoadyyFTo + 43
	10  UIKitCore                           0x00007fff23f3c8ed -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] + 88
	11  UIKitCore                           0x00007fff23f41273 -[UIViewController loadViewIfRequired] + 1084
	12  UIKitCore                           0x00007fff23e7695e -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 162
	13  UIKitCore                           0x00007fff23e76c48 -[UINavigationController _startTransition:fromViewController:toViewController:] + 154
	14  UIKitCore                           0x00007fff23e77cc1 -[UINavigationController _startDeferredTransitionIfNeeded:] + 851
	15  UIKitCore                           0x00007fff23e7902c -[UINavigationController __viewWillLayoutSubviews] + 150
	16  UIKitCore                           0x00007fff23e59806 -[UILayoutContainerView layoutSubviews] + 217
	17  UIKitCore                           0x00007fff24bd750c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2924
	18  QuartzCore                          0x00007fff27a7718f -[CALayer layoutSublayers] + 258
	19  QuartzCore                          0x00007fff27a7d641 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 575
	20  QuartzCore                          0x00007fff27a89399 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 65
	21  QuartzCore                          0x00007fff279c9114 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 496
	22  QuartzCore                          0x00007fff279ffeaf _ZN2CA11Transaction6commitEv + 783
	23  UIKitCore                           0x00007fff246927fa __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 81
	24  CoreFoundation                      0x00007fff2038c110 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	25  CoreFoundation                      0x00007fff2038b524 __CFRunLoopDoBlocks + 434
	26  CoreFoundation                      0x00007fff20385f34 __CFRunLoopRun + 899
	27  CoreFoundation                      0x00007fff203856c6 CFRunLoopRunSpecific + 567
	28  GraphicsServices                    0x00007fff2b76adb3 GSEventRunModal + 139
	29  UIKitCore                           0x00007fff24675187 -[UIApplication _run] + 912
	30  UIKitCore                           0x00007fff2467a038 UIApplicationMain + 101
	31  facebookFeed                        0x0000000109fd5b0b main + 75
	32  libdyld.dylib                       0x00007fff20256409 start + 1
	33  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<facebookFeed.Location 0x600003cddbc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key state.'
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.