These are chat archives for elliottminns/blackfish

8th
Mar 2016
Pierre Abi-aad
@abiaad
Mar 08 2016 11:03
Hey
I have a question
Elliott Minns
@elliottminns
Mar 08 2016 11:03
Hello
Pierre Abi-aad
@abiaad
Mar 08 2016 11:04
I have a DBController.swift like that
import Foundation
import Orca
import OrcaMongoDB

class DBController {
}
in main.swift :
let dbController    = DBController()
in URLController I also have a DBController var
But I have these kinf of errors
error: use of undeclared type 'DBContoller' var dbContoller: DBContoller?
That’s not a lib problem but don’t know why I have that
Elliott Minns
@elliottminns
Mar 08 2016 11:08
Hmmm
where is DBController?
in Sources/ ?
Pierre Abi-aad
@abiaad
Mar 08 2016 11:10
yes
Elliott Minns
@elliottminns
Mar 08 2016 11:10
DBContoller you're missing an r
should be DBController
Pierre Abi-aad
@abiaad
Mar 08 2016 11:11
omg
I hate non completion :’(
Elliott Minns
@elliottminns
Mar 08 2016 11:11
Yeah, it can be a pain :(
Pierre Abi-aad
@abiaad
Mar 08 2016 11:12
thx ahah
and you know if it’s possible to create folder inside sources ?
Elliott Minns
@elliottminns
Mar 08 2016 11:14
I'm not sure about that one
I've not tried it yet
Pierre Abi-aad
@abiaad
Mar 08 2016 11:15
I tried but ...
error: InvalidLayout((extension in Transmute):PackageType.Package.InvalidLayoutType.InvalidLayout)
Elliott Minns
@elliottminns
Mar 08 2016 12:22
I've not seen that
is your Package.swift correct?
Pierre Abi-aad
@abiaad
Mar 08 2016 12:30
yes if i just delete the subfolder everything is working fine