Hello Andreas,
Thank you for detailed explanation.
However, I am not able to do what I want. Almost.
I have discovered, that if I use only CA layers transformations (via
setTransform:), I am getting the same rotated pixels when zooming in.
The only way, which does what I want is:
a) use core ima
Hello Guys..
I see, I have been using GCD and blocks but on somme OSX app I did before, not
on iPhone, I tough tit wasn't there... :P.
SO, I from within the method( block) that makes all the saving process, I do
something like
>> dispatch_async(dispatch_get_main_queue(), ^{
>> /
On 07/12/2010, at 5:35 PM, Ken Thomases wrote:
>> gameColumns = [NSArray arrayWithObjects:allColumns count: boardDimension];
Another issue with this line is that, assuming 'gameColumns' is an instance
variable of the object, the array will be autoreleased, leaving the variable
pointing at dea
Ok, I have found, in order to use QTMovieDataSizeAttribute I must set
QTMovieOpenForPlaybackAttribute to YES. But, when
QTMovieOpenForPlaybackAttribute is YES I can't access the Movie variable, as
mMovie = (Movie)[mQTMovie quickTimeMovie];
and I need the mMovie variable, e.g. for
SetMovie
On Dec 7, 2010, at 2:40 AM, Graham Cox wrote:
> On 07/12/2010, at 5:35 PM, Ken Thomases wrote:
>
>>> gameColumns = [NSArray arrayWithObjects:allColumns count: boardDimension];
>
> Another issue with this line is that, assuming 'gameColumns' is an instance
> variable of the object, the array wil
This is the correct behaviour (at least from Core Data's perspective). Undoing
registration effectively amends changes onto the previous change. It doesn't
remove the changes entirely from Core Data's notice.
On 6 Dec 2010, at 19:40, kvic...@pobox.com wrote:
> i'm having a problem with core dat
On Dec 7, 2010, at 3:16 AM, Gustavo Pizano wrote:
> Hello Guys..
>
> I see, I have been using GCD and blocks but on somme OSX app I did before,
> not on iPhone, I tough tit wasn't there... :P.
Blocks/GCD are in iOS 4.0 and higher. Assuming you have a paid developer
account, you may want to
I have an app that has a TabBar as the rot controller, a NavigationController
in the first tab, and a TableView NIB as the first view in the
NavigationController (I'll call that the Primary TableView). That TableView
provides a list with multiple sections for the user to choose from. When
sel
Hi all,
I've a problem with NSInputStream:
In my object I create (only once) an input and output stream like:
CFStreamCreatePairWithSocketToHost(kCFAllocatorDefault,
(CFStringRef)IPString, 2101, &readStream, &writeStream);
if (readStream==NULL || writeStream==NULL ) {
I've written a few small personal Mac apps and one iOS app and now am
attempting to write my first NSDocument-based Mac application. I would like the
document itself to be a SQLite file (with specific tables for my app - not a
generic SQLite file). I've been reading through the NSDocument docume
David hello.
I didn't use blocks, in order to support 3.2, just in case, you never know who
is out there still using it. so I sue normal [NSObject performSelectorOnThread
methods,..
Now I divided the Saving operation and the thumbnail creation in 2 separate
threads, the thumbnail is inside th
My application needs to communicate with my associated Internet Plugin (a
bundle that runs in web browsers). For example, here is one sequence:
• App sends a "hello" to the plugin.
• Plugin processes "hello", responds to app, indicating that it is installed
and alive.
• App sends up to a few hu
On Dec 7, 2010, at 9:28 AM, Jerry Krinock wrote:
> My application needs to communicate with my associated Internet Plugin (a
> bundle that runs in web browsers). For example, here is one sequence:
>
> • App sends a "hello" to the plugin.
> • Plugin processes "hello", responds to app, indicating
Le 7 déc. 2010 à 17:56, Keary Suska a écrit :
> On Dec 7, 2010, at 9:28 AM, Jerry Krinock wrote:
>
>> My application needs to communicate with my associated Internet Plugin (a
>> bundle that runs in web browsers). For example, here is one sequence:
>>
>> • App sends a "hello" to the plugin.
>
Hi Ken,
Thanks for taking a look at my code.
On Dec 6, 2010, at 10:35 PM, Ken Thomases wrote:
> If you step after the line "TileColumn *allColumns[boardDimension - 1]",
> nothing has happened, yet. That's just a declaration.
But if for example I declare int test[16], the debugger shows the ar
On 7 Dec 2010, at 10:11 AM, Dennis wrote:
> But if for example I declare int test[16], the debugger shows the array
> "test" with 16 members. That's not happening in the case of my code with
> allColumns. It's displaying an array of -1 members.
It's possible that the debugger simply doesn't kno
On Dec 7, 2010, at 10:11 AM, Dennis wrote:
> On Dec 6, 2010, at 10:35 PM, Ken Thomases wrote:
>
>> If you step after the line "TileColumn *allColumns[boardDimension - 1]",
>> nothing has happened, yet. That's just a declaration.
>
> But if for example I declare int test[16], the debugger shows
On Dec 7, 2010, at 8:39 AM, Charlie Dickman wrote:
> Thanks Seth. I'll look into AppleScript. Can't you write to the .DS_Store
> file with root privilege?
You don't need root, you need to force Finder to re-read the file, which you
can't do unless you were to quit it, rewrite the file, and rela
Hi, I'm trying to debug a really odd issue. I have a method that I run in a
separate thread, and right at the end of the method, I call
[anObject performSelectorOnMainThread:@selector(myMethod:)
withObject:someData waitUntilDone:YES];
This works fine the first time I run it. The second
Another data point on this: if I use waitUntilDone:NO, it doesn't even work the
first time through.
Responds to selector still returns YES. There are no error messages.
On 08/12/2010, at 6:05 AM, Gideon King wrote:
> Hi, I'm trying to debug a really odd issue. I have a method that I run in a
>
On Dec 7, 2010, at 2:19 PM, Gideon King wrote:
> Another data point on this: if I use waitUntilDone:NO, it doesn't even work
> the first time through.
>
> Responds to selector still returns YES. There are no error messages.
Is something tying up the main thread? It won’t execute your request if
Thank you. I found an example of shared memory segments here:
http://software.itags.org/software-mac-os/235083/
(Looks like the original server of this page is down.)
And an example of CFMessagePort here:
http://www.omnigroup.com/mailman/archive/macosx-dev/2001-June/028795.html
Given what I kn
Good thought thanks Charles, but everything else seems to be responding as
usual. No spinning wheel, still able to do other things in the UI. Main thread
trace says:
#0 0x9546b0fa in mach_msg_trap ()
#1 0x9546b867 in mach_msg ()
#2 0x9212d37f in __CFRunLoopRun ()
#3 0x9212c464 in CFRunLoopRu
On Dec 7, 2010, at 12:11 PM, Dennis wrote:
> Thanks for taking a look at my code.
Sure.
> On Dec 6, 2010, at 10:35 PM, Ken Thomases wrote:
>
>> If you step after the line "TileColumn *allColumns[boardDimension - 1]",
>> nothing has happened, yet. That's just a declaration.
>
> But if for exa
How do I find the date and time when my application launched? I've done this
before on OS X, but it was a while ago and I've forgotten how. :)
Thanks so much!
Jason
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requ
On Sun, 5 Dec 2010 15:47:32 -0700, Nick Zitzmann said:
>No. The only parts of Carbon that have gone away are the obsolete APIs
>(FSSpec, Internet Config, QuickDraw, etc.) as well as HIView. The rest
>of Carbon isn't going anywhere. There are still a number of OS features
>that can only be accessed
I have completely commented out all the actions of the method that is executing
in the thread. The only things it does are to create an autorelease pool, call
a simple performSelectorOnMainThread, and release the pool. There is nothing
else going on that I can see, and yet it still fails as per
> Any ideas?
Post your code!
___
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 Subscri
Umm, as I mentioned, I have stripped back the multithreading part to virtually
nothing and taken that code to a test application and it works there, and the
rest of the application is 23,000 lines of code, which I can't post.
In my main application, the following still fails (workerThread is an
Some thoughts:
1. What happens if you specify a different object to receive the
message? For example, try [NSApp performSelectorOnMainThread:
@selector(terminate:) ... waitUntilDone: YES]. Does your app
terminate?
2. Specify waitUntilDone: NO, and after the call to
-performSelectorOnMainThread:,
Also: a quick peek at the assembly of -performSelectorOnMainThread:
reveals that it calls _CFExecutableLinkedOnOrAfter(). Presumably this
is to modify its behavior based on what SDK your app links against;
perhaps changing your Base SDK has an effect?
___
Interesting:
1. No.
2. No.
Weird...
Now I thought it would be interesting to try those calls before the thread was
dispatched, and the terminate one worked, but the run loop stop didn't. I also
tried the runloop stop one in my mini test application, and it didn't work
there either, so am a bi
I have copied the source code to a different computer, and can confirm that it
made no difference - the behaviour is the same.
Regards
Gideon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comm
Thanks Seth. I'll look into AppleScript. Can't you write to the .DS_Store file
with root privilege?
On Dec 7, 2010, at 1:10 AM, Seth Willits wrote:
> On Dec 6, 2010, at 3:11 PM, Charlie Dickman wrote:
>
>> In the days of System 9 there was a thing known as the desktop database and
>> a number
i have a core data app that supports both real time events and user
interaction. some of the user interactions can generate an undo stack
similar to the following:
beginUndoGroup
beginUndoGroup
core data action
core data action
endUndoGroup
myAction
endUndoGroup
CocoaHeads Lake Forest will be meeting on the second Wednesday of the month.
We will be meeting at the Orange County Public Library (El Toro) community
room, 24672 Raymond Way, Lake Forest, CA 92630
Please join us from 7pm to 9pm on Wednesday, 12/8.
Peter Hosey will walk through the code for an
> Now I thought it would be interesting to try those calls before the thread
> was dispatched, and the terminate one worked, but the run loop stop didn't. I
> also tried the runloop stop one in my mini test application, and it didn't
> work there either, so am a bit suspicious of that. Should th
> 3. Stop your program, and set a breakpoint on the
> -performSelectorOnMainThread line. Run your program again. When this
> breakpoint is hit, before continuing your program, set a breakpoint at
> CFRunLoopSourceSignal(). Continue your program. The
> CFRunLoopSourceSignal breakpoint should be hit
Thanks for those excellent suggestions Dave (way above my head, but it's good
to have the instructions to execute).
1. Current mode is kCFRunLoopDefaultMode
2. Nothing beginning with NSThread (same was true of my mini test app)
3. Yes, it broke at both those points, and there was something odd go
On Tue, Dec 7, 2010 at 5:14 PM, kvic...@pobox.com wrote:
> i have a core data app that supports both real time events and user
> interaction. some of the user interactions can generate an undo stack
> similar to the following:
>
> beginUndoGroup
> beginUndoGroup
> core data action
>
40 matches
Mail list logo