Giter Site home page Giter Site logo

folding-cell-programmatically's People

Contributors

0ber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

folding-cell-programmatically's Issues

Error after transforming syntax to Swift 3

libswiftCore.dylibfunction signature specialization <preserving fragile attribute, Arg[1] = Exploded> of Swift._assertionFailure (Swift.StaticString, Swift.String, file : Swift.StaticString, line : Swift.UInt, flags : Swift.UInt32) -> Swift.Never:
0x100507690 <+0>: sub sp, sp, #0x70 ; =0x70
0x100507694 <+4>: stp x28, x27, [sp, #0x10]
0x100507698 <+8>: stp x26, x25, [sp, #0x20]
0x10050769c <+12>: stp x24, x23, [sp, #0x30]
0x1005076a0 <+16>: stp x22, x21, [sp, #0x40]
0x1005076a4 <+20>: stp x20, x19, [sp, #0x50]
0x1005076a8 <+24>: stp x29, x30, [sp, #0x60]
0x1005076ac <+28>: add x29, sp, #0x60 ; =0x60
0x1005076b0 <+32>: mov x19, x7
0x1005076b4 <+36>: mov x20, x6
0x1005076b8 <+40>: mov x21, x5
0x1005076bc <+44>: mov x22, x4
0x1005076c0 <+48>: mov x23, x3
0x1005076c4 <+52>: str w2, [sp, #0xc]
0x1005076c8 <+56>: str x1, [sp]
0x1005076cc <+60>: mov x26, x0
0x1005076d0 <+64>: ldr w28, [x29, #0x20]
0x1005076d4 <+68>: ldr x24, [x29, #0x18]
0x1005076d8 <+72>: ldrb w25, [x29, #0x10]
0x1005076dc <+76>: adr x8, #0xedf54 ; protocol descriptor for Swift._DefaultCustomPlaygroundQuickLookable + 184
0x1005076e0 <+80>: nop
0x1005076e4 <+84>: add x0, x8, #0x10 ; =0x10
0x1005076e8 <+88>: mov w1, #0x4c
0x1005076ec <+92>: orr w2, wzr, #0x7
0x1005076f0 <+96>: bl 0x100504750 ; swift_rt_swift_allocObject
0x1005076f4 <+100>: mov x27, x0
0x1005076f8 <+104>: stp x23, x22, [x27, #0x10]
0x1005076fc <+108>: stp x21, x20, [x27, #0x20]
0x100507700 <+112>: str x19, [x27, #0x30]
0x100507704 <+116>: strb w25, [x27, #0x38]
0x100507708 <+120>: str x24, [x27, #0x40]
0x10050770c <+124>: str w28, [x27, #0x48]
0x100507710 <+128>: mov x0, x21
0x100507714 <+132>: bl 0x1005b6524 ; swift_unknownRetain
0x100507718 <+136>: adr x3, #0x3d268 ; partial apply forwarder for Swift.(_assertionFailure (Swift.StaticString, Swift.String, file : Swift.StaticString, line : Swift.UInt, flags : Swift.UInt32) -> Swift.Never).(closure #1)
0x10050771c <+140>: nop
0x100507720 <+144>: mov x0, x26
0x100507724 <+148>: ldr x1, [sp]
0x100507728 <+152>: ldr w2, [sp, #0xc]
0x10050772c <+156>: mov x4, x27
0x100507730 <+160>: bl 0x1003e54dc ; function signature specialization <preserving fragile attribute, Arg[1] = [Closure Propagated : reabstraction thunk helper from @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> () to @callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> (@out ()), Argument Types : [@callee_owned (@unowned Swift.UnsafeBufferPointer<Swift.UInt8>) -> ()]> of generic specialization <preserving fragile attribute, ()> of Swift.StaticString.withUTF8Buffer ((Swift.UnsafeBufferPointer<Swift.UInt8>) -> A) -> A
-> 0x100507734 <+164>: brk #0x1
`

this is the error code

nil inside configureDefaultState method

To prevent 'fatalError' , add
self.foregroundViewTop = top
after

// add identifier
        let top = (foregroundView <- [Top(8)]).first
        top?.identifier = "ForegroundViewTop"

and
self.containerViewTop = top
after

// add identifier
        let top = (containerView <- [Top(8)]).first
        top?.identifier = "ContainerViewTop"

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.