I've never programmed games before, although I've got a fair bit of useful OS X
utility software under my belt. I've now had a few ideas that I'd like to
implement - and I'm stuck at almost the first hurdle. I've managed to create
an OpenGL view (by way of experimentation) and chuck a few grap
Hi Gideon,
thanks for taking the time to reply. I see your point, if there were
more than 1 store being opened, but only 1 folder location for mugshot
files, then assuming that each 1st Employee would have the objectID:
x-coredata://.../Employee/p101
... then if I'm only using the p101 par
Most basics OpenGL sample codes on ADC handle keyboard events.
For instance, first Google result for "Cocoa OpenGL"
http://developer.apple.com/mac/library/samplecode/CocoaGL/Introduction/Intro.html
Le 7 avr. 2010 à 09:34, Pascal Harris a écrit :
> I've never programmed games before, although I
Op 6 apr 2010, om 17:22 heeft cocoa-dev-requ...@lists.apple.com het volgende
geschreven:
> I've been searching google for a while, and have repeatedly stumbled across
> mention of an Objective-C ID3 framework constantly linked to
>
> http://drewfamily.homemail.com.au/Cocoa_-_ID3Tag_framework.ht
How about this example? You can download the source as well:
http://www.devx.com/wireless/Article/42476/1763/page/3
-- Tito
On Apr 7, 2010, at 1:57 AM, Kiel Gillard wrote:
> Can UIViewAnimationTransitionCurlUp/Down be of any use?
>
> On 07/04/2010, at 2:10 AM, Alex Kac wrote:
>
>> Well they m
Hi all,
I'm working way too hard to make this work, making me think I've just missed
something obvious.
I have a window containing two main views. I can drag items from one of the
views into the other view. That all works fine, and is entirely under the
control of the drag destination in terms
On Tue, Apr 6, 2010 at 11:04 AM, Kalyanraju M wrote:
> How could I make the first row not to be edited or moved in UITableView
>
> I know that with
> - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath
> *)indexPath
> the first row could be set not to move but if another
On Apr 6, 2010, at 10:11 PM, Rua Haszard Morris wrote:
> I am trying to write an NSView subclass to render a multi-page printout. What
> I would like is to use the page/paper size in calculating the dimensions of
> each page; for example, if the printout is made up of N rows of items, each
> it
More info: When I print out my NSPrintInfo object, I get:
print info {
NSBottomMargin = 90;
NSCopies = 1;
NSDetailedErrorReporting = 0;
NSFaxNumber = "";
NSFirstPage = 1;
NSHorizonalPagination = 2;
NSHorizontallyCentered = 1;
NSJobDisposition = NSPrintSpoolJob;
How do I make a table view column show a sum calculated from Core Data Values?
I have a Budget entity with a to-many relationship of BudgetItems. In a table
view listing my budgets, I want a column that displays the total of a budget's
items' amounts.
I tried binding the column to ite...@sum.li
On Apr 6, 2010, at 11:31 PM, Martin Hewitson
wrote:
8 TeXnicle0x00010001e85e -
[TPTextView insertText:] + 199
You need to show us the code for this method.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@
Hi All,
I was wondering if it is possible to change an Object in the
underlying array associated with a Table View and have the Table update?
If the user clicks an entry in the table I want to change the string
on one of the rows in a section. My table is arranged as a Number of
Sections
Hi Kyle,
At the moment it does nothing but call super. I was using it to handle
line-wrapping, but in the process of debugging this problem it's reduced to
- (void)insertText:(id)aString
{
[super insertText:aString];
}
One further piece of info: if I set the layout manager to a
On Wed, Apr 7, 2010 at 1:31 AM, Martin Hewitson
wrote:
> // Clean up
> [textContainer release];
> [layoutManager release];
> [str release];
Are you sure that all these are balanced releases? The only one you
show allocating is layoutMana
On Apr 7, 2010, at 12:34 AM, Pascal Harris wrote:
I've never programmed games before, although I've got a fair bit of
useful OS X utility software under my belt. I've now had a few
ideas that I'd like to implement - and I'm stuck at almost the first
hurdle. I've managed to create an Open
On Apr 7, 2010, at 1:54 AM, patrick machielse wrote:
Don't use that, it is no longer up to date. It was a valiant attempt
at ID3 support, but it doesn't adhere to the ID3 specifications very
well and it stumbles on real world tags more often than other
solutions do.
Yeah; after running i
Um, is this for OS X or iPhone? You need to make that clear...
—Jens___
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.c
Yes, they are. Sorry, I was over selective in my first post in an attempt to
just show the salient points. Here's a more complete excerpt from the code that
sets up the text storage etc:
// Get the string from the File entity
NSError *error = nil;
Ok I'm going to try to explain this...
I have an application with two different view controllers. One view controller
handles a compose mail UI. The built in message frame work one. That is usually
allowed to reorient to any device orientation but will usually be used only in
portrait.
The se
Hi,
Sorry for the iPhone.
I've actually managed to get this working now, but not sure if it's
the best/right way to do it. Here is a code snippet from
tableView:didSelectRowAtIndex
myKey - [self.mKeyArray objectAtIndex:theIndexPath.section];
myDictionary = [self.mDictionary objectForKey:m
On Apr 7, 2010, at 9:14 AM, David Catmull wrote:
> How do I make a table view column show a sum calculated from Core Data Values?
>
> I have a Budget entity with a to-many relationship of BudgetItems. In a table
> view listing my budgets, I want a column that displays the total of a
> budget's
On Apr 7, 2010, at 09:28, Jens Alfke wrote:
> On Apr 7, 2010, at 12:34 AM, Pascal Harris wrote:
>
>> I've never programmed games before, although I've got a fair bit of useful
>> OS X utility software under my belt. I've now had a few ideas that I'd like
>> to implement - and I'm stuck at almo
Hi everybody.
I get this link error:
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
every time I try to run my program.
This runs perfectly in a new iMac 27' but in my macBook and other kind
of old iMac error appears.
I am running snow leopard 10.6.2 with the latest Xcode 3.2.2. in
Hi,does anybody knows how to change the colorspace when we want to use a
CIFilter?It seems possible looking at the question asked :
http://lists.apple.com/archives/quartz-dev/2008/Aug/msg00060.html
But I didn't manage to change it. My guess is that if I can change the
colorspace from RGBA 8bits
2010/4/7 Ignacio Enriquez :
> I get this link error:
> Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
> every time I try to run my program.
You should ask questions about developer tools on the xcode-users list.
--Kyle Sluder
___
Cocoa
This has nothing to do with Cocoa. Try the xcode-users list.
Regards,
Ken
On Apr 7, 2010, at 12:40 PM, Ignacio Enriquez wrote:
> Hi everybody.
> I get this link error:
> Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1
> every time I try to run my program.
> This runs perfectly i
ok.
sorry
On Thu, Apr 8, 2010 at 2:53 AM, Ken Thomases wrote:
> This has nothing to do with Cocoa. Try the xcode-users list.
>
> Regards,
> Ken
>
> On Apr 7, 2010, at 12:40 PM, Ignacio Enriquez wrote:
>
>> Hi everybody.
>> I get this link error:
>> Command /Developer/usr/bin/llvm-g++-4.2 failed
On Apr 7, 2010, at 12:34 AM, Pascal Harris wrote:
> Sorry to post such a non-technical question - I didn't know who else to ask.
Hi Pascal,
http://www.idevgames.com/forum/ -- Tons of active members willing to help.
--
Seth Willits
___
Co
On Apr 7, 2010, at 1:31 PM, Laurent Daudelin wrote:
> Jens,
>
> Is there an easy way to download the whole package? I looked around and
> besides downloading each item individually, I didn't see anything like a dmg
> or zip or svn link.
At the top of the page it says:
"Clone this repository
On Apr 7, 2010, at 10:31 AM, Laurent Daudelin wrote:
> Is there an easy way to download the whole package? I looked around and
> besides downloading each item individually, I didn't see anything like a dmg
> or zip or svn link.
At the far top-right, there is a button labeled "Get Source" which
How are you checking and working with orientations?
If your using the View Controller orientation notifications, then this should
just work (if your doing everything correctly). If your using UIDevice
orientation notifications (which it sounds like since you have to move the
status bar manually
Op 7 apr 2010, om 18:33 heeft Jens Alfke het volgende geschreven:
> On Apr 7, 2010, at 1:54 AM, patrick machielse wrote:
>
>> Don't use that, it is no longer up to date.
>
> Yeah; after running into some bugs, and looking through the source code, I
> decided I wasn't comfortable letting it rewr
Well in the viewcontrollers I'm using the -
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
and returning yes when the orientation is: UIInterfaceOrientationLandscapeLeft
for the editor and YES when it's portrait in the mail composer.
I am not using de
On Wednesday, April 7, 2010, Jens Alfke wrote:
>
> FYI to the OP: If you haven't worked with LGPL code before, be aware that you
> must build it into a separate dynamic library or framework that you can
> bundle inside your app. Statically linking the code into your app violates
> the LGPL lice
Someone posted essentially this same question in 2004 but there were no answers.
I've got a Cocoa plugin running inside a host application. The plugin opens an
NSOpenPanel, and as a result of user action there, a modal window containing
two NSTextFields. I'd like the user to be able to copy and
Thanks for your answers!
By the way, are you using garbage collection? If not, then you're
leaking several objects (those pointed to by 'netstat', 'pipe',
and 'string').
Yeah, I suspect that the pipes (and corresponding NSFileHandles)
are indeed leaking, and that's the real problem. You
Hello,
How is it that it starts to malfunction after such amount of time?
Because the leak builds up over time until you run out of file
descriptors, and -[NSPipe init] finally starts returning nil.
Yeah, I figured it out like 10 minutes after I asked that question.
Found this discussion
Possible answer to this
The forums seem to have a some people posting very similar issues to this one.
I'm assuming this means that since my iPhone version of the application works
perfectly, and because I'm not the only one having this problem that this is a
platform issue, in other words need
On Apr 7, 2010, at 11:08 AM, Raffael Cavallaro wrote:
At the top of the page it says:
"Clone this repository (size: 959.4 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/snej/geekgameboard/";
This means you need mercurial:
No you don't — you can just click the "get source" button at the to
On Tue, Apr 6, 2010 at 2:11 PM, Dave McCarthy wrote:
> I tried implementing keyDown in my window controller but it is never called.
> I tried subclassing NSWindow and implementing keyDown there but it is never
> called. Maybe keyDown isn't even the right place to be looking, but my Cocoa
> expe
>> I am trying to write an NSView subclass to render a multi-page printout.
>> What I would like is to use the page/paper size in calculating the
>> dimensions of each page; for example, if the printout is made up of N rows
>> of items, each item rendering as 60-point-tall row.
>>
>> So, assumi
How do you use the image picker controller on the iPad? My iphone version works
fine but I get a UI Mess on the iPad. (Part of the nav bar loads and nothing
else.) Anyway so I tried
if ([[[UIDevice currentDevice]model]containsString:@"iPad"]){
if( [UIImagePickerController
On Apr 7, 2010, at 3:37 PM, Development wrote:
> How do you use the image picker controller on the iPad? My iphone version
> works fine but I get a UI Mess on the iPad.
> And now it crashes telling me I have to use a popover:
>
> *** Terminating app due to uncaught exception 'NSInvalidArgumen
On Apr 7, 2010, at 1:37 PM, Development wrote:
> How do you use the image picker controller on the iPad? My iphone version
> works fine but I get a UI Mess on the iPad. (Part of the nav bar loads and
> nothing else.) Anyway so I tried
> if ([[[UIDevice currentDevice]model]containsString:@
On Apr 7, 2010, at 11:52 AM, Martin Hewitson wrote:
> Hi Kyle,
>
> At the moment it does nothing but call super. I was using it to handle
> line-wrapping, but in the process of debugging this problem it's reduced to
>
> - (void)insertText:(id)aString
> {
> [super insertText:aString];
> }
On Apr 7, 2010, at 3:58 PM, Jens Alfke wrote:
> On Apr 7, 2010, at 11:08 AM, Raffael Cavallaro wrote:
>
>> At the top of the page it says:
>>
>> "Clone this repository (size: 959.4 KB): HTTPS / SSH
>> $ hg clone http://bitbucket.org/snej/geekgameboard/";
>>
>> This means you need mercurial:
>
I had gotten lost because I forgot that I had the project's base SDK set to 3.0
so that the iPhone version would build and launch.
I couldn't find the popover controller api and was very confused. Sorry.
On Apr 7, 2010, at 1:43 PM, Ricky Sharp wrote:
>
> On Apr 7, 2010, at 3:37 PM, Development
Ok, I'm still working on this from my other question. I can see the printinfo
before I run the operation, and it looks correct. NSSavePath is set to the path
I want, as is the jobsavingURL. When, but when I actually DO the print to PDF,
the filename, the filename becomes .pdf.pdf.
When I cancel
Hello all,
I need to create a custom bar of UIButton instances which can be scrolled left
and right using a swipe gesture. I am thus following the "Autoscroll" sample
code from Apple, which subclasses UIImageView to produce a scrollable bar of
thumbnail images. My problem is how to correctly su
Does anyone know to programmatically bring up the special characters panel that
TextEdit shows when you select the "Special Characters..." item in the Edit
menu?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
When copying large files (over a GB each) from a network drive to a
local drive Finder shows these files are busy by graying their
filename out until they are finished writing to the local system.
How can I detect this as well?
I tried calling the NSFileManager fileAttributesAtPath:traverseLink:
On 7 Apr 2010, at 5:44 AM, Tito Ciuro wrote:
> How about this example? You can download the source as well:
>
> http://www.devx.com/wireless/Article/42476/1763/page/3
Given that the article's title and opening paragraph suggest that it's about
something pretty elementary, and site wants a "free
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
Does anyone know to programmatically bring up the special characters
panel that TextEdit shows when you select the "Special
Characters..." item in the Edit menu?
There's a menu item for it in the Edit menu, in any new app's nib.
Take a look
On Apr 7, 2010, at 4:31 PM, Lee Gillen wrote:
When copying large files (over a GB each) from a network drive to a
local drive Finder shows these files are busy by graying their
filename out until they are finished writing to the local system.
I think the Finder only knows that because it's th
On Apr 7, 2010, at 4:46 PM, Fritz Anderson wrote:
> Given that the article's title and opening paragraph suggest that it's about
> something pretty elementary, and site wants a "free" registration to show you
> any more, I'd like to hear from people who have read the whole thing whether
> page-
On 08/04/2010, at 9:50 AM, Jens Alfke wrote:
>> Does anyone know to programmatically bring up the special characters panel
>> that TextEdit shows when you select the "Special Characters..." item in the
>> Edit menu?
>
> There's a menu item for it in the Edit menu, in any new app's nib. Take a
On Wed, 7 Apr 2010 19:31:19 -0400, Lee Gillen said:
>When copying large files (over a GB each) from a network drive to a
>local drive Finder shows these files are busy by graying their
>filename out until they are finished writing to the local system.
Not sure if it still applies these days, but
On Wed, Apr 7, 2010 at 7:53 PM, Jens Alfke wrote:
> I think the Finder only knows that because it's the one doing the copying.
> If something else is copying a file (like the 'cp' command) the Finder
> doesn't gray out the file.
But I think what is happening is there is an FSEvent when the
place
Hi guys,
Strange crash. It happens for one user "on a couple 10.5 machines."
objc_assign_strongCast seems to be GC related, but I'm not using GC.
It seems that maybe this is a 10.5 bug where initWithFlags:rights:environment:
is returning junk?
Any ideas?
/*
OS Version: Mac OS X 10.5
Ian was here wrote:
Does anyone know to programmatically bring up the special
characters panel that TextEdit shows when you select the "Special
Characters..." item in the Edit menu?
Paste into Terminal:
open -a CharPaletteServer
Should be able to work out the rest from that.
-- GG
__
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
> Does anyone know to programmatically bring up the special characters panel
> that TextEdit shows when you select the "Special Characters..." item in the
> Edit menu?
[[NSApplication sharedApplication] orderFrontCharacterPalette:nil];
--
David D
I've got some code that uses editColumn:0 to force the user into edit mode on
the first column.
But I've noticed that if user column reordering is allowed, this no longer
edits the correct column. This seems odd to me because I thought Cocoa pretty
much shielded the programmer from all the us
On 08/04/2010, at 11:46 AM, Chris Idou wrote:
>
>
> I've got some code that uses editColumn:0 to force the user into edit mode on
> the first column.
>
> But I've noticed that if user column reordering is allowed, this no longer
> edits the correct column. This seems odd to me because I thou
Beautiful! Thanks.
--- On Wed, 4/7/10, David Duncan wrote:
From: David Duncan
Subject: Re: Character Map
To: "Ian was here"
Cc: "Apple Developer Mailing List"
Date: Wednesday, April 7, 2010, 5:40 PM
On Apr 7, 2010, at 4:28 PM, Ian was here wrote:
Does anyone know to programmatically bring u
I must confess, the framework sounds great. However, I'm a little new
at this, especially open-source. I can't seem to sort out from Apple's
guide on building open source binaries exactly how to do it. Could you
give or direct me to a guide on what exactly I need to do to get the
framework
Hi all
I've been fighting now with the AdressBook API for a while and found a
disturbing problem. Maybe someone can help.
I'm trying to use the AddressBook as my main person "database" in my
application. I've create a small function that accepts drag - drops from the
Address book to add a new
That may be true, but it's not directly related to the Finder graying out the
source file. As I said, it grays out the file when it itself starts copying it.
It has no way of telling when some other process is doing the copy.
--Jens {via iPad}
On Apr 7, 2010, at 5:16 PM, Lee Gillen wrote:
>
Check the README file for instructions on building it. If there's a way to
build it into a dynamic library, do that (most likely through some 'make'
command). Then you can add that library file to your Xcode project.
--Jens {via iPad}
On Apr 7, 2010, at 8:03 PM, Chase Meadors wrote:
> I must
I find it odd that the following happens:
In IB, go to Tools->Library, find the generic NSObject thing, and
place one into the nib file's object pool. Then go to
Tools->Inspector, find the identity inspector, and change the object's
class name from "NSObject" to something like "GPSManager."
Once
Hi:
I am getting this message.
Using two-stage rotation animation. To use the smoother single-
stage animation, this application must remove two-stage method
implementations.
I'm getting this message on a brand-new (created with 3.2 SDK) Tab
project-
there are *NO* two stage methods any
On Apr 7, 2010, at 10:19 AM, Keary Suska wrote:
> On Apr 7, 2010, at 9:14 AM, David Catmull wrote:
>> ..so I take it the particular NSSet variant used by Core Data doesn't
>> support observing @sum. Or did I do that wrong?
>
> Yes, because you are trying to observe an element of a set. Same goes
On Apr 7, 2010, at 3:44 PM, "Patrick M. Rutkowski"
wrote:
Is there a way to turn this IB feature off?
No. Just give the object a name. Much better than having a bunch of
nameless Custom Objects floating around.
--Kyle Sluder
___
Cocoa-dev mai
I went into the directory and ran configure and make. Everything looks
like it went okay, but what file am I looking for?
On Apr 7, 2010, at 10:28 PM, Jens Alfke wrote:
Check the README file for instructions on building it. If there's a
way to build it into a dynamic library, do that (most l
On Apr 7, 2010, at 8:37 PM, Chase Meadors wrote:
> I went into the directory and ran configure and make. Everything looks like
> it went okay, but what file am I looking for?
It depends. All projects are different. Did it create a “bin” or “lib”
subdirectory? (Did you check the readme file or
On Apr 7, 2010, at 10:50 PM, Ross Carter wrote:
> On Apr 7, 2010, at 11:52 AM, Martin Hewitson
> wrote:
>
>> Hi Kyle,
>>
>> At the moment it does nothing but call super. I was using it to handle
>> line-wrapping, but in the process of debugging this problem it's reduced to
>>
>> - (void)ins
I ran sudo make install, and it appears to have installed everything
in usr/local/include/taglib. Is that it? Am I ready to #include these
files in an Xcode project? What exactly do I #include? filename>? Sorry for all the questions, but you've been a lot of help.
On Apr 7, 2010, at 10:43 PM,
> 've been fighting now with the AdressBook API for a while and found a
> disturbing problem. Maybe someone can help.
>
> I'm trying to use the AddressBook as my main person "database" in my
> application. I've create a small function that accepts drag - drops from the
> Address book to add a n
I think UIButton is not designed for subclassing. You can try
composition, or create UIButton category method for custom-build
button. Apple has sample code in UICatalog to create custom-build
button.
On Wed, Apr 7, 2010 at 2:26 PM, WT wrote:
> Hello all,
>
> I need to create a custom bar of UIBu
>> I'm trying to use the AddressBook as my main person "database" in my
>> application. I've create a small function that accepts drag - drops from the
>> Address book to add a new person in my app. So far so good.
>>
>> I'm trying after to show in my application details about that linked perso
On Apr 7, 2010, at 9:05 PM, Chase Meadors wrote:
> I ran sudo make install, and it appears to have installed everything in
> usr/local/include/taglib. Is that it?
Those are the headers. The actual library itself must be somewhere else. (Check
/usr/local/lib.)
You’d need to add /usr/local/incl
On Apr 8, 2010, at 6:44 AM, john chen wrote:
> I think UIButton is not designed for subclassing.
That was my hunch as well.
> You can try
> composition, or create UIButton category method for custom-build
> button. Apple has sample code in UICatalog to create custom-build
> button.
A category o
OK, bug found.
A really silly mistake on my part but I think it's worth reporting in case it
saves someone else a headache.
My NSTextView subclass has syntax coloring which is called on receipt of
NSTextStorageDidProcessEditingNotification.
In the method that does the coloring, I had the fol
I've successfully subclassed UIButton with no problems. I my case I
wasn't interested in the "style" since I was implementing my own, so I
created my own class method which just calls initWithFrame:
+ (id)buttonWithFrame:(CGRect)frame {
return [[[self alloc] initWithFrame:frame] autorelease];
}
> If you want to use the existing buttonWithStyle: method, all you need
> to do is implement initWithFrame:, since that's the default
> initializer
Is the fact that -initWithFrame: is the designated initializer documented
anywhere? The docs for UIButton don't mention it. If this is documented and
Hi ,
Our application needs to log trace messages to a file for troubleshooting .
Currently once the file size reaches 10MB , we are creating a new file and
copying the last 4KB messages to the new file.But the requirement is to wrap
the file i.e to always keep the latest 10MB traces.
Any inp
85 matches
Mail list logo