创建基本内容浏览iPhone应用程序

时间:2021-10-05 20:08:10

I am not new to programming, in fact I have had plenty of experience and know many different languages, but for some reason the Xcode SDK and programming for iPhones really puzzles me. I am trying to create a basic content browsing application, with a list view and detail view you select a topic and then in the detail view details about that topic etc are displayed. Does anyone know of any guides or sample code on how to do this (sample code is best, I can play around with it etc).

我不是编程的新手,事实上我有很多经验并且知道很多不同的语言,但由于某种原因,Xcode SDK和iPhone的编程真的让我感到困惑。我正在尝试创建一个基本的内容浏览应用程序,使用列表视图和详细视图选择一个主题,然后在详细信息视图中显示有关该主题的详细信息等。有没有人知道如何做到这一点的任何指南或示例代码(示例代码是最好的,我可以玩它等)。

I would think one would make use of SQL to store the data, but I am not too sure, I intend to put a fair amount of data in it and merely creating the list items is probably a poor way of doing this.

我认为人们会利用SQL来存储数据,但我不太确定,我打算在其中放入大量的数据,仅创建列表项可能是一种不好的方法。

1 个解决方案

#1


1  

Apple has a great sample project on their website for using table views (the iOS term for list views) with SQL (called Core Data in iOS). Check out their Core Data Books example. It was very helpful to me.

Apple在他们的网站上有一个很好的示例项目,用于使用SQL(在iOS中称为Core Data)的表视图(用于列表视图的iOS术语)。查看他们的核心数据书籍示例。这对我很有帮助。

#1


1  

Apple has a great sample project on their website for using table views (the iOS term for list views) with SQL (called Core Data in iOS). Check out their Core Data Books example. It was very helpful to me.

Apple在他们的网站上有一个很好的示例项目,用于使用SQL(在iOS中称为Core Data)的表视图(用于列表视图的iOS术语)。查看他们的核心数据书籍示例。这对我很有帮助。