使用下载的CoreData将数据解析为表

时间:2011-12-07 13:03:30

标签: parsing core-data ios4 uitableview uiimage

2011-12-07 21:49:30.523 Flow [3185:207] theSearchBar.text:(null)

2011-12-07 21:49:30.524 Flow [3185:207] NSPredicate:publish == 1

2011-12-07 21:49:33.285 Flow [3185:207]呈现由其超级视图剪辑的动作表。

某些控件可能无法响应触摸。在iPhone上尝试 - [UIActionSheet showFromTabBar:]或 - [UIActionSheet showFromToolbar:]而不是 - [UIActionSheet showInView:]。

2011-12-07 21:49:38.091 Flow [3185:207] url:https://www.xxxxxx.com/xxx/xxxxxxxx.php

2011-12-07 21:49:38.092 Flow [3185:207] queryData:& lastid =& keyword =

2011-12-07 21:49:38.384 Flow [3185:207] - [smartReports connection:didReceiveResponse:] [328]:[allCookies count]:1

2011-12-07 21:49:38.385 Flow [3185:207] rawData:              1         10              

<data>
    <rowid>35</rowid>
    <writer><![CDATA[ㅅㅠㅍㅓㅁㅐㄴ]]></writer>
    <subject><![CDATA[dfdfdfdfd]]></subject>
    <reg_date>2011-08-22 19:45:15</reg_date>
    <reg_id><![CDATA[ownjin]]></reg_id>
    <type><![CDATA[]]></type>
    <publish>1</publish>
    <cryptid>1c383cd30b7c298ab50293adfecb7b18</cryptid>
    <latitude></latitude>
    <longitude></longitude>
    <content><![CDATA[]]></content>
</data>

<data>
    <rowid>37</rowid>
    <writer><![CDATA[cccccc]]></writer>
    <subject><![CDATA[test]]></subject>
    <reg_date>2011-09-15 17:55:34</reg_date>
    <reg_id><![CDATA[idea]]></reg_id>
    <type><![CDATA[]]></type>
    <publish>1</publish>
    <cryptid>a5bfc9e07964f8dddeb95fc584cd965d</cryptid>
    <latitude></latitude>
    <longitude></longitude>
    <content><![CDATA[]]></content>

2011-12-07 21:49:38.389 Flow [3185:207] - [smartReports initReports:] [417] start ===========&gt;

2011-12-07 21:49:38.390 Flow [3185:207] - [smartReports initReports:] [420] totrec:10

2011-12-07 21:49:38.391 Flow [3185:207] - [smartReports initReports:] [434] numberOfRows:2

2011-12-07 21:49:38.392 Flow [3185:207] - [smartReports initReports:] [434] numberOfRows:2

2011-12-07 21:49:38.392 Flow [3185:207] - [smartReports initReports:] [434] numberOfRows:2

2011-12-07 21:49:38.610 Flow [3185:207] - [UIImage encodeWithCoder:]:无法识别的选择器发送到实例0x4d4ee00

2011-12-07 21:49:38.612 Flow [3185:207] * ** 由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:' - [UIImage encodeWithCoder:]:无法识别的选择器发送到实例0x4d4ee00'

* 第一次投掷时调用堆栈: (     0 CoreFoundation 0x010465a9 __exceptionPreprocess + 185

1   libobjc.A.dylib                     0x0119a313 objc_exception_throw + 44

2   CoreFoundation                      0x010480bb -[NSObject(NSObject) doesNotRecognizeSelector:] + 187


3   CoreFoundation                      0x00fb7966 ___forwarding___ + 966

4   CoreFoundation                      0x00fb7522 _CF_forwarding_prep_0 + 50

5   Foundation                          0x00a66b3e _encodeObject + 1076

6   Foundation                          0x00a71f89 +[NSKeyedArchiver archivedDataWithRootObject:] + 206

7   CoreData                            0x000cacb5 -[NSSQLiteConnection execute] + 2677

8   CoreData                            0x0011f1d6 -[NSSQLiteConnection insertRow:] + 262

9   CoreData                            0x0011be64 -[NSSQLConnection performAdapterOperations:] + 180

10  CoreData                            0x0011bb0e -[NSSQLCore _performChangesWithAdapterOps:] + 494

11  CoreData                            0x0011a5ea -[NSSQLCore performChanges] + 410

12  CoreData                            0x00114038 -[NSSQLCore saveChanges:] + 216

13  CoreData                            0x000d2199 -[NSSQLCore executeRequest:withContext:error:] + 409

14  CoreData                            0x0018270b -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 3691

15  CoreData                            0x0010a948 -[NSManagedObjectContext save:] + 712

16  Flow                                0x00006789 -[smartReports initReports:] + 3865

17  Flow                                0x00005867 -[smartReports handleLoadedApps:] + 183

18  Foundation                          0x00a1f94e __NSThreadPerformPerform + 251

19  CoreFoundation                      0x010278ff 

CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 15

20  CoreFoundation                      0x00f8588b __CFRunLoopDoSources0 + 571

21  CoreFoundation                      0x00f84d86 __CFRunLoopRun + 470

22  CoreFoundation                      0x00f84840 CFRunLoopRunSpecific + 208

23  CoreFoundation                      0x00f84761 CFRunLoopRunInMode + 97

24  GraphicsServices                    0x019031c4 GSEventRunModal + 217

25  GraphicsServices                    0x01903289 GSEventRun + 115

26  UIKit                               0x002a6c93 UIApplicationMain + 1160

27  Flow                                0x000023f9 main + 121

28  Flow                                0x00002375 start + 53

29  ???                                 0x00000001 0x0 + 1

) 抛出'NSException'实例后终止调用 sharedlibrary apply-load-rules all 当前语言:auto;目前客观的c * 由于未捕获的异常'NSInvalidArgumentException'而终止应用程序,原因:' - [UIImage encodeWithCoder:]:无法识别的选择器发送到实例0x4d4ee00'

如果你运行模拟器来运行密钥,它可以毫无问题地解析数据,下载并接收一个症状列表,并在模拟器关闭时同时显示下面的照片 你是如何解决这个问题的?

并且如何修复uiiimage endcodewithcoder?

0 个答案:

没有答案