What the meaning of question mark ‘?’ in swift?

You can use if and let together to work with values that might be missing. These values are represented as optionals. An optional value either contains a value or contains nil to indicate that the value is missing. Write a question mark (?) after the type of a value to mark the value as optional. If the optional value is nil, the conditional is false and the code … Read more

Date Format in Swift

You have to declare 2 different NSDateFormatters, the first to convert the string to a NSDate and the second to print the date in your format.Try this code: Swift 3 and higher: From Swift 3 NSDate class has been changed to Date and NSDateFormatter to DateFormatter.

Developing Unity game on Windows for iOS devices

I have made several Unity3D projects for iOS using a Windows. When installing Unity, don’t forget to check “iOS deployment” and your Unity (on Windows) will be able to build an Xcode project. Then, just transfer this Xcode project on a Mac with Xcode installed and you will be able to compile the project in … Read more

Duplicate symbols for architecture x86_64 under Xcode

75 duplicate symbols for architecture x86_64 Means that you have loaded same functions twice. As the issue disappear after removing -ObjC from Other Linker Flags, this means that this option result that functions loads twice: from Technical Q&A This flag causes the linker to load every object file in the library that defines an Objective-C … Read more

Processing Symbol Files in Xcode

It downloads the (debug) symbols from the device, so it becomes possible to debug on devices with that specific iOS version and also to symbolicate crash reports that happened on that iOS version. Since symbols are CPU specific, the above only works if you have imported the symbols not only for a specific iOS device … Read more

NSURLErrorDomain error codes description

The NSURLErrorDomain error codes are listed here https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes However, 400 is just the http status code (http://www.w3.org/Protocols/HTTP/HTRESP.html) being returned which means you’ve got something wrong with your request.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)