Am 04.11.2011 um 00:31 schrieb Alexander Reichstadt:
> What's unexpected are two things:
> - my app still launches in English
> - the English.lproj contains the nib file I localized as e.g. MainMenu.nib,
> the German.lproj however still contains a MainMenu.xib
Make sure there is no MainMenu.nib
On 4 Nov 2011, at 01:01, Roland King wrote:
>
>
>
>
>> So, can I conclude from this that iCloud and core-data only works with SQL
>> store? The WWDC video hints at this, but was not explicit.
>>
>
> Not so. I have a core data app running using icloud and an XML store. This is
> ios by the
Sorry, perhaps I wasn't explicit. This is all on OS X, not iOS.
Martin
On Nov 4, 2011, at 12:39 PM, Mike Abdullah wrote:
>
> On 4 Nov 2011, at 01:01, Roland King wrote:
>
>>
>>
>>
>>
>>> So, can I conclude from this that iCloud and core-data only works with SQL
>>> store? The WWDC video h
Hello
Basically the question is about getting the NSRange of the line of
NSTextView where the text input cursor is currently in.
Word wraps are considered as legal 'new lines' - only one line should
actually be highlighted.
How could I do this (get an NSRange of a single line)?
Thank you
_
On Nov 4, 2011, at 7:39 PM, Mike Abdullah wrote:
>
> On 4 Nov 2011, at 01:01, Roland King wrote:
>
>>
>>
>>
>>
>>> So, can I conclude from this that iCloud and core-data only works with SQL
>>> store? The WWDC video hints at this, but was not explicit.
>>>
>>
>> Not so. I have a core dat
On Nov 4, 2011, at 1:41 PM, Martin Hewitson wrote:
>
> On 4, Nov, 2011, at 02:01 AM, Roland King wrote:
>
>>
>>
>>
>>
>>> So, can I conclude from this that iCloud and core-data only works with SQL
>>> store? The WWDC video hints at this, but was not explicit.
>>>
>>
>> Not so. I have a c
The NSLayoutManager will tell you. Try taking a look at the conceptual
documentation and some of the sample code for NSLayoutManager, and let me know
if you have any problems.
Douglas Davidson
On Nov 4, 2011, at 6:19 AM, Nick wrote:
> Hello
> Basically the question is about getting the NSR
Roland, thanks for the description. That's useful to know.
But now I seem to have broken the iCloud syncing. Is there a correct way to
'reset' the cloud for testing purposes? I tried deleting the app container
under 'Mobile Documents'. First on one machine (machine A), which resulted in
that ma
Here's some code that I've been using in an NSTextView subclass. It may be of
some use.
Martin
- (void) drawViewBackgroundInRect:(NSRect)rect
{
[super drawViewBackgroundInRect:rect];
NSRange sel = [self selectedRange];
NSString *str = [self string];
if (sel.location <= [str length]) {
On 4, Nov, 2011, at 03:06 PM, Roland King wrote:
>
> On Nov 4, 2011, at 1:41 PM, Martin Hewitson wrote:
>
>>
>> On 4, Nov, 2011, at 02:01 AM, Roland King wrote:
>>
>>>
>>>
>>>
>>>
So, can I conclude from this that iCloud and core-data only works with SQL
store? The WWDC video h
Hello,
I tried to use AV Foundation's playback capability.
So, by following AV Foundation Programming Guideline, it wrote codes for Mac. (
The document is written for iOS. )
Also, I looked up "View Controller" sample codes and "AnimatedTableView".
What is strange is that it doesn't return after
On 4 Nov 2011, at 00:29, Rick Mann wrote:
> Mike,
>
> Did you have any speculation as to why this might be happening?
Not especially, I mostly asked since it's an important detail which might
prompt others.
Have you any delete rules which are set to "No action"?
_
Subclass NSApplication and override this method:
- (NSEvent *)nextEventMatchingMask:(NSUInteger)mask untilDate:(NSDate
*)expiration inMode:(NSString *)mode dequeue:(BOOL)deqFlag
{
NSEvent *event = [super nextEventMatchingMask:mask untilDate:expiration
inMode:mode dequeue:deqFlag];
It turned out that it didn't like to instantiate an NSViewControl class in its
xib.
So, instead, I created it in the code and it made "loadView" returns.
However, I still have some problems.
Although audio is played, video is not played.
So, I changed its view class for setting player like this
On Nov 4, 2011, at 11:33 , Mike Abdullah wrote:
>
> On 4 Nov 2011, at 00:29, Rick Mann wrote:
>
>> Mike,
>>
>> Did you have any speculation as to why this might be happening?
>
> Not especially, I mostly asked since it's an important detail which might
> prompt others.
I think I'm seeing th
My iOS App Warp Life is an implementation of the Cellular Automaton
known as Conway's Game of Life:
http://www.dulcineatech.com/life/
The game takes place on a square grid. Each square is known as a
"Cell", with the Dead or Alive state of the Cell being indicated by a
single bit to conserve m
You're tripping across a fundamental aspect of how virtual memory works. For
example: what do you expect will happen if you do this on an iOS device (none
of which have more than 512*1024*1024 bytes of memory)?
void *x = malloc(1024*1024*1024);
assert(x);
The answer depends on w
On 5 November 2011 02:38, Dave Zarzycki wrote:
> You're tripping across a fundamental aspect of how virtual memory works.
[snip]
Also, watch what you're *really* allocating:
% cat ./malloc_test.c
#include
#include
#include
int main(int c, char **v) {
const size_t size[] = {2, 33, 1025, 4
On Nov 4, 2011, at 9:29 PM, Louis Romero wrote:
> Don't you bypass an objc_msgSend, then?
> Please tell me if I'm wrong.
> --
> Louis
Not if the functions end up sending the message through the runtime anyway,
which is apparently the case.___
Cocoa-d
On Nov 4, 2011, at 10:32 PM, Preston Sumner wrote:
> Not if the functions end up sending the message through the runtime anyway,
> which is apparently the case.___
Since part of the ARC spec requires objects to respond to -retain, -release,
and -autor
Hi
I have a application that prints a image of a page of document on paper. The
image is usually tiled and is provided as a set of 4 tiles representing the
entire image. Till now this is being done using Carbon printing APIs . The set
of functions calls and their order for printing a document i
Can someone simplify what these errors mean? I get this when I click a
button to play a video (download over internet on demand style). And
possibly related... a problem I'm having is that my video plays with no
audio. In fact the audio volume bar goes away completely on load.
Any pointers are app
Hi
I have a application that intends to print raster image of each page of a
document using NSPrintOperation. I am able to create a NSImage of a single page
and print it using NSPrintOperation as follows
-void printPage: (NSImage)nsImage
{
NSImageView *nsImageView = [[NSImageView alloc]
IIRC: Take a look at Temporary entitlements, there is one that will enable your
application to read/write to the entire user area. The bit I don't understand
is why it's marked as a temporary entitlement.
Thanks for supporting our software and have a great week.
Sam Rowlands
s...@ohanaware.com
Depending on what you are doing with iPhoto, could it be accomplished with
Apple Scripts? If so, there is a temporary entitlement that will allow you to
send Apple Scripts to a specific application such as iPhoto.
On Nov 1, 2011, at 2:06 AM, cocoa-dev-requ...@lists.apple.com wrote:
>> This is p
I'm trying to create a language binding into the Cocoa environment. And my
current problem is how to be able to determine when NSUserDefaults values have
changed. I've read through all of these a couple of times:
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Cl
Hey list,
i have a little problem with IOHIDDeviceOpen and Exclusive Access - when i call
this method kIOHIDOptionsTypeSeizeDevice option, it returns kIOReturnSuccess,
but i get no exlusive access. However, it works with the device manager, but i
just need to have exclusive access for one speci
I just moved to XCode 4, from the Mac OS 10.5 SDK to the 10.6 SDK, and
from Snow Leopard to Lion. A behavior that changed is that entering
invalid text into an NSTextField with an NSNumberFormatter causes the
entire field's contents to be erased rather than disallowing the bogus
character from bein
That looks about right. I'm still messing about with non SQLite stores but what
I'm assuming happens when you set the Ubiquitous* keys in the SQLite store
options and migrate, that creates the log files you need for iCloud synching. I
really need to go write a test app and mess with this stuff u
I wanted to drop a quick note to the list, the web interface is back online.
The biggest impact on many of you is that moderated messages can now be
approved. I just went through a approved all those in the queue. Some of them
might have already been solved, but better late than sorry.
Hopefull
On Oct 23, 2011, at 6:26 AM, Rahul Kesharwani wrote:
> I have a application that prints a image of a page of document on paper. The
> image is usually tiled and is provided as a set of 4 tiles representing the
> entire image. Till now this is being done using Carbon printing APIs .
The APIs you
On Nov 2, 2011, at 1:47 PM, Travis Griggs wrote:
> I'm trying to create a language binding into the Cocoa environment. And my
> current problem is how to be able to determine when NSUserDefaults values
> have changed.
> [...] I just want to know when a user changes a value found in the
> NSGlo
I was just turning off automatic KVO for one single property on my class and
went to implement +(BOOL)automaticallyNotifiesObserversForKey:(NSString*)key.
When I started to type, Xcode gave me a long list of possibles as it often does
.. at which point I realized there was one for each named pro
On Nov 4, 2011, at 22:51 , Roland King wrote:
> Then I went and looked in the documentation, couldn't find a reference to it
> anywhere in iOS, eventually found a note in the 10.5 Leopard release notes
> that that pattern had been introduced, that's the only documentation I can
> find on it any
34 matches
Mail list logo