I need something like Lucene to do an optimized full text search in Cocoa. I am working on an Iphone app to search through a database.
Anybody has any luck with other databases. Any help is appreciated.
So far, I can only find this.
http://github.com/tcurdt/lucenekit/tree/master
...
When using glBegin() and glEnd() in opengl you are able to set and change the color between each glVertex3f(). How can you recreate this behavior when using a vertex array and glDrawArrays(). Here it is in regular opengl.
for(angle = 0.0f; angle < (2.0f*GL_PI); angle += (GL_PI/8.0f))
{
// Calculate x and y position of the next v...
My app launches in landscape mode correctly and works great:
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
if(interfaceOrientation == UIInterfaceOrientationPortrait)
return NO;
if(interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIIn...
Suppose I have created a UIView, MyView, in Interface Builder, and I have hooked it up (set its File's Owner) to my UIViewController class, MyViewController.
Now, I would like to present view. It's just another view, so I don't want to present it as a modal view.
How do I go about displaying it? Should I add it as a subview of my win...
So I'm stumped on this one.
In Mac OS X there is an easy way to get the "Me" card (the owner of the Mac/account) from the built-in address book API.
Has anyone found a way to find out which contact (if it exists) belongs to the owner of the iPhone?
...
Hello:
I am parsing an XML file for two elements: "title" and "noType". Once these are parsed, I am adding them to an object called aMaster, an instance of my own Master class that contains NSString variables.
I am then adding these instances to an NSMutableArray on a singleton, in order to call them elsewhere in the program. The pro...
I'm trying to add multiple instances of UIImageView(s) to an NSMutableArray of NSMutableDictionar(ies).
I am doing this, to be able to go back and pull out the UIImageView reference, to change the position of these images.
It seems that, when I pull the info out of the Dictionary, that it only returns a null pointer...
Any suggestions...
Well, there is the delegate that will get called when:
the scroll view beginns scrolling
the finger liftet of from the scroll view after initializing a scroll-movement
the scroll view stopped decelerating
but now the problem is, if you want to recycle those View's upon scrolling, you must do that very quickly during scrolling. Someth...
I'm making an iPhone app where I want to save state of the Application. This includes an int property which I'm persisting to a file on its own. I have it written and working, but I know the way I did it was a bit hacky, converting the int to a String and then NSData. Can anybody suggest a better way?
int someInt = 1;
NSString *aString ...
I have a script working well for creating ad hoc iPhone builds. I can drop the app and mobileprovision file on iTunes (Mac version), and it installs to the device without a problem. But if I generate a new build and drop the files on iTunes a second time, I always get the dreaded "could not be verified" error on sync.
The only thing...
Hi,
In my IB I have a navigation controller which has in it a view controller.
When I am trying to load this view controller from another navigation controller the scroll view is being displaced by the size of a navigation bar to the bottom. All other elements of my view are not moving except the scroll view.
Why does it happen and ho...
Hi,
I'm planning to develop a web application that targets the iPhone. I will use APT.NET to develop the application. I will probably use ASP.NET MVC.
I'm researching how I will imitate the native iPhone look and feel in my web application. I'm looking for an approach that will be easy to use with the ASP.NET platform.
So far, I fou...
If you deploy an application through the iTunes app store, what usage information do you get from Apple? Do you only get the number of downloads/sales, and does this differ for free vs. paid apps? Do you get any information regarding how often it is used, crash logs, demographics info, etc? Is the only way to build hooks to your own s...
My problem is that my 300 images are being added to UiScrollView and shows up after it's done finishing with addsubview: calls.
How do I set it up so that it adds a subview, who's up on the Screen .. and continue adding ?
...
I've seen this at Apple, inside UIPickerView.h:
id<UIPickerViewDataSource> _dataSource;
why's that underscore there? Does it have a special meaning? A Convention I must know about?
...
I know the iPhone Bluetooth capabilities won't be accessible through the SDK until 3.0, but how long should it take to find devices in the area? Is it dependent on the number of devices in the area? If there are around 5 devices in range, should a scan to discover all of them take <5 seconds, or >30 seconds?
I know there are a lot o...
Apple is now requiring app developers to submit apps that target 2.2.1 but also build for 3.0. I (and I imagine a large majority of small/part-time developers) only have one iPhone and since the upgrade to 3.0 is irreversible, I wanted to get some thoughts out there as to what are some best practices for minimizing risk during the transi...
i've recently had my app rejected, but they have not sent over the "explanation" email yet. has anyone experienced a rejection without a tandem explanation or reasoning from app review?
all the best.
...
Hey,
What does this line of code mean? I do not understand it
- (IBAction)edit {
self.editingViewController.movie = self.movie; // I dont understand this line
[self presentModalViewController:self.editingViewController animated:YES];
}
And what about this?
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:ani...
Greetings. I've got a nav-bar application that's misbehaving. I've got two buttons, one that shows all results from my database and another that shows a subset of my database. Of course, each button has its own action method. Both of these methods instantiate a view controller object of the same class.
If I start the app and only click ...