No_Rulz
No_Rulz

Reputation: 2719

CustomClass Reference in Swift

I am new to Objective C and Swift. I have created a SampleTest project in Swift.. While creating a ViewController.xib we need to give the reference class in identity inspector which is contain in right side pane in xcode.

enter image description here

ViewController denotes the ViewController.swift module and Here what it denotes _TtC10SampleTest14ViewController in class field.

Upvotes: 0

Views: 149

Answers (1)

Anil Varghese
Anil Varghese

Reputation: 42977

_TtC10SampleTest14ViewController is the mangled name of your ViewController, swift using Name Mangling .
1. Read more about name mangling in this article
2. Check the related answer also

Upvotes: 3

Related Questions