Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. See code in comment #5

Open
Mudasir441 opened this issue Jul 7, 2017 · 2 comments

Comments

@Mudasir441
Copy link

Mudasir441 commented Jul 7, 2017

import Foundation

class CupPlane: VirtualObject {

override init() {
    super.init(modelName: "cup1", fileExtension: "scn", thumbImageFilename: "cup", title: "Cup2")
}

required init?(coder aDecoder: NSCoder) {
    fatalError("init(coder:) has not been implemented")
}

}

and in VirtualObject.swift class I added the following:
CupPlane()

@Mudasir441 Mudasir441 changed the title I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. This is my class Jul 7, 2017
@Mudasir441 Mudasir441 changed the title I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. This is my class I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. Showing class in comment Jul 7, 2017
@Mudasir441 Mudasir441 changed the title I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. Showing class in comment I tried to add more objects and made classes as shown in Virtual Objects folder but it is not showing them. See code in comment Jul 7, 2017
@acsarraf
Copy link

When you try to initialize a CupPlane object, is the object set to nil or is it being set to an actual object?

@Mudasir441
Copy link
Author

it is set to an actual object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants