On Sep 6, 2009, at 14:37, Charles Srstka
wrote:
Why are you wanting to go around deleting files from the insides of
app bundles?
Maybe to see what happens if the bad guys try the same trick.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.co
On Apr 27, 2010, at 10:42 AM, vincent habchi wrote:
> There is a simple reason: the objects in the Managed object context get
> "represented" on a third window, whose contents are drawn from an Entity mode
> NSArrayController that prepares its contents automatically. If I add my
> temporary ob
MOGenerator (from Wolf Rentzsch) is one solution to this problem. It uses one
file for human-written custom code, another file for machine-generated
boilerplate code.
http://github.com/rentzsch/mogenerator
Hal
On May 21, 2010, at 4:53 AM, Gustavo Pizano wrote:
> Now if you have custom methods
Quartz Composer is very well suited for this sort of problem. Take a look at
the sample code and Xcode templates.
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
eBay item 220234875066 is at $1525 already, and not closing for
another 5 days!
Hal
___
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-admi
Just for the record--not mine, no idea who the seller is. Mine ain't
for sale!
Hal
___
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-adm
-validateMenuItem: is deprecated; you should probably be using -
validateUserInterfaceItem: (these are both methods, not functions as
you wrote). Where to implement it depends on what functionality
you're trying to control/limit. If I'm only allowing one document
open for read/write at a t
Correction: deprecated on NSDocument.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSDocument_Class/Reference/Reference.html#/
/apple_ref/doc/uid/2008-BBCDBJEF
Hal
On May 18, 2008, at 3:55 PM, j o a r wrote:
On May 18, 2008, at 3:46 PM, Hal Mueller
I had extremely good results from both the Cocoa Boot Camp and the
OpenGL Boot Camp. In both cases I arrived with very little experience
in the area and left with a couple of solid prototypes and having a
good, functional, but slow command of the material--I could function
on my own, find
Make sure you understand nil-targeted actions/File's Owner/responder
chain. That idiom might or might not be useful in this case. I can
picture sending various messages to nil that only the POSSocket class
will respond to, and have the POSSocket instance be the delegate of
your controller.
Those libraries don't work with 10.5.2 at the current patch level.
Installer throws "93C1 Required: The Debug and Profile Libraries for
Mac OS X 10.5 requires the specified build. Please check your build
number in About This Mac."
rdar://5904950
Hal
__
1. You really need to master the basics of Cocoa before you tackle
Core Data.
2. I would move "amount" over on the "Account" entity, and rename it
"balance".
3. See #1.
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
It's possible to save arrays using NSUserDefaults--technique is in the
archives, but it looked pretty daunting to me with a lot of chances
for me to screw things up. I chose to use a very simple CoreData
model for my array instead. It might be a bit of overkill, but
CoreData saved me a bu
Working from the simple NSXMLParser example from
http://weblog.bignerdranch.com/?p=48
I suggest you use parser:didStartElement:... to look for
and begin accumulating fields, and use parser:didEndElement:... to
note completion of first_name, last_name, etc and react accordingly.
In the simpl
My NSPersistentDocument app has two kinds of windows that can be shown
for a given document.
A few revisions back (I just noticed it last night, though), Type2
windows stopped showing up in the Window menu. I can create them, and
they respond to the "Bring All To Front" menu item. Type1 w
On Apr 8, 2008, at 2:31 PM, Michael Vannorsdel wrote:
Also make sure your windows don't have isExcludedFromWindowsMenu
set to YES.
Thanks, that was the clue to the fix. In IB I had accidentally
changed the class of the window to something that had that set to NO
by default.
Hal
_
Look at Malcolm Crawford's Graphics Bindings example, which contains
among other things two methods on GraphicsView to start and stop
observation when an object of that class is created or destroyed.
http://homepage.mac.com/mmalc/CocoaExamples/controllers.html
I use -removeObserver:forKeyPath
Maybe try
[[NSNotificationCenter defaultCenter] removeObserver:nil name:nil
object:self]
in your dealloc method? I think that will patch the symptom, but I
still don't understand why you're getting the original error.
This bit looks important though. Makes me wonder if you've got things
AMSerialPort is nice. I use it with USB-serial converters and with
Bluetooth serial devices.
http://www.harmless.de/cocoa.php
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to th
The installer wants build 9C31; it pops an error and exits when it
sees the wrong build. With current updates to 10.5.2, I am at build
9C7010.
rdar://5904950
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin re
Also see this sample code using libxml2, should there be some reason
you can't use NSXMLDocument:
http://inessential.com/?comments=1&postid=3489
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreDataVersioning/Introduction/Introduction.html
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo
It looks to me like you are sharing one MOC between two threads (the
web service update worker thread and the main thread). You need two
MOC's. Write from the worker thread to the worker thread's MOC, then
tell the main thread to refresh.
Hal
__
The "Late Night Cocoa" podcast episode on concurrent programming is
very helpful too--especially if you have seen the concepts in
operating system theory, but want a reminder of which Cocoa classes
correspond to those concepts.
http://www.mac-developer-network.com/podcasts/latenightcocoa/ep
Buzz Andersen has a nice sample that works for iPhone simulator and
device without code changes:
Blog post: http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
Source code: http://github.com/ldandersen/scifihifi-iphone/tree/master/security
Hal
__
25 matches
Mail list logo