Click here to Skip to main content
15,884,472 members
Home / Discussions / Objective-C and Swift
   

Objective-C and Swift

 
AnswerRe: food menu restaurant Pin
Dennis E White12-Feb-14 5:02
professionalDennis E White12-Feb-14 5:02 
QuestionFunctions Pin
JamieM9429-Jan-14 21:50
JamieM9429-Jan-14 21:50 
AnswerRe: Functions Pin
Richard MacCutchan29-Jan-14 22:21
mveRichard MacCutchan29-Jan-14 22:21 
This is standard C notation, and a fundamental construct of the language. If you don't understand it, then you really need to go back to basics and get yourself an introductory book. The first parameter (theBudget) in the function declaration is a pointer to a budget object (Class or Structure). In the first line of the function the program is subtracting the value of the dollars item from the budget member of the object. A rather poor use of names calling a member of the object by the same name as the object type. In fact I'm not sure that that would not produce a compiler error or warning.
Veni, vidi, abiit domum

GeneralRe: Functions Pin
JamieM9429-Jan-14 23:30
JamieM9429-Jan-14 23:30 
GeneralRe: Functions Pin
Richard MacCutchan30-Jan-14 0:45
mveRichard MacCutchan30-Jan-14 0:45 
AnswerRe: MacBook Pro Pin
Richard MacCutchan20-Jan-14 6:45
mveRichard MacCutchan20-Jan-14 6:45 
GeneralRe: MacBook Pro Pin
ericgahn20-Jan-14 8:01
ericgahn20-Jan-14 8:01 
GeneralRe: MacBook Pro Pin
Richard MacCutchan20-Jan-14 8:08
mveRichard MacCutchan20-Jan-14 8:08 
GeneralRe: MacBook Pro Pin
ericgahn20-Jan-14 9:15
ericgahn20-Jan-14 9:15 
JokeRe: MacBook Pro Pin
Dennis E White3-Feb-14 10:39
professionalDennis E White3-Feb-14 10:39 
GeneralRe: MacBook Pro Pin
Richard MacCutchan3-Feb-14 11:33
mveRichard MacCutchan3-Feb-14 11:33 
QuestionDifferences between, Objective-C, iOS programming, etc... PinPopular
ericgahn8-Jan-14 11:58
ericgahn8-Jan-14 11:58 
AnswerRe: Differences between, Objective-C, iOS programming, etc... Pin
_Maxxx_8-Jan-14 15:25
professional_Maxxx_8-Jan-14 15:25 
GeneralRe: Differences between, Objective-C, iOS programming, etc... Pin
ericgahn9-Jan-14 4:20
ericgahn9-Jan-14 4:20 
QuestionTutorials for objective - C Pin
tgsb19-Dec-13 0:19
tgsb19-Dec-13 0:19 
AnswerRe: Tutorials for objective - C Pin
thatraja23-Dec-13 3:53
professionalthatraja23-Dec-13 3:53 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 0:50
SOHAM_GANDHI8-Feb-14 0:50 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 0:51
SOHAM_GANDHI8-Feb-14 0:51 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 0:54
SOHAM_GANDHI8-Feb-14 0:54 
QuestionHow to print a two dimensional array using one loop? Pin
Member 103350196-Dec-13 19:46
professionalMember 103350196-Dec-13 19:46 
SuggestionRe: How to print a two dimensional array using one loop? Pin
Richard MacCutchan6-Dec-13 21:44
mveRichard MacCutchan6-Dec-13 21:44 
GeneralRe: How to print a two dimensional array using one loop? Pin
jschell7-Dec-13 10:51
jschell7-Dec-13 10:51 
GeneralRe: How to print a two dimensional array using one loop? Pin
Richard MacCutchan7-Dec-13 21:23
mveRichard MacCutchan7-Dec-13 21:23 
GeneralRe: How to print a two dimensional array using one loop? Pin
jschell9-Dec-13 14:51
jschell9-Dec-13 14:51 
GeneralRe: How to print a two dimensional array using one loop? Pin
Richard MacCutchan9-Dec-13 22:13
mveRichard MacCutchan9-Dec-13 22:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.