Backendless Support
 
Answered

IOS when saving getting nil error

i have the following code:

let backendless = Backendless.sharedInstance()

let itemDS = backendless?.data.of(events_items.ofClass())

let myItem = itemDS?.save(singleItem) as! events_items

when i run it i getting : Unexpectedly found nil while unwrapping an Optional value when saving data

the events_items as the @objcMembers

Leave a Comment

Comments (1)

photo
1

found my error, it's coming from BL