Michael,
Do you have a link for the article ?
There wasn't one in your announcement ?
Thanks
-Mic
2009/5/31 Michael Swan :
> Part 2 of my tutorial is up for anyone that is interested.
> A Core Data Tutorial Part 2: Polishing the Basics
>
> Mike Swan
> ETCP Certified Entertainment Electrician
>
Hi,
I just dragged the label icon from the palette in IB onto my custom view ?
Thanks
-Mic
On Mar 14 2008, Kyle Sluder wrote:
On 14 Mar 2008 10:57:42 +, <[EMAIL PROTECTED]> wrote:
Hi,
I have implemented a custom view with drag and drop capability. When the
viwe is idle, the backgroun
14 2008, Kyle Sluder wrote:
On 14 Mar 2008 11:07:55 +, Mic Pringle <[EMAIL PROTECTED]>
wrote:
I just dragged the label icon from the palette in IB onto my custom
view ?
Ditch the NSTextField that you're currently using (that's what the
"label" is) and do the draw
Hi,
When I pop a blank cd/dvd Finder prompts a window asking what to do
with it ie which application to use to open it. I also know that you
can also set these preferences using the CD/DVD preference pane in
System Preferences.
However, what I'd like to know is if you can set these via Cocoa, and
Hi,
I hoping someone can point me in the right direction on this as I'm
really struggling to get it all to work.
I have a class which holds two NSString properties, an NSImage
property and an NSPredicate property.
I have an array that holds instances of this class, and an
NSArrayController hooke
Hi,
I've a subclass of NSTableView that draws a custom gradient
background. What I'd like to do now is to draw a slightly different
background when the window containing the custom NSTableView loses
focus.
Is this possible ?
If so, could someone please point me in the right direction ?
I know t
2009/2/25 Corbin Dunn :
>
> On Feb 25, 2009, at 2:58 PM, Mic Pringle wrote:
>
>> Hi,
>>
>> I've a subclass of NSTableView that draws a custom gradient
>> background. What I'd like to do now is to draw a slightly different
>> background when t
The combination of using notifications and invalidating the view works
just as I desired.
Thankyou for you help.
-Mic
2009/2/26 Corbin Dunn :
>
> On Feb 26, 2009, at 1:09 AM, Mic Pringle wrote:
>
>> 2009/2/25 Corbin Dunn :
>>>
>>> On Feb 25, 2009, at 2:58 P
Hi,
I have a couple of questions I was hoping someone could help me with.
First you should know, my application is in two parts, one part is a
daemon that runs in the background and the other part is a standard
gui.
1/ Is it possible to determine if your application is in the users
dock ? I know
Hi,
I've been searching around for sometime trying to find an example of
using sync services with Safari's bookmarks. Does anyone know of one,
or any information that may help with this particular task ?
Also, is it possbile to have a client sync with more than one other
client ? I have a user-ag
Hi,
I'm having a small problem with CoreData and SyncServices using the
Bookmarks schema (com.apple.bookmarks.Bookmark) located in
/System/Library/SyncServices/Schemas.
One of the entities of that schema is url, which is of type url, which
apparently maps to NSURL according to the Apple reference
One of the reasons I use a transformer is so that I can bind the
resulting string to a column in a tableview. How would I go about
doing this if I didn't use a transformer, as you suggest ?
Also, I think I may have got somewhere with this. I was under the
impression that it was the stored managed
Hi,
Is there a way (programmatically) that I can determine which document
types a particular application can open/view etc without resorting to
parsing it's info.plist file ?
Thanks,
-Mic
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
s when given an application (any
application on the host system) I'd like to determine what document
types it's associated with.
Thanks
-Mic
2009/3/12 Graham Cox :
>
> On 12/03/2009, at 9:48 PM, Mic Pringle wrote:
>
>> Hi,
>>
>> Is there a way (programmatic
Hi,
I've been looking into creating a singleton class to manage some
objects that I have that I'd like to be globally available. I've been
reading through
http://www.cocoadev.com/index.pl?SingletonDesignPattern and all looks
well except I now have the following question ...
I'd like my singleton
/3/13 Mike Abdullah :
> By definition, if it's a singleton, it will exist for the lifetime of the
> program; there is no risk of the notification centre sending messages to a
> now non-existent object.
>
> On 13 Mar 2009, at 10:31, Mic Pringle wrote:
>
>> Hi,
>>
&
e - if you're getting an applicationDidTerminate
> notification, why not just remove them there anyway?
>
> Sandy
>
> On Mar 13, 2009, at 12:54 PM, Mic Pringle wrote:
>
>> But I thought that it was best practice to remove yourself from the
>> notification center before terminat
Yep. This looks like the best solution. Will give this a go.
Thanks
-Mic
2009/3/13 Dave DeLong :
> Similarly, couldn't you have the singleton itself register to receive the
> applicationWillTerminate notification? I don't think it has to be done via
> the app's delegate.
>
> Something like:
>
>
I think in order for this to work you have to makesure you have a
key/value compliant getter & setter for the boolean value and then in
the code you have to use
[someObject setValue: ForKey:];
This will then notify any observers (i.e your array controller) that
the value has changed and update it
o give the user the option
to close any of these applications without having to leave mine. Is
this at all possible ?
Thanks,
-Mic Pringle
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comme
Have a look at the following ...
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html#//apple_ref/doc/uid/TP40001919
-Mic
2009/3/19 Chris Hanson :
> On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
>
>> I want to store a list of Strings as an at
You can do this quite easily ... just set the entity type as data, and
then leave the archiver as default. Then when you want to use the
array you just have to cast it into the correct type, and CoreData
will handle the unarchiving for you i.e
NSArray *myArray = [myManagedObject valueForKey:arrayK
Hi,
Can anyone recommend any open source projects that implement a custom
NSScroller, perhaps using images ? I'd like to have a look at some
examples of how this is achieved as I've had no luck so far, going it
alone.
What I'm looking to achieve is the look & feel of the new iTunes
scroller, but
Hi,
I would like to draw a custom table header, which should also be of a
custom size. What's the best way of approaching this ?
So far I've found NSTableHeaderView and NSTableHeaderCell for
subclassing, and it looks as though I should be able to subclass the
headerRectOfColumn: method in NSTable
Hi,
I've created a custom view to replicate the blue panel at the bottom
of the iPod Summary page in iTunes. All is well except that when I add
controls on top of this view (buttons etc) in IB, when the application
is launched the controls have thick gray borders around them until I
resize the win
Hi Mike,
That was it, thank you for pointing that out.
Changed all instances where I'd used rect to [self bounds] and it works a charm.
-Mic
2009/3/26 Michael Ash :
> On Wed, Mar 25, 2009 at 5:53 PM, Mic Pringle wrote:
>> Hi,
>>
>> I've created a custom view to
Hi,
I need help with implementing a popup menu in a custom view.
I have an NSCollectionView, and the prototype view draws an image,
some text etc. When the mouse is over the image a small bezel appears
with a gear icon on it (in a similar fashion to how the 'play' bezel
appears in iTunes when you
Hi,
Is anyone aware of any frameworks/classes that have been released that
allow you to return natural language from a date ?
What I mean by this is if, for example, I pass todays date it would
return 'Today', yesterdays date would return 'Yesterday', 25th March
08 would return 'Last week' etc
Hi,
Whenever I use a custom cell within an NSTableView, and color the
background different to the tables, there is a small white border (or
whatever I set the background color of the table to be) around the
cell, probably around 4px in height/width.
Is there a way to remove this 'padding' so that
Hi Dave,
I didn't notice that in the documentation ... but must admit with
hindsight that I've spent more time looking in NSCell's documentations
when I should have been looking at NSTableViews.
Just checked in the online docs and this looks exactly what I'm after,
thank you.
Cheers,
-Mic
2009
nt Demaret :
> Hello,
>
>
> Mic Pringle wrote:
>
>> any frameworks/classes that have been released that
>> allow you to return natural language from a date ?
> NSDateFormatter ?
>
> My firs answer on this list, l hope it's a good one...
>
__
Hi,
I have subclassed NSCell and implemented only the following method ...
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
{
NSImage *separator = [NSImage imageNamed:@"Separator.png"];
[separator setScalesWhenResized:YES];
[separator setFlipped:YES];
NSZeroRect
operation:NSCompositeSourceOver
fraction:1.0f];
Turns out the image was being drawn for each row, on in the same place
each time. Doh!
-Mic
-- Forwarded message ------
From: Mic Pringle
Date: 2009/3/31
Subject: Strange NSCell subclass is
Hi,
I have an NSView that hosts several CAlayers. Each layer composites an
image over the previous ones to build up a complete image (think
layers in Photoshop).
What I'd like to do now is get an image rep of what the user see's on
screen, the final image as it were.
I know I can use bitmapImage
Hi,
How would one go about creating a folder that would appear to the
finder as a bundle/package ?
In the app I'm working on, I need to implement this as the save
function generates more than one file, and is sort of a 'project' so
could have associated resources etc but I would like to use a cus
therefore I cannot see which attributes are getting set
?
Thanks
-Mic
2009/4/3 I. Savant :
> On Apr 3, 2009, at 6:25 AM, Mic Pringle wrote:
>
>> How would one go about creating a folder that would appear to the
>> finder as a bundle/package ?
>
> Have you searched the archives? T
e to the '/admin' address (which maps to
the index method) the user is authenticated ?
All I can see in those methods (index and app_index) is that the user
is taken from request.user ?
Any help will be greatly appreciated.
Thanks,
-Mic
-- Forwarded message ----------
Fro
Sorry, wrong list.
-Mic
2009/4/7 Andrew Farmer :
> On 07 Apr 09, at 02:50, Mic Pringle wrote:
>>
>> Could someone please explain (just a quick overview) how the
>> authentication process works for the Django admin site ?
>
>
>
> This doesn't appear to be r
Hi,
If I launch a process using NSTask, in this case a lightweight
webserver, will that process terminate when I close my application, if
the process is still alive ?
When I currently launch the server from the terminal, it only quits
when I hit ctrl + c.
Thanks
-Mic
___
Hi,
Does anyone have any ideas/examples/best practice suggestions on how
best to go about implementing code completion within a NSTextview ?
I've had a search via Google and CocoaBuilder but can't seem to find
anything relevant.
Thanks
-Mic
___
Cocoa
Hi,
I'm working on a project that accepts user input via an NSTextView
instance, but I would like to have a user-defined number of spaces
inserted when the tab key is pressed. Similar to how TextMate allows.
What is the best way to acheive this ? NSLayoutManager or key press events ?
Any help wi
Hi,
I'm working on an application that when first started you are
presented with a small window showing a number of options. When any of
these options are chosen, the window fades out the contentView whilst
at the same time replacing it with and fading in the new view. The
window also resizes to
Hi Trygve,
I had not thought of that. Does setting the alpha to 0 hide apply it
to the entire window then and not just the contentView ?
Thanks
-Mic
2009/5/13 Trygve Inda :
>> Hi,
>>
>> I'm working on an application that when first started you are
>> presented with a small window showing a numb
Ash :
> On Wed, May 13, 2009 at 4:20 AM, Mic Pringle wrote:
>> Hi,
>>
>> I'm working on an application that when first started you are
>> presented with a small window showing a number of options. When any of
>> these options are chosen, the window fades out the
Hi Daniel,
This looks like a great idea.
Having perused the page on your site (I can't test the framework at
the moment as I'm away from my Mac) it's not quite clear how the UI is
highlighted (is it done by actually drawing a red circle as shown in
the screenshots ?)
I feel it would be much clea
Hi,
Is it possible to use an icon other than the applications when using
[NSApp presentError:error] ?
I'm open to all suggestions.
Thanks
-Mic
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comm
demo video on the
> framework's page so you can get a better feel for that it's like.
>
> I have been wondering about how to add styled content to guides, and I think
> a WebView is a good idea.
>
> Thanks,
>
> -- Daniel
>
> On 19 May 2009, at 14:19, Mic Pringle
A week or two ago, a subscriber to this list announced a new framework
for parsing rss feeds.
I seem to have misplaced the email, and can't find the announcement on
CocoaBuilder.
Can anyone remember the link (I think it pointed to a Github repo) or
could the author perhaps come forward ?
Thanks
Hi Mike,
I really enjoyed reading this article. Any ideas on when part 2 will
be available ?
Cheers
-Mic
2009/5/22 Michael Swan :
> Just finished the first in a series of tutorials that takes a Core Data app
> from beginning to end including things like icons, and serial numbers.
>
> http://the
49 matches
Mail list logo