On Aug 29, 2011, at 11:04 PM, Bruce Cresanta wrote:
> Hello All!
>
> I am trying to port my app from Xcode 3.5 to Lion 4.1. I can't get a
> clean compile. I keep getting the following error:
>
>
> clang: error: no such file or directory:
> '/Volumes/Volume/proSEOLion/proSEO/proSEO/
Hello All!
I am trying to port my app from Xcode 3.5 to Lion 4.1. I can't get a
clean compile. I keep getting the following error:
clang: error: no such file or directory:
'/Volumes/Volume/proSEOLion/proSEO/proSEO/proSEO-Prefix.pch'
clang: error: no input files
Command /Developer/u
This is somewhat of a basic question, but I am having a lot of trouble
getting it to work.
When my app loads, I check for certain parameters, and then display an NSWindow.
I have created the window in IB and also created a custom class
(MyWindow). in IB I have given the window class MyWindow.
I
On 8/30/11 8:59 PM, Jens Alfke wrote:
On Aug 30, 2011, at 8:43 PM, Julie Porter wrote:
NSLog(@"have %lu events.",[[MyDocument CISEvents] count]);
I get the error:
'MyDocument' may not respond to '+CISEvents'
This is the distinction between a class and an object. A class is a
kind of templa
On Aug 30, 2011, at 8:43 PM, Julie Porter wrote:
> I just can not figure out how to get my data array across multiple *.m files
> to initialize frame abstraction and call drawRect.
It really has nothing to do with files. You could put your entire program into
one source file (in the corre
On Aug 30, 2011, at 8:43 PM, Julie Porter wrote:
> NSLog(@"have %lu events.",[[MyDocument CISEvents] count]);
>
> I get the error:
> 'MyDocument' may not respond to '+CISEvents'
This is the distinction between a class and an object. A class is a kind of
template that defines what data objects
On 8/29/11 10:39 PM, Graham Cox wrote:
NSDocument and NSView are totally unrelated classes.
[...]
So your view will be doing stuff like:
[myDocument giveMeDataForLinesInRange:linesRange];// in -drawRect:
and your document will be doing stuff like:
[myView setFrame:theSizeICalculatedFromTh
>>> Background: I have a third party library (that I am not allowed to change)
>>> that logs to a file in Debug mode. I want to see this log output directly
>>> in the Xcode console, because transferring log files from the iPhone is too
>>> complicated. The library provides an API to set the fil
> If I have an ivar that is global in scope,
As Scott mentioned, your ivar isn't global. Each instance of your class has its
own ivar. Also as he mentioned, you seem to be ignoring the memory management
guidelines. That's not the immediate cause of your troubles, but is important
for you to und
On Aug 30, 2011, at 2:30 PM, Jens Alfke wrote:
>> Background: I have a third party library (that I am not allowed to change)
>> that logs to a file in Debug mode. I want to see this log output directly in
>> the Xcode console, because transferring log files from the iPhone is too
>> complicated
On Aug 30, 2011, at 11:06 AM, Manfred Schwind wrote:
> is there a file path to the console output - visible in Xcode, e.g. when
> calling NSLog, I think it's stderr - on the iPhone?
> I tried "/dev/stderr" or "/dev/fd/2" (and several other paths) but they do
> not work and if I get the director
On Aug 30, 2011, at 1:01 PM, Chris Paveglio wrote:
> I am starting to work on an application that must expose 1 Applescript
> command. (It's rather challenging to understand and implement.)
> I don't understand what is happening with this code: If I have an ivar that
> is global in scope, when t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/29/11 11:51 PM, Leon Qiao wrote:
> Hi,
>
> Thanks for your response ! I missed something.In the thread method
> "saveTheData", I do call the popToRootViewController on the main
> thread by using "performSelectorOnMainThread:".
OK; that's an impo
> From OS/X man pages and I'm thinking this probably works as well on iOS
That's what I thought, too. But unfortunately it doesn't work.
> So e.g., stdout would be /dev/stdout. See if that works for you...
Does not work. I tried that:
[@"\n\nTEST\n\n\n" writeToFile:@"/dev/stdout" atomic
I am starting to work on an application that must expose 1 Applescript command.
(It's rather challenging to understand and implement.)
I don't understand what is happening with this code: If I have an ivar that is
global in scope, when the Applescript command is accepted, that ivar won't be
used
Manfred,
> Background: I have a third party library (that I am not allowed to change)
> that logs to a file in Debug mode. I want to see this log output directly in
> the Xcode console, because transferring log files from the iPhone is too
> complicated. The library provides an API to set the f
Hi,
is there a file path to the console output - visible in Xcode, e.g. when
calling NSLog, I think it's stderr - on the iPhone?
I tried "/dev/stderr" or "/dev/fd/2" (and several other paths) but they do not
work and if I get the directory contents of "/dev" they really don't exist on
iOS.
std
My monster 2 hour presentation on Audio on iOS & OpenAL is finally
available on YouTube.
http://www.youtube.com/watch?v=6QQAzhwalPI
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
On 8/17/11, Eric Wing wrote:
> Reminder: Cocoaheads Silicon Valley is to
Hi all,
Our applications support creating new documents from templates. The
current way we do this is to trap attempts to open files of our
template type in -application:openFile:, call the standard
NSDocumentController path as if we were opening that file, but then
send the resulting NSDocument a
On Aug 29, 2011, at 11:03 PM, Michael Link wrote:
> I have a document based app that has a source list (NSOutlineView) that
> allows drag and drop on itself or another source list (same class) in a
> different document in the same application.
>
> Everything works on 10.6, in 10.7 drags to the
NSSplitView's autosave is not working in an existing project of mine.
I created a small test project and there autosave works as intended.
When I create the same test window in a nib of my existing project, it doesn't.
The subview frames' data is correctly saved in the prefs file. But when the
a
I am receiving occasional reports from customers who are seeing this error:
_fillLayoutHoleForChar acterRange:desiredNumberOfLines:isSoft: *** attempted
layout while textStorage is editing. It is not valid to cause the layoutManager
to do layout while the textStorage is editing (ie the textStora
Le 29 août 2011 à 22:29, R a écrit :
> I'm using UpdateSystemActivity(OverallAct) successfully to prevent
> sleep in Snow Leopard. Can anyone confirm that this works with Lion?
>
> thanks
Probably, but you should use the IOPMAssertion API introduced in 10.5 instead.
See IOPMAssertionCreateWith
23 matches
Mail list logo