Top "Designated-initializer" questions

In Cocoa programming, a designated initializer is the method through which all of the instance's initial parameters can be set.

How to write init methods of a UIViewController in Swift

I am unable to add init method to the following UIViewController class. I need to write some code in the …

ios swift uiviewcontroller uikit designated-initializer
Swift - Must call a designated initializer of the superclass SKSpriteNode error

This code worked on first XCode 6 Beta, but on latest Beta it's not working and gives such errors Must call …

ios swift sprite-kit skspritenode designated-initializer
What does dot (.) mean in a struct initializer?

static struct fuse_oprations hello_oper = { .getattr = hello_getattr, .readdir = hello_readdir, .open = hello_open, .read = hello_read, }; I don't …

c c99 designated-initializer
C++ Equivalent to Designated Initializers?

Recently I've been working on some embedded devices, where we have some structs and unions that need to be initialized …

c++ c designated-initializer
Why are designated initializers not implemented in g++

Is there any specific reason why has support for designated initializers not been added to g++? Is the reason that …

c++ c linux gcc designated-initializer
Which initializer(s) to override for UITableViewController subclass

I have a UITableViewController subclass that's instantiated, depending on where it's used, in a NIB or via code. In both …

iphone objective-c cocoa-touch designated-initializer
What is a designated initializer in C?

I know this might be a basic question. I have an assignment that requires me to understand what a Designated …

c struct union initializer designated-initializer
Turn off designated initializer checking in Xcode 6

I'm getting the compile error: error: convenience initializer missing a 'self' call to another initializer [-Werror,-Wobjc-designated-initializers] Compile-checked designated initializers …

objective-c xcode suppress-warnings designated-initializer
How to resolve designated initialization error for UITableViewController?

I'm new to swift and I'm having problems declaring my initializer in my PlacesTableViewController class. It prompts me "Super.init …

ios uitableview swift initialization designated-initializer