Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-23-2012, 07:44 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 4
CitizenJimserac is on a distinguished road
Default NextStep 3.3 objc/Storage.h Available in iPhone SDK Development?

Is anything like the Storage class from NextStep 3.3, described HERE:

Index of /docs/next/NeXTStep/3.3/nd/GeneralRef/03_Common...

available to iPhone developers?

Thanks
CJ
CitizenJimserac is offline   Reply With Quote
Old 01-23-2012, 07:58 AM   #2 (permalink)
Registered Member
 
Join Date: Dec 2011
Location: Colorado, USA
Posts: 7
ShawnArney is on a distinguished road
Default Yes, Core Data is available.

You could use core data to manage documents/resources.

Here is the Getting Started Guide:
https://developer.apple.com/library/...ta/_index.html

Cheers,

Shawn Arney
iOS Professional Developer & Trainer

Learn iPhone Apps at: LearnApps.Org - Keeping it Simple: iPhone Training and Tutorials
ShawnArney is offline   Reply With Quote
Old 01-23-2012, 11:29 AM   #3 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by CitizenJimserac View Post
Is anything like the Storage class from NextStep 3.3, described HERE:

Index of /docs/next/NeXTStep/3.3/nd/GeneralRef/03_Common...

available to iPhone developers?

Thanks
CJ
I don't have time to wade through old source FTP directories and decipher them. What does the NextStep storage class do for you, specifically?

At a glance, it looked like it was replaced by NSKeyedArchiver, but I only spent a minute glancing at it.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-23-2012, 11:14 PM   #4 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 4
CitizenJimserac is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
I don't have time to wade through old source FTP directories and decipher them. What does the NextStep storage class do for you, specifically?

At a glance, it looked like it was replaced by NSKeyedArchiver, but I only spent a minute glancing at it.
Thanks... NSKeyedArchiver seems to do everything I need, but it is troubling that I never would have found it without you pointing it out. Is there a document somewhere that says something like, for example, NSCoder sort of replaces NXTypedStream, NSKeyedArchiver sort of does what Storage class did...etc., etc..

The problem is not that documentation is scarce, it is that it is so vast and at so many levels and so scattered across Apple, NextStep, OpenStep and elsewhere, that it is seems tough to find relatively simple information.

The other surprise, now seemingly a little cosmic joke on me, was that when I was in software, everyone talked up a storm about C++ and I, being a former C developer, spent YEARS learning the goofy quirky exception ridden C++ language whereas now, converting this old NextStep program involved with a biomedical application, I learn to my surprise that objective-c is far cleaner, more sensible and common-sensible than C++ ever seemed to be. I knew something was wrong when I started on Alexandrescu's C++ Template book, now a dim but terrifying memory, and found soon that easier things like solving the riddle of the Sphinx or deciphering Voynitch might have served my time better. Anyway...
Thanks!
CJ
CitizenJimserac is offline   Reply With Quote
Old 01-24-2012, 04:28 AM   #5 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

C++ is, and always has been, extremely convoluted. I remember loving it for many years. Then again, I loved x86 Assembly while in college. I really don't wish to touch either one again (but especially not C++, although to be honest I never used any form of assembly outside of school... but I do think I'd prefer it if I had to choose).

As far as documentation mapping NeXTSTEP to Cocoa, I doubt you'll find any, other than perhaps scattered blog posts (or perhaps scattered USENET posts, even). Probably the best place to understand the mapping would be to read up on the Cocoa docs, so you can make guesses as to any correlation along the way.

And, yeah, I think Objective-C is pretty nice, too.
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 01-24-2012, 07:04 AM   #6 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by CitizenJimserac View Post
Thanks... NSKeyedArchiver seems to do everything I need, but it is troubling that I never would have found it without you pointing it out. Is there a document somewhere that says something like, for example, NSCoder sort of replaces NXTypedStream, NSKeyedArchiver sort of does what Storage class did...etc., etc..

The problem is not that documentation is scarce, it is that it is so vast and at so many levels and so scattered across Apple, NextStep, OpenStep and elsewhere, that it is seems tough to find relatively simple information.

The other surprise, now seemingly a little cosmic joke on me, was that when I was in software, everyone talked up a storm about C++ and I, being a former C developer, spent YEARS learning the goofy quirky exception ridden C++ language whereas now, converting this old NextStep program involved with a biomedical application, I learn to my surprise that objective-c is far cleaner, more sensible and common-sensible than C++ ever seemed to be. I knew something was wrong when I started on Alexandrescu's C++ Template book, now a dim but terrifying memory, and found soon that easier things like solving the riddle of the Sphinx or deciphering Voynitch might have served my time better. Anyway...
Thanks!
CJ
I know Objective C/Cocoa/Cocoa touch quite well, but don't have any experience with NeXt.

I know a few people, including a consultant we've worked with, who are old NeXt hands who also do Cocoa development. I imagine they'd be available to hire if you need some help. If you just need guidance on the modern replacements for things, it shouldn't be that involved, either. Send me a PM if you want to persue it.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-24-2012, 07:16 AM   #7 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 4
CitizenJimserac is on a distinguished road
Default

Quote:
Originally Posted by dljeffery View Post
C++ is, and always has been, extremely convoluted. I remember loving it for many years. Then again, I loved x86 Assembly while in college. I really don't wish to touch either one again (but especially not C++, although to be honest I never used any form of assembly outside of school... but I do think I'd prefer it if I had to choose).

As far as documentation mapping NeXTSTEP to Cocoa, I doubt you'll find any, other than perhaps scattered blog posts (or perhaps scattered USENET posts, even). Probably the best place to understand the mapping would be to read up on the Cocoa docs, so you can make guesses as to any correlation along the way.

And, yeah, I think Objective-C is pretty nice, too.
Thanks!



Ya I need some Cocal with my morning tea definitely. Another example, I needed to know what values the constants NX_COLORWHITE, NX_COLORBLACK, NX_COLORBLUE etc.. were. I found them all defined as small hex numbers 0x01, 0x02 etc., three or four days ago in a header file (originally defined in some header file in objc/ ) on the web,

I'm fairly sure it was in the Coca documentation somewhere, perhaps without the "NX" prefix, or as NS_COLORWHITE etc., and "thought" that I had bookmarked it. Later went back to my browser to go to the site and "oops" no book mark!! No problem, I'll just search again. Great moments in google search bumbling, now I can't find it. Typical.

Anyway, great forum here for information exchange, again thanks to everyone.

CJ
CitizenJimserac is offline   Reply With Quote
Old 01-24-2012, 07:26 AM   #8 (permalink)
Registered Member
 
Join Date: Jan 2012
Posts: 4
CitizenJimserac is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
I know Objective C/Cocoa/Cocoa touch quite well, but don't have any experience with NeXt.

I know a few people, including a consultant we've worked with, who are old NeXt hands who also do Cocoa development. I imagine they'd be available to hire if you need some help. If you just need guidance on the modern replacements for things, it shouldn't be that involved, either. Send me a PM if you want to persue it.
Thanks I'll keep that in mind but this is just a small app I'm doing for my interest, more for research and curiosity. I must say I'm impressed with objective-c which I never paid much attention to.

By the way, those animation tutorial postings (cf. links at end of your post) were quite interesting, thanks!

Now I will have some tea and go back to google to see if I can find what NX_COLORBLACK AND NX_COLORBLUE are defined as. I found them defined, or something like them defined, I think, in a header file some where and managed to lose the link. Then searched and couldn't find it again. This will get easier when semantic web gets a little more along, I'm sure.

Great forum,
thanks
CJ
CitizenJimserac is offline   Reply With Quote
Old 01-24-2012, 07:40 AM   #9 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by CitizenJimserac View Post
Thanks!



Ya I need some Cocal with my morning tea definitely. Another example, I needed to know what values the constants NX_COLORWHITE, NX_COLORBLACK, NX_COLORBLUE etc.. were. I found them all defined as small hex numbers 0x01, 0x02 etc., three or four days ago in a header file (originally defined in some header file in objc/ ) on the web,

I'm fairly sure it was in the Coca documentation somewhere, perhaps without the "NX" prefix, or as NS_COLORWHITE etc., and "thought" that I had bookmarked it. Later went back to my browser to go to the site and "oops" no book mark!! No problem, I'll just search again. Great moments in google search bumbling, now I can't find it. Typical.

Anyway, great forum here for information exchange, again thanks to everyone.

CJ

In Cocoa touch, there are several ways to represent colors.

The easiest is an object called UIColor.

There are class methods to create the common colors:

[UIColor blackColor]
[UIColor blueColor]
[UIColor redColor]

etc.

There are also class methods to create UIColors with arbitrary R/G/B/A values, or hue/saturation/brightness/alpha.

Most of the high level UIKit objects take UIColors as a parameters.

A low level color is described with a GCColorRef. That is a Core Foundation object, which uses C APIs. UIColor has a CGColor property that returns the internal CGColorRef used to represent the UIColor.

There is also a type CIColor that represents a color in Core Image. As to why Apple did that, I don't know. Core Image was added to iOS in iOS 5, so 5.0, so it isn't widely used yet.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Reply

Bookmarks

Tags
nextstep openstep

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 383
10 members and 373 guests
7twenty7, Atatator, FrankWeller, glenn_sayers, iphonedevshani, MAMN84, mraalex, QuantumDoja, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:48 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0