/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

stevemoser.org
| | www.thomashanning.com

Passing data between view controllers is a very common task. Depending on the circumstances, there are several ways to accomplish this. Hint: This post is usingSwift 3, iOS 10 and Xcode 8.2.1 Generally speaking, there are two cases: Passing data to the next view controller, orpassing
4.9 parsecs

Travel
| |
| | www.cs.cornell.edu

I did some iOS programming recently (for an unknown reason). Using the new Swift language has made it evident the language is young-and, like a rebellious teenager, it conflicts with its much older framework counterpart, Cocoa. Here are two places where the disconnect is most stark, and where Swift should grow more sophisticated type-system features.
4.2 parsecs

Travel
| |
| | swiftrocks.com

The choice between using Storyboards and writing views programmatically is very subjetive. Having dealt with both in the past, I personally vouch for writing projects entirely through view code as it allows multiple people to work in the same class without nasty conflicts, and easier code reviews.
4.2 parsecs

Travel
| |
| | cppstories.com

Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes. What can we do with file including in C++? Do we need to put all the other header files of the project (plus third party libraries) in every file all the time? For sure there have to be some rules to manage that issue properly.
32.2 parsecs

Travel
|