That's how I do it. I also use setValue:forKey: when passing
NSLocalizedString()
-Steve
On Sep 3, 2009, at 5:05 PM, Oftenwrong Soong wrote:
Hi all,
Why does NSUserDefaults provide method stringForKey but not a method
setString:forKey (akin to setBool:forKey, setFloat:forKey, etc.)?
Any takers on the subject of iCal delegated calendars and the
CalendarStore? I may file a bug.
-Steve
On Jun 22, 2009, at 11:47 PM, Steven Riggs wrote:
Hello all,
Is it a bug or by design that the CalendarStore will not pick up
delegated calendars? I've googled all night without
Hello all,
Is it a bug or by design that the CalendarStore will not pick up
delegated calendars? I've googled all night without an answer. Thanks
in advance!
-Steve
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
I directly bind my UI to the shared user defaults controller and I use
key value observing to watch for changes.
Steven Riggs
On May 20, 2009, at 6:24 PM, Rick Mann wrote:
How useful is it to bind (in IB) to NSSharedUserDefaultsController,
in practice? I have a couple checkboxes bound
Maybe try a value transformer?
All the best,
Steven Riggs
http://www.stevenriggs.com
On May 17, 2009, at 9:58 PM, Walker Argendeli wrote:
I have a table with a priority column. For each row, I want this
column to display a number of exclamation marks corresponding to the
Core Data
Check out the sample code here that demonstrates storing a dictionary
in defaults with no code.
http://idisk.mac.com/steven.riggs-Public?view=web
I hope it helps...
Steven Riggs
On Apr 28, 2009, at 11:04 AM, Ryan Briones wrote:
I'm a relative newb when it comes to cocoa programming
You were right there. All you have to do to get it to work is check
'Handles content as compound value' on the array controller content
array binding.
All the best,
Steven Riggs
On Apr 28, 2009, at 10:02 PM, Ryan Briones wrote:
Hey, thanks! I actually ran across your code last night
Make a class with IBOutlets to each tableColumn and in code, tell the
tableColumns if they should be hidden. I'm not aware of an IB only
solution for this one.
Steven Riggs
On Apr 26, 2009, at 12:42 AM, David Scheidt dsche...@panix.com wrote:
I've got a 10.5 app, which has a bunch
Hey Frank,
I have a sample project that stores dictionary objects in user
defaults with no code. Check it out: http://idisk.mac.com/steven.riggs-Public?view=web
DictionaryInDefaults.zip
I hope it helps.
Steven Riggs
http://www.stevenriggs.com
On Mar 18, 2009, at 8:14 PM, Frank D. Engel
It's a little dated but check out the cocoacast video on sparkle:
http://www.cocoacast.com/?q=node/49
Steven Riggs
http://www.stevenriggs.com
On Dec 2, 2008, at 7:00 AM, Arnab Ganguly wrote:
Hi All,
Can you tell me where can I get sample project with multiple nib
files which
uses Sparkle
Here's an example of how to do it with no code...
http://www.stevenriggs.com/Site/Cocoa_Programming.html
Good luck,
Steven Riggs
On Dec 1, 2008, at 8:08 PM, [EMAIL PROTECTED] wrote:
Hey All-
I'm working on a Preference Pane for my app (System Preferences
plugin) and need to write
Something like [string stringByReplacingOccurrencesOfString:@\n
withString:@ ] should do the trick
Adios!
Steven Riggs
On Nov 14, 2008, at 6:18 PM, Jordon Hirshon wrote:
Is there an NSString function that would remove all of the '\n'
chars from an NSString?
I'm trying to concatenate
/documentation/Cocoa/Reference/ApplicationKit/Classes/NSButton_Class/Reference/Reference.html
...to learn what kind of messages you can send to it.
ex. [theButton setTitle:@send steve money];
:-)
Good luck,
Steven Riggs
On Nov 15, 2008, at 7:04 PM, Mikael Wämundson wrote:
Am a quite a newbie
Sure it will but use an array controller to link up the array with the
table view.
Steven Riggs
On Nov 11, 2008, at 9:15 AM, Andrew wrote:
Hi, I have read some documents about the Cocoa Bindings. And I got a
question here for more comments.
If I use the cocoa binding technology in my
You should try setObject:forKey: instead of registerDefaults:
also... If you are using an array controller to handle the array in
your user defaults, add your userDict object to the array controller
instead of writing to defaults.
Steven Riggs
http://www.stevenriggs.com
On Nov 10
Check out a code sample (using no code, just IB)...
http://idisk.mac.com/steven.riggs-Public?view=web
-Steve
On Nov 9, 2008, at 2:41 PM, Andre Masse wrote:
Thanks for your reply Steven,
I've tried that but no luck. I get the following error:
[NSCFData 0x804a00 valueForUndefinedKey:]:
is checked here.
I think you need to archive and unarchive when you read and write each
key in your dictionary.
Good luck,
Steven Riggs
On Nov 9, 2008, at 1:09 PM, Andre Masse wrote:
Hi,
I'm having difficulties binding (in IB) my application's preferences
to NSUserDefaults. It's easy to bind
);
Cheers!
Steven Riggs
http://www.stevenriggs.com
On Nov 4, 2008, at 6:13 AM, Mahaboob wrote:
Hi,
My TableView contains some columns. I need to access all the column
values
of all selected rows. So I coded like:
NSString*content;
for(i=0;i[tableView numberOfRows];i
One quick correction... I just noticed that you wanted selected
objects so the first line should be...
NSArray *array = [yourArrayController selectedObjects];
Cheers!
Steven Riggs
http://www.stevenriggs.com
On Nov 4, 2008, at 11:46 PM, Steven Riggs wrote:
You would think that would work
something yourself only to discover soon after that there
is a standard method to do the job. The dataCellForRow: sent me on a
wild goose chase too. It was still pretty easy though once I figured
out how to correlate the view arrangement with the array data.
Steven Riggs
On Nov 4, 2008
Turn on garbage collection and see if it starts working.
-Steve
On Oct 25, 2008, at 9:06 PM, Luke Evans wrote:
Hello list denizens.
I've just created some UI with an NSDrawer attached to a regular
window. I've done this before a while back and everything worked
fine. I thought
Typo, I meant turn off garbage collection and see if it starts
working.
oops
-Steve
On Oct 25, 2008, at 9:06 PM, Luke Evans wrote:
Hello list denizens.
I've just created some UI with an NSDrawer attached to a regular
window. I've done this before a while back and everything
value is checked here.
Good luck,
Steven Riggs
http://www.stevenriggs.com
On Oct 19, 2008, at 5:16 PM, Todd Ouzts wrote:
Not sure how to best join a thread since there's no Reply link on
Apple Mailing Lists, but...
I've been struggling to do what Daniel wants for a week and can't
This should get you in the right direction..
http://developer.apple.com/samplecode/SourceView/index.html
-Steve
On Oct 15, 2008, at 12:59 PM, Jushin wrote:
I would like to add a left pane (I don't know what to call this) as in
iTunes or Apple Mail.
In this pane, I want make place a library,
effects. Maybe show some more code?
Best Regards,
-Matt
p.s. Don't assume animationDidStop never gets called. Set a
breakpoint or call NSLog() to be sure. ;-)
On Oct 10, 2008, at 6:53 PM, Steven Riggs wrote:
I'm enabling a core animation when I replace a subview and I want
the animation
and other fun fade effects. Maybe show some more code?
Best Regards,
-Matt
p.s. Don't assume animationDidStop never gets called. Set a
breakpoint or call NSLog() to be sure. ;-)
On Oct 10, 2008, at 6:53 PM, Steven Riggs wrote:
I'm enabling a core animation when I replace a subview and I want
I'm enabling a core animation when I replace a subview and I want the
animation layer to go away when the transition is finished so I don't
have the blinky window resizing and other fun fade effects that I
don't want.
I have a problem with my code. The first time I changeRightView the
of the selectedView buttons pressed?
if([keyPath isEqual:@AppleMeasurementUnits])
{
//Stuff to do when AppleMeasurementUnits changes
}
}
All the best,
Steven Riggs
http://www.stevenriggs.com
NSUserDefaultsDidChangeNotification
On 09-Oct-08, at 5:51 PM
28 matches
Mail list logo