On Dec 7, 2009, at 7:08 pm, Chunk 1978 wrote:
> is this suppose to work for multiple touches where one touch is
> already present, then another touches the screen?
>
Yes, it does; tested in a working application.
> it's not working for me. each time i touch the screen and add an object to
>
On Dec 8, 2009, at 12:38 am, mmalc Crawford wrote:
>> is this suppose to work for multiple touches where one touch is
>> already present, then another touches the screen?
>>
> Yes, it does; tested in a working application.
>
>> it's not working for me. each time i touch the screen and add an o
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
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 the only one to have it built in, since any
half-decent programmer could jus
I'm writing a QuickLook plugin that, as part of the preview process, makes an
http call to a (localhost) server to obtain data that is then used to generate
the preview image.
The code below works fine outside the QuickLook architecture, as a standard
Cocoa application. But as soon as I move th
My work with NSDecimal values has turned up several bugs and a documentation
error. Most of these bugs are extant under Mac OS X 10.5.7, and are FIXED
under Mac OS X 10.6 (10A380).
For the record:
All bugs are extant under Mac OS X 10.5.7
Extant under Mac OS X 10.6 (10A380):
NSDecimalPower
I have a document based app.
MyDocument.h has:
IBOutletIKImageView *myIkView;
MyDocument.nib has an IKImageView and an NSSlider with it's value bound to
myIkView.rotationAngle.
Works perfectly.
But when I closed the window I got an exception complaining about some
observers n
i meant that i find it complicated compared to basic single touches or
gestures. it's making my head swim. since it's something i would
imagine lots of developers have to deal with i'm mostly surprised that
apple hasn't made the process more convenient, but instead the docs
state that i have to u
I'm pretty certain Apple disallows use of non-file URLs in Quick Look
generators for the simple reason that a generator should run as quickly as
possible. Generators should also be fairly standalone - why do you need to POST
to generate a preview/thumbnail?
On 8 Dec 2009, at 10:13, Dalmazio Bri
On 8 Dec 2009, at 00:01, Adam Berger wrote:
> I'm trying to move from a custom view to an IKImageBrowserView in a project,
> and running into a somewhat odd problem. Context: my IKImageBrowserItems are
> IKImageBrowserNSImageRepresentationType, backed by a relatively
> large (~600x800) NSImage.
>
On Dec 5, 2009, at 6:11 PM, Jason Foreman wrote:
> [[treeController arrangedObjects] childNodes];
>
> Iterate over this collection and find nodes where [node representedObject] is
> equal to your newly inserted objects. Then you can pass this NSTreeNode
> instance to -[NSOutlineView exan
Hi
I am trying to write "CFBundleGetInfoString" into "InfoPlist.strings" from
cpp code and It is writing successfully.
But when i use the InfoPlist.strings in xcode, it gives me a build error
/usr/bin/iconv: English.lproj/InfoPlist.strings:1:82: incomplete character
or shift sequence
Now if i ope
Hi Adam,
Is this on Leopard or Snowleopard ?
I just tried to load images from /System/Library/Desktop Pictures in an
IKImageBrowserView using the NSImage representation. They appears just fine for
me (SnowLeopard).
> [Side note: I've seen reference to the prefetching behavior
> of IKImageBrowse
On Dec 8, 2009, at 5:25 AM, Parimal Das wrote:
> I am trying to write "CFBundleGetInfoString" into "InfoPlist.strings" from
> cpp code and It is writing successfully.
> But when i use the InfoPlist.strings in xcode, it gives me a build error
> /usr/bin/iconv: English.lproj/InfoPlist.strings:1:82: i
Hello to the list !
I'm wondering if anyone here ever came across of Cocoa or Objective-C
implementations of VDCP and MOS protocols ?
Google shows no results that would give me any references and examples
about how could (should) this be done.
I guess that nobody tried to make an open source
Hi all,
I've been working on a MIDI application and I'm just creating a test track of
10,000,000 events spread over 46 notes. Once created the application stores the
MusicSequence as a file. I traditionally use large data sets to ensure the
applications are written to deliver fast processing and
NickK ha scritto:
I've sampled the application running and it spends 100% of it's time within
std::vector operations - iterator and copy. So I'm assuming it adds the event
by iterating through the entire current set until it finds the correct
timestamp location and then makes a gap my copying
Ok, I've submitted it as a performance bug to Apple. It's a quick win fix to be
honest with a large effect on their MIDI users.
I should try a test using MIDIEndPoint attached to the MusicTrack to add the
note events instead..
Nick
On 8 Dec 2009, at 14:59, Simone Tellini wrote:
> NickK ha scr
On Dec 8, 2009, at 3:49 am, Chunk 1978 wrote:
> i meant that i find it complicated compared to basic single touches or
> gestures.
>
It's not clear what's complicated.
You typically want to know when touches began, moved, and ended, and there are
methods to inform you when each of these things
This question is not specifically about Cocoa programming but I hope that some
Mac OS X experts out there can give me an answer.
I sent an attached photo to my daughter so that she could print it out using
Costco print services. I sent it at high resolution, the photo image was 1.6
MB. It see
On Dec 7, 2009, at 11:46 PM, Henri Häkkinen wrote:
> I have a simple Cocoa document-based application, which uses a custom
> NSOpenGLView derived class. This view object has a reference to the document
> object (this binding is set in the nib file), and the document has a
> reference to a Mesh
Am 08.12.2009 um 17:26 schrieb Phil Hystad:
This question is not specifically about Cocoa programming but I hope
that some Mac OS X experts out there can give me an answer.
I sent an attached photo to my daughter so that she could print it
out using Costco print services. I sent it at hig
On Dec 8, 2009, at 2:13 AM, Dalmazio Brisinda wrote:
> I'm writing a QuickLook plugin that, as part of the preview process, makes an
> http call to a (localhost) server to obtain data that is then used to
> generate the preview image.
>
> The code below works fine outside the QuickLook architec
this is what i have so far, but i have no idea how to write the
touchesEnded method so that the appropriate label will clear. so if 3
fingers are touching the screen and displaying their different
coordinates, if the 2nd finger that was pressed ends its touch, the
2nd label will clear ("Touch 2: {
I have a NSTreeController displayed via an NSOutlineView. It’s set up to expand
items by default as they’re added to the model. This is all on Snow Leopard.
When a bunch of items (some thousands) are added and removed from the model,
there’s a large memory spike (multi-hundred MB) almost entirel
On 8 Dec 2009, at 16:26, Phil Hystad wrote:
> This question is not specifically about Cocoa programming but I hope that
> some Mac OS X experts out there can give me an answer.
Then why not send it to an appropriate mailing list, like macosx-talk? Or post
it in Apple's voluminous Support forum
Hi,
I'd like to customize the color of the line that separates a window's
content area from its title bar. I've uploaded a screenshot of the
line I mean here: http://i48.tinypic.com/r2q9eu.png .
How would I do this, if possible without having to subclass NSWindow?
Thanks,
-Mike
hi-
On Dec 8, 2009, at 11:48 AM, David Duncan wrote:
> My understanding is Quicklook plugins are not allowed to make network
> connections due to sandbox restrictions.
We ran into this same problem when QL plugins were first included with the OS.
thanks!-
-lance
_
Phil Hystad wrote:
Does anyone know of a way to turn this off or is this considered a
"feature" for some ease-of-use aspect of OS X?
Compress images to zip before sending?
I've never seen Mail do anything except transfer zips as-is.
-- GG
___
On Dec 8, 2009, at 9:26 AM, Phil Hystad wrote:
> This question is not specifically about Cocoa programming but I hope that
> some Mac OS X experts out there can give me an answer.
Well, you're probably going to get spanked for doing that.
A very good list for these type of Mac-related, but Coco
Well, it's the way the system is architected -- we are using QuickLook plugins
for icon badging, and that badging depends on the state of certain elements of
the filesystem which is maintained in a separate server process.
Best,
Dalmazio
On 2009-12-08, at 5:09 AM, Mike Abdullah wrote:
> I'
Thanks for that. Okay, I see the QuickLook docs sort of allude to this in
regards to using Web-Kit plugins within QuickLook generators. Which gets me
thinking: would it then be possible to maybe connect to the server via local
distributed objects instead of using the NSURLConnection framework? I
On Tue, Dec 8, 2009 at 10:13 AM, Dalmazio Brisinda wrote:
> Well, it's the way the system is architected -- we are using QuickLook
> plugins for icon badging, and that badging depends on the state of certain
> elements of the filesystem which is maintained in a separate server process.
This see
On Dec 8, 2009, at 10:16 AM, Dalmazio Brisinda wrote:
> Thanks for that. Okay, I see the QuickLook docs sort of allude to this in
> regards to using Web-Kit plugins within QuickLook generators. Which gets me
> thinking: would it then be possible to maybe connect to the server via local
> distri
This discussion would be better done in the quicklook-dev mailing list. And
in fact, it already took place there.
Please avoid cross posting questions like this.
On Tue, Dec 8, 2009 at 7:16 PM, Dalmazio Brisinda wrote:
> Thanks for that. Okay, I see the QuickLook docs sort of allude to this in
>
This has so far only been tested on SnowLeopard.
I'm going to divide this into two issues, since I'm not 100% sure they're
related.
1) On redraw, a filtering is applied that changes the image quality. Are you
seeing this change on first redraw from a large NSImage (rather than from a
url to an im
Il giorno 05/dic/2009, alle ore 19.05, Rossi Matteo ha scritto:
> I find it very annoying to localize Xibs by keeping a copy for each
> translation. It's both tedious and error-prone.
> I've found that by simply binding each button's title (or wharever other
> control you need) to the appropriat
Hi.
I created CustomNavBar subclassing UINavigationBar.
In Interface Builder I drag a Navigation Controller (UINavigationController)
from the library to the document. Under this object in document window I can
see a Navigation Bar (UINavigationBar). Clicking it and using the Identity
Inspector
I have a CAShapeLayer and I'd like to drag it. I have this code which I
can't configure correctly:
- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
if( CGRectContainsPoint([pointerLayer bounds], [touch
locationInView:pointerLayer
You could subclass UINavigationController.
Luke
On Dec 8, 2009, at 9:46 AM, Duccio wrote:
> Hi.
>
> I created CustomNavBar subclassing UINavigationBar.
>
> In Interface Builder I drag a Navigation Controller (UINavigationController)
> from the library to the document. Under this object in doc
>
>
> Any ideas about why NSTreeController’s KVO is taking up so much memory/CPU
> with bookkeeping? Any suggestions for working around the problem?
>
I assume that you are using bindings. Looks like a typical KVO notification
storm to me.
What works well for adding and updating one or two ob
On Dec 8, 2009, at 9:25 AM, Michael Abendroth wrote:
I'd like to customize the color of the line that separates a window's
content area from its title bar.
Try turning on the "textured" flag in IB.
—Jens
___
Cocoa-dev mailing list (Cocoa-dev@list
On Tue, Dec 8, 2009 at 8:54 PM, Jens Alfke wrote:
>
> On Dec 8, 2009, at 9:25 AM, Michael Abendroth wrote:
>
>> I'd like to customize the color of the line that separates a window's
>> content area from its title bar.
>
> Try turning on the "textured" flag in IB.
>
> —Jens
>
>
Unfortunately, when
Il giorno 08/dic/2009, alle ore 20.40, Luke the Hiesterman ha scritto:
> You could subclass UINavigationController.
>
I can't (or I should't):
"This class is not intended for subclassing. Instead, you use instances of it
as-is in situations where you want your application’s user interface to r
On Dec 8, 2009, at 11:34 AM, Eric E. Dolecki wrote:
> Looks like that method expects a UIView - what's the best way to access the
> CAShapeLayer to know whether or not a user's touched it? Then I'd like to
> constrain drag it.
Are you trying to hit test against the shape layer's path? I'm not ce
On Tue, Dec 8, 2009 at 12:00 PM, Aldo Armiento wrote:
> The question is: why can I use my custom subclass of UINavigationBar in a
> UINavigationController using IB and I can't do it programmatically? All that
> can be done in IB should not be able to do programmatically?
I guess one question is
On Dec 8, 2009, at 8:59 am, Chunk 1978 wrote:
> this is what i have so far, but i have no idea how to write the
> touchesEnded method so that the appropriate label will clear. so if 3
> fingers are touching the screen and displaying their different
> coordinates, if the 2nd finger that was press
At least on the iPhone I can say that using NIBs can add a short delay or slow
some UI operations down. Normally we prefer to use IB everywhere we can. On the
iPhone we balance it more. Places where pure code is not difficult, we'll go
that route because its noticeably faster. While its gotten b
Basically if a user touches the shape layer's path (the UI for the pointer),
I'd like the user to be able to slide it left and right. I did not subclass
UIView - I am using a rootLayer and using the path within that.
CAShapeLayers have hitTests? I haven't seen code like that anywhere yet
(Google).
On Dec 8, 2009, at 12:47 PM, Eric E. Dolecki wrote:
> Basically if a user touches the shape layer's path (the UI for the pointer),
> I'd like the user to be able to slide it left and right. I did not subclass
> UIView - I am using a rootLayer and using the path within that. CAShapeLayers
> have
Il giorno 08/dic/2009, alle ore 21.37, Alex Kac ha scritto:
> At least on the iPhone I can say that using NIBs can add a short delay or
> slow some UI operations down. Normally we prefer to use IB everywhere we can.
> On the iPhone we balance it more. Places where pure code is not difficult,
>
Okay - so how would I use the bounds? I thought I tried that in my initial
code sample:
if( CGRectContainsPoint([*pointerLayer bounds*], [touch
locationInView:pointerLayer] )){
or is that part correct and the [touch locationInView:pointerLayer.view] be
correct?
Thanks,
Eric
On Tue, Dec 8, 2009
On Dec 8, 2009, at 12:49 PM, Aldo Armiento wrote:
> But it seems that in this case I can't use my UINavigationBar subclass if I
> instantiate a Navigation Controller programmatically, so the only way to use
> my UINavigationBar subclass is to instantiate a Navigation Controller in IB
> otherwi
I might just say forget it and wire up a UIImageView and have the user drag
that instead. I wanted to use vectors for this, but a PNG might be just as
good. It would be cool to know how to do this someday though.
On Tue, Dec 8, 2009 at 3:52 PM, Eric E. Dolecki wrote:
> Okay - so how would I use
Il giorno 08/dic/2009, alle ore 21.53, Luke the Hiesterman ha scritto:
>
> On Dec 8, 2009, at 12:49 PM, Aldo Armiento wrote:
>
>> But it seems that in this case I can't use my UINavigationBar subclass if I
>> instantiate a Navigation Controller programmatically, so the only way to use
>> my U
On Dec 8, 2009, at 1:13 PM, Duccio wrote:
>
> Il giorno 08/dic/2009, alle ore 21.53, Luke the Hiesterman ha scritto:
>
>>
>> On Dec 8, 2009, at 12:49 PM, Aldo Armiento wrote:
>>
>>> But it seems that in this case I can't use my UINavigationBar subclass if I
>>> instantiate a Navigation Contr
On Dec 8, 2009, at 12:52 PM, Eric E. Dolecki wrote:
> Okay - so how would I use the bounds? I thought I tried that in my initial
> code sample:
Your making this too complicated :).
if([self.view.layer hitTest:[touch locationInView:self]] == pointLayer]) {
// my shape layer got hit
}
--
On Dec 8, 2009, at 12:49 PM, Aldo Armiento wrote:
> But it seems that in this case I can't use my UINavigationBar subclass if I
> instantiate a Navigation Controller programmatically, so the only way to use
> my UINavigationBar subclass is to instantiate a Navigation Controller in IB
> otherwis
On Dec 8, 2009, at 2:44 PM, jonat...@mugginsoft.com wrote:
>> Any ideas about why NSTreeController’s KVO is taking up so much memory/CPU
>> with bookkeeping? Any suggestions for working around the problem?
>>
> I assume that you are using bindings.
Yes.
> Looks like a typical KVO notification
Arved,
There is currently no API to do this.
Please submit an enhancement request through bugreporter.apple.com.
-James
On Oct 17, 2009, at 9:45 PM, Arved von Brasch wrote:
> Hello Cocoa List,
>
> My Googling reveals this question has been asked before, but no answer was
> given. Hopefully
I send to you many thanks.
On Tue, Dec 8, 2009 at 4:17 PM, David Duncan wrote:
> On Dec 8, 2009, at 12:52 PM, Eric E. Dolecki wrote:
>
> > Okay - so how would I use the bounds? I thought I tried that in my
> initial code sample:
>
>
> Your making this too complicated :).
>
> if([self.view.layer
Il giorno 08/dic/2009, alle ore 22.19, David Duncan ha scritto:
> On Dec 8, 2009, at 12:49 PM, Aldo Armiento wrote:
>
>> But it seems that in this case I can't use my UINavigationBar subclass if I
>> instantiate a Navigation Controller programmatically, so the only way to use
>> my UINavigatio
On Dec 8, 2009, at 1:22 PM, Benjamin Rister wrote:
> Well...not quite. There’s nothing about doing this notification that requires
> allocating hundreds of megabytes of overhead, particularly when the model
> itself is a fraction of that size, including payload. As I mentioned, these
> blocks it
Hi Gerriet,
On 8/12/09, gerr...@mdenkmann.de wrote:
MyDocument.nib has an IKImageView and an NSSlider with it's value
bound to myIkView.rotationAngle. But when I closed the window I got
an exception complaining about some observers not beeing removed.
Is it the 'Cannot remove observer...' e
On Dec 8, 2009, at 12:33 pm, mmalc Crawford wrote:
Get the logic right...
> - (void)setUpTouchHandling {
>
>touchToLabelMapping = CFDictionaryCreateMutable (kCFAllocatorDefault, 5,
> &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
>availableLabels = [[NSMutableArray a
On Dec 8, 2009, at 2:17 am, Gerriet M. Denkmann wrote:
> - (void)windowWillClose:(NSNotification *)notification
> {
> id f = [ ikView observationInfo ];
> NSString *oi = [ f description ];
>
> BOOL ok;
> NSString *obs = @"Observer:";
> NSString *kpa = @"Key pa
On 09/12/2009, at 7:35 AM, Greg Parker wrote:
> Which OS version is this? 10.6.2 fixed a performance problem with garbage
> collection and large KVO populations. If you still have trouble in 10.6.2+
> then you should file a bug report.
There are still massive remaining performance issues with
Hi,
I am using NSCollectionView for a project in which the collection view is
populated with about 200 items, each containing about 4 subviews (image view,
and a few text fields).
Scrolling is not smooth at all, and lags quite a bit. I'm wondering, would just
drawing the text and images as par
On 09/12/2009, at 9:38 AM, Rob Keniger wrote:
> There are still massive remaining performance issues with
> NSTreeController/NSArrayController in 10.6 if you have a large number of
> active bindings.
...and I should point out that these issues were bad enough for me to
completely abandon NS
On 8 Dec 2009, at 23:40, PCWiz wrote:
> Hi,
>
> I am using NSCollectionView for a project in which the collection view is
> populated with about 200 items, each containing about 4 subviews (image view,
> and a few text fields).
>
> Scrolling is not smooth at all, and lags quite a bit. I'm won
On 12/7/09 2:32 PM, Sissy said:
>
>>
>> i've complete my project which runs great on 10.5 leopard and i am
>> trying to compile it to work with 10.4 (tiger). i use
>> nscalendardate which uses nsinteger which does not exist in 10.4.
>> how do i adjust dates using nscalendardate which is supposed
On 8 Dec 2009, at 20:49, Aldo Armiento wrote:
> Il giorno 08/dic/2009, alle ore 21.37, Alex Kac ha scritto:
>
>> At least on the iPhone I can say that using NIBs can add a short delay or
>> slow some UI operations down. Normally we prefer to use IB everywhere we
>> can. On the iPhone we balanc
On Dec 8, 2009, at 6:42 PM, David Duncan wrote:
> More than likely this is a memory management problem. Specifically, you
> probably aren't claiming ownership of the NSData object that you store in
> your instance variable, and thus it is being deallocated out from under you.
I was under the i
On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
> Other alternatives:
>
> - Subclass UINavigationController to return a custom view from -navigationBar.
> - Add a custom subview to the nav bar to do your drawing.
I recommend neither of these. It's already been brought up that
UINavigationCont
Sorry I'm new to Obj-C/Cocoa, how would I do this performance profiling?
On 2009-12-08, at 4:50 PM, Mike Abdullah wrote:
>
> On 8 Dec 2009, at 23:40, PCWiz wrote:
>
>> Hi,
>>
>> I am using NSCollectionView for a project in which the collection view is
>> populated with about 200 items, each c
If you don't turn GC on, then you likely don't have it on. Check your
project settings, as most if the project templates do not enable GC.
--
David Duncan @ My iPhone
On Dec 8, 2009, at 3:52 PM, Henri Häkkinen
wrote:
On Dec 8, 2009, at 6:42 PM, David Duncan wrote:
More than likely this
On Dec 8, 2009, at 4:52 PM, Henri Häkkinen wrote:
> I was under the impression that automatic garbage collection was used in Mac
> OS X 10.5 and over, so retaining and releasing objects was handled
> automatically?
No; you have to turn it on in the application, for two reasons:
1. Tiger and e
Is there any way I can find what's the path of a given process running? A
background process, which cannot be retrieved in [[NSWorkspace sharedWorkspace]
launchedApplications]?
Thanks!
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin
http://neme
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
On 12/9/09 1:52 AM, Henri Häkkinen said:
>I was under the impression that automatic garbage collection was used in
>Mac OS X 10.5 and over, so retaining and releasing objects was handled
>automatically?
Mostly automatic. :)
>This is the initializer method of my Mesh class (I'm using OpenCTM
>lib
On Dec 8, 2009, at 5:03 PM, Laurent Daudelin wrote:
> Is there any way I can find what's the path of a given process running? A
> background process, which cannot be retrieved in [[NSWorkspace
> sharedWorkspace] launchedApplications]?
Yes. ([[[NSProcessInfo processInfo] arguments] objectAtInde
On 8 Dec 2009, at 23:57, Luke the Hiesterman wrote:
>
> On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
>
>> Other alternatives:
>>
>> - Subclass UINavigationController to return a custom view from
>> -navigationBar.
>> - Add a custom subview to the nav bar to do your drawing.
>
> I recomme
On Dec 9, 2009, at 2:05 AM, Sean McBride wrote:
>
> And these are ivars I guess? If so, they should live as long as 'self' does.
Yes, they are ivars.
I was able to resolve the issue by adding invocation to retain: for both
_vertices and _indices. So yep, it was a memory management issue. I be
Read up on Instruments.
http://developer.apple.com/tools/performance/
On 8 Dec 2009, at 23:57, PCWiz wrote:
> Sorry I'm new to Obj-C/Cocoa, how would I do this performance profiling?
>
> On 2009-12-08, at 4:50 PM, Mike Abdullah wrote:
>
>>
>> On 8 Dec 2009, at 23:40, PCWiz wrote:
>>
>>> Hi,
>
On Dec 8, 2009, at 3:40 PM, PCWiz wrote:
> Hi,
>
> I am using NSCollectionView for a project in which the collection view is
> populated with about 200 items, each containing about 4 subviews (image view,
> and a few text fields).
You may want to consider using a different view. NSCollectionV
On 12/9/09 2:25 AM, Henri Häkkinen said:
>On Dec 9, 2009, at 2:05 AM, Sean McBride wrote:
>>
>> And these are ivars I guess? If so, they should live as long as
>'self' does.
>
>Yes, they are ivars.
>
>I was able to resolve the issue by adding invocation to retain: for both
>_vertices and _indices
Il giorno 09/dic/2009, alle ore 00.57, Luke the Hiesterman ha scritto:
>
> On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
>
>> Other alternatives:
>>
>> - Subclass UINavigationController to return a custom view from
>> -navigationBar.
>> - Add a custom subview to the nav bar to do your drawi
On Dec 8, 2009, at 4:40 PM, Duccio wrote:
> Il giorno 09/dic/2009, alle ore 00.57, Luke the Hiesterman ha scritto:
>
>>
>> On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
>>
>>> Other alternatives:
>>>
>>> - Subclass UINavigationController to return a custom view from
>>> -navigationBar.
>>
Il giorno 09/dic/2009, alle ore 01.49, Luke the Hiesterman ha scritto:
>>
>> So, just to understand, why can I do that through IB but not (legally) via
>> code? The ability to choose a class for the navigation bar in a navigation
>> controller should have been blocked in IB?
>>
>> You says ab
Hello.
In cases where a custom view class occupies the whole NSWindow content area,
the resize handle at the bottom right corner gets overdrawn and stays behind
the graphics. Is there any easy way of telling Cocoa that the resize handle
should be drawn on top of any other graphics?
For example
>> On Dec 8, 2009, at 3:51 PM, Mike Abdullah wrote:
>>
>>> Other alternatives:
>>>
>>> - Subclass UINavigationController to return a custom view from
>>> -navigationBar.
>>> - Add a custom subview to the nav bar to do your drawing.
>>
>> I recommend neither of these. It's already been brought
On 09/12/2009, at 5:59 AM, Michael Abendroth wrote:
> Unfortunately, when turning on the "textured" flag in IB, my app
> mysteriously crashes.
When you say "mysteriously", what do you mean? What is the stack backtrace?
--
Rob Keniger
___
Cocoa-dev
"All of a sudden", an app which I'm building won't display complete windows
when running in Mac OS 10.5. While loading a window, -awakeFromNib is not
found for subclasses that are instantiated in a xib. Examples:
*** -[ContentOutlineView awakeFromNib]: unrecognized selector sent to instance
On Dec 8, 2009, at 6:22 PM, Jerry Krinock wrote:
Now, since -awakeFromNib is implemented by NSObject, it should NEVER
be unrecognized for any subclass of NSObject, which all of the above
classes are...
Not before 10.6 it isn't.
--Kyle Sluder
___
For those who were helping out with my problems with Undo, and others who might
be interested, I've released my Undo implementation here:
http://apptree.net/gcundomanager.htm
I'd be interested to hear any feedback, criticism, suggestions, praise or
whatever.
In adding this class to my app, all
Ok, I think I've solved this problem. Corbin, you're right, the problem is too
many subviews.
What I did to counter this problem is to actually draw most images/text in my
prototype NSView subclass rather than using subviews like NSImageView and
NSTextField. This yielded a pretty noticeable spe
Hi,
I am trying to develop an input method using IMKit approach by implementing the
below.
-(BOOL)inputText:(NSString*) string key:(NSInteger)keyCode
modifiers:(NSUInteger)flags client:(id)sender
I took the IMK sample available at ADC, and understood the flow by installing
and dumping the tr
I'm creating a UITableView in which users should be able to (among other
things) delete not only single rows, but entire sections. When the table is put
into edit mode, I would like to show a control in each section header that will
allow deletion of the associated section.
How hard is this goi
On 2009 Dec 08, at 18:36, Kyle Sluder wrote:
>> Now, since -awakeFromNib is implemented by NSObject
>
> Not before 10.6 it isn't.
Thank you, Kyle. That was the problem, and since the runtime doesn't
distinguish between subclass and superclass, the exception logged sent me
looking down the wr
Thanks a lot Greg.
Interpret as UTF8 solved the problem.
-Parimal Das
On Tue, Dec 8, 2009 at 8:18 PM, Greg Parker wrote:
> On Dec 8, 2009, at 5:25 AM, Parimal Das wrote:
> > I am trying to write "CFBundleGetInfoString" into "InfoPlist.strings"
> from
> > cpp code and It is writing successfully.
1 - 100 of 101 matches
Mail list logo