Let's say I have the usual Employee and Department entities.
Throughout my application I have to do fetching. I have simplified my code by
making a helper class called CoreDataHelper, which has all kinds different
helper methods, such as
+(NSArray *)employeesInDepartment:(NSManagedObject*)dep
Dear Kiel and Kyle,
thanx for answers and sorry for repeating the question. It was my first
objc code.
yours,
pg
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the m
On 18.07.2009, at 11:51, Chase Meadors wrote:
IB should sync with it's relative Xcode project if they are both
open. Are you actually saving changes to the AppController source
files after you edit them?
As I wrote, when I opened IB for the first time, "Actions" panel
already had "AppC
On Jul 16, 2009, at 1:13 PM, David Blanton wrote:
I have searched the list archives and Google to no avail in trying
to determine how the Kind value shown in the Finder is set.
My initial thought was that the UTTypeDescription entry under
UTExportedTypesDeclarations in the info.plist for a
Hi, All,
I have no idea of how to remove an action or an outlet from
AppController object, once added. For example, I've created
appropriate modules AppController.h and .m, then wrote necessary code
lines to declare an action stub and/or outlet. Then I open IB and drag
necessary objects,
On 17 Jul 2009, at 13:36, Joel Norvell wrote:
I believe the recipe you want involves shoe-horning the
scrollViewRect into its containing window.
Also, I might just be missing something, but isn't there usually a
NSClipView in the hierarchy somewhere?
Unfortunately it remains a private API. You can always file a Radar,
but such efforts have been futile in the past.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
Hi,
I've been looking for a public API for AirTunes without success.
Maybe I have the wrong name? Is it available under another name?
There are a number of apps out now that use AirTunes (VLC, Rogue
Amoeba's AirFoil, FireFly and others). Are they all hacking the
daap? Daap is pretty
Kyle Sluder wrote:
On Fri, Jul 17, 2009 at 7:00 PM, James Walker wrote:
I don't understand the question. It's static text, when is it going to
autosize?
When the user resizes the window.
OK, fair enough. The case I was looking at was not a resizable window.
--
James W. Walker, Innoventi
On Fri, Jul 17, 2009 at 7:00 PM, James Walker wrote:
> I don't understand the question. It's static text, when is it going to
> autosize?
When the user resizes the window.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Jul 17, 2009, at 9:08 PM, Development wrote:
I'm not trying to skirt around rules. Yahoo chat works on my
machine, So did msn years back when I had it and so does teamspeak
and ventrilo so I know there are ports out there that are free to be
used I'm just not sure how to go about choosi
I'm not trying to skirt around rules. Yahoo chat works on my machine,
So did msn years back when I had it and so does teamspeak and ventrilo
so I know there are ports out there that are free to be used I'm just
not sure how to go about choosing one or if I should just hard code
it. It's not
Kyle Sluder wrote:
On Fri, Jul 17, 2009 at 5:19 PM, James Walker wrote:
Is there a way to have an NSTextView that is not enclosed in an
NSScrollView? IB doesn't seem to want to let me. It would be for
displaying static rich text (certain things are harder, or maybe even
impossible, to do with
And works very well. I use it when traveling oversees.. Great for
making calls from the hotel and attending meetings.
Scott
On Jul 17, 2009, at 5:29 PM, Alex Kac wrote:
Only via the cell network. Skype exists now on the iPhone platform
on the App store. Via Wifi.
-- CEO WebIS
Sent from my
On Fri, Jul 17, 2009 at 5:19 PM, James Walker wrote:
> Is there a way to have an NSTextView that is not enclosed in an
> NSScrollView? IB doesn't seem to want to let me. It would be for
> displaying static rich text (certain things are harder, or maybe even
> impossible, to do with NSTextField).
Custom fonts. It's the only way to do it. UIFont does not support
custom fonts.
-- CEO WebIS
Sent from my phone
On Jul 17, 2009, at 1:05 AM, Scott Thompson wrote:
On Jul 16, 2009, at 1:30 PM, Michael Hoy wrote:
Hello all,
For various reasons I'd like to implement a method similar in
f
Only via the cell network. Skype exists now on the iPhone platform on
the App store. Via Wifi.
-- CEO WebIS
Sent from my phone
On Jul 17, 2009, at 7:18 PM, William Squires
wrote:
Not sure this'll get anywhere. IIRC, Apple expressly forbids VOIP
apps on the iPhone platform...
On Jul 8,
Is there a way to have an NSTextView that is not enclosed in an
NSScrollView? IB doesn't seem to want to let me. It would be for
displaying static rich text (certain things are harder, or maybe even
impossible, to do with NSTextField). I know I can turn off drawing of
the NSScrollView border
Not sure this'll get anywhere. IIRC, Apple expressly forbids VOIP
apps on the iPhone platform...
On Jul 8, 2009, at 11:34 AM, Janno Teelem wrote:
Hello,
Looking for an experienced Cocoa developer to join our Mac and iPhone
development team. You will be working on the Mac and/or iPhone
versio
but there will be persons like myself with draconian isp who block
gobs of ports and make it hard to for chat apps to work.
There are a lot of very good reasons for a Draconian policy like
that. :)
how can I, in a reasonably economic way, find an open port to talk on?
Are you trying to s
I'm working on a little chat app. It's going to function very similar
to a peer to peer app but across the internet. I have found the
information i need on creating a stream once I know the address. but
there will be persons like myself with draconian isp who block gobs of
ports and make i
I doubt Apple is going to port Cocoa/CoreData to Windows just for
iTunes database�
Not that I disagree, but what makes you think Cocoa doesn't already
work on Windows? Openstep worked on Windows before it worked on Mac
OS X. Cocoa is derived from Openstep.
Project Builder (the predecess
Le 17 juil. 09 à 22:39, Brad Gibbs a écrit :
Thanks for sharing your code, George.
Is there any way to access AirTunes with Objective-C / Cocoa or
AppleScript? I've seen some information on daap that allows the use
of AirTunes, but it's a private API, so I'm hesitant to use it, even
for
thanks!
that did the trick.
best,
wes
On Fri, Jul 17, 2009 at 1:31 PM, I. Savant wrote:
> On Jul 17, 2009, at 4:28 PM, Wesley Smith wrote:
>
>> Currently, if I click on the panel, it gets activated and
>> then I can drag the mouse around. How does one skip the activation
>> event and get straight
Thanks! I think using public.image and public.movie are going to work
just fine. I can now drop images and movies onto my app's Finder icon,
although not the Dock icon, yet.
Andrew
On Jul 16, 2009, at 3:00 PM, Mike Abdullah wrote:
Pretty certain you do need to this manually. One option could
Thanks for sharing your code, George.
Is there any way to access AirTunes with Objective-C / Cocoa or
AppleScript? I've seen some information on daap that allows the use
of AirTunes, but it's a private API, so I'm hesitant to use it, even
for my own personal projects. Although, given the
Dale,
I believe the recipe you want involves shoe-horning the scrollViewRect into its
containing window.
For an example, look at the DocumentWindowController's resizeWindowForViewSize
method in TextEdit (shown below).
HTH,
Joel
- (void)resizeWindowForViewSize:(NSSize)size
{
NSWindow *wi
On Jul 17, 2009, at 4:28 PM, Wesley Smith wrote:
Currently, if I click on the panel, it gets activated and
then I can drag the mouse around. How does one skip the activation
event and get straight to receiving mouse down/drag/up events?
See -[NSView setAcceptsFirstMouse:] ...
--
I.S.
_
Hi,
I have an NSPanel window in my app that I'm putting an OpenGL context
in. I want the panel to receive mouse drag events without having to
first click on the panel to activate it. I've not been able to find
any info on how to do this in the docs or through many google
searches. Currently, if
>
> On Jul 17, 2009, at 7:15 AM, Trygve Inda wrote:
>
>> Can I just drag a connection from the UIViewController in one nib
>> to the
>> view object in another nib
>
> No. You cannot make connection between nibs. I recommend reading up on
> using Interface Builder and nibs to get a better u
Hi everyone,
I already tried to look for this one on Google, but had no luck.
I have in my app a NSCollectionView that displays a sort of calendar
of events, represented by custom views. In these views I make the
delete X button appear on mouseEntered: and mouseMoved: events.
Everything works fine
Why are you doing this in code? You should be using IB to lay out your
UI.
--Kyle Sluder
___
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-
On Thu, 16 Jul 2009 19:52:03 -0400, Daniel Dickison > wrote:
> It's been a while since I dealt with this, but if I recall correctly,
> AppleScript gets you almost everything you can with the COM interface
> on Windows. The only exception was that you can't register to listen
> for player updates,
On Jul 17, 2009, at 4:21 AM, Andy Bell wrote:
Hi All,
How can I convert EventRef to NSEvent on 10.4? I am only interested
in
getting the equivalent value for [NSEvent characters] from the
EventRef.
If you have a kEventTextInputUnicodeForKeyEvent event, then the
Unicode character data
When I execute the application using the code excerpts shown below,
the vertical scroll bar never appears, whether I add enough text to
overflow the clip view, or resize the scroll view by resizing the
window so that the existing text no longer fits within the clip view.
All of the scroll v
On Jul 17, 2009, at 7:15 AM, Trygve Inda wrote:
Can I just drag a connection from the UIViewController in one nib
to the
view object in another nib
No. You cannot make connection between nibs. I recommend reading up on
using Interface Builder and nibs to get a better understanding o
>
> On Jul 17, 2009, at 9:39 AM, Trygve Inda wrote:
>
>>> Look at the table view programming guide for how to build custom
>>> table
>>> cells. Just think of each cell as a custom view. They can even be
>>> built in IB easily enough. Drag UITableViewCell objects into your nib
>>> and lay them out
Create a view based xib. In the generic view provided add all your
custom views including a UITableView. Don't drag a
UITableViewController - just the UITableView itself. Then be sure to
set the table views data source and delegate outlets to one or two of
your objects that will handle thos
On Jul 17, 2009, at 9:39 AM, Trygve Inda wrote:
Look at the table view programming guide for how to build custom
table
cells. Just think of each cell as a custom view. They can even be
built in IB easily enough. Drag UITableViewCell objects into your nib
and lay them out however you like.
Lu
> Look at the table view programming guide for how to build custom table
> cells. Just think of each cell as a custom view. They can even be
> built in IB easily enough. Drag UITableViewCell objects into your nib
> and lay them out however you like.
>
> Luke
>
> Sent from my iPhone.
So I want a
Hi All,
How can I convert EventRef to NSEvent on 10.4? I am only interested in
getting the equivalent value for [NSEvent characters] from the EventRef.
Thanks in advance
--
Andy
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
On 14 Jul 2009, at 21:12, Richard Holliday wrote:
We have a TeamCity build server setup to produce automatic builds
for our
cocoa application. We also code sign our apps but this part has to
be done
on a dev box as the build agent (OS X 10.5) doesn’t recognize the
certificate in the system k
>
> I need following functionality to be implemented in NSTableView.
>"Selecting Multiple cells of single column in
> NSTableView".
>
>I subclassed NSTableView and created class TestTableView.
>
>I have done following 3 things.
>
> ...
> 3) I created
43 matches
Mail list logo