you can customize the phone pad, or any of the UIKeyboards by creating
and drawing your own buttons/views over them. it's a hack, but it can
work quite nicely if you're interested in some minimal customization
(for example: changing the "Go" or "Done" button to display "Login"
or "Save"). best r
what is the best way to encrypt and then decrepit a file in Cocoa?
___
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
i would be surprised if it didn't support NSTouch. although you may have to
wait for 10.6.2:
http://www.macrumors.com/2009/10/20/magic-mouse-user-guide-suggests-mac-os-x-10-6-2-release-in-near-future/
On Wed, Oct 21, 2009 at 12:40 AM, Kyle Sluder wrote:
> Can anyone confirm that the new Magic M
i can't find any info about these c functions in the documentation. each
take 2 floating point arguments, but i'm not positive what the function is
doing with the arguments:
float myMinimumFloat = MIN(50.0, 78.0);
what does the function do with 50 and 78?
also, my flaming shields are up. thi
while the following works, this seems to me like an awful lot of code i've
written just to change the font mask. any suggestions?
-=-=-=-=-
- (void)prepareAttributes
{
NSShadow *shadow = [[NSShadow alloc] init];
[shadow setShadowOffset:NSMakeSize(-3, -3)];
[shadow setShadowBlurRadius:5];
[s
i've created an NSMenuItem in the MainMenu.xib that targets an action in a
different XIB thru the first responder. the action removes an object from
the array. however, i'd like to binn the NSMenuItem object to the array
controller's canRemove controller key so that the NSMenuItem is only
accassa
ahhh, that was easy! thanks for clearing this up for me :)
On Thu, Oct 29, 2009 at 1:32 PM, I. Savant wrote:
> On Thu, Oct 29, 2009 at 1:07 PM, Chunk 1978 wrote:
> > i've created an NSMenuItem in the MainMenu.xib that targets an action in
> a
> > different XIB thru th
does sizeWithAttributes not take into account the offset of an NSDropShadow
or italic font mask? i have a dictionary of attributes for a string, and
i'm trying to produce an image for the drag that doesn't crop the image with
these attributes.
NSSize stringSize = [string sizeWithAttributes:attrib
i just came across some code, and i'm trying to understand why the developer
chose to use the pow() function instead of simply multiplying as the 2nd
arguments are always 2. i'm certainly no mathematician, but if the 2nd
argument is going to be 2, why use pow()? is it just a matter of taste?
why
ouf! dumbest question ever. please ignore.
On Mon, Nov 2, 2009 at 2:07 PM, Jens Alfke wrote:
>
> On Nov 2, 2009, at 11:01 AM, Chunk 1978 wrote:
>
> why use this:
>>
>> float dist = pow(red - r, 2) + pow(green - g, 2) + pow(blue - b, 2);
>>
>> instead of
having a bit of a time understanding this: ->
i think it's used to point to a member of a supplied argument of the method?
- (void)method:(NSRange *)aRange ofSize:(NSSize *)aSize
{
aRange->location = 0;
aSize->height = 4.0;
}
is it not possible to use dot notation here?
ah, ok... i get it now. thanks for the responses.
On Mon, Nov 2, 2009 at 8:13 PM, Graham Cox wrote:
>
> On 03/11/2009, at 11:58 AM, Chunk 1978 wrote:
>
> having a bit of a time understanding this: ->
>>
>> i think it's used to point to a member of a su
have you tried it on your device?
On Tue, Nov 3, 2009 at 11:26 AM, David Rowland wrote:
> The SeismicXML sample code uses NSXMLParser to extract data from a file
> downloaded from the USGS. The time of an event appears in the file like
> this,
> .12:34:32Z
>
> According to rfc 822 'Z' mea
i'm failing to sort the xml data on my tableview. am i suppose to
make a model class for the data and have the table view display/sort
that instead? i'm quite with this one. am i suppose to enter values
in Sort Key and Selector IB fields for each column? doing so returns:
-[NSXMLElement compare:
an IBOutlet to the
window with no luck. the window will always launch as "untitled" and
only switch to it's appropriate title when the popup menu is toggled.
On Fri, Nov 6, 2009 at 2:34 PM, Jens Alfke wrote:
>
> On Nov 6, 2009, at 9:01 AM, Chunk 1978 wrote:
>
>> - (
bject. so if i create an IBOutlet to the
window, and set the title of that window during a method that is
called during launch, shouldn't the code change the title of the
window?
On Sun, Nov 8, 2009 at 1:21 PM, Kyle Sluder wrote:
> On Nov 8, 2009, at 10:05 AM, Chunk 1978 wrote:
>
>
first time you can be sure that an outlet actually points to what you
> think it does is at -awakeFromNib time. If you're using the outlet prior to
> that, all bets are off.
>
> --Graham
>
>
>
> On 09/11/2009, at 6:48 AM, Chunk 1978 wrote:
>
>> haven't trie
one thing i've always had an issue with is sound lag, which always
(yet only) happens during a first sound. after the initial lag,
sounds will play on time. at first i though it was my code, but
recently i've noticed that it happens in Calculator.
if you open Calculator, then choose Speech > Spe
humm... i'm running 10.5.8 on 2008 iMac C2D, but i never though it
could have been the computer. would like to hear from others.
On Mon, Nov 9, 2009 at 1:18 PM, Klaus Backert wrote:
>
> On 9 Nov 2009, at 18:58, Chunk 1978 wrote:
>
>> one thing i've always had an issue
t;
> On Mon, Nov 9, 2009 at 10:25 AM, Chunk 1978 wrote:
>>
>> humm... i'm running 10.5.8 on 2008 iMac C2D, but i never though it
>> could have been the computer. would like to hear from others.
>
> What sound API are you using?
> -Shawn
___
also, i tried implementing a dummy sound (dead air .m4a file) during
application launch, but that didn't help. the first real sound is still
always lagged.
On Mon, Nov 9, 2009 at 1:37 PM, Chunk 1978 wrote:
> i'm using Cocoa's NSSound. here's is how i play sound
he size of my sound files average 40kb, so it doesn't seem
reasonable to me.
On Mon, Nov 9, 2009 at 1:51 PM, Sean McBride wrote:
> On 11/9/09 12:58 PM, Chunk 1978 said:
>
> >one thing i've always had an issue with is sound lag, which always
> >(yet only) happens during a fi
so, is there some other lightweight 3rd party framework that could
substitute for cocoa's NSSound?
On Mon, Nov 9, 2009 at 2:40 PM, lbland wrote:
> hi-
>
>
> On Nov 9, 2009, at 12:58 PM, Chunk 1978 wrote:
>
> one thing i've always had an issue with is sound la
Dave Mark and Jeff LaMarche wrote a pretty awesome book called
"Beginning iPhone Development" which covers editable detail views.
def check out the book. you can download source code on the product's
website, but you have to register with the forums to do so. the book
is really great, though. yo
thanks. haven't had time to test the workaround yet. i'll check out coreaudio.
On Mon, Nov 9, 2009 at 6:32 PM, Sean McBride wrote:
> On 11/9/09 6:25 PM, Chunk 1978 said:
>
>>so, is there some other lightweight 3rd party framework that could
>>substitute for cocoa
ading/executing a 30kb
sound file for some apps using NSSound. while that previously
mentioned workaround is more ideal than a lag, since it's problematic
on macbooks it's not really a seamless solution.
On Mon, Nov 9, 2009 at 7:30 PM, Jens Alfke wrote:
>
> On Nov 9, 200
.com"
> wrote:
>
> What I've done in the past is to simply play a silent sound before I
> actually need to play a sound for real. This "primes the pump".
>
> _murat
>
> On Nov 9, 2009, at 11:40 AM, lbland wrote: > hi- > > On Nov 9, 2009, at
>
how accurate is CLLocation's kCLLocationAccuracyBest? about a meter
or more? or is it hyper accurate as in centimeters? anyone know?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
sometimes when i want to quickly jump to a method, the list of methods
will only display it's title rather than the actual list. this
usually happens when i have a lot of methods, and it only happens for
the last marks. how can i force it to show the list? and why does it
do this? it's complete
indicate that you're missing a closing brace in
> your animationDidStop:finished:context: method.
>
> Dave
>
> On Nov 18, 2009, at 10:24 PM, Chunk 1978 wrote:
>
>> sometimes when i want to quickly jump to a method, the list of methods
>> will only display it
textfields in the iPhone SDK default to a blue color. i would like to
change this color to white. i've checked the docs, and while the following
method would work for development with Mac OS X, it is (currently) not
present for the iPhone:
[myTextField setInsertionPointColor:[UIColor whiteColor]
what method, or combination of methods can i use to receive color
information of a CGPoint. i can get basic coordinates of a view using
UITouch's locationInView method, but i'd like to get an RGBA color
information output. what methods or example code from apple should i
research?
___
precisely! thanks for this.
On Sun, Nov 29, 2009 at 1:24 PM, Waqar Malik wrote:
> I think this is what you are looking for.
>
> <
> http://stackoverflow.com/questions/448125/how-to-get-pixel-data-from-a-uiimage-cocoa-touch-or-cgimage-core-graphics
> >
>
> On Nov 2
xels in height, and i want the RGBA color
data of the second last pixel of the last row of pixels, would i call
it like this:
––
[self getRGBAsFromImage:[UIImage imageNamed:@"tree.png"] atX:49
andY:100 count:(50*100)];
––
On Sun, Nov 29, 2009 at 1:28 PM, Chunk 1978 wrote:
those values as well.
>
> --Waqar
> On Nov 29, 2009, at 5:13 PM, Chunk 1978 wrote:
>
>> humm... while i understand most of this method, i don't understand
>> what is passed as "count"? i understand that this will convert a
>> UIImage into a CGImage, and st
you
> should not be sending who 50*100.
>
> If you want the pixel data for who image then you would do xx = yy = 0 and
> count would be 50*100.
>
> --Waqar
> On Nov 29, 2009, at 5:46 PM, Chunk 1978 wrote:
>
>> humm... now i'm getting confused. that method retu
is it possible to bend the pitch of a sound using AudioToolbox? how
can i accomplish a pitch bend of a live running sound?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Conta
09 at 12:14 PM, Jens Alfke wrote:
>
> On Nov 30, 2009, at 9:04 AM, Chunk 1978 wrote:
>
>> is it possible to bend the pitch of a sound using AudioToolbox?
>
> Nope. For that you need to use AudioUnits; there's a built-in unit that will
> do time/pitch shifting.
>
&g
i have a custom class for a UIImageView which contains touch methods.
at launch, the custom UIImageView is added (by interface builder) as a
subview to the main UIViewController's view.
i can't seem to make the touch methods only trigger if they are within
the custom UIImageView. for some reason,
i would like to slow down the setValue:animated animation duration
from it's default (which i assume is 0.25f) to about 2 seconds.
additionally, i need to have continuous feedback of the slider's value
while it is animating. how can this be accomplished? i assume i'll
have to write my own method
i'm trying to understand how to create my own UIImageView class with
it's own custom methods that are fired from the initWithImage method,
but i can't get it to work. i believe i'm missing something
fundemental, which for some reason hasn't yet clicked in my head, so
please help me understand what
thanks. :)
On Sat, Dec 5, 2009 at 1:56 AM, Graham Cox wrote:
>
> On 05/12/2009, at 5:47 PM, Chunk 1978 wrote:
>
>
>
>> –
>> #import
>>
>> @interface myUIImageViewClass : UIImageView
>
>
>> imageViewClass = [[UIImageView
i have a UIViewController that i'm setting as the delegate for my
custom UIImageView class. from my custom UIImageView class i want the
delegate to change it's background color (based on computations
performed within the UIImageView class).
in my UIViewController i write:
–
myUIImageViewClass
te:
> http://lmgtfy.com/?q=error+request+for+member+is+something+not+a+structure+of+union
>
> atze
>
>
> Am 05.12.2009 um 09:12 schrieb Chunk 1978:
>
>> i have a UIViewController that i'm setting as the delegate for my
>> custom UIImageView cla
i figured it out. alexander, this would have been more helpful:
http://tinyurl.com/yjpeljv
On Sat, Dec 5, 2009 at 2:42 PM, Chunk 1978 wrote:
> thanks for teaching me how to use google. huge help.
>
> unfortunately, since i've imported both UIKit and my controller class
&g
i have an method that takes a CGPoint as an argument. i would like to
call the method without supplying a CGPoint, but i can't pass nil or
null. i can pass CGPointZero, but that is still a point: {0, 0}
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
that will clear the output strings if there
is no point, but CGPointZero is a point.
On Sat, Dec 5, 2009 at 9:03 PM, Graham Cox wrote:
>
> On 06/12/2009, at 12:59 PM, Chunk 1978 wrote:
>
>> i have an method that takes a CGPoint as an argument. i would like to
>> call the metho
cool game, patrick. i especially liked your sound.
On Mon, Dec 7, 2009 at 2:05 AM, Nick Zitzmann wrote:
>
> On Dec 6, 2009, at 11:48 PM, Patrick J. Collins wrote:
>
>> and it's been on my mind to make a version for the iPhone.. But before I do
>> that, I thought it would be good to just make a
for 2 days now i've had unsuccessful attempts at trying to track
UITouches that share the same view.
i have a plain, full screen view that accepts multiple touches. i
have 3 labels titled "Touch1", "Touch2", "Touche3". all i'm trying to
accomplish is to output the coordinates of the touches thru
ching the screen.
On Mon, Dec 7, 2009 at 8:09 PM, mmalc Crawford wrote:
>
> On Dec 7, 2009, at 4:12 pm, Chunk 1978 wrote:
>
>> if ([[[event allTouches] anyObject] view] == self)
>> {
>>
thanks for the links. i'm really surprised with how complicated this
is. i'm also equally surprised that there is not a lot of small
sample code online
On Tue, Dec 8, 2009 at 3:50 AM, mmalc Crawford wrote:
>
> On Dec 8, 2009, at 12:38 am, mmalc Crawford wrote:
>
>>> is this suppose to work for
Cox wrote:
>
> On 08/12/2009, at 8:58 PM, Chunk 1978 wrote:
>
>> i'm really surprised with how complicated this
>> is.
>
>
> Yes, because a multi-touch gesture-based events system is child's play,
> really. Makes you wonder why Apple's OS is th
thFormat:@"Title %i:\n%@", i+1, point];
}
}
}
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
//??
}
On Tue, Dec 8, 2009 at 11:01 AM, mmalc Crawford wrote:
>
> On Dec 8, 2009, at 3:49 am, Chunk 1978 wrote:
>
i'm very grateful for your help. thanks so much for posting such a
complete solution. i'm certain there will be others like myself who
will find your code extremely helpful. thanks again.
On Tue, Dec 8, 2009 at 5:24 PM, mmalc Crawford wrote:
>
> On Dec 8, 2009, at 12:33 pm, mmalc Crawford wrot
p://tinyurl.com/yg8nh5s
On Tue, Dec 8, 2009 at 7:04 PM, Chunk 1978 wrote:
> i'm very grateful for your help. thanks so much for posting such a
> complete solution. i'm certain there will be others like myself who
> will find your code extremely helpful. thanks again.
i haven't yet started to study OpenGL, but i just came across a java
sample online that creates a water effect, and the sample code was
surprisingly quite small.
here is the java example: http://www.neilwallis.com/java/water.html
essentially, i'd like to replicate this, or something similar, usi
is it possible to add documentation to xcode? i'd like to add the
documentation for OpenAL, as i'm just starting to learn about it, and
would like the connivence of command+double click.
also, how can i toggle the left side frame (Doc Sets, Bookmarks) of
the documentation browser?
thanks
___
; (i.e. there’s nothing in the search field) the sidebar automatically goes
> away. Shortcut just in case: ⌥⌘F ⌫.
>
> Cheers,
> Evadne Wu
>
> On Dec 13, 2009, at 7:18 PM, Chunk 1978 wrote:
>
>> is it possible to add documentation to xcode? i'd like to add the
>
i'm currently aware that openAL permits the changing of volume and
pitch of a sound source, but what other changes are possible?
sustain? attack/release? echo?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
i have been researching how to do this, and while i believe my code is
correct, i always receive the alert stating the internet connection is
unavailable. what am i doing wrong?
-=-=-=-=-
- (BOOL)internetConnection
{
//INTERNET CONNECTION TESTING
//Add the SystemConfigurat
ess to 0x001 ?
>
> if (internetConnection() == YES)
>
>
>
> 2009/12/15 Chunk 1978 :
>> i have been researching how to do this, and while i believe my code is
>> correct, i always receive the alert stating the internet connection is
>> unavailable. what am
i have a seemingly simple enough problem, but i can't wrap my head around it.
i have an even slider with a min value of 0.0, a maximum value of 2.0
and a neutral default value of 1.0. i need to be able to shift the
pitch of a sound down one octave (to slider value 0.0) and shift the
pitch up one
i have a bunch of methods that will call one method. currently, i'm
passing a string object so the called method will know which method
had called it, and complete the proper task based on the method that
called it.
instead of creating strings and passing them, is it possible to pass
the method n
i'm attempting to fade out music by supplying a duration and a target
volume, but i'm running into complications.
for this example, the current playing volume is set at 1.0, i want to
fade the volume down to 0.5 over a duration of 4 seconds. this works
alright - it's not perfect because i'm using
unfortunately i'm developing for iPhone OS (which i should have stated
earlier) so NSAnimation doesn't seem to be an option :-/
On Wed, Jan 6, 2010 at 10:12 PM, Graham Cox wrote:
>
> On 07/01/2010, at 11:55 AM, Chunk 1978 wrote:
>
>> i would *love* to find out how to f
ic: * ( t / [fi time])), but i can't really figure out what [fi
time] is...
ughhh...
On Wed, Jan 6, 2010 at 10:38 PM, Graham Cox wrote:
>
> On 07/01/2010, at 2:23 PM, Chunk 1978 wrote:
>
>> unfortunately i'm developing for iPhone OS (which i should have stated
>
graham, thanks for your patients and for the detailed response! i was
able to immediately solve my broken logic after reading it.
thanks again.
On Thu, Jan 7, 2010 at 7:19 PM, Graham Cox wrote:
>
> On 08/01/2010, at 6:17 AM, Chunk 1978 wrote:
>
>> ok i'll us
i'm using an interruption listener callback with audiotoolbox to shut
off music when a call (or something else) comes in to interrupt the
app. however, i'd simply like to remove all AVFoundation from the
code and strictly rely on OpenAL for sound. will OpenAL automatically
pause like the rest of
i can't figure out what it wrong with my code (attached .m file). i'm
playing a looping sound with OpenAL, which becomes interrupted by an
alarm. when i quit the alarm, my endInterruption delegate method is
activated, and a new OpenAL session is started but i can no longer
play sounds. i've also
st your insight.
also, i just pre-ordered your book from amazon - lord knows i need it! lol
thanks again
On Mon, Jan 11, 2010 at 5:26 PM, E. Wing wrote:
> On 1/11/10, Chunk 1978 wrote:
>> i can't figure out what it wrong with my code (attached .m file). i'm
>
i'm receiving an unrecognized selector sent to instance crash with the
following code, but i can't figure out why. the program crashes when
trying to set the timer's user info into local variables in
fadeCallBack:
___
//Create Dictionary To Add To The Timer's userInfo Par
is it not possible to handle a sender's controlEvents inside a single
method instead of sending it off to another method?
-(IBAction)myButton:(id)sender
{
if (sender.UIControlEvent =
forControlEvents:UIControlEventTouchUpInside) NSLog(@"touchUp");
}
___
gt; http://icodeblog.com/2008/07/30/iphone-programming-tutorial-connecting-code-to-an-interface-builder-view/
>
> Tharindu Madushanka
>
> On Sun, Jan 24, 2010 at 10:24 PM, Chunk 1978 wrote:
>>
>> is it not possible to handle a sender's controlEvents inside a single
>>
t; atze
>
>
> Am 24.01.2010 um 19:12 schrieb Chunk 1978:
>
>> linking several control events to one method is what i'm trying to do,
>> but i do not know how to decipher which control event is calling the
>> method.
>
break;
case 2: //button 2 action; break;
case 3: //button 3 action; break;
}
i would find it hard to believe that the former solution is both
easier to debug and maintain than the later.
On Sun, Jan 24, 2010 at 5:06 PM, Graham Cox wrote:
>
> On 25/01/2010, at 5:27 AM, Chunk
wanted to simplify the code (one button per method) by using the
buttons UIControlEvents of touchDown and touchUpInside/touchUpOutside
and produce:
- (IBAction)toggleLight
{
//toggle light
}
it's clear now that it's not possible.
On Sun, Jan 24, 2010 at 6:12 PM, Chunk 1978 wrote:
> so it
i meant it's clear that it's not possible with UIControlEvents... or
at least not simply so.
On Sun, Jan 24, 2010 at 6:35 PM, Graham Cox wrote:
>
> On 25/01/2010, at 10:22 AM, Chunk 1978 wrote:
>
>> i wanted to simplify the code (one button per method) by using the
>
i just realized that this formula doesn't work with negative numbers.
for example: shifting a pitch down one octave over a duration from
0.0 to -0.5, or panning a source with a duration from center at 0.0 to
the left -1.0.
any advice?
On Thu, Jan 7, 2010 at 7:48 PM, Chunk 1978 wrote:
>
sorry, you're correct. i had an error in the code so it was wrongly
implemented. it does indeed work with negative values. thanks again.
On Tue, Jan 26, 2010 at 5:35 PM, Graham Cox wrote:
>
> On 27/01/2010, at 9:24 AM, Graham Cox wrote:
>
>>
>> On 27/01/2010, at
i'm almost 100% sure it's not possible to return a nil on basic data
types, but just incase i'll post the question.
--
- (float)panForSoundWithName:(NSString *)soundName
{
OpenALSound *sound = [soundDictionary objectForKey:soundNa
thanks. NAN seems to be the simplest solution.
On Fri, Jan 29, 2010 at 10:00 PM, Greg Guerin wrote:
> Chunk 1978 wrote:
>
>> so above i'd like to write "if (!sound) return nil;". my reasoning is
>> because some attributes to a sound object (like pan) are
hat i
can learn how to accomplish this? i'm thinking it would be ideal to
supply my code with a file size limit, so that if a particular sound
file is larger than to only play that file in stages.
On Sun, Jan 31, 2010 at 3:27 PM, David Duncan wrote:
> On Jan 31, 2010, at 10:48 AM, Chu
i'm searching for a general algorithm to produce a cartesian sine wave
that outputs numbers, which i suppose would be based on maximum
distance (range) from Y while using a timer.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
this is mostly a logic problem, so i apologize for my question not
being cocoa specific.
i'm attempting to add my own continuous pitch variation effect
(vibrato) by assigning my sound's pitch to the path of a sine wave.
this is my callback method, which is repeating every 1/30 of a second.
- (voi
*renters with damaged heat shields*
sorry, once again. i've posted this to stackoverflow here:
http://stackoverflow.com/questions/2212275/compensating-for-value-change-while-changing-value
On Fri, Feb 5, 2010 at 4:55 PM, Graham Cox wrote:
>
> On 06/02/2010, at 1:02 AM, Chunk
how can i maintain warnings in xcode? they disappear if i ignore them
and rebuild, but i'd like them to always appear if they haven't been
addressed.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Xcode 3.1.2 on Mac OS 10.5.8
On Mon, Feb 8, 2010 at 2:53 AM, Joar Wingfors wrote:
>
> On 7 feb 2010, at 23.49, Chunk 1978 wrote:
>
>> how can i maintain warnings in xcode? they disappear if i ignore them
>> and rebuild, but i'd like them to always appear if they
n 8 feb 2010, at 00.02, Chunk 1978 wrote:
>
>> Xcode 3.1.2 on Mac OS 10.5.8
>
>
> This problem was fixed with Xcode 3.2:
>
> "The Build Results window has been completely redesigned to support advanced
> filtering of build results and to keep a persistent list of
is Apple's Carbon basically code written in C++, while Cocoa is
written in Objective-C? should developers avoid using frameworks
written in C++ (like some sound frameworks)?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
i've been reading about how apple dropped their plans for Carbon 64 a
while back, so if carbon is C++ then i'm surprised that apple is still
supporting it at all?
On Thu, Feb 25, 2010 at 6:42 PM, Dave Carrigan wrote:
>
> On Feb 25, 2010, at 3:40 PM, Chunk 1978 wrote:
>
&
i can't seem to find documentation on how to disable preference
specifiers based on PSToggleSwitchSpecifier current setting. an
example is the Nike+iPod's settings. activating the app will enable
the remaining settings to be configured, while they are grayed
out/disabled if the app is not active.
does it matter which order objects are released at the end of a
method? example:
-=-=-=-=-
- (void)applicationWillTerminate:(NSNotification *)notification
{
FourLines *fourLines = [[FourLines alloc] init];
fourLines.field1 = field1.text;
fourLines.field2 = field2.
i hate firefox, and although i have it on my system for backup, it
would kinda piss me off if an app launched it for me instead of safari
(which is often always open).
i'm not sure you can do this without a hack, but i'm curious why you
want to open in firefox as default?
On Tue, Jun 2, 2009 at 8
if you're distributing for Leopard only, use this:
-=-=-=-=-=-=-=-
@interface Preferences (PrivateMethods)
- (void)enableLoginItemWithLoginItemsReference:(LSSharedFileListRef
)theLoginItemsRefs
ForPath:(CFURLRef)thePath;
- (void)disableLoginItemWithLoginItemsReference:(LSSharedFileListRef
)theL
so i get View and understand Controller, but i'm a touch fuzzy on Model.
does anyone have a simple way of explaining this? perhaps a clever
anecdote?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
i don't understand why i'm getting an error "invalid initializer" when
just declaring some variables in a method:
-=-=-=-
CGRect fullScreenRect = [[UIScreen mainScreen] bounds];
CGPoint screenCenterPoint = (CGRectGetMidX(fullScreenRect),
CGRectGetMidY(fullScreenRect));
-=-=-=-
ahh... thanks :)
On Wed, Jun 10, 2009 at 5:25 PM, Greg Parker wrote:
> On Jun 10, 2009, at 2:11 PM, Chunk 1978 wrote:
>>
>> i don't understand why i'm getting an error "invalid initializer" when
>> just declaring some variables in a method:
>>
&
while dragging (touching) a view, i'm trying to anchor the view in the
center of the screen and resize the view's width and height based on
the drag, but it's flashes all crazy and i can't figure out why it's
doing so. i think it has to do with the resetting of the origin
because if i set the orig
should this code work? if there don't appear to be any errors i'm
concerned it may be a bug, but i can't be sure. :-/
On Thu, Jun 11, 2009 at 7:15 AM, Chunk 1978 wrote:
> while dragging (touching) a view, i'm trying to anchor the view in the
> center of the screen a
NSBorderlessWindowMask (i think that's what it's called) is what
you're looking for. Apple supplies a sample app here:
http://developer.apple.com/samplecode/RoundTransparentWindow/index.html
On Fri, Jun 12, 2009 at 1:51 AM, John Ku wrote:
> What I am trying to achieve is like CoverSutra's:
> scre
1 - 100 of 240 matches
Mail list logo