I would like to create a trim bar(just the UI) just like the Garage Band one.
How can I do that?___
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-
On Aug 28, 2010, at 1:22 PM, Matt Neuburg wrote:
> In my UIView's drawRect: I derive a CGLayer from the current context, draw
> into it, and then draw the layer into the context (the view).
Out of curiosity is there any particular reason you are taking this approach?
--
David Duncan
___
On Aug 28, 2010, at 1:37 PM, Alex Kac wrote:
> I believe you need to set the scale of the layer to the scale of the device.
> Here is how we do it where appContentScaleFactor is a global variable we
> store the scale from at startup:
>
> if ([[UIScreen mainScreen] respondsToSelector: @se
On 28 Aug 2010, at 12:00 PM, Andy Bell wrote:
> I am designing an application which will use Core Data with a local
> persistent store. At a later date I want to use something like REST using
> JSON to be the backend to Core Data in the application. Is this going to be
> possible? Will I hav
On Thu, Aug 26, 2010 at 6:05 AM, Nathan Day wrote:
> What about binary property lists, they should be interchangeable between
> iOS and Mac OS X?
>
Yes, a property list, binary or not, is definitely interchangeable.
The keyed archive container format is interchangeable, however whether a
partic
[Inquiries about developer tools really belong on xcode-users.]
On 28 Aug 2010, at 7:12 AM, Sandro Noël wrote:
> either...
> ibtool --strings-file MainWindow.strings -–write
> French.lproj/MainWindow.xib English.lproj/MainWindow.xib
> or...
> ibtool --strings-file MainWindow.string
Instruments is saying I have a leak from playing my intro movie. When I click
on the stack trace it brings me to the second piece of code
(-[moviePlaybackDidFinish:]), which is called as a consequence of the
notification handler setup in the first piece of code
(-[application:didFinishLaunchi
I believe you need to set the scale of the layer to the scale of the device.
Here is how we do it where appContentScaleFactor is a global variable we store
the scale from at startup:
if ([[UIScreen mainScreen] respondsToSelector: @selector(scale)])
appContentScaleFactor =
In my UIView's drawRect: I derive a CGLayer from the current context, draw
into it, and then draw the layer into the context (the view). This still
works on iPhone with a Retina display, but the drawing is blocky. You can
see the problem perfectly with Apple's own example code (DrawFlag) in the
CGL
I have an AVAudioPlayer-based sound that is instantiated early in my code
(getting the "big pause" out of the way), but have noticed that when I play my
sound (less than a second in length) within my NSTimer loop, all my animation
(also controlled in the loop) pauses for a few milliseconds, crea
I am designing an application which will use Core Data with a local persistent
store. At a later date I want to use something like REST using JSON to be the
backend to Core Data in the application. Is this going to be possible? Will I
have many issues moving to the remote backend from the loc
Thanks. The drag method works.
For the benefit of anyone who encounters this issue and is reading these
posts: I had tried drag before but was not patient enough. At least on my
two computers (a 2008 MBP and a 2009 imac) you need to click and hold the
mouse button down for at least a full two s
On Aug 28, 2010, at 8:04 AM, Amy Heavey wrote:
> Sorry duh!
>
> 2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL
> stringByAppendingPathComponent:]: unrecognized selector sent to instance
> 0x16fbe0
> 2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL
> stringByAppendingPathComponent:]: un
Oh duh. imagePath is an NSURL, because defaultImageLocation is an NSURL, and
stringByAppendingPathComponent: is an NSString method.
Dave
On Aug 28, 2010, at 9:03 AM, Dave DeLong wrote:
> This is incorrect:
>
>> NSString* fileName= [filePath lastPathComponent];
>> NSMutableString*
Sorry duh!
2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL
stringByAppendingPathComponent:]: unrecognized selector sent to
instance 0x16fbe0
2010-08-28 15:55:27.961 ishop[1920:10b] *** -[NSURL
stringByAppendingPathComponent:]: unrecognized selector sent to
instance 0x16fbe0
Many Tha
This is incorrect:
> NSString* fileName= [filePath lastPathComponent];
> NSMutableString* imagePath;
> imagePath = defaultImageLocation;
>
> [imagePath stringByAppendingPathComponent:fileName];
>
> [[ NSFileManager defaultMana
On Aug 28, 2010, at 7:58 AM, Amy Heavey wrote:
> 'm trying to do a fairly simple copy file process, so I select a file, and it
> gets copied to a new location. I seem to be mixing up NSString and NSURL as I
> keep getting an NSURL error, can anyone point me down the right path?
What is the er
'm trying to do a fairly simple copy file process, so I select a file,
and it gets copied to a new location. I seem to be mixing up NSString
and NSURL as I keep getting an NSURL error, can anyone point me down
the right path?
This is what I've got at the moment:
- (IBAction)selectImageFile
Am 28.08.2010 um 10:30 schrieb Graham Cox:
> This NSImage method is the only one built-in that offers this kind of
> hit-test functionality (10.6 only). You could build your button around it.
> But for earlier OS versions you have to do the hit-test yourself. This
> involves testing the point
Greetings.
I'm using Xcode 3.2.3
i'm a little confused as to why my translation files wont import back to the
language of choice using ibtool.
i exported the strings as so:
ibtool --generate-strings-file MainWindow.strings English.lpoj/MainWindow.xib
that worked fine and i sent the file to get
On Aug 28, 2010, at 3:31 AM, Graham Cox wrote:
> On 27/08/2010, at 10:01 PM, Nirias wrote:
>
>> Does anyone know how to re-order tabview tabs in the current IB?
>
> Just drag them left and right?
That works, and for those occasions where a complex set of overlapping views
makes it hard to mani
On 27/08/2010, at 10:01 PM, Nirias wrote:
> Does anyone know how to re-order tabview tabs in the current IB?
Just drag them left and right?
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderat
On 27/08/2010, at 10:18 PM, Erik Colson wrote:
> Hi,
>
> What would be the best way to create a button with a partially transparent
> image on a nsview that would only respond to mouse clicks that are on the
> non-transparent part of the image ?
This NSImage method is the only one built-in t
If anyone is interested, I found a simple solution here:
http://www.timothyborrowdale.co.uk/programming/64/nsscrollview-top-left-pinning-and-isflipped/#more-64
It was just a matter of getting the right words to search in google.
Martin
On Aug 27, 2010, at 7:47 PM, Martin Hewitson wrote:
> Dear
24 matches
Mail list logo