On 2009 Jul 23, at 17:44, Ken Thomases wrote:
Do consider NSConditionLock as an alternative, though. It's likely
to be much simpler and more straightforward.
Indeed Ken is correct. I'll post the code tomorrow.
___
Cocoa-dev mailing list (Cocoa-de
I'll follow up on that tomorrow. Thanks,
Patrick
Hi,
I am using the following two methods for a scrolling number box which
is essentially a slider in the form of a NSTextField subclass. I have
yet to implement this for my custom sliders but maybe this is a good
starting point for you? When I
On 23 Jul 2009, at 03:57, Santosh Sinha wrote:
I have developing a calibration tool , but there is a little issue,
When i have done the calibration and go into the system preferences
and click screen saver test button , after that calibration is gone,
What kind of calibration are you attempti
On Jul 23, 2009, at 6:51 PM, I. Savant wrote:
On Jul 23, 2009, at 5:05 PM, Ben Lachman wrote:
The problem I'm having is that I can't find a decent way of
propagating index changes in the array controller back down to the
model. Does anyone have a good method of doing this?
I usually get
Actually, I think you'll need to cut in before the file wrapper gets
made - it looks like it does load the file content into memory.
So, instead, override - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:
(NSString *)typeName error:(NSError **)outError
and then you can get at the original URL
On 24/07/2009, at 5:46 AM, Korei Klein wrote:
I'm trying to use the document architecture in an application that
will create documents for some very big files. I'd like not to have
an entire file in memory at once. To use the document architecture,
I'm subclassing NSDocument and overridi
On Jul 23, 2009, at 6:03 PM, Agha Khan wrote:
I was unable to find where I have flipped the CGContextRef and
for some strange reason my text is flipped vertically. Any idea how
to reset CGContextRef?
Maybe it's a better idea to figure out where you're flipping the
context.
How are you d
Hi,
I am working on a animal encyclopedia on iPhone. One of the pages displays
one photo of an animal. When the user swipes the screen the image is
replaced with another one.
This works fine and when tested in the simulator with the Instrument for
Object Allocation, all looks cool.
When I tested
Hello, all ...
I need to be able to make an iPhone app read a PNG file and retrieve
the values of its' pixels. I know that libPNG can do this, but my
questions are:
1. does libPNG already exist on the iPhone, or do I need to compile it
as a .a and link with it?
2. are there Cocoa Touch
Hi there, I hope someone can help me with this.
I have an NSCollectionView set up in IB with a connected
NSCollectionViewItem and its View prototype.
What I want to do is draw a different colored background for a view in
the collection when the user mouses over it.
I tried to set it up us
Well you can't register to listen to SMSes, that hook just doesn't
exist. So if you rely on proving who someone is by sending something to
a specific phone (ie making use of the telephone companys vast network
ability to locate one device with that particular SIM card in it at that
point in tim
Hi:
I am rotating the text but sometime I would like to reset CGContextRef?
I was unable to find where I have flipped the CGContextRef and
for some strange reason my text is flipped vertically. Any idea how to
reset CGContextRef?
Agha
___
Cocoa-dev
On 2009 Jul 22, at 10:49, Stephen Smith wrote:
The frameworks used in the program are all within a build phase titled
Link Binary With Libraries and are also within a Frameworks folder
as a
part of the project.
But does it get built into the product? Right-click the product in
Finder, s
On Jul 23, 2009, at 6:44 PM, Jerry Krinock wrote:
I'd often like to block the main thread
First question is: why? Blocking the main thread is usually bad and
to be avoided. What are you actually trying to achieve? Can you give
an example of when that would be desirable?
while another
Completely transparent views (opacity 0.0) don't receive touch events
- you're not missing anything there. As you have found, a little
opacity is enough to catch them again. Depending on what's in your
view, you might be able to set the background color to [UIColor
clearColor] to get the sa
FTA:
Adding parent == nil to the fetch predicate in IB solves this problem.
Replace parent with your relationship name.
-Daniel
On Jul 23, 2009, at 3:32 AM, Daniel DeCovnick wrote:
Hi all,
Subject is pretty self-explanatory. The problem: I don't want that
behavior.
A little longer ex
On Thu, Jul 23, 2009 at 8:53 AM, Scott Ribe wrote:
> > ...most states require the consent of both
> > parties for one party to record the conversation.
>
> Actually, most states require the consent of only a single party. A handful
> of states (~10?) require consent of all parties. The point of co
I'd often like to block the main thread while another thread or
process performs a little task, but subject to a short timeout. A few
weeks ago, I was able to achieve this by "running" the main thread's
run loop while an NSTask completed. But I did this after hours of
experimenting and st
I think we can safely summarize in two points:
1 - It's a matter of opinion in some areas, a matter of law in others.
2 - This discussion has veered *way* off-topic for cocoa-dev.
--
I.S.
On Jul 23, 2009, at 7:29 PM, Rick Langschultz wrote:
It's also a gross violation of customer security
It's also a gross violation of customer security.
Sent from my iPhone
On Jul 22, 2009, at 8:55 PM, Chunk 1978 wrote:
iPhone apps are sandboxed, and are not able to run while a call
comes in.
On Wed, Jul 22, 2009 at 5:23 PM, Alfonso Urdaneta
wrote:
Mahaboob wrote:
If I developed this a
On Jul 22, 2009, at 12:46 PM, Thomas Wetmore wrote:
For the layout manager I must calculate the lengths of all the
labels to be used on a given form so I can lay them all out together
using Apple UI guidelines. To find the sizes of the label text I
create an NSAttributedString for each one
On Thu, Jul 23, 2009 at 3:00 PM, Brian Heibert wrote:
> How can I get my program to speak something
> like a string of text?
>
> I am writing this program in a BASIC language why is it relevant here
> because I am using _PASSTHROUGH code that
> is Objective C
>
> I can handle putting the code in
How can I get my program to speak something
like a string of text?
I am writing this program in a BASIC language why is it relevant here
because I am using _PASSTHROUGH code that
is Objective C
I can handle putting the code in the passthrough
but what I don't know is the Objective C code for spe
I'm trying to use the document architecture in an application that will
create documents for some very big files. I'd like not to have an
entire file in memory at once. To use the document architecture, I'm
subclassing NSDocument and overriding the readFromFileWrapper method.
As far as I can
I'm trying to use the document architecture in an application that will
create documents for some very big files. I'd like not to have an
entire file in memory at once. To use the document architecture, I'm
subclassing NSDocument and overriding the readFromFileWrapper method.
As far as I can
Hello.
I'm looking for some people to work with on a Open Source MySQL
connector for Obj-C since the one I found doesn't seem to be "work in
progress" anymore and is missing a lot of features introduced in Obj-C
2.0 like garbage collection and fast enumeration. (http://code.google.com/p/mys
I think because its not actually the "ScreenSaverEngine" that runs,
because its the ScreenSaverEngine app that sends these notifications.
So instead of hitting the test button try setting a hot corner and use
that...
/MK
On 2009-07-23, at 12:57, Santosh Sinha wrote:
Hello List,
I have
iPhone apps are sandboxed, and are not able to run while a call comes in.
On Wed, Jul 22, 2009 at 5:23 PM, Alfonso Urdaneta wrote:
> Mahaboob wrote:
>>
>> If I developed this application, will apple store approve this?
>
> Given the laws governing the recording of telephone conversations, probably
Hello,
I was attempting to compile some code when I got the following error:
[Session started at 2009-07-22 10:29:18 -0400.]
*dyld: Library not loaded:
@executable_path/../Frameworks/AVCVideoServices.framework/Versions/A/AVCVideoServices
*
* Referenced from:
/Users/steven/Desktop/Roboplasm/buil
I am writing a genealogy program that provides a variety of forms for
entering data from many sources, eg, censuses, marriage registers.
Instead of custom designing user input panels for each type of record,
I am using a specification file that describes the fields and tool
tips needed for
On Jul 23, 2009, at 5:05 PM, Ben Lachman wrote:
The problem I'm having is that I can't find a decent way of
propagating index changes in the array controller back down to the
model. Does anyone have a good method of doing this?
I usually get the array controller's -arrangedObjects as a m
Benjamin Rister wrote:
Question 2: Assuming TIFFRepresentation isn't unique, what's the
best practice to verify programmatically, say in a unit test, that
the output matches an expected output?
Subtract the test's output image from the reference image, pixel by
pixel, and look for any non
Thanks for your ideas Here is what I did:
Here is what I did. I set up KVO for the variable that I attached to
my NSSliderCell. When I made any changes to the underlying variable,
the obersever method would trigger. When you add an observer you can
retrieve the old and new values from t
You should look into the push notification API, it ends up being very
similar to SMS (e.g. small payloads) and is directly developer
accessible.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email: blach...@mac.com
twitter: @benlachman
mobile: 740.590.0009
On Ju
On Jul 23, 2009, at 3:00 PM, Benjamin Rister wrote:
Question 1: Is it normal for [NSImage TIFFRepresentation] to differ
from release to release on identical images?
Considering that there are several different variations on the TIFF
file format (e.g. big-endian vs. little-endian, 0 is blac
Well, before you worry about release differences, you should probably
worry about the "NSDeviceRGBColorSpace" - if you want consistency
between different platforms, I'd think you should be using sRGB, Adobe
RGB or similar.
Sandy
On Jul 23, 2009, at 11:00 PM, Benjamin Rister wrote:
We're h
I have a simple situation that I can't decide on a good solution to.
I have a model object that has an index property. These objects are
displayed in a simple table view which should be ordered by index.
This is easily done by adding a sort descriptor to the array
controller that feeds t
Oh, where:
range = max_slider_value - min_slider_value;
fineGrain = 0.125;
Stephen
On 23 Jul 2009, at 14:55, Stephen Blinkhorn wrote:
Hi,
I am using the following two methods for a scrolling number box
which is essentially a slider in the form of a NSTextField
subclass. I have yet to i
We're having problems where the same code is producing corrupt output
on certain OS versions but not others. We're trying to track this
down, but are running into issues trying to verify intermediate
results in the process, in particular NSImage data.
Question 1: Is it normal for [NSImage
Hi,
I am using the following two methods for a scrolling number box which
is essentially a slider in the form of a NSTextField subclass. I have
yet to implement this for my custom sliders but maybe this is a good
starting point for you? When I first dabbled with custom sliders all
I did
I have been there before, for a mobile banking project, and they don't
want to accept my suggestion to process all of the sms processing
(incoming / outgoing) on the server, in order for the iPhone app to
communicate with server only.
That would provide better user experience, because there's no n
Le 23 juil. 09 à 21:09, livinginlosange...@mac.com a écrit :
I am employing an NSSliderCell in my table view, and I want to slow
down the rate of change or increase the resolution of change using a
modifier key like commands as I drag. This is employed in a few
audio programs to assist a mi
I am employing an NSSliderCell in my table view, and I want to slow
down the rate of change or increase the resolution of change using a
modifier key like commands as I drag. This is employed in a few audio
programs to assist a mixer in fine tuning either volume or pan when
mixing. Where do
This is the method that works well for me. There is a bit of overhead
since you are looking at all classes but it still seems to be pretty
quick. Here is the quick and dirty routine as it works for me with
bits cabbaged from different sources. This IS NOT meant to be a
demonstration of prod
On Jul 23, 2009, at 1:15 AM, David Duncan wrote:
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
Any idea why the drawing is screwing up for the 2nd animation? Are
the 2 different methods of animating messing up each other somehow
(even though I've removed the 1st animation)?
This i
@ Jesse:
Yes the idea is to distribute the App through the AppStore, so I guess
I can't go any deeper.
The idea is that in the server there is gonna be a sms application
that will send the Authorization code to the registered iPhone that is
asking for it, then My app should take that acce
Alexander Bokovikov wrote:
Also I was sure that BAD_ACCESS exception should occur if not
initialized outlet is used to send a message to.
An uninitialized outlet is always nil. It is always legal to send
messages to nil, although some returned values may be undefined. Re-
read the basic
Hi Graham--
Thanks for the reply. Sorry about the thumbnail code. I was just trying to
get all of my other crap out of the way. The problem is, the reloadData
statement is throwing the error and
-(id)tableView:(NSTableView *)tableView
objectValueForTableColumn:(NSTableColumn *)tableColumn
On 24/07/2009, at 1:52 AM, Alexander Bokovikov wrote:
Also I was sure that BAD_ACCESS exception should occur if not
initialized outlet is used to send a message to.
Definitely not.
Uninitialized outlets are set to nil, and messages to nil are legal -
they simply swallow the messages. On
> ...most states require the consent of both
> parties for one party to record the conversation.
Actually, most states require the consent of only a single party. A handful
of states (~10?) require consent of all parties. The point of course
remains, that there are some legal restrictions.
--
Sc
On 23.07.2009, at 21:25, I. Savant wrote:
Is your "myTable" outlet connected to the table view?
I'm fool... :( sorry... I was pretty sure it is, but really it isn't.
Also I was sure that BAD_ACCESS exception should occur if not
initialized outlet is used to send a message to.
Fixed it
Are you sure
[myTable reloadData];
is being executed? reloadData will cause numberOfRowsInTableView to
be called.
On Jul 23, 2009, at 9:21 AM, Alexander Bokovikov wrote:
Hi, All,
So, I'm continuing :)
I've connected my NSTableView with AppController (in IB) setting
AppController, as
On Jul 23, 2009, at 11:21 AM, Alexander Bokovikov wrote:
[myTable reloadData];
...
Nothing happens when [myTable reloadData] is called within onTimer:
Is your "myTable" outlet connected to the table view?
--
I.S.
___
Cocoa-dev maili
Hi, All,
So, I'm continuing :)
I've connected my NSTableView with AppController (in IB) setting
AppController, as NSTableView's datasource. Then I've added a couple
of methods to the AppController to implement NSTableDataSource protocol:
- (int)numberOfRowsInTableView:(NSTableView *)tableVi
Hi,
I *KNOW* this must be something absolutely stupid I'm missing, but I'm
stuck with this:
I have an UIView that's supposed to display an explanatory overlay
image whenever it's touched. When the user lifts the finger, the
overlay should fade away. To accomplish this I do the following I
Right, but you can register your own url schemes which will launch
your app and let it handle the data. I've assumed that the SMS
displaying framework will parse out such URLs, realize they are
registered and put the correct hotlink into the message to launch your
app.
On Jul 23, 2009, a
The sms: URL on the iPhone only supports phone number, unless if
you're willing to go deep into the private API, but you couldn't
distribute your app into the App Store.
My advice is, better to install some kind of sms application or
gateway on your server, so your iPhone app could send the text i
On 23/07/2009, at 4:53 PM, syntonica wrote:
The entryArray is, of course, the dataSource for the tableView.
No it's not, if is an NSArray or related. NSArray does
not implement NSTableDataSource. Your (controller) code must implement
that, maybe by using or referencing an array. If is
Hello List,
I have developing a calibration tool , but there is a little issue,
When i have done the calibration and go into the system preferences
and click screen saver test button , after that calibration is gone,
i have try these screen saver notification ,
"com.apple.screensaver.didstar
Hi all,
Subject is pretty self-explanatory. The problem: I don't want that
behavior.
A little longer explanation: The data is a CoreData entity with a self-
referencing children-parent many-to-one relationship, which can go
arbitrarily deep. The problem is, when call addChild: or insertChi
You should check at the effect of reloadData to all your datasource
methods (numberOfRowsInTableView and so on)
laurent
On Jul 23, 2009, at 8:53 AM, syntonica wrote:
Hello Panel--
Ok, this is really annoying me. My app works fabulously on 10.4,
but on 10.5, gives an out-of-bounds array
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
newBounds.origin.x -= delta/2.0;
newBounds.size.width += delta;
newBounds.origin.y -= delta/2.0;
newBounds.size.height += delta;
BTW, you might want to look up the NSInsetRect() function.
-jcr
___
Nop you didn\'t miss understood the question, I will have a look at
the docs, because the idea is that once Im in my app, put the first
credentials, then the server will send me an authorizaiton code, and
the idea is to don't leave my app to get the data from the sms, but
the app fetch the
If you're trying to use data which has been sms'ed to your user, which
is something I've thought about doing before, the only way which I
thought it could be done is to register your own url for the application
and then have the sms you send include the data in a URL format, eg if
your app regi
Aha ok.. thanks.
I need to develop an iPhone app that fetches sms data form the sender,
the data are access keys, so I was wondering if tis possible to do
such an application.
I was reading the iPhone App programing Guide, and there is something
interesting, I can register my app with so
On Jul 22, 2009, at 10:05 PM, Randall Meadows wrote:
Any idea why the drawing is screwing up for the 2nd animation? Are
the 2 different methods of animating messing up each other somehow
(even though I've removed the 1st animation)?
This is working as expected (for the default case at lea
On 23.07.2009, at 12:55, Marco S Hyman wrote:
On Jul 22, 2009, at 11:38 PM, Graham Cox wrote:
My warning was of a very general nature, and may not apply to your
app. But every time you declare buffer space as a stack array, you
should mentally consider whether a buffer exploit might be pos
if your questions are Cocoa, Core Foundation etc related and about
released software (ie not iPhone OS 3.1), ask away.
you can try the apple iphone dev forums too if you like (but I dont find
them anywhere as nearly useful as this list)
Gustavo Pizano wrote:
Hello, I wish to know if this list
Hello, I wish to know if this list works also for iPhone developer, I
hadn't found one related to iPhone except the govIphone, that its for
goverment iPhone apps... so.. :S.
If this is the correct list to write then please let me know so I can
ask few questions related.. Im a mac developer
69 matches
Mail list logo