{"id":3297,"date":"2014-03-21T20:23:40","date_gmt":"2014-03-21T20:23:40","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/21\/iphonecocos2d-iphoneobjective-crelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-03-21T20:23:40","modified_gmt":"2014-03-21T20:23:40","slug":"iphonecocos2d-iphoneobjective-crelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/21\/iphonecocos2d-iphoneobjective-crelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"iphone,cocos2d-iphone,objective-cRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8e7c521e06f3056827afa7a8b91b5802?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nsobox studio<br \/>\niphone ios ipad animation uinavigationcontroller<br \/>\nI know this is an error that has been explained at length in numerous other questions. However it still seems to be a topic for debate as its highly subjective. I have two questions;How detrimental is this error?I&#8217;ve been working on an app that requires a custom UINavigationController. I create a false root that allows me to change the perceived root more easily. To create this affect I &#8216;pop&#8217; to the false root then immediately &#8216;push&#8217; the new one. Like this;[self popToViewController:self.fakeRoot<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8091d2e07890a5812c48c63a613cb3ee?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngcamp<br \/>\niphone<br \/>\nI have string like 123-123-1234 so I want to convert string into this format (123) 123-1234 so any idea to develop this functionality.Thanks in advance.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0289a200c837c34233354564c0f75844?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRexOnRoids<br \/>\niphone sqlite sqlite3<br \/>\nI&#8217;m using a few sqlite3_bind routines (in the iPhone SDK) as shown below to make a single update (INSERT or UPDATE) to a table:sqlite3_bind_text(update_statement, 1, aString, -1, SQLITE_TRANSIENT);sqlite3_bind_int(update_statement, 2, anInteger);sqlite3_bind_int(update_statement, 3, pk);However, upon checking the updated table I discover unexpected results. I followed the progress using &#8216;step over&#8217; in the Xcode Debugger and it looks like this group of three sqlite3_bind routines is being looped<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7ba03426a2aed94fc0185a8e5a96981f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nrickharrison<br \/>\niphone nsdate nsdateformatter<br \/>\nI am trying to do some basic operations with Dates on the iPhone. I want to take a string like &#8220;2010-02-19&#8221; and turn it into a string like &#8220;Friday, Feb 19.&#8221; The strings I will be receiving will always be in 2010-02-19. Right now, I am running the following code that works, but it produces a warning that says &#8220;NSDate may not respond to +dateWithNaturalLanguageString:&#8221;NSDate *date = [NSDate dateWithNaturalLanguageString:scheduled]; NSDateFormatter *df = [[[NSDateFormatter alloc] init] autorelea<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5ad36d3f26a90126c83161ee07419e7e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDA.<br \/>\niphone safari hover<br \/>\nI&#8217;m experimenting with ways to have tooltips work across a variety of mobile devices. Unfortunately, the span of devices I need to support ranges from Nokias to iPhones.Unfortunately, some of the browsers I&#8217;m dealing with don&#8217;t support the use of the title attribute for tooltips on focus. As such, I need to come up with a different solution.For starters, I&#8217;m playing with pure-css tooltips: http:\/\/psacake.com\/web\/jl.aspThis method uses the :hover pseudo class to position and set the z-index of a<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2e03e6d7dd9fd1e0e6a5e3bbca6c7b56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDanial<br \/>\niphone objective-c memory-management memory-leaks nsdictionary<br \/>\nIn my application I have a connection to an sqlite3 database. I have made a wrapper class, in this wrapper class I have an NSMutableDictionary and NSMutableArray.Each time a query is run I removeAllObjects from the dictonary and the array in the rapper class (I don&#8217;t release it). I then add the results from the query to the array and dictionary. The dictionary contains another subdictionaries.I have a tableViewController, in this class I get data from the database using my rapper class and copy<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f86c32f7dc700dd959bdce4da8cca45c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTullio Onion Sebastiani<br \/>\niphone objective-c ios6 storyboard navigationcontroller<br \/>\nI&#8217;m developing an iOS6 App with storyboards and i&#8217;m encountering an unexpected beahviour. My app is almost in portrait mode , and i would keep this orientation in all the views except two.For this reason the project supports both landscape and portrait mode, i&#8217;ve subclassed navigation controller with a category (as explained almost everywhere :-)in Appdelegate.m and every view controller implements &#8211; (NSUInteger)supportedInterfaceOrientations{return UIInterfaceOrientationMaskPortrait; (landscap<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/20fde3fa5cfe4b867ff999dfce4d4dae?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlexi Groove<br \/>\niphone objective-c ocmock<br \/>\nI want to unit test the custom init method of a class that inherits from NSURLConnection &#8212; how would I do this if the init of my testable class invokes NSURLConnection&#8217;s initWithRequest?I&#8217;m using OCMock and normally, I can mock objects that are contained within my test class. For this inheritance scenario, what&#8217;s the best approach to do this?- (void)testInit { id urlRequest = [OCMockObject mockForClass:[NSURLRequest class]];MyURLConnectionWrapper *conn = [[MyURLConnectionWrapper alloc] initWi<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b3bad298eac6cc06846a263a3af164be?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nmsgambel<br \/>\niphone objective-c ipad settings volume<br \/>\nCurrently, I&#8217;m setting the volume to max, and then checking if the volume is at max, or a lower value. If it&#8217;s at a lower value, then the user must have a Volume Lock on their system.This works fine, but I&#8217;m wondering if there is some method to call, or property to check which tells me this in code for free? I&#8217;ve been looking online as to how to do this, but I can&#8217;t seem to find anything. Thanks in advance!Edit: It turns out that my previous method of setting the max volume and then checking if<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/afbc3d109093ff8463a94f971f4add99?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nVikings<br \/>\niphone objective-c ios4 iphone-sdk-3.0<br \/>\nI am having unexpected results with my application. I am using a settings bundle, and I want to the default switch to turn on. The switches are off when I start my application. But the sound and the shake are working. I just want the switch to be one when my application loads, and the sound and the shake to be enabled.- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { \/\/ Set the application defaultsNSUserDefaults *defaults = [NSU<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/32cdc777a19a6f2b2129decd30061cd1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nkender<br \/>\niphone cocoa-touch memory-management cocos2d-iphone<br \/>\nI have an iPhone application in Cocos2d that sometimes crashes on actual device, due to memory problems. What I have so far found out is that the scenes, when switched, aren&#8217;t fully released &#8211; the [retainCount] for them is somewhat about 4-10 \ud83d\ude42 The dealloc method never gets called, and then I assume, when I switch the scenes a few times, the memory issue shows up. I&#8217;m wondering &#8211; where should I relese the scene? Since it has number of children, I suppose I should be doing a cleanup-removal of t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/996952de195a8bc83b2421e49a754e7d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLearnCocos2D<br \/>\ncocos2d-iphone uialertview<br \/>\nI am trying to lay buttons on top of a background image for a UIAlertView in Cocos2d. Its not working with the code below. any suggestions?UIAlertView *Win=[[UIAlertView alloc] initWithTitle:@&#8221;You Win&#8221; message:nil delegate:self cancelButtonTitle:@&#8221;Next&#8221; otherButtonTitles:@&#8221;Replay&#8221;,@&#8221;Quit&#8221;, nil];UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(-50, -30, 400, 300)];NSString *path = [[NSString alloc] initWithString:[[[NSBundle mainBundle] resourcePath] stringByAppendingPathCom<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/09c3d801fb82afdfd7e2715d95e1bab5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nWhite Money<br \/>\niphone cocos2d cocos2d-iphone<br \/>\nI&#8217;m wonderring that what&#8217;s the difference between ccTouchesCancelled and ccTouchesEnded events in Cocos2d?Thanks! Tien<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/pJmdo.jpg?s=32&amp;g=1\" \/><br \/>\nOpenLearner<br \/>\ncocos2d-iphone cocos2d<br \/>\nI have a simple CCRotateBy action in a sequence; it is followed by a call to another method which confirms that the CCRotateBy completed (otherwise, that CCCallFunc would not get called in the sequence if CCRotateBy didn&#8217;t complete):-(void)correctRotation{if (self.rotationAmount){CCLOG(@&#8221;correcting rotation inside: %i&#8221;,self.buildNum);CCRotateBy*second=[CCRotateBy actionWithDuration:1 angle:-self.rotationAmount];CCEaseBackInOut*bounce2=[CCEaseBackInOut actionWithAction:second];CCCallFunc*func=[CC<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/Y6tnm.png?s=32&amp;g=1\" \/><br \/>\n25 revs, 2 users 100%Lukasz<br \/>\niphone cocos2d-iphone opengl-es-2.0 alpha blending<br \/>\nI have very simple CCScene with ONLY 1 CCLayer containing:CCSprite for background with standard blending mode CCRenderTexture to draw paint brushes, with its sprite attached to root CCLayer above background sprite:_bgSprite = [CCSprite spriteWithFile:backgroundPath]; _renderTexture = [CCRenderTexture renderTextureWithWidth:self.contentSize.width height:self.contentSize.height]; [_renderTexture.sprite setBlendFunc:(ccBlendFunc){GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}]; [self addChild:_bgSprite z:-1<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/7f4ee98206d84b25a83228e285c678f0?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGeoffroy<br \/>\nc++ cocos2d-iphone copywithzone<br \/>\nI have some trouble.I made some interface (abstract class in c++). Implemented it in my class (derived from CCObject too). In third class I try to invoke method of interface and got SIGABORT. Here the code\/\/interface classclass CallBackInterface{public:virtual void SomeMethod() = 0;};\/\/my class that implement the interface class MyClass : public CallBackInterface, public CCObject{public:void SomeMethod(){\/*some realization*\/}; };\/\/class that invoke the SomeMethodclass CallBacker(){public:CallBa<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dea18ef2f45c722dba24e63a992825ed?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nMason<br \/>\nios cocos2d-iphone<br \/>\nI think I might be causing a bug in my code because I&#8217;m unclear about what the cleanup: part of removeChild:cleanup: method of cocos2d ccnode class.Thanks.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3af3b1eaf4a5e968bcc96bc70841bbfb?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\noopology<br \/>\nobjective-c cocos2d-iphone nsarray<br \/>\nWhat are the differences between NSArray and CCArray? Also, in what cases will one be preferred to the other with respect to game programming?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f21a1cddb3764e27fa69a5cb8ca3d03d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSushi Ninja<br \/>\nios cocos2d-iphone<br \/>\nI&#8217;m currently trying to create an endlessly scrolling background with a character who jumps up and down and collects items that come along the way. My problem lies with the items that need to be created and then moved.I&#8217;ve looked at CCSpriteBatchNode and NSMutableArray but I&#8217;m not sure which to use.I reviewed Steffen Itterheim&#8217;s example from his book regarding creating bullets while initializing and then using them when needed. I thought that this would be inefficient and taxing on the iPhone. A<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/808ba667d45cea35164ec83de49b0de8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJust Kidding<br \/>\nobjective-c cocos2d-iphone<br \/>\nI&#8217;m using a Objective-C framework for game development called Cocos2d-iphone.This is how I create a button-graphic in the game:CCMenuItemImage *battle;battle = [CCMenuItemImage itemFromNormalImage:@&#8221;BattleFightOption1.png&#8221; selectedImage:@&#8221;BattleFightOption2.png&#8221;target:self selector:@selector(battleFightOption)];Basically, when the user clicks the button, method battleFightOption runs.But I wonder, I never did define battleFightOption in the interface.. so, my question is: when is it necessary to<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6f8bc3b63d847296a7e2c37a62e38ba9?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nepologee<br \/>\nobjective-c interface coding-style implementation<br \/>\nIf you write method implementations in Objective-C, it is pretty standard to sum up the methods of a class in the corresponding @interface blocks. Publically accessible methods go in the header file&#8217;s interface, not-so-public methods can go in an empty category on top of the implementation file.But it&#8217;s not neccessary to declare an interface for every method. If you only reference the methods below their implementation code of the same class\/file, there&#8217;s no need to put any declaration anywhere<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/graph.facebook.com\/704599118\/picture?type=large\" \/><br \/>\nCristian Civera<br \/>\nc++ ios objective-c opencv<br \/>\nI&#8217;m using this function to convert UIImage to Mat- (cv::Mat)cvMatFromUIImage:(UIImage *)image { CGColorSpaceRef colorSpace = CGImageGetColorSpace(image.CGImage); CGFloat cols = image.size.width; CGFloat rows = image.size.height;cv::Mat cvMat(rows, cols, CV_8UC4); \/\/ 8 bits per component, 4 channels (color channels + alpha)CGContextRef contextRef = CGBitmapContextCreate(cvMat.data, \/\/ Pointer to datacols, \/\/ Width of bitmaprows, \/\/ Heig<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b52b0b753409d0ecb391042f9c648701?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nZephyer<br \/>\nobjective-c json parsing afnetworking<br \/>\nim trying to parse some JSON. for simplicity ill explain using the default example at github: when running:NSURL *url = [NSURL URLWithString:@&#8221;http:\/\/httpbin.org\/ip&#8221;]; NSURLRequest *request = [NSURLRequest requestWithURL:url];AFJSONRequestOperation *operation = [AFJSONRequestOperation JSONRequestOperationWithRequest:request success:^(NSURLRequest *request, NSHTTPURLResponse *response, id JSON) {NSLog(@&#8221;IP Address: %@&#8221;, [JSON valueForKeyPath:@&#8221;origin&#8221;]);} failure:nil];[operation start];i get<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2f90e858672c079741471f72cba5480c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nBen<br \/>\nios objective-c cocoa-touch nsdate nsdateformatter<br \/>\nIn short words I plan to get current dateTime, change the time and make it local to Malaysia Time by applying +0800 to timezone.The result is unexpected :-(NSDate *)departureDateTime {NSDate *date = [NSDate date];NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier: NSGregorianCalendar];NSDateComponents *components = [gregorian components: NSUIntegerMax fromDate: date];[components setHour: 7];[components setMinute: 59];[components setSecond: 17];NSDate *newDate = [gregorian dat<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dc46813813af061cc28b442faaefce0d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nhorseshoe7<br \/>\nios objective-c core-data nsmanagedobject mogenerator<br \/>\nI have a project using CoreData. I use Mogenerator to generate the subclasses.When I set the value of a property, this value isn&#8217;t actually assigned. Each subsequent time I try to set the value, the previous value I set it to was not assigned.This worked fine as my underlying data framework was Mantle, but since moving to CoreData, this stopped working. I rely on KVO to keep some UIView objects up-to-date with the model.Again, the ivars of a CoreData NSManagedObject subclass do not seem to ta<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/6c3935e8e58cdd1c3c970c54d81d6688?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJohn<br \/>\nobjective-c xcode4 ios-sdk-4.3 aqgridview<br \/>\nI am new in Iphone development . Now, i am trying to develop an AQGridView in iphone . I downloaded the zip file of AQGridView from Github socil coding site. The example application of AQGridView (ImageDemo,SpringBoard,ExpanderDemo) can not run in xcode 4 and ios sdk 4.3.At compail time they showing some error &#8220;AlanQuatermain-AQGridView-4072978\/Examples\/ImageDemo\/main.m:14:5: error: unexpected &#8216;@&#8217; in program [3]&#8221;The error indicator shown at main(). The code of main() is bellow.int main(int argc<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9f0d2044cca7842b276d533a7a1731dc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nKrishnan<br \/>\nobjective-c memo<br \/>\nI came to know that, it is better to use copy on @property of NSString than retain due to the problems you can get if you are provided with a NSMutableString. Is the same condition holds true for NSArray , NSDictionary, NSMutableData ?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2e03e6d7dd9fd1e0e6a5e3bbca6c7b56?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDanial<br \/>\niphone objective-c memory-management memory-leaks nsdictionary<br \/>\nIn my application I have a connection to an sqlite3 database. I have made a wrapper class, in this wrapper class I have an NSMutableDictionary and NSMutableArray.Each time a query is run I removeAllObjects from the dictonary and the array in the rapper class (I don&#8217;t release it). I then add the results from the query to the array and dictionary. The dictionary contains another subdictionaries.I have a tableViewController, in this class I get data from the database using my rapper class and copy<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/f86c32f7dc700dd959bdce4da8cca45c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTullio Onion Sebastiani<br \/>\niphone objective-c ios6 storyboard navigationcontroller<br \/>\nI&#8217;m developing an iOS6 App with storyboards and i&#8217;m encountering an unexpected beahviour. My app is almost in portrait mode , and i would keep this orientation in all the views except two.For this reason the project supports both landscape and portrait mode, i&#8217;ve subclassed navigation controller with a category (as explained almost everywhere :-)in Appdelegate.m and every view controller implements &#8211; (NSUInteger)supportedInterfaceOrientations{return UIInterfaceOrientationMaskPortrait; (landscap<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/20fde3fa5cfe4b867ff999dfce4d4dae?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlexi Groove<br \/>\niphone objective-c ocmock<br \/>\nI want to unit test the custom init method of a class that inherits from NSURLConnection &#8212; how would I do this if the init of my testable class invokes NSURLConnection&#8217;s initWithRequest?I&#8217;m using OCMock and normally, I can mock objects that are contained within my test class. For this inheritance scenario, what&#8217;s the best approach to do this?- (void)testInit { id urlRequest = [OCMockObject mockForClass:[NSURLRequest class]];MyURLConnectionWrapper *conn = [[MyURLConnectionWrapper alloc] initWi<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>sobox studio iphone ios ipad animation uinavigationcontroller I know this is an error that has been explained at length in numerous other questions. However it still seems to be a topic for debate as its highly subjective. I have two questions;How detrimental is this error?I&#8217;ve been working on an app that requires a custom UINavigationController. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3297","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3297"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3297\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}