swift (21,067)


language agnostic - When to use unsigned values over signed ones?

language agnostic - When to use unsigned values over signed ones?

When is it appropriate to use an unsigned variable over a signed one? What about in a for loop? I hear a lot of opinions about this and I wanted to see if there was anything resembling a consensus. fo…


language agnostic - Binary file layout reference

Where are some good sources of information on binary file layout structures? If I wanted to pull in a BTrieve index file, parse MP3 headers, etc. Where does one get reliable information?…


oop - What is Inversion of Control?

Inversion of Control(or IoC) can be quite confusing when it is first encountered. What is it? Which problem does it solve? When is it appropriate to use and when not?…


Domain Specific Language resources

I was just listening to some older.Net Rocks! episodes, and I found#329 on DSLs to be interesting. My problem is that I can't find any good online resources for people trying to learn this technolo…



ios - How to programmatically send SMS on the iPhone?

Does anybody know if it's possible, and how, to programmatically send a SMS from the iPhone,with the official SDK/Cocoa Touch?…


What's the difference between struct and class in.NET?

What's the difference between struct and class in.NET?…


In Cocoa do I need to remove an Object from receiving KVO notifications when deallocating it?

When I've registered an object foo to receive KVO notifications from another object bar(using addObserver:...), if I then deallocate foo do I need to send a removeObserver:forKeyPath: message to bar…


objective c - Objective-C/Cocoa: How do I accept a bad server certificate?

Using NSURLRequest, I am trying to access a web site that has an expired certificate. When I send the request, my connection:didFailWithError delegate method is invoked with the following info:-1203…


What tools do you use for static code analysis?

This question on Cyclomatic Complexity made me think more about static code analysis. Analyzing code complexity and consistency is occasionally useful, and I'd like to start doing it more. What too…


Java SWIFT Library

I'm looking for a Java library for SWIFT messages. I want to parse SWIFT messages into an object model validate SWIFT messages(including SWIFT network validation rules) build/change SWIFT message…




ios objective example programmatically tutorial how not view xcode from