I have a main app and a sub-app background process (both Cocoa). The main
app needs to send the sub-app a bunch of files to process... Anywhere from
one to hundreds.
The main app has a list of paths to process in an NSArray. In my testing
with NSDistributedNotifcationCenter, it handles up to about
On 2010 Feb 09, at 14:10, Greg Reichow wrote:
>> I'm trying to run an NSURLConnection from an NSOperation. Apparently, it
>> won't run. I know that NSURLConnection need a run loop. Does that mean I'll
>> have to setup some kind of NSTime in my NSOperation and then call my run
>> loop at regula
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, 2/10.
We are going to be whiteboarding the design of
I am using the new NSURL bookmark data API introduced in OS X 10.6 to
store an "alias" to a file system resource. When I use
+[NSURL
URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:]
to resolve the bookmark data, I get nil if the file no longer exists
(or has been move
On Feb 9, 2010, at 5:03 PM, Graham Cox wrote:
>> Xcode does this when you an error on a certain line. Has anyone implemented
>> this in their application, and if so, how did you go about doing it.
>
> I would expect that it's done using a private custom subclass of NSScroller -
> the standard c
On 10/02/2010, at 12:01 PM, Brent Smith wrote:
> Xcode does this when you an error on a certain line. Has anyone implemented
> this in their application, and if so, how did you go about doing it.
I would expect that it's done using a private custom subclass of NSScroller -
the standard contro
Hey all,
Having some trouble finding in the documentation anyway to add tick marks to an
NSScrollView or NSScroller. Here is an image as to what I am referring to.
http://i50.tinypic.com/4h5ws4.jpg
Xcode does this when you an error on a certain line. Has anyone implemented
this in their applicat
Thanks. Makes sense. Will do...
On Feb 9, 2010, at 4:05 PM, David Duncan wrote:
> There is, but it is just not recommended (you can test from UIDevice).
> Generally the concept is "test for what you need" because you don't know what
> the configuration will be. Two examples:
>
> 1) Someone add
On Feb 9, 2010, at 3:31 PM, MARC BLATT wrote:
> I wanted to have a different GUI launch when the app is running on an iPhone
> versus when it's running on the iPod Touch. The iPhone GUI would have some
> phone/3GS features available that wouldn't be available on the Touch. I was
> hoping to do
On 10/02/2010, at 1:21 AM, Donald Klett wrote:
> I am trying to learn Cocoa and wrote a simple app using the MVC pattern. The
> view controls
Just to add to Hank's excellent analysis, the clue that something's amiss is in
your second sentence here. In MVC, controllers control. The clue's in
I wanted to have a different GUI launch when the app is running on an iPhone
versus when it's running on the iPod Touch. The iPhone GUI would have some
phone/3GS features available that wouldn't be available on the Touch. I was
hoping to do a call similar to checking the OS version.
On Feb 9, 2
On Feb 9, 2010, at 15:01, Keith Duncan wrote:
>
> On 9 Feb 2010, at 22:18, Laurent Daudelin wrote:
>
>>> Try using the synchronous version of NSURLConnection […]
>
> No, don't do this. This method simply creates a private NSURLConnection
> delegate and enters the run loop until completion or f
On Feb 9, 2010, at 3:19 PM, MARC BLATT wrote:
> Is there a method for determining whether the app is running on an iPhone or
> iPod Touch?
This is one of those questions that is always followed up with "what are you
trying to do?". Because you almost never want to ask this question directly.
--
Is there a method for determining whether the app is running on an iPhone or
iPod Touch?___
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-admi
On 9 Feb 2010, at 22:18, Laurent Daudelin wrote:
>> Try using the synchronous version of NSURLConnection […]
No, don't do this. This method simply creates a private NSURLConnection
delegate and enters the run loop until completion or failure.
This ties the NSOperation worker thread up until co
Hi Jens,
Thanks for the reply. The XML specs seem to indicate it needs escaping when it
occurs in "]]>" unless it marks the end of CDATA, regardless of whether it is
inside CDATA or not:
The right angle bracket (>) may be represented using the string " > ", and
must, for compatibility, be esca
Thanks for the tips, I will review my code according to your
suggestions. I did try the OpenGL profiler--that causes a kernel panic
almost instantly.
Shayne Wissler
On Tue, Feb 9, 2010 at 3:21 PM, Jean-Daniel Dupas
wrote:
>
> Le 9 févr. 2010 à 22:38, Shayne Wissler a écrit :
>
>> I have a multi
Le 9 févr. 2010 à 22:38, Shayne Wissler a écrit :
> I have a multithreaded Cocoa+OpenGL app that can reliably bring down
> OSX. I am using the latest released/patched version of OSX, all
> updates have been downloaded and applied.
>
> The application has a thread that displays video frames as Op
On Feb 9, 2010, at 14:10, Greg Reichow wrote:
>
>> I'm trying to run an NSURLConnection from an NSOperation. Apparently, it
>> won't run. I know that NSURLConnection need a run loop. Does that mean I'll
>> have to setup some kind of NSTime in my NSOperation and then call my run
>> loop at regu
> I'm trying to run an NSURLConnection from an NSOperation. Apparently, it
> won't run. I know that NSURLConnection need a run loop. Does that mean I'll
> have to setup some kind of NSTime in my NSOperation and then call my run loop
> at regular intervals?
Try using the synchronous version of
On Tue, Feb 9, 2010 at 1:38 PM, Shayne Wissler wrote:
> Any tips?
File a bug at bugreport.apple.com.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
I have a multithreaded Cocoa+OpenGL app that can reliably bring down
OSX. I am using the latest released/patched version of OSX, all
updates have been downloaded and applied.
The application has a thread that displays video frames as OpenGL
textures. When I resize the associated window, it crashes
On Feb 9, 2010, at 1:03 PM, Keith Blount wrote:
Great, many thanks for the reply, and for the location of the
information in the XML docs, that's very helpful. Unfortunately, it
seems that the NSXML classes don't fix the '>' in the ']]>' case
either, though:
NSXMLElement*element = [[[NSXML
I'm trying to run an NSURLConnection from an NSOperation. Apparently, it won't
run. I know that NSURLConnection need a run loop. Does that mean I'll have to
setup some kind of NSTime in my NSOperation and then call my run loop at
regular intervals?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Sk
Great, many thanks for the reply, and for the location of the information in
the XML docs, that's very helpful. Unfortunately, it seems that the NSXML
classes don't fix the '>' in the ']]>' case either, though:
NSXMLElement*element = [[[NSXMLElementalloc]
initWithName:@"Test"stringValue:@"< & >
The XML spec does not require '>' to be escaped as '>' (except in
the case of ']]>' when that doesn't mark the end of a cdata section).
Only '&' and '<' must be escaped - see section 2.4 of XML 1.0 spec.
Sent from my iPhone
On Feb 9, 2010, at 2:19 PM, Keith Blount wrote:
Hello,
I'm usi
[I sent this reply privately to Stefan a few days ago and realized
that it hadn't come to the mailing list.]
On Fri, Feb 5, 2010 at 12:26 PM, Stefan Wolfrum wrote:
> Okay, found & read Chris Hanson's blog article from 2005:
> http://chanson.livejournal.com/125568.html
>
> I totally agree with the
Hello,
I'm using the NSXML classes to write out various strings, and it seems that
these classes convert "<" to "<" but not ">" to ">", which I find odd.
For instance, consider the following code snippet:
NSXMLElement*element = [[[NSXMLElementalloc]
initWithName:@"Test"stringValue:@"< & >"] au
Peter,
I am not using a status bar, so I went with
[webView stringByEvaluatingJavaScriptFromString:@"window.scrollTo(0,0);"]
of course I don't get animation with that, so I am thinking of using jQuery
to do that.
Eric
On Tue, Feb 9, 2010 at 2:22 PM, Peter Blazejewicz <
peter.blazejew...@gmai
Hello Eric,
Can you clarify? By default when user tap status bar area embedded web
view should scroll as any other scroll-enabled views. So that's
built-in and should work with your UIWebView.
Maybe you want to execute window.scrollTo(...) simply by evaluating
JavaScript on your UIWebView instance
I'd like to be able to have a user tap an area which will scroll the
contents of a UIWebView to the top - but I don't see that. Do I have to
stick a UIWebView into a UIScrollView or is there an easier way?
Eric
___
Cocoa-dev mailing list (Cocoa-dev@list
On Feb 9, 2010, at 9:21 AM, Donald Klett wrote:
> I am trying to learn Cocoa and wrote a simple app using the MVC pattern. The
> view controls two text fields, the controller receives events from a single
> button, and the model receives the value entered into the first text field,
> and then
I am trying to learn Cocoa and wrote a simple app using the MVC pattern. The
view controls two text fields, the controller receives events from a single
button, and the model receives the value entered into the first text field, and
then requests the view to display that value in the second tex
On 9 Feb 2010, at 15:37, Joar Wingfors wrote:
>
> On 8 feb 2010, at 00.05, Mario Emmenlauer wrote:
>
>> I'm not using XCode, however it sounds likely that the object files
>> are just not rebuilt? You say it happens at every build except the
>> first time? The compiler will only rebuild objects
Another option, which I posted as a comment on my site (linked to previously),
is to move Info.plist to Info.template.plist, and then use the build number
script to generate the Info.plist that the compiler will actually use. That
way you can set an ignore on the generated Info.plist file (if y
Just one more thought:
you could have a shell script build phase that runs whatever tool you're using
to bump the build number and only run this when building the deployment
configuration (e.g. by checking ${CONFIGURATION} in your script, or by
activating the "Run script only when installing" c
On 8 feb 2010, at 00.05, Mario Emmenlauer wrote:
> I'm not using XCode, however it sounds likely that the object files
> are just not rebuilt? You say it happens at every build except the
> first time? The compiler will only rebuild objects that are not up-
> to-date, so you will see only the war
For the 5th year in a row, there is snow on the day of our February
Meeting :-)
Take public transportation if you can. I've already made it downtown
and will be there tonight. Hope to see you too.
-Bob
PS: its confirmed we're meeting upstairs on the 4th floor (yea!)
On Feb 8, 2010, a
I have already filed a bug report on this ( rdar://7602076 ) and am mostly
wondering if there is any possible workaround while keeping the spotlight
importer in the application bundle.
Basically what is going on is that there are two different versions of the same
application. Version 1.0 of th
On 2010.02.09, at 08:33, Ian Jackson wrote:
Can I just clarify, are you specifically trying to do this in code
because you want to, or because you don't know how to make the
connections in Interface Builder?
In interface builder control drag from the control to the
appDelegate for the ac
On 5 February 2010 16:27, Neil Allain wrote:
> I'm looking to create an NSSearchField that behaves like the one in safari.
> Primarily I want the following:
>
> - search menu includes search matches (Suggestions) as well as recent
> searches
> - search menu opens when the user enters text that h
41 matches
Mail list logo