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 179
Search took 0.02 seconds.
Search: Posts Made By: Mark FX
Forum: OS X - Development and Darwin 02-04-2015, 12:56 PM
Replies: 2
Views: 219
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, 02:43 PM
Replies: 5
Views: 339
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, 02:05 PM
Replies: 5
Views: 339
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, 01:26 PM
Replies: 5
Views: 339
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, 01:21 PM
Replies: 2
Views: 265
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, 02:33 PM
Replies: 6
Views: 559
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, 12:55 PM
Replies: 6
Views: 559
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, 12:11 PM
Replies: 6
Views: 559
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, 12:03 PM
Replies: 6
Views: 559
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, 04:27 PM
Replies: 2
Views: 421
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, 03:38 PM
Replies: 1
Views: 528
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, 01:26 PM
Replies: 2
Views: 916
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, 03:26 PM
Replies: 3
Views: 662
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, 02:43 PM
Replies: 3
Views: 662
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, 03:50 PM
Replies: 2
Views: 801
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, 04:22 PM
Replies: 11
Views: 985
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, 04:13 PM
Replies: 1
Views: 447
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, 07:46 AM
Replies: 11
Views: 1,541
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, 03:26 PM
Replies: 11
Views: 1,541
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, 02:35 PM
Replies: 2
Views: 481
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, 03:02 PM
Replies: 1
Views: 640
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, 04:30 PM
Replies: 1
Views: 1,185
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, 02:49 PM
Replies: 3
Views: 955
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, 04:43 PM
Replies: 3
Views: 955
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...
Forum: OS X - Development and Darwin 01-19-2014, 05:13 PM
Replies: 2
Views: 920
Posted By Mark FX
You can put the multiline label in the scroll...

You can put the multiline label in the scroll view, but I did restle a bit with it myself.

I placed a multiline label on a window from the object library, and also a scroll view from the object...
Showing results 1 to 25 of 179

 
Forum Jump

All times are GMT -4. The time now is 03:27 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?