Click here to Skip to main content
14,979,206 members
Home / Discussions / Objective-C and Swift
   

Objective-C and Swift

 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Member 1060876122-Feb-14 15:35
MemberMember 1060876122-Feb-14 15:35 
AnswerRe: OSX Desktop Manager (Quartz Compositor) Pin
Dennis E White19-Feb-14 4:36
professionalDennis E White19-Feb-14 4:36 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Member 1060876121-Feb-14 0:41
MemberMember 1060876121-Feb-14 0:41 
GeneralRe: OSX Desktop Manager (Quartz Compositor) Pin
Dennis E White21-Feb-14 4:57
professionalDennis E White21-Feb-14 4:57 
Questionfood menu restaurant Pin
Member 1047199011-Feb-14 0:26
MemberMember 1047199011-Feb-14 0:26 
AnswerRe: food menu restaurant Pin
Richard MacCutchan11-Feb-14 1:04
mveRichard MacCutchan11-Feb-14 1:04 
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
MemberJamieM9429-Jan-14 21: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.

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


Thanks for your help in advance Smile | :)
AnswerRe: Functions Pin
Richard MacCutchan29-Jan-14 22:21
mveRichard MacCutchan29-Jan-14 22:21 
GeneralRe: Functions Pin
JamieM9429-Jan-14 23:30
MemberJamieM9429-Jan-14 23:30 
GeneralRe: Functions Pin
Richard MacCutchan30-Jan-14 0:45
mveRichard MacCutchan30-Jan-14 0:45 
QuestionMessage Closed Pin
20-Jan-14 5:48
Memberericgahn20-Jan-14 5:48 
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
Memberericgahn20-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
Memberericgahn20-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
Memberericgahn8-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
Memberericgahn9-Jan-14 4:20 
QuestionTutorials for objective - C Pin
tgsb19-Dec-13 0:19
Membertgsb19-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
MemberSOHAM_GANDHI8-Feb-14 0:50 
AnswerRe: Tutorials for objective - C Pin
SOHAM_GANDHI8-Feb-14 0:51
MemberSOHAM_GANDHI8-Feb-14 0:51 

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.