integrating swift-complex