Simulators
iPad 4.3 Simulator
These guys run super, but not the iPad 5.0
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
-splitting round of applause for these 4 guys … I didn't hear
you … oh, come on, you can do better than that! That's better.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
reason, I am very willing to pay
someone for such efforts.
The help I seek comes in 2 varieties:
(1) John, use this graphics app, do these 3-or-whatever things on your png
graphics and bingo!
-- OR --
(2) John, for $___, I will do this magic for you.
John Love
USAF, Major (Retired: 1961-1981
[NSNotificationCenter defaultCenter] addObserver:
… and combine in it my [mySong addObserver: method.
Thanks bunches.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
|
| controls here |
||
--
Thanks,
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
thanks …
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
Finally, wrapped up my iOS app sand then proceeded to use iTC to upload to App
Store for review.
Using iTC, I see the status Waiting for upload. So I start Application
Loader and the Loader allows me to select the application. Then, I click
Choose and my actual app is dimmed in the Finder
the Home button, the music stops playing,
so I think I can get along without the Done button being around.
Any ideas to cover over the Done button ?? ... because right now I don't have a
clue what to do.
John Love
Touch the Future! Teach!
___
Cocoa
window appeared.
Okay, what's the point? This point is a question: where can I find the details
of who calls whom after main.m is run .. in the iOS word, what happens inside
UIApplicationMain.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing
if this influences the answer to the final question, but I fully
intend to offer whatever iApp(s) I develop for free.
Thanks in advance,
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
to do that yet .. have downloaded
various PDFs, so I've got a lot of reading to do .. something about creating a
file first via the File Menu .. I'll get there eventually
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev
This is just out of academic curiosity because I can successfully use:
[NSThread detachNewThreadSelector: toTarget: withObject:] to do what I want.
Nevertheless, I have been trying to do the same thing in the main Thread with
NSTimer and something is wrong that I just cannot figure out. So,
,
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
?? it is because I am bouncing between separate Controllers and am causing
mayhem.
Any psychic premonitions would be welcomed.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
to
it.
So, how do I effect cursor tracking just in this window without creating a
custom NSView in IB?
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
options:0];
[offset release];
return result;
By the way, identical gotchas are picked up by B A for gregorian.
John Love
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
hardly remember Tiger sdk's being on my hard drive.
Building with 3.2.1 gives no error.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
I tracked down NSException. Appscript posts a NSRangeException Exception
which applies in my case. So, a simple @try .. @catch pair around each row
does the trick.
Thanks again and again ..
John Love
=
On Jan 12, 10, at 10:33 AM, John Love wrote:
Thanks to many, many folk, I am
-readFromURL.
Any help out there for this worst-case scenario? Thanks in advance.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
is not constant. This pertains to the NSString*
because if I directly substitute the following, no compile error happens:
YearAmt gTest[] = {{@testy, 10}
What fundamental pertaining to C or C++ am I not getting?
John Love
Touch the Future! Teach
Is http://www.cocoabuilder.com/ dead?
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
a
Notification back to the main Thread.
Anyway, my bad!
John
=
On Oct 18, 09, at 5:31 PM, Ken Thomases wrote:
On Oct 18, 2009, at 7:26 AM, John Love wrote:
Thanks for your prompt reply, I really appreciate it.
You're welcome.
I have revamped my code to have just one NSInvocationOperation
I have successfully called -
detachNewThreadSelector, as well as delved into NSMachPorts and
NSPortMessages with success. So, I'm just trying to learn a little
bit more here.
Again, thanks.
John
===
On Oct 17, 09, at 10:20 PM, Ken Thomases wrote:
On Oct 16, 2009, at 8:01 AM, John
with
upgrading to 10.6, but I really do not know??
Good grief!!
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
selector method starts and is this NSAutoreleasePool
released after this method finishes?
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
Reference:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#//apple_ref/doc/uid/1057i-CH16-SW29
As noted, Apple's sample code sends a kCheckinMessage back to the main
Thread and then monitors the currentRunLoop
.
=
On Oct 11, 09, at 4:00 PM, Alastair Houghton wrote:
On 11 Oct 2009, at 20:40, John Love wrote:
Reference:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#//apple_ref/doc/uid/1057i-CH16-SW29
As noted
question: if a parent object is retained, why isn't each sibling
component object of that parent retained??
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
[part II of my plea for help]
(3)
- (void) doCalculation {
for (row=1; row = 1; row++) { // many rows, therefore
much time
if ([self shouldExit]) break;
[self doCalculationForEachRow];
}
}
(4)
- (BOOL) shouldExit {
[self pingWorkbook];
];
if (theCalcStatus == kCalculating) {
// do stuff
}
else {
// do stuff
}
}
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
,? Is it inserted within the main thread's –
handlePortMessage, or is it placed within the above do-while loop?
John Love
Touch the Future! Teach!
P.S. Hope I don't get bumped again for excessive length.
___
Cocoa-dev mailing list (Cocoa-dev
I have this request for help in two parts, because I've been bumped
due to length:
Reference: Configuring a Port-Based Input Source of
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/chapter_6_section_5.html#/
/apple_ref/doc/uid/1057i-CH16-SW7
-performSelectorOnMainThread:withObject:waitUntilDone:, according to
Apple docs, is passed a SEL method that should not have a significant
return value.
I wish it to return a INT and I figure that that qualifies as in-
significant. Given that assumption, my real question is how to
This request focuses on an old cocoabuilder thread:
http://www.cocoabuilder.com/archive/...007/3/8/179989
David writes:
But now I find I have a BOOL method that is rarely and randomly
returning NO when the only exit to the method is return YES; so I
have some strange problem somewhere. It
This request focuses on an old cocoabuilder thread:
http://www.cocoabuilder.com/archive/message/cocoa/2007/3/8/179989
David writes:
But now I find I have a BOOL method that is rarely and randomly
returning NO when the only exit to the method is return YES; so I
have some strange problem
somewhere.
Thanks for listening.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
A very Merry and Blessed! Christmas to all of you and your families
and friends
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
On Dec 13, 08, at 12:21 PM, Jean-Daniel Dupas wrote:
Because operator overriding does not exists in Obj-C and so, == is a
pointer comparaison and not a string comparaison.
use the isEqual: method to compare two object.
Thanks to everyone who chimed in .. and here are my changes:
) {
AppActive = YES;
break;
}
}
return AppActive;
Thanks ...
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
Reference:
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/chapter_6_section_5.html#/
/apple_ref/doc/uid/1057i-CH16-SW7
While I'm trying to piece your replies together, I have a quick
question .. reference Listing 5-15 and, in particular, the
that the above doesn't?
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
use on page
43 of Apple's doc.
Should I conclude that this class variable is in the main thread and
is not accessible by the background thread?
If KVC is the only approach for inter-thread communication, I'll press
on.
A short amount of guidance is definitely needed.
Thanks,
John Love
so basic and fundamental that I really feel lacking on
this subject.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
.
.objc_class_name_SEApplication, referenced from
[EMAIL PROTECTED]@[EMAIL PROTECTED] in ScriptController.o
symbol(s) not found
FYI, ScriptController.h imports SEGlue.h from a linked Framework; and
that's where SEApplication comes from.
John Love
John Love
Touch the Future! Teach
I've got a almost complete Cocoa document-based app done. The
almost centers just on my need for Thread-friendly AppleScript,
which NSAppleScript is not .. so, enter appscript.
Dug around and found ASTranslate which handily generates appscript
code based on my input AppleScript code.
and the usual long output resulted.
But no where can I find the osaglue tool so I can then go to Terminal
(?) and type such things as:
osaglue -o TEGlue TE /Applications/TextEdit.app
Terminal does not understand the osaglue command.
My elevator is definitely not up on this one.
John Love
On Oct 7, 08, at 5:58 PM, j o a r wrote:
On Oct 7, 2008, at 12:03 PM, John Love wrote:
2008-10-07 14:36:14.149 Calculate Medical[265:10b] *** -[NSCFSet
calcStatusChanged:]: unrecognized selector sent to instance 0xe41f250
John,
This type of error message indicates that your
about an
invalid aSelector. I don't understand what's going on, so I'm looking
for help.
Again, everything works just great when I pass a non-nil object to
defaultCenter's addObserver:selector:name:object:
Thanks in advance,
John Love
___
Cocoa
object:sentNotifyObject];
}
Shouldn't my call to -addObserver automatically monitor
StatusChanged rather than my having to -postNotificationName??
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
stands for key-value-order .. so obviously I've
got a lot of digging to do, starting with Chapter #1, where ever that
is.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
has wrote:
Getting back to the main discussion of the OP's threading/
NSOperationQueue problems, perhaps it would help if he backs up a
bit and explains in general terms what he's trying to achieve,
rather than focus on individual details of how he's currently trying
to do it? That way,
definitely not even remotely sure if this is the way to go.
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
+
Michael Ash wrote:
When your application becomes unresponsive, pause it in the debugger
and look at the backtraces of all the threads. (You can do this in a
single step by typing t a a bt at the debugger console. This is a
shortcut for thread apply all backtrace.) This should quickly tell
];
}
// more stuff
}
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
I have tried to create a Queue in which I have placed a rather lengthy
calculation. Without the Queue, my app is essentially “frozen” until
the calculation is completed.
I have attempted to put this long calculation in a Queue, but when I
try, my app literally crashes. So, here are some
cancelAllOperations];
// [theQueue release]; // done by [theOp release]
[opData release];
[theOp release];
}
- (void) startCalculation {
[self startQueue];
}
// I also call this method from another Controller
- (void) stopCalculation {
[self stopQueue];
}
John Love
Touch
]
[Switching to process 358 thread 0x10b]
[Switching to process 358 thread 0x10b]
[Switching to process 358 thread 0x10b]
(gdb)
John Love
John Love
Touch the Future! Teach!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
I found the source of my mess .. should have just passed nil to my
selector = calculateWorksheet:
John Love
=
On Sep 13, 08, at 11:46 AM, Shawn Erickson wrote:
On Sep 13, 2008, at 8:34 AM, John Love wrote:
For clarification: It crashes after you call stopCalculation?
Does
FROM : Quincey Morris
Your code is crashing because you're doing it wrong:
On Sep 13, 2008, at 05:05, John Love wrote:
- (void) calculateWorksheet:(id)data {
int row;
for (row=1; row 500; row++) {
// long calculation here
}
}
- (void) startQueue {
NSLog(@start
Please check out this link that I just this second found:
http://lists.apple.com/archives/applescript-studio/2008/Aug/msg2.html
.. and I just confirmed what this link stipulates .. nothing to do
with length:
end script
on -- crash after the space following on
John Love
{
// [self ExcelAppActive] sets and displays Error
}
return wbActive;
}
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
a complete restore of their HD; however, my iMac
G5 is very brand new. What I did do was install 3.0, followed by
updating to 3.1 and still no luck with Studio.
Thanks in advance for any insight on this major issue.
John Love
Touch the Future! Teach
On Aug 13, 08, at 12:09 PM, Shawn Erickson wrote:
On Aug 13, 2008, at 8:17 AM, John Love wrote:
On 12 Aug 2008, has wrote:
Really though, what's best/practical/possible all depends on what
you're trying to do, so if you want more advice then you'll need
to provide more information
!
[NSApp activateIgnoringOtherApps:YES];
... now back to (1,2,3) above
John Love
Touch the Future! Teach!
Whoops ... almost ... activateIgnoringOtherApps momentarily activates
my cocoa app. However, the application, Excel, keeps activating
itself until it is the front application.
So, I guess
On 12 Aug 2008, has wrote:
Really though, what's best/practical/possible all depends on what
you're trying to do, so if you want more advice then you'll need to
provide more information.
Very short info list is as follows (stuff I need to do from within my
Cocoa app):
1) be able to
On Aug 11, 08, at 2:28 PM, John Love wrote:
I have a multiple document Cocoa app where I (try to) open an
external file in whatever application the file belongs to -- in my
case, an Excel spreadsheet in Excel. The new Cocoa document window
shown keeps track of the calculation progress
spinning and the appropriate text is placed
in the NSTextField.
I believe I want to do this opening within my override of -
readFromURL. Am I on the right track here?
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
spinning and the appropriate text is placed
in the NSTextField.
I believe I want to do this opening within my override of -
readFromURL. Am I on the right track here?
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
: leads to
addDocument:, i.e, a new document window.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
within MedDocument is: - (BOOL)
readFromURL:(NSURL*)absoluteURL ofType:(NSString*)typeName
error:(NSError**)outError; as one of the few methods which Apple specifies
should be overridden. What is going on here? John Love
___
Cocoa-dev mailing list (Cocoa-dev
outlined two scenarios .. test for document editing
within your MyDocument or within a separate Controller. In either case, you
just need to call updateChangeCount, rather than mess with overriding
NSDocument's –isDocumentEdited.
John Love
___
Cocoa-dev
the window to dirty
elsewhere.
Anyone have a clue here?
Cheers, John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
here!
Cheers,
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription
Well, what are you asking? Does the code work or not? If not, what are the
symptoms?
Yes, it works without a shred of doubt .. I'm just trying to get my hands
around Category .. there is no doubt whatsoever that unless I use
Category, no one will know what I'm talking about .. it just would be
Uli -
To enable/disable the toolbar items, Cocoa uses the
NSUserInterfaceValidation protocol, and asks each responder in the responder
chain, beginning at the first responder. Have you inserted your toolbar
controller in the responder chain so it actually gets asked whether these
methods should
, I have learned a great deal
about targets and delegates .. so, I pray that my error does not involve
these concepts .. so I can at least say that my ignorance is on new ground.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
(1) warning: no doSheetSelection:contextInfo method found which, I think,
is
due to the fact that the external class of mFileSheetDelegate =
FileController, yet when referenced in SaveSheetController, it's = id, a
general pointer. But, I thought all anonymous pointers were resolved at
Graham,
Yup, Nathan the double indirection of id *
1st, just the key snippet from FileController.m:
@implementation FileController
id mFileSheetDelegate;
=
Here's the complete interface and implementation files for just one
SheetController, which has 2 buttons in its sheet window:
//
Graham,
Still pouring over your thesis .. in process, so let me ask just one thing
at a time, rather than chew here on the whole thing.
(1) learning about anonymous type = (id) .. I make this call within FC:
[iboCalculateSheetCtrl showSheetOnParentWindow:itsWindow
Completed the housekeeping I needed to do .. so I began moving all the sheet
code over to SheetController.
Within FileController, I have 3 IBOutlets which are the 3 different sheet
NSWindow's *and* the same 3 sheet NSWindow outlets for SheetController. I
need to pass the specific sheet to my
.
When I am finished with this housekeeping, I fully intend to return to sheet
compartmentalization ... I have not given up ... I just wanted to get sheets
to work.
I will give you all the feedback when the elevator reaches the top.
With regards,
John Love
up on a separate SheetController .. but, in
the meantime, I have something that works.
Best regards,
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Before I begin, I want to assure you that I have researched entries here on
sheets, as well as those in MacTech.com. It's reasonably probable that I
have missed some entries and so that is why I am asking for help.
I also realize that this description is very long and I *really* did try to
the problem ... but, because I am very human, I could have
missed something. I would be indebted to anyone who could find something
else that obviously I have missed.
As an aside, this nswindow does not support utility stylemask 0x10 log
entry appears twice ??
Best of regards,
John Love
This error appears when a window shows in my document-based app via
MyDocument's -windowDidLoadNib method.
any clues about this mystery ???
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Thank you everyone ... I went back to Apple Docs on Sheets and found
everything you stated ... I apologize for not being a careful reader.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
(@Third Calculate Button clicked);
}
[theSheet close]; // have also tried ... [theSheet orderOut:self];
}
Someone a long time ago warned that the learning curve slope for XCODE is
rather steep .. it's not like I wasn't told.
Anyway, thanks bunches as usual
John Love
On Fri, May 30, 2008 at 3:33 PM, John Love
[EMAIL PROTECTED][EMAIL PROTECTED]
wrote:
Here's some code snippets that I'm having problems with .. the code is
sorta working in that an alert *window* appears, but not as a drop-down
sheet as I think the following calls for: (and even when
{
if (returnCode == NSAlertDefaultReturn) { // Good Bye!
NSLog(@Default Button clicked); // does not log this entry
}
[theSheet close];
}
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
scheme exist in Cocoa/XCODE?
Thanks in advance,
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
I have successfully been able to create a small project whose GUI consists
of a NSProgressIndicator, or wheel, and a Button, titled Spin. In the .nib
window, the Controller is ctrl-dragged to the wheel, specifying an outlet
wheel and the Button is ctrl-dragged to the Controller, specifying an
these
beasts.
Thanks in advance,
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update
as a means of replying.
Thanks in advance,
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
of the Window, selecting documentWindow as the Outlet. But,
just exactly HOW does the actual documentWindow object get passed so that
someMethod can look at one of its properties?
This question is oriented to behind the scenes.
Thanks in advance
John Love
94 matches
Mail list logo