Hello, list. I am a hack programmer, so forgive what is probably an
obvious question. I'm working on a core data document based app that
uses bindings I've created in IB to control a master / detail
interface. Briefly, in XCode's xcdatamodel, there is a Person entity
with a name (String) an
Hello. I have an iPhone app (SDK 4.3) that uses symmetric key encryption (AES
256, through the CommonCrypto library). I have the parameters set to use pkcs7
padding, and an iv of all zeros (CBC mode). My question (somewhat off the
lists's topic, I'm afraid) is that I need to help our IT people g
OpenSSL is available for Windows, but I can't see how to feed it an encryption
key, just a passphrase which is (apparently) converted to a key. However, since
CommonCrypto's CCCrypt uses the key directly, that's what I've got.
I'll check Cygwin out. Thanks. (Anyone know how to feed OpenSSL a key
Hello. After further pain, I found the solution: openSSL allows -K (for the key
in hex) and -iv (for the initialization vector in hex). (BOTH must be supplied
if -K is used.) Consider this thread closed. Thanks to those who assisted.
-Dan___
Cocoa-dev
Hello, List. I am a novice with CoreData and bindings and I've stumped
myself with this problem. I have created an xcdatamodel that contains
3 objects: an Account object with a relationship property
authorizedUsers, which is a to-many relationship with a Person object.
The Person object has
I'm posting this simply because I *thought* I had looked through all
of Apple's "bindings for beginners"-style documentation, but hadn't
seen this sort of dependent controller setup described. Sorry if it's
obvious or redundant
In the spirit of (finally) answering my own question (and i
Dear List,
I am still learning bindings and CoreData, but I have recently completed
another relatively basic program using both these technologies. I learn best by
seeing other people's code, so in that vein, I'm posting my source (iCredit is
the newer program, but Billing Project also uses thes
Hello List,
I am writing a CoreData app with an entity controller bound to an NSTableView,
with the bindings created programmatically. Periodically, the program creates a
new NSManagedObject, sets default values, and adds it to the MOC. This works
fine. However, the NSTableView does not update i
Sorry. It was NOT the NSTableView's problem. I neglected to add:
[[self managedObjectContext] processPendingChanges];
after the NSManagedObject was created. Please disregard the previous post.
Best Regards,
Dan
___
Cocoa-dev mailing list (Cocoa-dev@li
Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and I need
it to display time in a 24-hour time mode. After reading Apple's docs and
searching the Web, I can't seem to find a way to make this happen. I have
attached an NSDateFormatter in IB and specified 24-hour time (HH:MM)
>
> On Jan 8, 2010, at 3:12 PM, Daniel Wambold wrote:
>
>> Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and I
>> need it to display time in a 24-hour time mode. After reading Apple's docs
>> and searching the Web, I can't seem
> Daniel Wambold (wambo...@gmail.com) on 2010-01-08 6:12 PM said:
>
>> Hello. I have an NSDatePicker (NSTextFieldAndStepperDatePickerStyle) and
>> I need it to display time in a 24-hour time mode. After reading Apple's
>> docs and searching the Web, I can'
Sean-
I changed the Apple Menu > System Preferences > Date & Time > Use a 24-hour
clock setting. However, as I mentioned, I'd really prefer not to make this a
system-wide change. I just find it odd that there would be no programmatic way
to change the NSDatePicker to a 24-hour clock. If there is
Dear List,
I have an NSPersistentDocument app using CoreData for storage. I have three
NSArrayControllers to mediate between the three Entities in my Model and three
NSTableViews. Everything works fine until I load a previously saved file. At
that point, the controllers seem to have no content
Quincey-
I have not created a controller in code, to my knowledge, so I don't know how
I'd have two. (I had, previously, made this error by creating an instantiation
of NSDocument in IB, but I realized the error in my ways and cleared that up, I
believe, by resetting the File's Owner to the MyD
I have an NSTableView that I populate with columns programmatically. I use the
following to establish the header titles:
NSTableHeaderCell *myGenericHeaderCell = [[[NSTableHeaderCell alloc]
initTextCell:myTableColumnTitle] autorelease];
[myGenericHeaderCell setAlignment:NSCenterTextAlignment];
[
> On Jan 19, 2010, at 3:30 PM, Daniel Wambold wrote:
>
>> I have an NSTableView that I populate with columns programmatically. I use
>> the following to establish the header titles:
>>
>> NSTableHeaderCell *myGenericHeaderCell = [[[NSTableHeaderCell alloc]
>
I have run up against an apparent 10.6.2 bug in the NSTableView object.
Specifically, if NSTableViewSelectionHighlightStyleNone is set, the tableView
causes Assertion failures and other problems. Below is some code demonstrating
the problem. In any event, I need to emulate the None style for hig
Corbin-
Looks like
[myTableView setAllowsColumnSelection:NO];
stopped the crashing for now (I'm sure I've made plenty of other mistakes that
are lurking in the dark) Thanks for the tip!
-dan___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
Previous problem solved:
A few weeks ago, I posted a question pertaining to trouble I was having when
tableView column header cell titles contained period (.) characters. After
working around it, I recently discovered the source of my problem and I figured
I'd post just in case anyone else stumb
OK, first, thanks to Quincey for pointing out the document on KVO/KVB key
requirements. Since I've made several mistakes along the way, I figured I'd ask
if this seems adequate to ensure conversion of arbitrary strings (keyboard
entered) into compliant keys. The code subsequently checks to ensur
Dear List,
I am using manual retain count memory management (started long before ARC was
available) for an iOS app. I have a UIDatePicker in an .xib file with its
File's Owner set to a custom class, MyTimeDatePickerVC. The MyTimeDatePickerVC
inherits from UIViewController, and has an IBOutlet a
Sorry, I should have been more precise: The problem is progressive memory
growth each time the ViewController is displayed. If I add the [release], the
memory footprint reverts to its pre-viewcontroller display level each time the
VC is dismissed.
-Dan
___
Quincey Morris wrote:
>
>> I have a UIDatePicker in an .xib file with its File's Owner set to a custom
>> class, MyTimeDatePickerVC. The MyTimeDatePickerVC inherits from
>> UIViewController, and has an IBOutlet attached to the UIDatePicker.
>
> What does the IBOutlet declaration for the UIDateP
Kyle Sluder wrote:
> On Sun, Jun 16, 2013, at 05:00 PM, Daniel Wambold wrote:
>> Quincey Morris wrote:
>>>
>>>> I have a UIDatePicker in an .xib file with its File's Owner set to a
>>>> custom class, MyTimeDatePickerVC. The MyTimeDatePickerVC i
> On Jun 16, 2013, at 9:08 PM, Quincey Morris wrote:
>
> On Jun 16, 2013, at 17:29 , Kyle Sluder wrote:
>
>> For this reason, that document recommends you use a weak declared
>> property for outlets to non-top-level objects. You should probably
>> follow that recommendation.
>
> Under the circu
Mike-
I have hacked together a brief sample app illustrating how I prefer to do
password authentication. It does not use the keychain, which can be useful as
well. If it's of any interest or use, feel free. It's called "MyAuthenticator,"
which is the first thing listed on the page below. If I un
Feb 13, 2014, at 5:58 PM, Jens Alfke wrote:
On Feb 13, 2014, at 2:28 PM, Daniel Wambold wrote:
> I have hacked together a brief sample app illustrating how I prefer to do
> password authentication. It does not use the keychain, which can be useful as
> well. If it's of
28 matches
Mail list logo