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 170
Search took 0.02 seconds.
Search: Posts Made By: Mark FX
Forum: iOS Development 10-31-2014, 04:27 PM
Replies: 2
Views: 249
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: 348
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: 601
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: 544
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: 544
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: 680
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: 877
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: 386
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,464
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,464
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: 405
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: 579
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: 893
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: 772
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: 772
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: 856
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...
Forum: OS X - Development and Darwin 12-18-2013, 03:33 PM
Replies: 3
Views: 1,830
Posted By Mark FX
You can send keystrokes with Applescript using...

You can send keystrokes with Applescript using System Events, but you can't capture keystrokes with it, I've given some examples below.


tell application "System Events"
keystroke "n" using...
Forum: OS X - Development and Darwin 11-24-2013, 05:55 AM
Replies: 5
Views: 940
Posted By Mark FX
As I suspected the application has been compiled...

As I suspected the application has been compiled for Windows only, and the links you've provided dont give you access to the programs source code, which is a real shame.

The two operating system...
Forum: OS X - Development and Darwin 11-22-2013, 03:39 PM
Replies: 5
Views: 940
Posted By Mark FX
Unfortunately running your Windows application...

Unfortunately running your Windows application with WineBottler or Parallels, or even VMware Fusion, doesn’t make the application a truly native Mac OSX application, although it may appear to be when...
Forum: OS X - Development and Darwin 11-10-2013, 03:02 PM
Replies: 3
Views: 518
Posted By Mark FX
Sorry I don't understand your question. ...

Sorry I don't understand your question.

AXValue ?

what text fielld are you reffering to ?

Are you working in Xcode, with a custom textfield on a window in Interface Builder ?

You'll have...
Forum: OS X - Development and Darwin 11-06-2013, 02:46 PM
Replies: 3
Views: 518
Posted By Mark FX
I dont fully understand your question, but I...

I dont fully understand your question, but I think your asking how to find a specific word in the frontmost active TextEdit document, if this is correct, then the simple Applescript below shows a...
Forum: OS X - Development and Darwin 08-25-2013, 03:01 PM
Replies: 5
Views: 929
Posted By Mark FX
Yes you're correct, the NSLog() statement is for...

Yes you're correct, the NSLog() statement is for you the programmer to help you debug you're code.

Using @try/@catch/@finally blocks are a bit old fashioned these days, and are more associated...
Forum: OS X - Development and Darwin 08-24-2013, 01:47 PM
Replies: 5
Views: 929
Posted By Mark FX
I dont really understand you're question, putting...

I dont really understand you're question, putting NSLog statements in you're code prints the results to the debug console window at the bottom of the Xcode IDE, like the example below.

...
Forum: OS X - Development and Darwin 08-23-2013, 02:53 PM
Replies: 5
Views: 929
Posted By Mark FX
The reason is that NSTextfield and UITextField...

The reason is that NSTextfield and UITextField have different methods, the NSTextfield class was designed years before the UITextField class, so when they started creating the iOS Cocoa Touch...
Forum: iOS Development 08-14-2013, 02:07 PM
Replies: 1
Views: 734
Posted By Mark FX
Well I just Googled Revenue Share App Development...

Well I just Googled Revenue Share App Development and gots loads of rusults.

I always ask Google.

Regards Mark
Showing results 1 to 25 of 170

 
Forum Jump

All times are GMT -4. The time now is 03:14 AM.

Powered by vBulletin
Copyright ©2000 - 2014, 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?