Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Mac Programming | Forum profile

Forum profile page for Mac Programming on http://www.macrumors.com. This report page is the aggregated overview from a single forum: Mac Programming, located on the Message Board at http://www.macrumors.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Mac Programming" on the Message Board at http://www.macrumors.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Mac Forums - Mac News and Rumor Discussion - Mac Programming (site profile, domain info macrumors.com)
Title: Mac Programming
Url: http://forums.macrumors.com/forumdisplay.php?s=...
Users activity: 3 posts per thread
Forum activity: 93 active threads during last week
 

Posting activity on Mac Programming:

  Week Month 3 Months
Threads: 93 361 1,135
Post: 258 1,065 3,435
 

Mac Programming Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
chown33
21
user's latest post:
Best book to learn Cocoa and...
Published (2009-11-25 17:32:00)
Quote: Originally Posted by steezy1337 i'm currently learning c++ at college as part of my foundation degree (UK) but i'd like to look more into developing apps for mac, would i be okay to go straight to the Hillgrass book or should i still go with learning objective c first? Try an online Objective-C tutorial. If you can pick up the language in a weekend, skip buying a book for it. If you can't pick it up, buy the book. Any...
kainjow
16
user's latest post:
Hello world help
Published (2009-11-24 22:59:00)
You can name your method whatever you want. Maybe call it "helloText". Using that example, you would first need to declare it in your header file as such: Code: - (NSString *)helloText; Then, plug that into the implementation file: Code: - (NSString *)helloText { ... blah blah ... } To call it, use: Code: [self helloText]; If you want to put the method's returned value into your text view, use: Code: [msg...
lee1210
11
user's latest post:
import java.util.Scanner not...
Published (2009-11-23 10:41:00)
textmate seems less involved than other IDEs, but one way or the other, i feel that when people are beginning using the command line to compile and run code is the only way to do it. You get comfortable with the tools, the errors are more straight-forward, etc. Once you have mastered those things, and have a better idea of how everything works, and you NEED the power an IDE provides, then it's reasonable to give one a whirl. I'll...
TheChubbyBunny
9
user's latest post:
Shell, executing a command based...
Published (2009-11-25 21:20:00)
is there anyway that the script can tell what it's containing folder is ? for example, instead of this: Code: printf "Please specify your server's path:" read MYPATH echo "$MYPATH" > path #just basically a test to see if it's reading the input cd $MYPATH I could have something like: Code: cd $CONATINING_FOLDER So that you don't have to input the folder path everytime?
mac2x
7
user's latest post:
n00b C++ problem - Page 2 - Mac...
Published (2009-11-25 22:35:00)
So sorry I haven't responded...been really busy with chemistry these days. I'll have a look through that example and get back, hopefully tonight.
SomeoneElse
6
user's latest post:
Sort a text file in Applescript
Published (2009-11-18 08:19:00)
I have figured it out. Thanks for the help. The problem was I needed to make Set the_list to Every Word of the_data. not excluding the Every word part. here is the complete script. set namez to text returned of (display dialog "What's your name?" default answer "names") set theFilePath to (path to desktop) & namez & ".txt" as string set quote to ASCII character of 34...
Sander
6
user's latest post:
C++ header that includes...
Published (2009-11-23 04:26:00)
Quote: Originally Posted by lucasvickers 1 - Why would someone put the curlpp/ in the include? This is a form of namespacing. Suppose you use lots of libraries in your project, chances are that a file called "utilities.h" or "types.h" exists multiple times. If you add all directories for these libraries to your include path, the compiler will simply pick the first one it finds. If you only add the top level...
Catfish_Man
6
user's latest post:
NSThread Cancel
Published (2009-11-25 18:08:00)
Hmm... you'd need to declare it volatile if you want to not use a lock. Otherwise the compiler is free to hoist the check out of the loop. i.e. convert this: Code: while(!cancelled) {} into Code: if (!cancelled) { while(1) {} }
xStep
6
user's latest post:
Shell, executing a command based...
Published (2009-11-25 21:54:00)
Here is a hint... Code: echo $0 echo `pwd`
fumixene
5
user's latest post:
File/Directory error
Published (2009-11-19 06:19:00)
Quote: Originally Posted by fumixene cout << “var1+10 is “; //output text cout << var2 << endl; //output value of var2 This was my original code and of course I fixed the quotes. Isn't it correct syntax to write: cout << "var1+10 is "; cout << var2 << endl; which was my original intention (you can see on the first...
 

Latest active threads on Mac Programming::

Mac Forums - Mac News and Rumor Discussion
Started 2 weeks ago (2009-11-13 02:37:00)  by lloyddean
There is nothing wrong with the code as posted. Perhaps the code being compile is different than what's here?
Thread:  Show this thread (34 posts)   Thread info: n00b C++ problem Size: 180 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: n00b C++ problem :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 1 day, 21 hours ago (2009-11-25 14:23:00)  by xStep
Quote: Originally Posted by TheChubbyBunny Code: ./Compiler.sh: line 56: syntax error: unexpected end of file The script you have supplied doesn't have 56 lines, so another script is must have the error. What is on line 56 there? Also, it's been a while since I've done scripting, but you have...
Thread:  Show this thread (15 posts)   Thread info: Shell, executing a command based on input. Size: 2,309 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Shell, executing a command based on input. :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 4 days, 23 hours ago (2009-11-22 11:58:00)  by rowsdower
Did you install a different version of Python? Maybe Eclipse is picking up the Python that came with the system.
Thread:  Show this thread (10 posts)   Thread info: Python + PyGame + SDL + NumPy + Eclipse + PyDev Size: 183 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Python + PyGame + SDL + NumPy + Eclipse + PyDev :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 2 days, 9 hours ago (2009-11-25 01:43:00)  by Catfish_Man
Have a BOOL protected by a lock (or, equivalently, an atomic BOOL property) that you check periodically from the background thread and set from the foreground thread when you need to cancel.
Thread:  Show this thread (5 posts)   Thread info: NSThread Cancel Size: 260 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: NSThread Cancel :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 2 years, 4 months ago (2007-07-30 00:02:00)  by iSee
The single best book for Objective-C is "Programming in Objective-C" by Stephen G. Kochan.
Thread:  Show this thread (28 posts)   Thread info: Best book to learn Cocoa and Objective C? Size: 215 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Best book to learn Cocoa and Objective C? :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 2 days, 14 hours ago (2009-11-24 20:41:00)  by gnasher729
Slightly hard to find the problem, because you didn't say what kind of error you get (really helpful information), but when I read through your header file, there was one method where I thought: "Huh? That can't be right" and if you read the error message carefully, you will probably find what's wrong. By the way, do you really want these constructors to be public?
Thread:  Show this thread (4 posts)   Thread info: C++ generic Link list using templates Size: 465 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: C++ generic Link list using templates :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 2 days, 12 hours ago (2009-11-24 22:59:00)  by kainjow
You can name your method whatever you want. Maybe call it "helloText". Using that example, you would first need to declare it in your header file as such: Code: - (NSString *)helloText; Then, plug that into the implementation file: Code: - (NSString *)helloText { ... blah blah ... } To call it, use: Code: [self helloText]; If you want to put the ...
Thread:  Show this thread (3 posts)   Thread info: Hello world help Size: 1,690 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Hello world help :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 1 month ago (2009-10-28 08:42:00)  by kainjow
I doubt there's a way to get around requiring root, since the pmset manual specifically says it's required, but if you can get Automator to run an AppleScript directly then this is probably the preferred way to do it: Code: do shell script "pmset displaysleep 1" with administrator privileges Edit: looks like you can embed the username/password in the script directly: Code:...
Thread:  Show this thread (7 posts)   Thread info: Sleep the Display using Automator Size: 1,176 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Sleep the Display using Automator :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Forums - Mac News and Rumor Discussion
Started 2 months, 2 weeks ago (2009-09-08 16:13:00)  by David2070
Yeah, I have the same problem. I'm not sure what the problem is, but its definately not as stable as it was under Leopard.
Thread:  Show this thread (24 posts)   Thread info: NetBeans 6.7.1 unstable on Snow Leopard Size: 193 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: NetBeans 6.7.1 unstable on Snow Leopard :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
 

Hot threads for last week on Mac Programming::

Mac Programming
Started 1 day, 21 hours ago (2009-11-25 14:23:00)  by xStep
Quote: Originally Posted by TheChubbyBunny Code: ./Compiler.sh: line 56: syntax error: unexpected end of file The script you have supplied doesn't have 56 lines, so another script is must have the error. What is on line 56 there? Also, it's been a while since I've done scripting, but you have...
Thread:  Show this thread (15 posts)   Thread info: Shell, executing a command based on input. Size: 2,309 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Shell, executing a command based on input. :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 4 days, 23 hours ago (2009-11-22 11:58:00)  by rowsdower
Did you install a different version of Python? Maybe Eclipse is picking up the Python that came with the system.
Thread:  Show this thread (10 posts)   Thread info: Python + PyGame + SDL + NumPy + Eclipse + PyDev Size: 183 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Python + PyGame + SDL + NumPy + Eclipse + PyDev :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 4 days, 5 hours ago (2009-11-23 06:13:00)  by ebrithil15
Running Xcode C++ program without Xcode? Hello, I just started to teach myself to program in the C++ language and i have just finished writing my first program with an actual function but I'm wondering how i run the program without Xcode. So my question is basically can i run this program on my Mac (or any other Macs) ...
Thread:  Show this thread (8 posts)   Thread info: Running Xcode C++ program without Xcode? Size: 3,057 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Running Xcode C++ program without Xcode? :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 1 week ago (2009-11-19 12:08:00)  by kainjow
From a google it looks like "shlb" just represents a generic shared library. Are you looking for a specific file? And why are you still developing for an ancient OS
Thread:  Show this thread (7 posts)   Thread info: OS9: FspOpenResFile( GetFSpec( shlb ) ) ? Size: 418 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: OS9: FspOpenResFile( GetFSpec( shlb ) ) ? :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 5 days, 17 hours ago (2009-11-21 18:01:00)  by robbieduncan
It depends. You could put the common parts in a new Framework project then put that Framework in each application project. Or you can create two targets in the same Project, each target would contain some of the files and build different apps.
Thread:  Show this thread (7 posts)   Thread info: Stupid xcode newbie question - multiple applications in the same project? Size: 315 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Stupid xcode newbie question - multiple applications in the same project? :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 6 days, 23 hours ago (2009-11-20 11:55:00)  by Catfish_Man
Why not use the system log via CFLog() or Apple System Logger ( http://developer.apple.com/mac/libra...3/asl.3.htm l)?
Thread:  Show this thread (7 posts)   Thread info: Making a log file in Xcode Application Size: 330 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Making a log file in Xcode Application :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 4 days, 1 hour ago (2009-11-23 10:12:00)  by aztastic
import java.util.Scanner not working with TextMate? Hello everyone! I've just started a programming class at Uni, and we're dealing with Java. Consequently I got TextMate to work with, as I've heard many good things about it - but I stumbled upon a problem. One of the practice assignments we were supposed to do was related to the...
Thread:  Show this thread (7 posts)   Thread info: import java.util.Scanner not working with TextMate? Size: 3,324 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "import java.util.Scanner not working with TextMate? :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 5 days, 17 hours ago (2009-11-21 17:35:00)  by lloyddean
It's likely its developer means for it to sit along side the CURL headers which on Mac OS X are at /usr/include/curl/curl.h. Being that this is a system header include path it is accessed with '#include <curl/curl.h>'. I don't recommend placing the 'curlpp' headers in the systems '/usr/include'. Instead if you're finding yourself using a good number of *nix libraries I'd suggest ...
Thread:  Show this thread (6 posts)   Thread info: C++ header that includes directory in xcode Size: 1,295 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: C++ header that includes directory in xcode :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 3 days, 17 hours ago (2009-11-23 18:27:00)  by kainjow
Try this: Code: say "hello" saving to POSIX file "/Users/you/Desktop/test.aif"
Thread:  Show this thread (6 posts)   Thread info: AppleScript: Save Text as Audio Size: 462 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: AppleScript: Save Text as Audio :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"
Mac Programming
Started 1 week, 2 days ago (2009-11-17 18:04:00)  by chown33
Assuming your sort algorithm works with the builtin data, it suggests the problem lies in the code that reads the file into a list, or the text of the file being read. Unfortunately, you haven't shown any actual code that reads a file into a list, nor have you shown what text is in the file. You also haven't said what error message appears, if any. "It gives an error" is too vague....
Thread:  Show this thread (8 posts)   Thread info: Sort a text file in Applescript Size: 829 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Sort a text file in Applescript :: Mac Programming :: Mac Forums - Mac News and Rumor Discussion"