Am 09.03.2009 um 06:49 Uhr schrieb Kenneth Ramey:
What method do I need to hook for this?
You typically start processing in your application delegate's -
applicationDidFinishLaunching: method.
Andreas
___
Cocoa-dev mailing list (Cocoa-dev@lists
Hello list,
Last few days I was trying to understand how symbol fonts (wingdings,
webdings X, etc) should be properly handled with cocoa text system. As
a good example could be Adobe Photoshop and Apple Pages. Both behaves
in the same way and I want to achieve the same result.
For example if I cho
On 9 Mar 2009, at 05:49, Kenneth Ramey wrote:
I am looking for information on the sequence of method invocation as
an application loads. For instance, Apple's documentation says that
awakeFrom Nib is called after the user interface loads but before
any events have been handled. I want to
Hi all,
sorry for bad subject line, again :)
I have a layer backed view, I am trying to add subLayers roughly sized
around 300 X 270 (in pixels ) to it,
its that the, sublayers count may reach upto the 1000 to 2000 in
number and not to mention each of sublayer is again scalable to
roughly
Anyone?
I have cleaned build this three times but not all the images are being
moved over?
Thank
James Cicenia
On Mar 8, 2009, at 8:43 PM, James Cicenia wrote:
OK -
It seems as though my builds aren't bringing over all my images. How
can I force the build to include all these images?
Try deleting the app off the device manually (by tapping and holding
so the icons go into "wiggle mode" and then tapping the x) and then
doing a clean build to the device.
-Mike
On Mar 9, 2009, at 9:57 AM, James Cicenia wrote:
Anyone?
I have cleaned build this three times but not all the
> I have cleaned build this three times but not all the images are being
> moved over?
Try this:
- right click on the errant files in XCode
- select 'targets'
- ensure that the checkbox is ticked
No idea if this will work - I'm new to all this.
Rgds - Paul.
_
A crash when trying to add your layer again after a call to
removeFromSuperlayer suggests that you're not retaining the layer and
it's been autoreleased. You either need to re-allocate each time or
retain it yourself. How are you allocating your CALayer inside of your
Layer object?
-Matt
Thanks Matt ,
I overlooked it completely .
simply changing
[CALayer layer]; to [[CALayer alloc] init]; solved the problem
after successfully making the changes I still see the problem exists.
CALayers are removed if they are no longer needed , but after adding
around 120 layers (I could see jus
Hello -
While testing on my phone, the iPhone just quits my app and doesn't
write a crash log or such.
How does one debug this?
Thanks
James Cicenia
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or mode
You should send such questions to the dedicated iPhone portal
discussion forums.
In fact, many of your questions should have gone there instead of this
list as they were not general Cocoa.
Sent from my iPhone
On Mar 9, 2009, at 10:41 AM, James Cicenia wrote:
Hello -
While testing on my
not sure I agree totally there. This particular question perhaps might
get a better answer on the iPhone portal forums but many of the iPhone
questions posted here are as relevant to general Cocoa as the
objective-C memory management, XCode building and other related
questions which are ask
On Mar 9, 2009, at 3:46 AM, cocoa-dev-requ...@lists.apple.com wrote:
On Sun, Mar 8, 2009 at 6:03 PM, Stuart Malin
wrote:
I'm building a Preferences window that has a toolbar, in the style
of Mail.
I need to know if the user clicks on a toolbar item to change the
pane. If
the current pane
On Mon, Mar 9, 2009 at 12:38 PM, Stuart Malin wrote:
>
> On Mar 9, 2009, at 3:46 AM, cocoa-dev-requ...@lists.apple.com wrote:
>
>> Could you simply reset the toolbar selection to whatever it was
>> before, then display your sheet and then manually set the selection to
>> the new one if the user ag
On Sat, Mar 7, 2009 at 9:37 PM, Jonathan Hess wrote:
> When using a 64-bit architecture, Mac OS X uses 32 bit integers, but 64 bit
> longs. NSInteger is defined as a long for 64, not an integer.
>
> When running 64-bit, you need to use %ld as the format option.
( bit width with 32b arch / bit wid
Good Day,
I'm in a MVC-induced contradiction here. I've read the archives and found
good answers to many of my questions, however it seems one thing kind of
escaped from being answered. I have Core Data Document Based app. Core Data
model contains entities that describe graph objects (nodes). Of c
On 3/9/09 12:49 PM, Karolis Ramanauskas said:
>What is the best way to store the coordinates, colors, all that UI
>stuff using core data?
You could use the various setMetadata: methods of NSPersistentStore and
NSPersistentStoreCoordinator.
--
_
I'm not sure if this is the most appropriate list for this question,
but here goes:
Can anyone recommend a good book to get started on iPhone
programming? I've been using Cocoa for several years now, so I don't
need a really basic starter book. I've looked at several books at
amazon.com. Has
> While I do realize that I will have to get this data into the Managed
> Context somehow in order for it to be stored automatically with the
> document, I want to be able to make my model completely and utterly UI
> independent.
You could have a NodeViewState, joined to the Node by a relationship
On Mon, Mar 9, 2009 at 2:45 AM, Donald Hall wrote:
> Can anyone recommend a good book to get started on iPhone programming?
...
> I've looked at several books at amazon.com.
Don't forget The Pragmatic Programmers (if you don't mind e-books):
http://www.pragprog.com/titles/amiphd/iphone-sdk-de
On Mon, Mar 9, 2009 at 1:49 PM, Karolis Ramanauskas wrote:
> I have Core Data Document Based app. Core Data
> model contains entities that describe graph objects (nodes).
...
> Of course I should be able to
> drag them around the screen all that stuff. But this is purely user
> interface stuff I
Thanks Sean, Benjamin and I. Savant for your responses so far,
>You could use the various setMetadata: methods of NSPersistentStore
and NSPersistentStoreCoordinator.
I thought metadata was meant to make stores searchable with spotlight? Is
this the correct usage? I claim ignorance here :)
>You co
Try to watch screencasts in iPhone developer center, and there are
some nice guys trying to create st similar (http://
iphonedevcentral.com). Go watch their screencasts as well. Other than
that, I'd recommend you to use Apple's documentations. It's pretty
detailed and well covered.
Cheers,
On Mon, Mar 9, 2009 at 3:04 PM, Karolis Ramanauskas wrote:
> Well, perhaps I didn't explain it well enough.
That's usually the case with technical posts. :-) You know your
project well. Nobody else does, though.
> Let's say, in the future I
> want to have a different View. In that case specif
I have been using NSKeyedArchiver's +archivedDataWithRootObject:
method to create archives. Now, I want to create and read the same
archives but using a instances of NSKeyedArchiver and
NSKeyedUnarchiver instead of the class methods (so I can do things
like set a delegate, for instance). Th
>
> STOP IT.
>
> That's right. Stop it.
>
> No no, just just stop it.*
I needed that, ;) I can't come up with a better way either, I've been
sitting and reading all this morning, my platonic MVC ideal a little
diminished... Perhaps this could be one-to-many relationship so I could
associat
On Mon, Mar 9, 2009 at 4:04 PM, Karolis Ramanauskas wrote:
>> STOP IT.
>>
>> That's right. Stop it.
>>
>> No no, just just stop it.*
>
> I needed that, ;)
Sometimes a comically cold splash of water helps. ;-)
> I can't come up with a better way either, I've been
> sitting and reading al
On Mar 9, 2009, at 3:59 PM, Paul Kim wrote:
I have been using NSKeyedArchiver's +archivedDataWithRootObject:
method to create archives. Now, I want to create and read the same
archives but using a instances of NSKeyedArchiver and
NSKeyedUnarchiver instead of the class methods (so I can do
Thanks for the response but your code changes the archive format. I
have existing files encoded already with the "root" key and
decodeObject: without a key won't do it. As mentioned before, yes, I
can specify the root key but it appears to not be official API.
Paul Kim
-
On Mar 9, 2009, at 8:47 AM, Michael Ash wrote:
On Mon, Mar 9, 2009 at 12:38 PM, Stuart Malin
wrote:
On Mar 9, 2009, at 3:46 AM, cocoa-dev-requ...@lists.apple.com wrote:
Could you simply reset the toolbar selection to whatever it was
before, then display your sheet and then manually set th
Hi,
I have a little app that needs a username & password to log into some
web service.
These user credentials should be stored permanently so that the user
doesn't have to enter them after each start of the application again.
What's the most common way to do this? In a .plist file? But how
You should look into EMKeychain made by Brian Amerige, same guy who
made Flow. It's handy.
- Steven Degutis
www.degutis.org
www.teachmecocoa.com
www.thoughtfultree.com
On Mon, Mar 9, 2009 at 4:32 PM, Stefan Wolfrum wrote:
> Hi,
>
> I have a little app that needs a username & password to log into
On Mar 9, 2009, at 2:32 PM, Stefan Wolfrum wrote:
I have a little app that needs a username & password to log into
some web service.
These user credentials should be stored permanently so that the user
doesn't have to enter them after each start of the application again.
What's the most co
On Mar 9, 2009, at 2:32 PM, Stefan Wolfrum wrote:
Hi,
I have a little app that needs a username & password to log into
some web service.
These user credentials should be stored permanently so that the user
doesn't have to enter them after each start of the application again.
What's the m
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
__
I want to test how well our background agent is restarted. I'd like to
programmatically induce a crash. What's a good way to do so?
TIA,
--
Rick
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator c
Yes ... sorry for the terse reminder, here's the standard info:
Agenda:
- Bob on optimizing your web site / web app for the iPhone & iPod Touch
- adjournment to O'Toole's
When:
Tuesday, March 10th, 7:00 PM
Where:
Apple Store
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote:
I want to test how well our background agent is restarted. I'd like
to programmatically induce a crash. What's a good way to do so?
TIA,
--
Rick
I'm not certain if you mean crashing use a Cocoa method, but this
should certainly cause a memory
Yeah, something like that. I didn't know if there was a more preferred
way.
Thanks!
On Mar 9, 2009, at 15:15:18, davel...@mac.com wrote:
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote:
I want to test how well our background agent is restarted. I'd like
to programmatically induce a crash. Wh
Hi Rimas,
Last few days I was trying to understand how symbol fonts (wingdings,
webdings X, etc) should be properly handled with cocoa text system. As
a good example could be Adobe Photoshop and Apple Pages. Both behaves
in the same way and I want to achieve the same result.
Probably the best
I am trying to get my one screen to work and I feel I am having a
memory issue that just causes my application to reboot.
Even though UITableView subclasses UIScrollView I was wondering if it
pages memory or such and would be better for my app.
Thanks
James Cicenia
Let me explain how I solved the same problem:
I have an application that stores large data files via Core Data. Multiple
users access the same data at different times, and each user has a preferred
way of visualizing the data. E.g. starting point, filter sets, color coding,
etc. all differ f
Killing it from the terminal is probably preferred, as it does not
require you alter the code.
Le 9 mars 09 à 23:17, Rick Mann a écrit :
Yeah, something like that. I didn't know if there was a more
preferred way.
Thanks!
On Mar 9, 2009, at 15:15:18, davel...@mac.com wrote:
On Mar 9, 20
> Wingdings is, if I remember correctly a bit strange as it is part of the
> roman character
space.
Yes, it's a Windows thing. So if you cut and paste Wingdings characters as
plain text, and the paste target is using a standard (i.e. non-Wingdings)
font, you will see ASCII characters, 'cos th
Hi Michael,
On 9/3/09, michael.suess...@utanet.at wrote:
When I execute the program and click on the add button, the
controller creates a new data record and I can enter the
attributes. If I press again the button, the add method is
called, but no new record is created.
I've had plenty o
Well it rather depends what you ask UIScrollView to do for you…
The most important thing is to recycle or dispose of views that are no
longer visible to the user. Care to explain more what your code is
actually doing?
Mike.
On 9 Mar 2009, at 22:27, James Cicenia wrote:
I am trying to get
On Mar 9, 2009, at 3:17 PM, Rick Mann wrote:
On Mar 9, 2009, at 15:15:18, davel...@mac.com wrote:
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote:
I want to test how well our background agent is restarted. I'd
like to programmatically induce a crash. What's a good way to do so?
I'm not certain
Hi Paul,
I have existing files encoded already with the "root" key and
decodeObject: without a key won't do it. As mentioned before, yes,
I can specify the root key but it appears to not be official API.
I hit the same problem a while back and never did find an official
way to solve this
Wingdings is, if I remember correctly a bit strange as it is part
of the
roman character space.
Yes, the "ding" fonts are rather strange in their handling of
characters. Wingdings will display symbol glyphs when applied to
characters in either the ASCII range (0-256) or the private use are
On 6 Mar 2009, at 02:24, Shawn Erickson wrote:
On Thu, Mar 5, 2009 at 8:58 AM, m wrote:
For the archives, the blog Torsten linked to had this bit of code:
double CGSSecondsSinceLastInputEvent(long evType);
double idleTime = CGSSecondsSinceLastInputEvent(-1);
You should note that those are
On Mar 9, 2009, at 16:52:09, Greg Parker wrote:
On Mar 9, 2009, at 3:17 PM, Rick Mann wrote:
On Mar 9, 2009, at 15:15:18, davel...@mac.com wrote:
On Mar 9, 2009, at 6:05 PM, Rick Mann wrote:
I want to test how well our background agent is restarted. I'd
like to programmatically induce a cr
On Mar 9, 2009, at 3:32 PM, Stefan Wolfrum wrote:
Hi,
I have a little app that needs a username & password to log into
some web service.
These user credentials should be stored permanently so that the user
doesn't have to enter them after each start of the application again.
What's the mo
On Mar 4, 2009, at 6:26 PM, Rick Mann wrote:
Can you guys suggest something I can use to submit crash reports to
my own servers (and perhaps to suppress Apple's CrashReporter)?
Hi Rick,
Check out Google's open source Breakpad project:
http://code.google.com/p/google-breakpad/
It works on M
>
> Most of my Core Data entities have a Data blob attribute which is actually
> and archived dictionary of "extra data." Each user's per-document view
> configuration is stored under keys within each blob. The Data blobs start
> out nil which just defaults to something reasonable in each view.
I have a listing of approximately 100 lines. Within each line I create
a visual calendar that has up 24 images. These images are tiny.
However, I have proved to myself that it is a memory issue and calling
didRecieveMemory warning. This view has two tabs on top which allows
you to switch betw
On 10/03/2009, at 6:59 AM, Paul Kim wrote:
I have to encode the object with the undocumented "root" key.
And yes, for practical reasons, using the "root" key will work
because of backwards compatibility but it would be nice if there
were an official way to do this (or some semi-official w
I have a NSPopUpButton list, which contains name of timezones.
When I construct the popup button, I get the list of the timezone using
[NSTimeZone knownTimeZoneNames]
and then constructed another array using [NSTimeZone timeZoneWithName:name]
So, basically, the popup button has the list of NSStrin
On Mar 9, 2009, at 9:33 PM, Jushin wrote:
So, basically, the popup button has the list of NSString of timezone
name.
However, when I launch my application, I would like to make my
application automatically select current system's timezone from the
list.
Also, when a user select a timezone fro
Hi all!
I've just released a piece of open-source software (BSD license) as
both a framework and an Interface Builder plugin, called InspectorKit.
It's intended to give you the ability to create an inspector at design
time, which mimics the aesthetics and functionality of many found in
Leopard. Yo
On 10/03/2009, at 3:30 PM, Nick Zitzmann wrote:
On Mar 9, 2009, at 9:33 PM, Jushin wrote:
So, basically, the popup button has the list of NSString of
timezone name.
However, when I launch my application, I would like to make my
application automatically select current system's timezone fro
On Tue, Mar 10, 2009 at 1:12 AM, Ron Fleckner
wrote:
> Or just get the time zone from the name of the item:
In general, tying constant identifiers to UI elements like this is a
very bad idea; it makes localization very hard and introduces stronger
coupling between the UI and your code.
In this s
61 matches
Mail list logo