Thats not completely correct modifying the preferences file directly or
deleting it can take a while for the user defaults process to pick up the
change, but you can force the user defaults process to pick up the changes with
killall cfprefsd
it can be a little bit complicated sometimes and the
I should make it clear, this is a Mac OS X application.
Nathan Day
On 14 Nov, 2017, at 01:43 PM, Nathan Day wrote:
I have a background process that uses an NSTimer that is set to fire every
minute, but when the computer is inactive for a while it will stop firing, its
not until someone
o
display the downloaded resources, a bit like iTunes and iTunes Helper.
Nathan Day
___
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
Sorry this really belongs on the Xcode mailing list
Nathan Day
On 27/07/2012, at 11:53 AM, Nathan Day wrote:
> Does anybody know how to get the iOS4.3 simulator to work with Xcode 4.4, we
> need to support iOS 4 up. I did a google search and found a way to do it with
> earlier Xcode
Does anybody know how to get the iOS4.3 simulator to work with Xcode 4.4, we
need to support iOS 4 up. I did a google search and found a way to do it with
earlier Xcode 4's, but when I try it with Xcode 4.4 the simulator complains it
can not find the SDK.
Natha
You can do this with Services if you are willing to have it in the services
menu of the contextual menu, the user has to enable your service by going to
System Preferences > Keyboard > Keyboard Shortcuts, you may be able to
AppleScript that. If you are just writing scripts for you own use that y
ds it must do some bit
shift.
On 05/07/2012, at 3:33 PM, Scott Ribe wrote:
> On Jul 4, 2012, at 11:28 PM, Nathan Day wrote:
>
>> You are saying that the CPU read two 32bit int from the cache at the same
>> time, and then does some bit manipulation to get the high or low 32bi
You are saying that the CPU read two 32bit int from the cache at the same time,
and then does some bit manipulation to get the high or low 32bit word into a
64bit register.
On 03/07/2012, at 11:00 AM, Scott Ribe wrote:
> On Jul 2, 2012, at 5:42 PM, David Duncan wrote:
>
>> I suspect you are b
For function you can write a macro version of your function which calls, you
function and appends a NULL to the VA_ARG macro. I don't normally do this but I
have done something similar where I wanted macros to add meta data to a class,
that expanded out into compete class method implementations.
r
play]; to a notification observer for the video did finish loading notification.
On 26/06/2011, at 8:05 PM, Nathan Day wrote:
> I am trying to playback video in my iOS app while I am loading and caching it
> at the same time. I fetch the video using a NSURLConnection and then store it
file before I start playback. I can also
get the video to play completely if I stop the failed attempt with a [video
stop] message and then start playing it again, pausing the video only doesn't
work.
Has anybody got this working, is it possible.
Nathan Day
Software Engineer
m
NSTimers rely on there being an NSRunLoop for the current thread, so if you are
creating a timer in a thread without a run loop it will not work, because the
is no run loop to add the timer to. From the sounds of it you also want the
timer to be executed in the main thread, in which case you wil
Is it possible to have none full screen video on the iPhone, I have try to just
get a demo app going at the moment, I tried using a UIWebView with a video tag
that that doesn't start playing until it becomes full screen. Any sample
projects would be appreciated.
Nathan Day
Software Eng
ed values like color mode (ARGB, HSL),
> color components, etc. Then, rebuild up objects as needed.
>
> For text data, I would use UTF-8 with the original text being normalized.
>
> Sent from my iPhone
>
> On Aug 25, 2010, at 8:43 AM, Nathan Day wrote:
>
>> Does anyb
Does anybody know whether NSCoding can be used to transfer data between iOS and
Mac OS X. Is this documented as guaranteed to work. I have tried to do a google
search but I got nothing, probably searching for the wrong thing.
Nathan Day
http://homepage.mac.com/nathan_day
I and then use a name which
uses the namespace prefix as part of the name, for exmaple
[NSXMLNode elementWithName:@"xsl:value-of"
URI:@"http://www.w3.org/1999/XSL/Transform";];
If you have to add the prefix to the name then what is the point of the URI
argument.
Nathan Da
Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com
>
> This email sent to nathan_...@mac.com
Nathan Day
home page: http://homepage.mac.com/nathan_day/
___
Cocoa
equests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com
>
> This email sent to nathan_...@mac.com
Nathan Da
pane is divided into tab view items. Only some of the tab view items
are relevant to each type of node, so I'd like to hide the tab view
items that are not relevant. How can I do this?
Nathan Day
http://homepage.mac.com/nathan_day/
___
Coco
)
#11 0x000134ba in main (argc=1, argv=0x7fff5fbff3c8) at
XX
Nathan Day
Software Engineer
mobile: +61 (0)4 3863 2407
home page: http://homepage.mac.com/nathan_day/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
You could also try one of the draw bezel functions
NSDrawDarkBezel
NSDrawGrayBezel
NSDrawLightBezel
NSDrawWhiteBezel
with a height of 2, and a y value with a .5 decimal
On 11/09/2009, at 12:12 AM, Steven Degutis wrote:
Arun,
It's just two lines drawn on top of one another, with the top one
That is the way I do it, I don't see why it wouldn't work 100% of the
time, it would be nice if Apple had a way to insert a template
chooser, but I would describe the way you have done it as 'an ugly
hack'.
On 07/09/2009, at 3:24 PM, Oftenwrong Soong wrote:
Hi All,
In my doc-based app, I
What happens when you run it in the debugger, you say this is your
first iPhone application if you are new to using a debugger then you
really need to learn how to use that, it will make finding bugs like
this a lot easier, for example you can break just before you add an
object to you arra
NSPort represents both ends of the communication channel you only
create one NSPort.
On 11/12/2008, at 4:58 AM, John Love wrote:
Reference:
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/chapter_6_section_5.html#/
/apple_ref/doc/uid/1057i-CH16
You need something like
NSLog(@"%.2d Hours, %.2d Minutes and %2d Seconds Remaining",
hoursSelected-seconds/3600, (hoursSelected*60-seconds/60)%60,
(hoursSelected*3600-seconds)%60 );
On 11/12/2008, at 11:03 , Chunk 1978 wrote:
i believe i painted myself into a corner here... i have a
NSPop
I have seen that version of the MVC pattern a lot where the View and
Model are directly connected sometimes only one way, never really
understood how it was supposed to work, my understanding is that with
cocoa the model and view where never directly connected to each and it
was the purpose
On 10/12/2008, at 07:36 , John Love wrote:
Reference:
http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/chapter_6_section_5.html#/
/apple_ref/doc/uid/1057i-CH16-SW7
I've got several questions since I'm just starting to investigate
Mach Ports.
rators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com
This email sent to [EMAIL PROTECTED]
Nathan Day
Software Engineer
home: +61 (0)2 9356 4874
work: +61 (0)2 8207 8241
mobile: +61 (0
The way floats work the round will always be to the same number of
bits no matter what the order of magnitude (ignoring the extreme
values < 2^-1023 for doubles). Check that you haven't let any integers
into you calculations.
On 04/12/2008, at 7:08 PM, Bridger Maxwell wrote:
Hey,
Short ve
NSRunLoop use to be based on the function select() (it was in GnuStep
anyway), it waits for inputs but also has a single timeout value also,
NSRunLoop works out how long the timeout value should be for the
shortest NSTimer. If you want to wait on multiple timers without using
run NSRunLoop
If the data in the dictionary is simple you could perhaps look at
NSUserDefaults, you could use your dictionary file to initialise
NSUserDefaults, alternatively you could create a separate file in
preferences. Be warned that you can only stick property list types in
NSUserDefaults.
On 03
Usually self does not change, when the instance returned is different
to the initially self then it is because the super init has decided
that the initial self is not what it whats so it releases the
initially self and returns a different object.
This can happen for singltons or cluster obj
should be copy since the classes all conform to NSCopying.
Nathan Day
[EMAIL PROTECTED]
http://homepage.mac.com/nathan_day/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
C
ts.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:
http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com
This email sent to [EMAIL PROT
mplements a
setReadyForHotKeyEvent: method. Do I perhaps have an older version
of the NDHotKeyControl source code? Surely there is something I'm
missing here. I figure I can take your word for it on this, since
you wrote the class and all. ;-)
- Brian
On Wed, 26 Mar 2008 09:56:01 -0400, Na
he moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/nathan_day%40mac.com
This email sent to [EMAIL PROTECTED]
Nathan Day
[EMAIL PROTECTED]
http://homepage.mac.com/nathan_day/
__
36 matches
Mail list logo