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

Objective-C and Swift

 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Member 1060876122-Feb-14 16:35
Member 1060876122-Feb-14 16:35 
AnswerRe: OSX Desktop Manager (Quartz Compositor) Pin
Dennis E White19-Feb-14 5:36
professionalDennis E White19-Feb-14 5:36 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Member 1060876121-Feb-14 1:41
Member 1060876121-Feb-14 1:41 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Dennis E White21-Feb-14 5:57
professionalDennis E White21-Feb-14 5:57 
Questionfood menu restaurant Pin
Member 1047199011-Feb-14 1:26
Member 1047199011-Feb-14 1:26 
AnswerRe: food menu restaurant Pin
Richard MacCutchan11-Feb-14 2:04
mveRichard MacCutchan11-Feb-14 2:04 
AnswerRe: food menu restaurant Pin
Dennis E White12-Feb-14 6:02
professionalDennis E White12-Feb-14 6:02 
QuestionFunctions Pin
JamieM9429-Jan-14 22:50
JamieM9429-Jan-14 22:50 
Hi,

I'm fairly new to objective C and I'm just learning how to use functions. In the below function I understand what the first line does but then the statements below have me a bit confused can anyone explain it to me? Its the "theBudget->budget" bit I dont understand.

Objective-C
void spendDollars (budget* theBudget, double dollars) {
theBudget->budget -= dollars;


Thanks for your help in advance Smile | :)
AnswerRe: Functions Pin
Richard MacCutchan29-Jan-14 23:21
mveRichard MacCutchan29-Jan-14 23:21 
GeneralRe: Functions Pin
JamieM9430-Jan-14 0:30
JamieM9430-Jan-14 0:30 
GeneralRe: Functions Pin
Richard MacCutchan30-Jan-14 1:45
mveRichard MacCutchan30-Jan-14 1:45 
AnswerRe: MacBook Pro Pin
Richard MacCutchan20-Jan-14 7:45
mveRichard MacCutchan20-Jan-14 7:45 
GeneralRe: MacBook Pro Pin
ericgahn20-Jan-14 9:01
ericgahn20-Jan-14 9:01 
GeneralRe: MacBook Pro Pin
Richard MacCutchan20-Jan-14 9:08
mveRichard MacCutchan20-Jan-14 9:08 
GeneralRe: MacBook Pro Pin
ericgahn20-Jan-14 10:15
ericgahn20-Jan-14 10:15 
JokeRe: MacBook Pro Pin
Dennis E White3-Feb-14 11:39
professionalDennis E White3-Feb-14 11:39 
GeneralRe: MacBook Pro Pin
Richard MacCutchan3-Feb-14 12:33
mveRichard MacCutchan3-Feb-14 12:33 
QuestionDifferences between, Objective-C, iOS programming, etc... PinPopular
ericgahn8-Jan-14 12:58
ericgahn8-Jan-14 12:58 
AnswerRe: Differences between, Objective-C, iOS programming, etc... Pin
_Maxxx_8-Jan-14 16:25
professional_Maxxx_8-Jan-14 16:25 
GeneralRe: Differences between, Objective-C, iOS programming, etc... Pin
ericgahn9-Jan-14 5:20
ericgahn9-Jan-14 5:20 
QuestionTutorials for objective - C Pin
tgsb19-Dec-13 1:19
tgsb19-Dec-13 1:19 
AnswerRe: Tutorials for objective - C Pin
thatraja23-Dec-13 4:53
professionalthatraja23-Dec-13 4:53 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 1:50
SOHAM_GANDHI8-Feb-14 1:50 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 1:51
SOHAM_GANDHI8-Feb-14 1:51 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 1:54
SOHAM_GANDHI8-Feb-14 1:54 

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.