On Dec 10, 2010, at 9:38 PM, WT wrote:
> thank you both for the very fast response.
You're welcome.
> Is that behavior of NSScanner documented anywhere? I read the docs but don't
> remember coming across it. I'm a bit stunned. What's the point of having a
> scanner if it ignores certain key as
NSLog(@"%@", [NSUnarchiver
unarchiveObjectWithFile:@"/Users/facelap/Sites/Work/Data.archive"]);
Outputs: (null)
NSLog(@"%@", [NSDictionary dictionaryWithContentsOfURL:fileUrl]);
outputs:
{
"$archiver" = NSKeyedArchiver;
"$objects" = (
"$null",
{
Correction: I meant NSKeyedArchiver / NSKeyedUnarchiver
On 23/07/64 7:59 AM, Michael Robinson wrote:
Hi List,
I'm wondering if it is possible to extract all keys from a
Data.archive file that was saved with an NSArchiver?
Note I no longer have the source code that saved this file, hence my
des
yes, it's noise...
Also it's not just one, they're save files for an old program I made -
I'd like to be able to extract the data so I can save it in the format
used for more recent versions
Here's the contents of one of the files when opened with TextEdit:
bplist00‘
On 2010 Dec 07, at 17:14, kvic...@pobox.com wrote:
> i have a core data app … i have setGroupsByEvent set to NO
Wow, I've found that setGroupsByEvent:NO generally causes all hell to break
loose with Core Data – many warnings printed to Console, and exceptions raised.
I've made it a rule to ne
> yes, it's noise...
>
> Also it's not just one, they're save files for an old program I made - I'd
> like to be able to extract the data so I can save it in the format used for
> more recent versions
NSPropertyListSerialization could probably help too. If Property List
Editor can't parse it thoug
> Note I no longer have the source code that saved this file, hence my
> desire to extract the keys & information stored there.
Have you tried opening your archive in Property List Editor or
TextEdit? It's just a plist.
___
Cocoa-dev mailing list (Cocoa
Hi Greg and Ken,
thank you both for the very fast response. Is that behavior of NSScanner
documented anywhere? I read the docs but don't remember coming across it. I'm a
bit stunned. What's the point of having a scanner if it ignores certain key
aspects of the locale?
NSNumberFormatter is the
On Dec 10, 2010, at 9:06 PM, WT wrote:
> Note that the scanner returns the wrong result when the string to be parsed
> contains a '.' but I can't see why.
NSScanner doesn't understand group separators, regardless of locale. You want
to look into NSNumberFormatter.
Cheers,
Ken
___
On Dec 10, 2010, at 7:06 PM, WT wrote:
> I wrote some code to parse doubles from strings in a locale (pt_BR) where the
> grouping and decimal separators are "." and "," respectively (the exact
> opposite of en_US). It should be a piece of cake, but I'm not getting the
> correct results. Can some
Hi all,
I wrote some code to parse doubles from strings in a locale (pt_BR) where the
grouping and decimal separators are "." and "," respectively (the exact
opposite of en_US). It should be a piece of cake, but I'm not getting the
correct results. Can someone please tell me what obvious fact I
Hi List,
I'm wondering if it is possible to extract all keys from a
Data.archive file that was saved with an NSArchiver?
Note I no longer have the source code that saved this file, hence my
desire to extract the keys & information stored there.
Thanks
Mike
__
On 12/9/2010 4:25 PM, Kyle Sluder wrote:
[back on list]
On Thu, Dec 9, 2010 at 4:22 PM, Ariel Feinerman wrote:
Don`t worry, I know the C ;-)
I mean scheme of colors (where 0x000E is green, blue, so on)
Ohh. Sorry, can't help ya there. :) I'm sure someone's figured it out,
though. It also wou
Hi,
I have a UITableView, with a datasource using array of NSDictionary objects for
the view (it used to be more complicated, but I've changed it to track down a
bug).
I have a single method which builds the array of dictionary's:
- (void)reloadInspectionResults
{
if (dispatch_get_curr
I just heard an interesting program on "Fighting for Authentic Design":
http://www.abc.net.au/rn/bydesign/stories/2010/3087247.htm
Some of the links on my page were broken. Does anyone know what has happened to
the excellent screenfonts.ca site?
I have also added Courier to Courier New comparis
On 11 Dec 2010, at 11:02, Phillip Mills wrote:
> On 2010-12-10, at 5:38 PM, Ian Joyner wrote:
>
>> Is plain Courier not available on iOS?
>
> Courier is there but with the same problem.
How about other monospaced fonts? Monaco is the only other common one I can
think of (or Andale Mono):
http
On 2010-12-10, at 5:38 PM, Ian Joyner wrote:
> Is plain Courier not available on iOS?
Courier is there but with the same problem.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the lis
On 10 Dec 2010, at 21:36, cKyle Sluder wrote:
>
>
> [back on list]
>
> On Thu, Dec 9, 2010 at 4:22 PM, Ariel Feinerman wrote:
>> Don`t worry, I know the C ;-)
>> I mean scheme of colors (where 0x000E is green, blue, so on)
>
> Ohh. Sorry, can't help ya there. :) I'm sure someone's figured i
You say you're calling deselectRowAtIndexPath: -
tableView:willDeselectRowAtIndexPath: is only called when the row is deselected
due to a user action, but in this case it's due to a programmatic action, so
the delegate method won't be called. It sounds like what you want to do is to
do your bac
Hi All,
I have a perplexing yet, probably, very simple problem. I have a tableView
that when a cell is selected I pop in a different cell background (just a
little pizzazz) only problem is that it is all backfiring on me as my
willSelectRowAtIndexPath gets called fine and my funky image gets p
On 11 Dec 2010, at 07:16, Murat Konar wrote:
> Maybe CourierNewPS-BoldMT is not a monospaced font?
It sounds like one of those rip-off fonts that have polluted the font space. Is
plain Courier not available on iOS?
I have some links about fonts from one of my pages (click the 'here' links):
ht
On Dec 9, 2010, at 9:25 PM, Stevo Brock wrote:
> Hi All,
>
> I'm having trouble getting things set up so that I can tab between my
> NSTextViews properly. I have a window that has a TabView as the only
> top-level view. When I put 3 TextViews in the first tab, I have not yet been
> able to
On Dec 9, 2010, at 8:45 AM, Jesper Papmehl-Dufay wrote:
> Hi!
>
> I'm having a bit of trouble with the segmented control.
> I'm trying to use it as a group of check buttons (I set the Mode to Select
> Any in Interface Builder).
> This works fine as long as I don't set the Style to Textured Roun
On Fri, Dec 10, 2010 at 2:50 PM, Jon Sigman wrote:
> I have a Cocoa app that uses a dedicated thread to receive messages, and I
> would
> like that thread to post those messages as notifications so they can be
> processed asynchronously, outside my receiving loop (but not on the main
> thread).
>
A little more investigation:
On 2010-12-10, at 2:39 PM, Phillip Mills wrote:
> I've been having one of those "I must be doing something stupid" days.
[...]
> 2010-12-10 14:19:03.936 FontTest[1834:207] .1234567890123456789012. size:
> 317.00
> 2010-12-10 14:19:03.937 FontTest[1834:207] .
Maybe CourierNewPS-BoldMT is not a monospaced font?
_murat
On Dec 10, 2010, at 11:39 AM, Phillip Mills wrote:
> I've been having one of those "I must be doing something stupid" days. The
> code I'm trying to write needs to pad one string with spaces so that certain
> characters line up visual
I have a Cocoa app that uses a dedicated thread to receive messages, and I
would
like that thread to post those messages as notifications so they can be
processed asynchronously, outside my receiving loop (but not on the main
thread).
Looking at NSNotificationQueue, I'm totally confused by it.
I've been having one of those "I must be doing something stupid" days. The
code I'm trying to write needs to pad one string with spaces so that certain
characters line up visually with selected characters in a different string
(within a view). It seemed like a relatively easy task as long as I
On Dec 7, 2010, at 11:13 AM, davel...@mac.com wrote:
> I've written a few small personal Mac apps and one iOS app and now am
> attempting to write my first NSDocument-based Mac application. I would like
> the document itself to be a SQLite file (with specific tables for my app -
> not a generi
On Dec 10, 2010, at 7:33 AM, Remco Poelstra wrote:
> Hi,
>
> Instruments tells me that I've a reference to an object, while I believe that
> that reference should no longer exist (and the object be deallocated). How
> can I now find out what objects have references to my
> should-be-deallocat
Hi,
does anybody know how to implement with the proper code an
nsdatepickercell in a tableview? My app is core data based.
--Philip
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
Hi,
Instruments tells me that I've a reference to an object, while I believe that
that reference should no longer exist (and the object be deallocated). How can
I now find out what objects have references to my should-be-deallocated-object?
Kind regards,
Remco Poelstra
Hi,
Thanks.
But. This works with two views appearing as pushed. But I would like to have
animation for my next view controller.
But with two view controllers when other view controller shown, how could we
present that with similar animation.
// animate up view with fade
CATransition *animati
On Dec 10, 2010, at 6:52 AM, Tharindu Madushanka wrote:
> Hi,
>
> I would like to present my next view controller in a way that pushed in. But
> my first view controller is not a navigation controller.
>
> How could I do this. Is it possible ?
If you want a view to be animated in the same way
34 matches
Mail list logo