This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Student extends Person{ | |
private int[] testScores; | |
/* | |
* Class Constructor | |
* | |
* @param firstName - A string denoting the Person's first name. | |
* @param lastName - A string denoting the Person's last name. | |
* @param id - An integer denoting the Person's ID number. | |
* @param scores - An array of integers denoting the Person's test scores. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int maximum = arr[0][0] + arr[0][1] + arr[0][2] + arr[1][1] + arr[2][0] + arr[2][1] + arr[2][2]; | |
int tempMax = 0; | |
for(int x = 1; x <= 4; x++){ | |
for(int y = 1; y <= 4; y++){ | |
tempMax = arr[x-1][y-1] + arr[x-1][y] + arr[x-1][y+1] + arr[x][y] + arr[x+1][y-1] + arr[x+1][y] + arr[x+1][y+1]; | |
if(tempMax > maximum){ | |
maximum = tempMax; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Open Terminal | |
2. cd to your Xcode project | |
3. Execute the following when inside your target project: | |
find . -name "*.swift" -print0 | xargs -0 wc -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i386 : iPhone Simulator | |
x86_64 : iPhone Simulator | |
arm64 : iPhone Simulator | |
iPhone1,1 : iPhone | |
iPhone1,2 : iPhone 3G | |
iPhone2,1 : iPhone 3GS | |
iPhone3,1 : iPhone 4 | |
iPhone3,2 : iPhone 4 GSM Rev A | |
iPhone3,3 : iPhone 4 CDMA | |
iPhone4,1 : iPhone 4S |