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:
>
&
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
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
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
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
*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
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
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
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
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
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
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 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:
>
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
>
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
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
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.
>
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
>>
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");
}
___
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
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 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
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
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
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
>
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
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
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 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
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 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
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.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
>
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 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
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'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
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:
>
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
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
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)
>> {
>>
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
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
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
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
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
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 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
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'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
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 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,
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
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
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
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
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:
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
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?
___
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]
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
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
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
.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
>
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
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
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
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
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
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
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
___
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
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
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
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:
>
>
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:
>
>> - (
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:
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
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
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?
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
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
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
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
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
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 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
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
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
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
iPhone apps are sandboxed, and are not able to run while a call comes in.
On Wed, Jul 22, 2009 at 5:23 PM, Alfonso Urdaneta wrote:
> Mahaboob wrote:
>>
>> If I developed this application, will apple store approve this?
>
> Given the laws governing the recording of telephone conversations, probably
is there a method within the iPhone SDK that will set off the
highlight of a button without actually touching the button? i have a
lock button that locks a movable object on screen. if the lock button
is pressed and the object is locked, i would like the button to
highlight to signify that the ob
this works fine in OS 3, but it doesn't call fade out in OS2.2? what
is the problem?
- (void)animationHasFinished:(NSString *)animationID finished:(BOOL)finished
{
if ((animationID == @"FadeIn") && finished)
{
[self fadeOut];
}
i have a simple black NSView that is positioned the top index level of
the main view, covering all other visual elements in IB. it's purpose
is to fade out, so the view appears to fade in. i have to often move
it out of the way, and i also set it to hidden (then change it to not
hidden at launch)
i've seen code where this is written:
-=-=-=-
@property (nonatomic, retain) UIImageView *image;
...
@synthisize image;
...
[image release];//in dealloc method
-=-=-=-
aren't setters/getters methods used only for objects that need to have
their value changed? assuming the UIImageView in the a
confused (seriously, what else is new?)... correct me if (where) i'm wrong:
-=-=-=-=-
-(void)myMethod
{
NSString *foo = [[NSString alloc] initWithFormat:@"bar"];
NSLog(foo);
}
-=-=-=-=-
"new", "alloc", initWithFormat" (or "stringWithFormat") are class
factory methods that are declared methods inh
clearly simplicity is important, but i'd like to know if there is a
limit for the amount of arguments which a method can handle?
also, just for fun, what's the longest method name you've seen?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
on file, i'm calling for the class to be added
as a subview with this:
#import "StrokeView.h"
[self.view insertSubview:strokeViewClass atIndex:1];
totally doesn't work.
On Fri, Jun 19, 2009 at 12:56 PM, David Duncan wrote:
> On Jun 19, 2009, at 9:26 AM, Chunk 1978 wrote:
&g
i want to create a UIView programatically... so i have the 2 main
methods of UIView: InitWithFrame, and drawRect.
i don't understand the difference between the 2. i think i'm suppose
to simply set the frame size in initWithFrame method, and set
attributes (like background color, and clipping mas
xPos = 0;
> yPos -= bgHeight;
> }
> }
>
> -(void)drawRect:(NSRect)aRect
> {
> [self drawBackgroundPattern];
> }
>
> hth,
> Florian.
>
> On 19 Jun 2009, at 10:14, Chunk 1978 wrote:
>
>> i have this image ("image
1 - 100 of 240 matches
Mail list logo