Solved my issue. I took all the code to the main ViewController.swift, now it works. Anyway thanks Joshua for your help :).
More Related Contents:
- Getting error “No such module” using Xcode, but the framework is there
- iOS 9 not opening Instagram app with URL SCHEME
- How do I install CocoaPods?
- SourceKitService Terminated
- How to program a delay in Swift 3
- Passing data back from view controllers Xcode
- Xcode iOS 8 Keyboard types not supported
- How to modify SWIFT_MODULE_NAME?
- Unexpectedly found nil IBOutlet in prepareForSegue
- Array from dictionary keys in swift
- ‘Use of Unresolved Identifier’ in Swift
- Xcode NSManagedObject subclass contains optionals when they are marked as non-optional
- How to create a delay in Swift?
- Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler
- How can I set CG_CONTEXT_SHOW_BACKTRACE environmental variable?
- How do you make a background image scale to screen size in swift?
- Adding Navigation Bar programmatically iOS
- Xcode MyProjectName-Bridging-Header.h does not exist
- @IBDesignable crashing agent
- Swift – Saving highscore using NSUserDefaults
- Get random child from Firebase Database
- Swift – Compressing video files
- Why on Xcode 11, UICollectionViewCell changes size as soon as you scroll (I already set size in sizeForItem AtIndexPath:)?
- xcode 7.1 swift framework app builds but not archiving
- @IBDesignable error: IB Designables: Failed to update auto layout status: Interface Builder Cocoa Touch Tool crashed
- Warning frame for “Navigation bar” will be different at run time appears in Xcode 8 Swift 3
- Facebook Graph API GET request – Should contain “fields” parameter (Swift, Facebook SDK v4.5.1)
- GM release of Xcode 6 compile
- Rotation only in one ViewController
- NavigationBar bar, tint, and title text color in iOS 8