New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Showing results 1 to 25 of 180
Search took 0.02 seconds.
Search: Posts Made By: Mark FX
Forum: OS X - Development and Darwin 03-22-2015, 01:04 PM
Replies: 5
Views: 668
Posted By Mark FX
If your Downloadcv variable is equal to nil, then...

If your Downloadcv variable is equal to nil, then your code is working correctly.
As the if condition has not been met.

If your expecting your Downloadcv variable to be something other than nil,...
Forum: OS X - Development and Darwin 02-04-2015, 11:56 AM
Replies: 2
Views: 422
Posted By Mark FX
The list view options of the Finder window is a...

The list view options of the Finder window is a list of read only properties.
for example if you copy and paste the script below into a new Script Editor file window
it will return the icon size...
Forum: OS X - Development and Darwin 02-01-2015, 01:43 PM
Replies: 5
Views: 609
Posted By Mark FX
Yes I understood that, but you can use the GCC...

Yes I understood that, but you can use the GCC compiler from within Xcode is what I meant.
By default I think Xcode uses the LLVM compiler, but you can choose to use the GCC compiler from the Build...
Forum: OS X - Development and Darwin 02-01-2015, 01:05 PM
Replies: 5
Views: 609
Posted By Mark FX
You dont have to figure out the GCC commands if...

You dont have to figure out the GCC commands if your using Xcode for the project, you can compile any project directly in Xcode itself, but knowing what compiler flags to set inorder for your project...
Forum: OS X - Development and Darwin 01-30-2015, 12:26 PM
Replies: 5
Views: 609
Posted By Mark FX
To create a Terminal / Console project in Xcode. ...

To create a Terminal / Console project in Xcode.

Open Xcode and choose Create a New Xcode Project in the Dialog Window.
Then navigate to OSX Application in the left window pane,
Then select...
Forum: OS X - Development and Darwin 01-18-2015, 12:21 PM
Replies: 2
Views: 477
Posted By Mark FX
I don't fully understand your question, but you...

I don't fully understand your question, but you can not recieve keystroke events with vanilla AppleScript, you can only send Keystrokes using System Events.

Cant you use the Keyboard Shortcut...
Forum: OS X - Development and Darwin 12-31-2014, 01:33 PM
Replies: 6
Views: 811
Posted By Mark FX
With respect you seem to be having a conversation...

With respect you seem to be having a conversation with yourself about your own question, the two most important things you have to decide are.

What sort of Apps do I want to make?

What...
Forum: OS X - Development and Darwin 12-31-2014, 11:55 AM
Replies: 6
Views: 811
Posted By Mark FX
Sorry I'm slow getting back to you, have been...

Sorry I'm slow getting back to you, have been away for a couple of days.

Not sure about Ruby or Python in Xcode, but Xcode has been primarily designed by Apple to use Apple's own languages, and...
Forum: OS X - Development and Darwin 12-28-2014, 11:11 AM
Replies: 6
Views: 811
Posted By Mark FX
Just one more thing you should understand, and...

Just one more thing you should understand, and that is you still work with pointers in the Swift language.
But do not work with pointers in AppleScript or AppleScriptObjC.

Mark
Forum: OS X - Development and Darwin 12-28-2014, 11:03 AM
Replies: 6
Views: 811
Posted By Mark FX
Correct Xcode is an IDE and not a programming...

Correct Xcode is an IDE and not a programming language.

You can code Swift and Objective-C with Xcode, and yes you can code Applescript and ApplescriptObjC with Xcode as well.
You may be...
Forum: iOS Development 10-31-2014, 03:27 PM
Replies: 2
Views: 646
Posted By Mark FX
According to the Apple Developer Docs, yes you...

According to the Apple Developer Docs, yes you can.
You can use the CKModifyBadgeOperation class, which is part of the cload kit framework.
Although I've not used it myself.

If you type...
Forum: iOS Development 10-28-2014, 02:38 PM
Replies: 1
Views: 742
Posted By Mark FX
I have not done anything with the AVAudioPlayer...

I have not done anything with the AVAudioPlayer class myself for a while, but the problem is the fact that the your playSound: method is creating and initializing the AVAudioPlayer class, then...
Forum: OS X - Development and Darwin 09-10-2014, 12:26 PM
Replies: 2
Views: 1,293
Posted By Mark FX
A Library is not or cannot be an Application. A...

A Library is not or cannot be an Application.
A Library is a collection of Functions / Methods that an Application can use and call to perform certain tasks, or to access certain features of the...
Forum: OS X - Development and Darwin 06-01-2014, 02:26 PM
Replies: 3
Views: 836
Posted By Mark FX
Secondly you will have to access your...

Secondly you will have to access your subtotaalLbl like this.


[self subtotaalLbl setText: [NSString stringWithFormat:@"%.2f", subtotaal]];


Unless your going to synthesise the IBOutlet...
Forum: OS X - Development and Darwin 06-01-2014, 01:43 PM
Replies: 3
Views: 836
Posted By Mark FX
The first thing that jumps out at me about your...

The first thing that jumps out at me about your code, is that you are trying to assign a floating point number to an integer variable.

In your code you have this.\



Then this.
Forum: OS X - Development and Darwin 05-26-2014, 02:50 PM
Replies: 2
Views: 864
Posted By Mark FX
Firstly you would not use this [[nsopenpanle...

Firstly you would not use this [[nsopenpanle URLs]objectAtindex:0]; line of code in isolation like you've done.
You would probably do something like this.


NSURL *panelURL = [[nsopenpanle...
Forum: OS X - Development and Darwin 05-16-2014, 03:22 PM
Replies: 11
Views: 1,066
Posted By Mark FX
I agree with vansmith that Python or C++ would be...

I agree with vansmith that Python or C++ would be a good cross platform choice, and to avoid Objective-C as it is OSX and iOS only.

But I would echo cradom's advice about using Xojo for simple...
Forum: OS X - Development and Darwin 05-06-2014, 03:13 PM
Replies: 1
Views: 486
Posted By Mark FX
Yes you have to code sign any new App bundle. ...

Yes you have to code sign any new App bundle.
If your adding new elements to an existing App bundle, then the modified bundle has to be re code signed.

Regards Mark
Forum: iOS Development 04-22-2014, 06:46 AM
Replies: 11
Views: 1,597
Posted By Mark FX
@ ad407 RazOrEdge has answered your question, but...

@ ad407 RazOrEdge has answered your question, but it seems to me you need to learn the basics of the C language. so I would reccommend this book to anyone wanting to learn the basics of C, and also...
Forum: iOS Development 04-21-2014, 02:26 PM
Replies: 11
Views: 1,597
Posted By Mark FX
What are you trying to check for in your IF...

What are you trying to check for in your IF conditional statement ?

To get the x and y coordinates of your image view within it's superview, you would retrieve it's frame origin, or center origin...
Forum: OS X - Development and Darwin 04-21-2014, 01:35 PM
Replies: 2
Views: 549
Posted By Mark FX
You have already asked this question in a...

You have already asked this question in a previous forum post.

http://www.mac-forums.com/forums/os-x-development-darwin/307797-heeeeeelp-how-write-string-into-nsview.html

And where already...
Forum: OS X - Development and Darwin 04-18-2014, 02:02 PM
Replies: 1
Views: 703
Posted By Mark FX
If you google sending keystroke in Objective-C,...

If you google sending keystroke in Objective-C, you'll see various listings, of which most are on Stack Oveflow.

They all look fairly cpmplex solutions using CFEventRef's.
You could also achieve...
Forum: OS X - Development and Darwin 03-05-2014, 03:30 PM
Replies: 1
Views: 1,543
Posted By Mark FX
The NSAlert's buttons return an integer,...

The NSAlert's buttons return an integer, depending on which button is clicked, so you should use an if end if condition check like this.


NSAlert *alert = [[NSAlert alloc] init];
[alert...
Forum: OS X - Development and Darwin 03-01-2014, 01:49 PM
Replies: 3
Views: 1,211
Posted By Mark FX
I was reading the drawInteriorWithFrame:inView:...

I was reading the drawInteriorWithFrame:inView: method description in the documentation, listed below, and thats where it reccomends not using the drawWithFrame:inView: method,
but if neither method...
Forum: OS X - Development and Darwin 02-28-2014, 03:43 PM
Replies: 3
Views: 1,211
Posted By Mark FX
Apple's documentation advises not to invoke...

Apple's documentation advises not to invoke drawWithFrame:inView in you're own subclasses, but advises people to use the drawInteriorWithFrame:inView: method instead.

The documentation for the...
Showing results 1 to 25 of 180

 
Forum Jump

All times are GMT -4. The time now is 02:14 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?